:root {
  color-scheme: dark;
  --ink: #0e1511;
  --panel: #131e17;
  --text: #f3f6f4;
  --muted: #b5c5ba;
  --line: #34483a;
  --lime: #a3e635;
  --ease: cubic-bezier(.2,.8,.2,1);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--text); line-height: 1.55; }
.wrap { width: min(1320px, 100% - clamp(28px, 7vw, 112px)); margin-inline: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
.skip { position: fixed; z-index: 9; top: 12px; left: 12px; transform: translateY(-180%); background: var(--lime); color: var(--ink); padding: 8px 16px; }
.skip:focus { transform: none; }
.header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 82px; }
.brand, .nav-github, .footer-github { display: inline-flex; align-items: center; gap: 10px; }
.brand { font-weight: 650; white-space: nowrap; letter-spacing: -.025em; }
.prompt { color: var(--lime); font: 700 1.2em ui-monospace, monospace; }
nav { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: clamp(12px, 2.2vw, 32px); }
nav a, footer a { color: var(--muted); font-size: .925rem; transition: color .2s; }
nav a:hover, footer a:hover { color: var(--lime); }
.nav-github { gap: 7px; white-space: nowrap; border: 1px solid var(--line); padding: 8px 13px; border-radius: 100px; color: var(--text); }

.nav-star { color: #facc15; font-size: .95em; line-height: 1; }
.nav-github:hover { border-color: var(--lime); }

.hero {
  display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,1fr); align-items: center;
  position: relative; overflow: hidden; gap: 20px;
  min-height: 525px; padding: clamp(24px, 5vw, 74px);
  border: 1px solid var(--line); border-radius: 30px;
  background: radial-gradient(ellipse at 78% 24%, #a3e63520, transparent 58%), #111c15;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(#b5c5ba13 1px, transparent 1px), linear-gradient(90deg, #b5c5ba13 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to right, #111 35%, transparent 100%);
}
.hero-copy, .hero-visual { position: relative; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-weight: 650; line-height: .99; letter-spacing: -.065em; }
h1 { font-size: clamp(3.25rem, 6.25vw, 6.6rem); margin-bottom: 24px; }
h2 { font-size: clamp(2.35rem, 5vw, 4.4rem); margin-bottom: 16px; }
em { color: var(--lime); font-style: normal; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--muted); font: 650 .74rem ui-monospace, monospace; letter-spacing: .13em; margin-bottom: 22px; }
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px #a3e63544; }
.intro { max-width: 46ch; color: var(--muted); font-size: clamp(1.02rem, 1.65vw, 1.22rem); margin-bottom: 27px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; padding: 6px 6px 6px 18px; border-radius: 999px; font-weight: 650; }
.primary { background: var(--text); color: var(--ink); transition: background .24s var(--ease), transform .24s var(--ease); }
.primary:hover { background: #e3f3da; transform: translateY(-3px); }
.button-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--lime); }
.button-icon img { filter: brightness(0) saturate(100%); opacity: .92; transition: transform .3s var(--ease); }
.primary:hover img { transform: rotate(-12deg) scale(1.09); }
.quiet-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--muted); padding-block: 5px; }
.quiet-link span { color: var(--lime); transition: transform .24s var(--ease); }
.quiet-link:hover { color: var(--text); }
.quiet-link:hover span { transform: translate(3px,2px); }

.hero-visual { display: grid; place-items: center; isolation: isolate; min-width: 0; min-height: 340px; }
.orbit { position: absolute; z-index: -1; width: 92%; aspect-ratio: 1; border: 1px solid #a3e63533; border-radius: 50%; transform: rotate(-22deg) scaleY(.67); }
.orbit-inner { width: 74%; border-style: dashed; }
.orbit-outer::after { content: ""; position: absolute; top: 22%; right: 7%; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 20px var(--lime); animation: pulse 2.9s ease-in-out infinite; }
.portrait { width: 38%; max-width: 220px; overflow: hidden; margin: 0; border-radius: 18px; border: 1px solid #536c53; background: #101613; box-shadow: 0 22px 45px #080d0a8c; --tilt: 0deg; --float: 0px; animation: portrait-in .8s var(--ease) both, float 6s ease-in-out 1s infinite; }
.portrait img { display: block; width: 100%; height: auto; }
.portrait figcaption { padding: 9px 0; text-align: center; font: 650 clamp(.56rem, 1.1vw, .76rem) ui-monospace, monospace; letter-spacing: .11em; color: var(--muted); border-top: 1px solid var(--line); }
.portrait-left, .portrait-right { position: absolute; }
.portrait-left { left: 1%; top: 16%; --tilt: -11deg; animation-delay: .1s, 1.25s; }
.portrait-right { right: 1%; top: 16%; --tilt: 11deg; animation-delay: .2s, 1.5s; }
.portrait-center { z-index: 1; width: 45%; border-color: #a3e63588; animation-delay: .27s, 1.1s; }
.portrait-center figcaption { color: var(--lime); }
.hero-copy > * { animation: enter .66s var(--ease) both; }
.hero-copy h1 { animation-delay: .06s; }
.hero-copy .intro { animation-delay: .13s; }
.hero-actions { animation-delay: .2s; }
@keyframes enter { from { opacity: 0; transform: translateY(17px); } to { opacity: 1; transform: none; } }
@keyframes portrait-in { from { opacity: 0; translate: 0 28px; rotate: calc(var(--tilt) / 2); } to { opacity: 1; translate: 0 0; rotate: var(--tilt); } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes pulse { 50% { opacity: .4; scale: .75; } }

.compatibility { margin-top: 22px; padding: clamp(26px, 4vw, 54px); border: 1px solid var(--line); border-radius: 25px; background: var(--panel); }
.section { margin-top: clamp(62px, 9vw, 130px); }
.section-heading > p:last-child, .end p { color: var(--muted); max-width: 58ch; }
.providers { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); list-style: none; gap: 8px; padding: 0; margin: 26px 0 16px; }
.providers li { display: flex; align-items: center; justify-content: center; gap: 9px; min-width: 0; padding: 13px 8px; border: 1px solid var(--line); border-radius: 11px; font-size: .88rem; background: var(--ink); transition: border-color .25s, transform .25s; }
.providers li:hover { border-color: var(--lime); transform: translateY(-3px); }
.providers img { flex: 0 0 24px; object-fit: contain; }
.provider-plus { color: var(--lime); font: 650 1.5rem/1 ui-monospace, monospace; }

.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 15px; margin-top: 32px; }
.member { min-width: 0; border-radius: 20px; border: 1px solid var(--line); background: var(--panel); transition: border-color .32s, transform .32s var(--ease), box-shadow .32s; }
.member:hover, .member:focus-within { transform: translateY(-5px); border-color: var(--role); box-shadow: 0 12px 35px #070b08aa; }
.member > a { display: block; height: 100%; border-radius: inherit; }
.member-art { display: grid; place-items: center; overflow: hidden; height: clamp(148px, 18vw, 235px); border-radius: 19px 19px 0 0; background: radial-gradient(ellipse at 50% 52%, color-mix(in srgb, var(--role) 18%, #101813), #101813 70%); }
.member-art img { height: 96%; width: auto; max-width: 100%; object-fit: contain; mix-blend-mode: lighten; transition: transform .4s var(--ease); }
.member:hover img, .member:focus-within img { transform: scale(1.08); }
.member-copy { padding: 17px; }
.member-copy p { color: var(--muted); margin-bottom: 0; }
.member-copy .role { color: var(--role); margin-bottom: 4px; font: 700 .73rem ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }
.member h3 { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 6px; font-size: clamp(1.18rem, 2vw, 1.54rem); letter-spacing: -.03em; }
.member h3 span { color: var(--role); font-size: .9em; transition: transform .25s var(--ease); }
.member:hover h3 span { transform: translate(3px,-3px); }
.revealed { animation: enter .6s var(--ease) var(--delay, 0ms) both; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); padding: 0; gap: 8px; margin: 28px 0; list-style: none; }
.steps li { position: relative; display: grid; padding: 14px; gap: 3px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.steps strong { color: var(--lime); }
.steps span { color: var(--muted); font-size: .92rem; }
.terminal { border: 1px solid var(--line); border-radius: 18px; background: #101a14; overflow: hidden; }
.terminal-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); padding: 13px 20px; color: var(--muted); }
.dots { display: flex; gap: 5px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: #718c79; }
.dots i:last-child { background: var(--lime); }
.terminal-body { padding: clamp(15px, 3vw, 26px); font: .875rem/1.5 ui-monospace, monospace; }
.command, .terminal-result { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 7px 16px; }
.command { border: 1px solid var(--line); padding: 10px 13px; border-radius: 10px; margin-bottom: 17px; }
.command code { overflow-wrap: anywhere; }
.command code::before { content: "$ "; color: var(--lime); }
#copy { background: #203226; color: var(--text); border: 1px solid var(--line); border-radius: 7px; font: inherit; padding: 6px 9px; cursor: pointer; transition: border-color .24s; }
#copy:hover { border-color: var(--lime); }
.terminal-result { border-bottom: 1px solid var(--line); padding: 8px 0; }
.terminal-result strong { color: var(--lime); }
.caption, #copy-status { color: var(--muted); margin: 16px 0 0; }
#copy-status:empty { margin: 0; }
.end { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: clamp(24px, 4.5vw, 56px); border: 1px solid var(--line); border-radius: 24px; background: radial-gradient(ellipse at right top, #a3e6351f, transparent 55%), var(--panel); }
.end h2 { font-size: clamp(2rem,4vw,3.6rem); }
.end p { margin-bottom: 0; }
.end .button { flex-shrink: 0; }
footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 22px; margin-block: 32px; }

@media (max-width: 1000px) {
  .providers { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .hero { min-height: 455px; }
  .hero-visual { min-height: 260px; }
}
@media (max-width: 750px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-visual { width: min(100%, 435px); min-height: 0; aspect-ratio: 1.52; justify-self: center; }
  .portrait figcaption { font-size: .66rem; }
  .header { min-height: 68px; gap: 10px; }
  .team-grid, .steps { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .end { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 520px) {
  .header { flex-wrap: wrap; padding-block: 13px; }
  .header nav { justify-content: flex-start; width: 100%; gap: 8px 13px; }
  nav a { font-size: .81rem; }
  .nav-github { padding: 4px 8px; margin-left: auto; gap: 5px; }
  .nav-github img { width: 16px; height: 16px; }
  h1 { font-size: clamp(2.6rem, 10vw, 3.25rem); }
  .hero { gap: 24px; border-radius: 22px; }
  .hero-actions { gap: 10px 14px; }
  .providers { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .providers li { justify-content: flex-start; }
  .team-grid { gap: 9px; }
  .member-copy { padding: 12px; }
  .member-copy p { font-size: .89rem; }
  .member-copy .role { font-size: .64rem; }
  .member-art { height: 136px; }
  .portrait figcaption { font-size: .54rem; padding-block: 6px; }
}
@media (max-width: 340px) {
  .member-art { height: 112px; }
  .member-copy { padding: 10px; }
  .member h3 { font-size: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .portrait { rotate: var(--tilt); }
}
