:root {
  color-scheme: dark;
  --ink: #09090b;
  --panel: #18181b;
  --zinc: #27272a;
  --muted: #a1a1aa;
  --white: #fafafa;
  --violet: #7c3bed;
  --cyan: #07bdd5;
  --pink: #ec4699;
  --green: #107c10;
  --green-bright: #9bf00b;
  --line: rgba(255,255,255,.1);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--white);
  background:
    radial-gradient(circle at 12% 10%,rgba(124,59,237,.18),transparent 35rem),
    radial-gradient(circle at 92% 30%,rgba(236,70,153,.13),transparent 32rem),
    var(--ink);
  font-family: Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -5;
  pointer-events: none;
  opacity: .23;
  background-image: radial-gradient(circle,rgba(255,255,255,.6) 0 1px,transparent 1.5px);
  background-size: 67px 67px;
  mask-image: linear-gradient(to bottom,#000,transparent 72%);
}
a { color: inherit; }
button,a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }
code { font-family: "Cascadia Code","SFMono-Regular",Consolas,monospace; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 50; padding: .7rem 1rem; background: var(--white); color: var(--ink); border-radius: 999px; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: relative;
  z-index: 20;
  width: min(1180px,calc(100% - 2rem));
  height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.brand { display: inline-flex; gap: .65rem; align-items: center; text-decoration: none; font-weight: 850; letter-spacing: .12em; font-size: .9rem; }
.brand-mark { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: linear-gradient(135deg,var(--cyan),var(--violet) 55%,var(--pink)); color: white; letter-spacing: 0; box-shadow: 0 0 30px rgba(124,59,237,.45); }
nav { display: flex; align-items: center; gap: 1.5rem; }
nav a { color: var(--muted); text-decoration: none; font-size: .86rem; font-weight: 650; transition: color .2s ease; }
nav a:hover,nav a:focus-visible { color: var(--white); }
.language-link { border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: .45rem .7rem; color: var(--white); }

.section { width: min(1180px,calc(100% - 2rem)); margin: 0 auto; padding: clamp(5rem,10vw,9rem) 0; }
.hero {
  position: relative;
  width: min(1180px,calc(100% - 2rem));
  min-height: calc(100vh - 78px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: clamp(2rem,5vw,5rem);
  padding: 5rem 0 6rem;
}
.aurora { position: absolute; z-index: -1; inset: 9% 20% auto auto; width: 48%; aspect-ratio: 1; filter: blur(95px); background: conic-gradient(from 20deg,rgba(7,189,213,.2),rgba(124,59,237,.24),rgba(236,70,153,.18),rgba(16,124,16,.2)); border-radius: 50%; animation: breathe 8s ease-in-out infinite; }
.eyebrow,.kicker { color: #d4d4d8; font-size: .76rem; text-transform: uppercase; letter-spacing: .17em; font-weight: 780; }
.eyebrow { display: inline-flex; align-items: center; gap: .65rem; }
.eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 15px rgba(155,240,11,.8); }
h1 { margin: 1.3rem 0 1.5rem; max-width: 720px; font-size: clamp(3.5rem,7.2vw,6.7rem); line-height: .9; letter-spacing: -.065em; }
h1 span,h2 em { background: linear-gradient(100deg,var(--cyan) 0%,#c084fc 43%,var(--pink) 72%,var(--green-bright) 115%); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: normal; }
.hero-lede { max-width: 650px; margin: 0; color: var(--muted); font-size: clamp(1.06rem,1.7vw,1.25rem); line-height: 1.65; }
.hero-lede strong { color: var(--white); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: .8rem; padding: 0 1.25rem; border: 1px solid transparent; border-radius: 13px; text-decoration: none; font-weight: 760; font-size: .92rem; transition: transform .2s ease,box-shadow .2s ease,border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible,.text-link:focus-visible,summary:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
.button-primary { background: linear-gradient(105deg,var(--cyan),var(--violet) 58%,var(--pink)); box-shadow: 0 18px 50px rgba(124,59,237,.3); }
.button-secondary { background: rgba(39,39,42,.55); border-color: rgba(255,255,255,.13); backdrop-filter: blur(18px); }
.trust-list { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; margin: 1.5rem 0 0; padding: 0; list-style: none; color: #a1a1aa; font-size: .78rem; }
.trust-list span { color: var(--green-bright); }

.hero-demo { position: relative; min-width: 0; }
.demo-orbit { position: absolute; border-radius: 50%; filter: blur(8px); }
.demo-orbit-one { width: 100px; height: 100px; right: -20px; top: -35px; background: rgba(236,70,153,.26); }
.demo-orbit-two { width: 130px; height: 130px; left: -35px; bottom: -35px; background: rgba(7,189,213,.19); }
.demo-window { position: relative; overflow: hidden; padding: 1.2rem; border: 1px solid rgba(255,255,255,.14); border-radius: 28px; background: linear-gradient(145deg,rgba(39,39,42,.88),rgba(9,9,11,.92)); box-shadow: 0 35px 100px rgba(0,0,0,.48),inset 0 1px rgba(255,255,255,.07); backdrop-filter: blur(25px); }
.demo-window::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(120deg,rgba(7,189,213,.08),transparent 35%,rgba(236,70,153,.08)); }
.demo-topbar { position: relative; display: flex; align-items: center; justify-content: space-between; padding: .15rem .15rem 1rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.demo-brand { display: flex; align-items: center; gap: .65rem; font-weight: 760; }
.demo-brand img { width: 34px; height: 34px; border-radius: 9px; }
.live-pill { display: inline-flex; align-items: center; gap: .45rem; padding: .38rem .65rem; border: 1px solid rgba(155,240,11,.2); background: rgba(16,124,16,.15); color: #cbff76; border-radius: 999px; font-size: .72rem; font-weight: 720; }
.live-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 10px var(--green-bright); }
.demo-hint { position: relative; margin: 1rem 0 .8rem; color: var(--muted); font-size: .75rem; }
.key-grid { position: relative; display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
.deck-key { position: relative; min-width: 0; aspect-ratio: 1; padding: .85rem; display: grid; align-content: end; justify-items: start; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 23px; color: #a1a1aa; background: linear-gradient(145deg,#17171a,#09090b); box-shadow: inset 0 0 0 5px rgba(0,0,0,.25),0 14px 24px rgba(0,0,0,.28); cursor: pointer; transition: transform .18s ease,border-color .18s ease; }
.deck-key:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.28); }
.deck-key:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.deck-key img { position: absolute; inset: .6rem auto auto .6rem; width: 57%; border-radius: 18%; opacity: .72; transition: opacity .2s ease,filter .2s ease; }
.deck-key span { font-size: clamp(.68rem,1.5vw,.85rem); }
.deck-key strong { margin-top: .12rem; color: #71717a; font-size: 1.05rem; }
.deck-key.is-on { border-color: rgba(155,240,11,.3); background: radial-gradient(circle at 30% 20%,rgba(16,124,16,.32),transparent 53%),linear-gradient(145deg,#18181b,#09090b); color: var(--white); }
.deck-key.is-on img { opacity: 1; }
.deck-key.is-on strong { color: var(--green-bright); }
.windows-panel { position: relative; display: grid; gap: .7rem; margin-top: 1rem; padding: 1rem; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; background: rgba(9,9,11,.52); }
.windows-panel > div { display: flex; align-items: center; justify-content: space-between; color: #d4d4d8; font-size: .78rem; }
.switch { position: relative; width: 35px; height: 19px; border-radius: 999px; background: #3f3f46; transition: background .2s ease; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 13px; height: 13px; border-radius: 50%; background: #a1a1aa; transition: transform .2s ease,background .2s ease; }
.switch.is-on { background: var(--green); box-shadow: 0 0 14px rgba(155,240,11,.12); }
.switch.is-on::after { transform: translateX(16px); background: white; }

.logo-strip { width: min(1180px,calc(100% - 2rem)); margin: 0 auto; min-height: 74px; display: flex; align-items: center; justify-content: center; gap: clamp(.8rem,3vw,2.2rem); color: #71717a; border-block: 1px solid rgba(255,255,255,.07); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.logo-strip strong { color: #d4d4d8; font-weight: 760; }
.logo-strip i { width: 4px; height: 4px; border-radius: 50%; background: var(--violet); }

.section-heading { max-width: 760px; }
h2 { margin: .9rem 0 1.2rem; font-size: clamp(2.7rem,6vw,5.5rem); line-height: .95; letter-spacing: -.055em; }
.section-heading > p,.product-copy > p,.code-copy > p,.author-copy > p { max-width: 650px; margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.7; }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 3.5rem; }
.feature-card { position: relative; min-height: 440px; padding: 2rem; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg,rgba(39,39,42,.73),rgba(9,9,11,.83)); }
.feature-card::before { content: ""; position: absolute; inset: 0; opacity: .13; pointer-events: none; }
.feature-green::before { background: radial-gradient(circle at 20% 10%,var(--green-bright),transparent 42%); }
.feature-cyan::before { background: radial-gradient(circle at 20% 10%,var(--cyan),transparent 42%); }
.feature-purple::before { background: radial-gradient(circle at 20% 10%,var(--violet),transparent 42%); }
.feature-card > img { position: relative; width: 140px; border-radius: 27px; box-shadow: 0 20px 55px rgba(0,0,0,.35); }
.feature-number { position: absolute; right: 1.7rem; top: 1.7rem; color: #52525b; font-size: .72rem; letter-spacing: .18em; }
.feature-card h3 { margin: auto 0 .7rem; font-size: 1.38rem; letter-spacing: -.025em; }
.feature-card p { min-height: 5.2em; margin: 0; color: var(--muted); line-height: 1.6; font-size: .91rem; }
.feature-card code { color: #d4d4d8; font-size: .82em; }
.feature-card small { margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid var(--line); color: #71717a; }
.pulse-icon { position: relative; width: 140px; height: 140px; display: grid; place-items: center; border: 1px solid rgba(124,59,237,.35); border-radius: 27px; background: radial-gradient(circle,rgba(124,59,237,.4),transparent 70%); }
.pulse-icon::before { content: "↻"; font-size: 3.3rem; color: #c084fc; filter: drop-shadow(0 0 14px rgba(124,59,237,.65)); }
.pulse-icon i { position: absolute; border: 1px solid rgba(192,132,252,.28); border-radius: 50%; animation: ping 2.4s ease-out infinite; }
.pulse-icon i:nth-child(1) { width: 50px; height: 50px; }
.pulse-icon i:nth-child(2) { width: 80px; height: 80px; animation-delay: .4s; }
.pulse-icon i:nth-child(3) { width: 110px; height: 110px; animation-delay: .8s; }

.product-shot { position: relative; padding-top: 3rem; }
.product-copy { max-width: 620px; position: relative; z-index: 2; margin-bottom: -1.5rem; }
.product-shot figure { position: relative; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 35px; background: #050506; box-shadow: 0 45px 120px rgba(0,0,0,.5); }
.product-shot figure::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 90px rgba(9,9,11,.35); pointer-events: none; }
.product-shot figure img { display: block; width: 100%; }
.product-shot figcaption { position: absolute; z-index: 2; right: 1rem; bottom: 1rem; padding: .45rem .7rem; border-radius: 999px; color: #a1a1aa; background: rgba(9,9,11,.8); font-size: .65rem; }

.install .section-heading { text-align: center; margin-inline: auto; }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin: 3.5rem 0 1rem; padding: 0; list-style: none; counter-reset: steps; }
.steps li { min-height: 190px; display: flex; gap: 1.1rem; padding: 1.7rem; border: 1px solid var(--line); border-radius: 22px; background: rgba(24,24,27,.55); }
.steps li > span { flex: 0 0 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: var(--ink); background: var(--green-bright); font-weight: 850; }
.steps h3 { margin: .45rem 0 .65rem; font-size: 1.15rem; }
.steps p { margin: 0; color: var(--muted); line-height: 1.55; font-size: .88rem; }
.steps code { color: #d4d4d8; font-size: .82em; }
.download-panel { display: grid; grid-template-columns: auto 1fr auto; gap: 1.3rem; align-items: center; padding: 1.25rem; border: 1px solid rgba(155,240,11,.22); border-radius: 25px; background: linear-gradient(100deg,rgba(16,124,16,.15),rgba(39,39,42,.7),rgba(124,59,237,.13)); }
.download-panel > img { border-radius: 20px; }
.download-panel > div > span { color: var(--green-bright); font-size: .67rem; font-weight: 800; letter-spacing: .15em; }
.download-panel h3 { margin: .35rem 0; font-size: 1.25rem; }
.download-panel h3 b { color: var(--cyan); }
.download-panel p { margin: 0; color: var(--muted); font-size: .78rem; }
.download-note { margin: .7rem 0 0; color: #71717a; text-align: center; font-size: .72rem; }

.code-section { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem,7vw,7rem); align-items: center; }
.text-link { display: inline-flex; gap: .6rem; margin-top: 1.5rem; color: var(--cyan); text-decoration: none; font-weight: 750; }
.terminal { overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #08080a; box-shadow: 0 35px 90px rgba(0,0,0,.4); }
.terminal-bar { min-height: 48px; display: flex; gap: .45rem; align-items: center; padding: 0 1rem; border-bottom: 1px solid var(--line); background: #151518; }
.terminal-bar i { width: 9px; height: 9px; border-radius: 50%; background: #52525b; }
.terminal-bar i:first-child { background: var(--pink); }.terminal-bar i:nth-child(2) { background: #eab308; }.terminal-bar i:nth-child(3) { background: var(--green-bright); }
.terminal-bar span { margin-left: auto; color: #a1a1aa; font-size: .68rem; }
.terminal pre { margin: 0; padding: clamp(1.4rem,4vw,2.5rem); overflow-x: auto; color: #d4d4d8; font-size: clamp(.75rem,1.3vw,.91rem); line-height: 1.8; }
.cyan { color: var(--cyan); }.green { color: var(--green-bright); }.muted { color: #a1a1aa; }

.author-section { display: grid; grid-template-columns: auto 1.2fr .8fr; gap: clamp(2rem,5vw,5rem); align-items: center; border-block: 1px solid var(--line); }
.author-mark { width: clamp(130px,15vw,190px); aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.14); border-radius: 38px; background: linear-gradient(135deg,var(--cyan),var(--violet) 52%,var(--pink)); box-shadow: 0 30px 90px rgba(124,59,237,.3); font-size: clamp(4rem,8vw,7rem); font-weight: 900; }
.author-copy h2 { font-size: clamp(2.4rem,4.5vw,4.5rem); }
.author-links { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1.5rem; }
.author-links a { color: #d4d4d8; text-decoration: none; font-size: .86rem; font-weight: 700; }
.author-links a:first-child { color: var(--cyan); }
.author-stats { display: grid; gap: 1rem; margin: 0; }
.author-stats div { padding: 1rem 1.2rem; border-left: 2px solid var(--violet); background: linear-gradient(90deg,rgba(124,59,237,.12),transparent); }
.author-stats dt { font-size: 1.7rem; font-weight: 850; }.author-stats dd { margin: .15rem 0 0; color: var(--muted); font-size: .75rem; }

.faq { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(3rem,8vw,8rem); }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 1.5rem 2.5rem 1.5rem 0; list-style: none; cursor: pointer; font-weight: 740; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: 1.25rem; color: var(--cyan); font-size: 1.5rem; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: -.4rem 0 1.5rem; color: var(--muted); line-height: 1.65; font-size: .92rem; }

.final-cta { text-align: center; padding-bottom: clamp(6rem,12vw,11rem); }
.final-cta > img { width: 130px; margin-bottom: 1.5rem; border-radius: 29px; box-shadow: 0 25px 70px rgba(124,59,237,.3); }
.final-cta h2 { margin-inline: auto; }
.final-cta .hero-actions { justify-content: center; }

footer { width: min(1180px,calc(100% - 2rem)); margin: 0 auto; padding: 2.5rem 0 2rem; display: grid; grid-template-columns: 1fr auto; gap: 2rem; border-top: 1px solid var(--line); color: var(--muted); }
footer > div > p { margin: .8rem 0 0; font-size: .75rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: start; }
.footer-links a { text-decoration: none; font-size: .78rem; }
.legal { grid-column: 1/-1; margin: 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.06); color: #52525b; font-size: .66rem; line-height: 1.55; }

.reveal { opacity: 1; transform: none; transition: opacity .65s ease,transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes breathe { 50% { transform: scale(1.12) rotate(10deg); } }
@keyframes ping { 0% { transform: scale(.75); opacity: .7; } 85%,100% { transform: scale(1.15); opacity: 0; } }

@media (max-width: 980px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-card:last-child { grid-column: 1/-1; min-height: 330px; }
  .code-section { gap: 2rem; }
  .author-section { grid-template-columns: auto 1fr; }
  .author-stats { grid-column: 1/-1; grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 860px) {
  .site-header nav a:not(.language-link) { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 4rem; }
  .hero-copy { text-align: center; }
  .eyebrow,.hero-actions { justify-content: center; }
  .hero-lede { margin-inline: auto; }
  .trust-list { justify-content: center; }
  .hero-demo { width: min(560px,100%); margin-inline: auto; }
  .steps { grid-template-columns: 1fr; }
  .steps li { min-height: auto; }
  .code-section,.faq { grid-template-columns: 1fr; }
  .download-panel { grid-template-columns: auto 1fr; }
  .download-panel .button { grid-column: 1/-1; }
}
@media (max-width: 620px) {
  .section { padding: 5rem 0; }
  .logo-strip { flex-wrap: wrap; gap: .7rem 1rem; padding: 1rem 0; }
  .logo-strip span { width: 100%; text-align: center; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card,.feature-card:last-child { grid-column: auto; min-height: 400px; }
  .product-copy { margin-bottom: 1.2rem; }
  .product-shot figure { border-radius: 23px; }
  .product-shot figcaption { position: static; display: block; border-radius: 0; }
  .author-section { grid-template-columns: 1fr; }
  .author-mark { width: 120px; border-radius: 28px; }
  .author-stats { grid-column: auto; }
  footer { grid-template-columns: 1fr; }
  .legal { grid-column: auto; }
}
@media (max-width: 520px) {
  .site-header { height: 66px; }
  .hero { min-height: auto; padding: 3.5rem 0 5rem; }
  h1 { font-size: clamp(3rem,16vw,4.5rem); }
  h2 { font-size: clamp(2.6rem,13vw,4rem); }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .trust-list { display: grid; gap: .55rem; }
  .demo-window { padding: .8rem; border-radius: 22px; }
  .deck-key { border-radius: 18px; }
  .download-panel { grid-template-columns: 60px 1fr; gap: .9rem; }
  .download-panel > img { width: 60px; border-radius: 15px; }
  .download-panel h3 { font-size: 1rem; }
  .download-panel p { font-size: .68rem; }
  .author-stats { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
