:root {
  --bg: #050506;
  --fg: #f5f5f7;
  --muted: #9b9ba3;
  --line: rgba(255, 255, 255, 0.09);
  --glass: rgba(255, 255, 255, 0.045);
  --glass-2: rgba(255, 255, 255, 0.07);
  --accent: #6d5cff;
  --accent-2: #c77dff;
  --radius: 22px;
  --maxw: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; scroll-padding-top: 78px; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ---------- ambient background ---------- */
.aurora { position: fixed; inset: 0; z-index: -2; overflow: hidden; }
/* black canvas, several drifting WHITE gradients (active), one PURPLE accent glow */
.blob {
  position: absolute; border-radius: 50%; filter: blur(120px);
  animation: drift 18s var(--ease) infinite alternate;
}
.b1 { width: 620px; height: 620px; top: -200px; left: -140px;
  background: radial-gradient(circle, rgba(255,255,255,0.95), transparent 70%); opacity: 0.10; }
.b2 { width: 560px; height: 560px; top: 2%; right: -200px;
  background: radial-gradient(circle, rgba(255,255,255,0.9), transparent 70%); opacity: 0.08;
  animation-delay: -5s; animation-duration: 21s; }
/* purple accent — the one hue allowed on the B/W canvas */
.b3 { width: 660px; height: 660px; bottom: -300px; left: 30%;
  background: radial-gradient(circle, #8b5cf6, transparent 70%); opacity: 0.13;
  animation-delay: -11s; animation-duration: 26s; }
.b4 { width: 480px; height: 480px; top: 40%; left: 8%;
  background: radial-gradient(circle, rgba(255,255,255,0.8), transparent 70%); opacity: 0.06;
  animation: drift2 23s var(--ease) infinite alternate; animation-delay: -9s; }
.b5 { width: 540px; height: 540px; top: 60%; right: 4%;
  background: radial-gradient(circle, rgba(255,255,255,0.85), transparent 70%); opacity: 0.05;
  animation: drift2 19s var(--ease) infinite alternate; animation-delay: -3s; }
@keyframes drift2 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-50px, 36px) scale(1.16); }
}
/* two white sheens sweeping across the page at different angles/speeds */
.aurora::before, .aurora::after {
  content: ""; position: absolute; inset: -25% -15%; pointer-events: none;
}
.aurora::after {
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.06) 50%, transparent 60%);
  background-size: 280% 280%;
  animation: sheenmove 20s linear infinite;
}
.aurora::before {
  background: linear-gradient(245deg, transparent 42%, rgba(255,255,255,0.035) 50%, transparent 58%);
  background-size: 320% 320%;
  animation: sheenmove 31s linear infinite reverse;
}
@keyframes sheenmove {
  from { background-position: 0% 0%; }
  to   { background-position: 200% 200%; }
}
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, -30px) scale(1.12); }
}
.grid-overlay {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  opacity: 0.5;
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  width: 100%;
  padding: 0 max(20px, env(safe-area-inset-left));
  background: rgba(5, 5, 6, 0);
  border-bottom: 1px solid transparent;
  backdrop-filter: saturate(180%) blur(0px);
  -webkit-backdrop-filter: saturate(180%) blur(0px);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
              backdrop-filter 0.3s var(--ease), -webkit-backdrop-filter 0.3s var(--ease);
}
.nav.scrolled {
  background: rgba(7, 7, 9, 0.72);
  border-bottom-color: var(--line);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; gap: 22px;
  padding: 14px 8px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -0.02em; flex-shrink: 0; }
.brand-mark { width: 26px; height: 26px; border-radius: 7px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 14.5px; color: var(--muted); }
.nav-links a { position: relative; transition: color 0.2s; padding: 2px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -3px; height: 1.5px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: right 0.28s var(--ease);
}
.nav-links a:hover { color: var(--fg); }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-links a.active { color: var(--fg); }
.nav-gh { margin-left: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 14.5px; letter-spacing: -0.01em;
  padding: 10px 18px; border-radius: 980px;
  transition: transform 0.18s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.2s;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(180deg, #fff, #e9e9ee); color: #0a0a0c;
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.12);
}
.btn-primary:hover { box-shadow: 0 12px 38px rgba(255, 255, 255, 0.2); }
.btn-ghost { background: var(--glass); border-color: var(--line); color: var(--fg); }
.btn-ghost:hover { background: var(--glass-2); }
.btn.lg { padding: 15px 30px; font-size: 16px; }

/* ---------- hero ---------- */
.hero {
  max-width: var(--maxw); margin: 0 auto;
  padding: 70px 28px 90px;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
}
.pill {
  display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em;
  color: #d7d2ff; padding: 6px 13px; border-radius: 980px;
  background: rgba(109, 92, 255, 0.14); border: 1px solid rgba(124, 108, 255, 0.3);
  margin-bottom: 22px;
}
h1 {
  font-size: clamp(38px, 5.2vw, 58px); line-height: 1.04; font-weight: 800;
  letter-spacing: -0.035em;
  background: linear-gradient(180deg, #fff 35%, #b9b9c6);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { color: var(--muted); font-size: 18.5px; max-width: 30em; margin: 22px 0 30px; line-height: 1.55; }
.cta-row { display: flex; gap: 12px; margin-bottom: 26px; flex-wrap: wrap; }

.install-line {
  display: flex; align-items: center; gap: 12px;
  background: var(--glass); border: 1px solid var(--line); border-radius: 14px;
  padding: 11px 11px 11px 16px; max-width: 460px; font-size: 13.5px;
}
.install-line code { font-family: "SF Mono", ui-monospace, Menlo, monospace; color: #d6d6dd; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.install-line .prompt, .code-block .p { color: var(--accent-2); margin-right: 8px; }
.copy {
  margin-left: auto; flex-shrink: 0; font: inherit; font-size: 12.5px; font-weight: 600;
  color: var(--fg); background: var(--glass-2); border: 1px solid var(--line);
  padding: 6px 13px; border-radius: 9px; cursor: pointer; transition: background 0.18s, color 0.18s;
}
.copy:hover { background: #fff; color: #0a0a0c; }
.copy.done { background: #2fcb6e; color: #042; border-color: transparent; }
.micro { color: #76767e; font-size: 13px; margin-top: 16px; }

/* ---------- hero app mock ---------- */
.hero-app { perspective: 1600px; }
.window {
  background: linear-gradient(180deg, rgba(22, 22, 26, 0.92), rgba(12, 12, 15, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 18px;
  padding: 14px; box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
  transform: rotateY(-13deg) rotateX(6deg) translateZ(0);
  transition: transform 0.6s var(--ease);
}
.hero-app:hover .window { transform: rotateY(-6deg) rotateX(3deg); }
.titlebar { display: flex; align-items: center; gap: 7px; padding: 4px 6px 12px; }
.tl { width: 11px; height: 11px; border-radius: 50%; }
.tl.r { background: #ff5f57; } .tl.y { background: #febc2e; } .tl.g { background: #28c840; }
.win-logo { width: 15px; height: 15px; margin-left: 12px; filter: invert(1); opacity: 0.92; }
.win-title { font-size: 13px; font-weight: 600; color: #cfcfd6; }
.search {
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); border-radius: 11px;
  padding: 9px 14px; color: #80808a; font-size: 13.5px; margin-bottom: 14px;
}
.search .mag { margin-right: 8px; }
.section-label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #6a6a73; margin: 6px 2px 10px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tiles.small { grid-template-columns: repeat(4, 1fr); margin-top: 8px; }
.tile {
  background: color-mix(in srgb, var(--c) 88%, transparent);
  border-radius: 15px; padding: 12px 10px 10px; text-align: center; color: #fff;
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 0.2s var(--ease);
}
.tile:hover { transform: translateY(-3px); }
.tile .mono { font-size: 17px; font-weight: 800; opacity: 0.96; }
.tiles.small .tile { padding: 9px 6px; }
.tiles.small .mono { font-size: 13px; }
.tile b { font-size: 11px; font-weight: 600; opacity: 0.95; }
.tiles.small b { font-size: 9.5px; }

/* ---------- demo ---------- */
.demo { max-width: var(--maxw); margin: 0 auto; padding: 40px 28px 20px; }
.demo-frame {
  max-width: 940px; margin: 0 auto; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line); background: #0b0b0e;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.demo-frame img, .demo-vid { display: block; width: 100%; height: auto; }

/* ---------- ai agents ---------- */
.agents { max-width: var(--maxw); margin: 0 auto; padding: 56px 28px 20px; }
.agent-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.agent-chip {
  background: var(--glass); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 16px; transition: border-color 0.2s, background 0.2s, transform 0.2s var(--ease);
}
.agent-chip:hover { transform: translateY(-3px); background: var(--glass-2);
  border-color: rgba(124, 108, 255, 0.4); }
.agent-chip b { display: block; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.agent-chip span { display: block; margin-top: 5px; font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.agent-note { text-align: center; color: var(--muted); font-size: 15px; max-width: 52em; margin: 28px auto 0; line-height: 1.6; }
@media (max-width: 920px) { .agent-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .agent-grid { grid-template-columns: 1fr; } }

/* ---------- features ---------- */
.features { max-width: var(--maxw); margin: 0 auto; padding: 60px 28px; }
.section-head { text-align: center; max-width: 38em; margin: 0 auto 50px; }
.section-head h2 {
  font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08;
  background: linear-gradient(180deg, #fff, #c0c0cc); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-head p { color: var(--muted); font-size: 17.5px; margin-top: 16px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; transition: transform 0.25s var(--ease), border-color 0.25s, background 0.25s;
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, rgba(124, 108, 255, 0.5), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.3s;
}
.card:hover { transform: translateY(-4px); background: var(--glass-2); border-color: rgba(255, 255, 255, 0.16); }
.card:hover::before { opacity: 1; }
.card .ic {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  font-size: 21px; margin-bottom: 18px; color: #d7d2ff;
  background: rgba(109, 92, 255, 0.14); border: 1px solid rgba(124, 108, 255, 0.28);
}
.card .kicker {
  display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--accent-2); margin-bottom: 7px;
}
.card h3 { font-size: 19.5px; font-weight: 700; letter-spacing: -0.022em; line-height: 1.22; margin-bottom: 9px; }
.card p { color: var(--muted); font-size: 14.8px; line-height: 1.6; }

/* ---------- install ---------- */
.install { max-width: 880px; margin: 50px auto; padding: 0 28px; }
.install-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line); border-radius: 28px; padding: 46px;
  text-align: center; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}
.install-card h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.03em; }
.install-card > p { color: var(--muted); font-size: 16.5px; margin: 14px auto 28px; max-width: 36em; }
.code-block {
  position: relative; text-align: left; background: #0b0b0e; border: 1px solid var(--line);
  border-radius: 16px; padding: 22px 22px; overflow-x: auto;
  font-family: "SF Mono", ui-monospace, Menlo, monospace; font-size: 14px;
}
.code-block pre { line-height: 1.85; color: #e3e3ea; }
.code-block .c { color: #6a6a73; }
.code-block .copy { position: absolute; top: 12px; right: 12px; }
.install-card .micro { margin-top: 22px; }

/* ---------- how ---------- */
.how { max-width: var(--maxw); margin: 70px auto; padding: 0 28px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step {
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; display: flex; gap: 18px; align-items: flex-start;
}
.step .n {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; font-size: 17px; color: #fff;
  background: linear-gradient(160deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 24px rgba(124, 108, 255, 0.35);
}
.step h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.02em; }
.step p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* ---------- final ---------- */
.final { text-align: center; padding: 90px 28px 60px; max-width: 700px; margin: 0 auto; }
.final-icon { width: 88px; height: 88px; border-radius: 22px; margin-bottom: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); }
.final h2 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05;
  background: linear-gradient(180deg, #fff, #c0c0cc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.final p { color: var(--muted); font-size: 19px; margin: 16px 0 30px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 28px 40px; max-width: var(--maxw); margin: 40px auto 0; }
.foot-top { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; }
.foot-about { max-width: 330px; }
.foot-brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 16px; }
.foot-brand img { width: 24px; height: 24px; border-radius: 7px; }
.foot-tag { color: var(--muted); font-size: 13.5px; line-height: 1.55; margin: 12px 0 16px; }
.foot-about .by { display: block; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.foot-about .by b { color: var(--fg); font-weight: 600; }
.foot-col h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #6a6a73; margin-bottom: 13px; }
.foot-col a { display: block; font-size: 14px; color: var(--muted); padding: 5px 0; transition: color 0.18s; }
.foot-col a:hover { color: var(--fg); }
.foot-fine { color: #6a6a73; font-size: 12.5px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.foot-fine a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.foot-fine a:hover { color: var(--fg); }
.social-row { display: flex; gap: 9px; flex-wrap: wrap; }
.social {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  color: var(--muted); background: var(--glass); border: 1px solid var(--line);
  transition: color 0.18s, background 0.18s, border-color 0.18s, transform 0.18s var(--ease);
}
.social:hover { color: #fff; transform: translateY(-2px);
  background: rgba(124, 108, 255, 0.18); border-color: rgba(124, 108, 255, 0.45); }
.social svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 30px auto 10px; padding: 0 28px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 36px; }
.faq-item {
  background: var(--glass); border: 1px solid var(--line); border-radius: 16px;
  padding: 4px 22px; transition: border-color 0.2s, background 0.2s;
}
.faq-item[open] { background: var(--glass-2); border-color: rgba(124, 108, 255, 0.35); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 16.5px;
  letter-spacing: -0.01em; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--accent-2); font-size: 22px; font-weight: 400; transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--muted); font-size: 15px; line-height: 1.62; padding: 0 0 20px; max-width: 62ch; }
.faq-item p a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- shared ---------- */
kbd {
  font-family: "SF Mono", ui-monospace, Menlo, monospace; font-size: 0.84em;
  background: rgba(255, 255, 255, 0.09); border: 1px solid var(--line); border-bottom-width: 2px;
  border-radius: 6px; padding: 1px 6px; margin: 0 1px; color: #e3e3ea;
}
code { font-family: "SF Mono", ui-monospace, Menlo, monospace; font-size: 0.9em;
  background: rgba(255, 255, 255, 0.06); padding: 1px 6px; border-radius: 5px; color: #d6d6dd; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.cards .reveal:nth-child(2), .steps .reveal:nth-child(2) { transition-delay: 0.07s; }
.cards .reveal:nth-child(3), .steps .reveal:nth-child(3) { transition-delay: 0.14s; }
.cards .reveal:nth-child(4) { transition-delay: 0.07s; }
.cards .reveal:nth-child(5) { transition-delay: 0.14s; }
.cards .reveal:nth-child(6) { transition-delay: 0.21s; }

/* ---------- entrance animations ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { opacity: 0; transform: translateY(10px) scale(0.92); } 100% { opacity: 1; transform: none; } }
@keyframes float { from { transform: translateY(0); } to { transform: translateY(-10px); } }
@keyframes shimmer { to { background-position: 200% center; } }
@keyframes shine { 0% { transform: translateX(-130%) skewX(-18deg); } 60%, 100% { transform: translateX(330%) skewX(-18deg); } }
@keyframes popwin {
  0% { opacity: 0; transform: rotateY(-13deg) rotateX(6deg) scale(0.9); }
  100% { opacity: 1; transform: rotateY(-13deg) rotateX(6deg) scale(1); }
}

/* hero copy children stagger in on load */
.hero-copy > * { animation: rise 0.8s var(--ease) both; }
.hero-copy .pill { animation-delay: 0.05s; }
.hero-copy h1 { animation-delay: 0.13s; }
.hero-copy .lede { animation-delay: 0.22s; }
.hero-copy .cta-row { animation-delay: 0.31s; }
.hero-copy .install-line { animation-delay: 0.4s; }
.hero-copy .micro { animation-delay: 0.48s; }

/* animated gradient sweep over the headline */
h1 {
  background-size: 200% auto;
  animation: rise 0.8s var(--ease) both, shimmer 7s linear 1s infinite;
}

/* hero window floats + pops in (keyframe preserves the 3D tilt) */
.hero-app .window { animation: popwin 0.9s var(--ease) 0.3s both; }
.hero-app { animation: float 4.5s ease-in-out 1.4s infinite alternate; }

/* tiles pop in sequentially */
.hero-app.in .tile { animation: pop 0.5s var(--ease) both; }
.tiles .tile:nth-child(1) { animation-delay: 0.46s; } .tiles .tile:nth-child(2) { animation-delay: 0.52s; }
.tiles .tile:nth-child(3) { animation-delay: 0.58s; } .tiles .tile:nth-child(4) { animation-delay: 0.64s; }
.tiles .tile:nth-child(5) { animation-delay: 0.70s; } .tiles .tile:nth-child(6) { animation-delay: 0.76s; }
.tiles.small .tile:nth-child(1) { animation-delay: 0.80s; } .tiles.small .tile:nth-child(2) { animation-delay: 0.84s; }
.tiles.small .tile:nth-child(3) { animation-delay: 0.88s; } .tiles.small .tile:nth-child(4) { animation-delay: 0.92s; }

/* sheen sweep on primary buttons */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: 0; width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: translateX(-130%) skewX(-18deg);
}
.btn-primary:hover::after { animation: shine 0.9s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .blob, .aurora::before, .aurora::after, .hero-app, .hero-app .window, h1, .hero-copy > *, .hero-app.in .tile { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 40px; }
  /* let grid/flex children shrink below their content width — kills horizontal overflow */
  .hero > *, .hero-copy, .hero-app, .window { min-width: 0; }
  .hero-copy { text-align: center; }
  .hero-copy .pill { margin-inline: auto; }
  .lede { margin-inline: auto; }
  .cta-row, .install-line { justify-content: center; margin-inline: auto; }
  .hero-app { order: 2; width: 100%; max-width: 440px; margin: 0 auto; animation: none; }
  .hero-app .window { animation: none !important; transform: none !important; }
  .cards, .steps { grid-template-columns: 1fr; }
  .nav-gh .gh-label { display: none; }
  .nav-gh { padding: 9px 11px; }
  .nav-inner { gap: 14px; }
  .nav-links { gap: 18px; font-size: 14px; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .nav-inner { justify-content: space-between; }
  h1 { font-size: clamp(31px, 8.7vw, 46px); }
  .lede { font-size: 16.5px; }
  .install-card { padding: 30px 20px; }
  .install-line { width: 100%; max-width: 100%; }
  .install-line code { font-size: 12px; }
  .code-block { font-size: 12.5px; padding: 18px 16px; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot-about { grid-column: 1 / -1; max-width: none; }
  .tiles { gap: 8px; } .tiles.small { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .cta-row { width: 100%; }
  .cta-row .btn { flex: 1; justify-content: center; }
}
@media (max-width: 380px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-inline: 20px; }
}
