/* CasperTalk landing — one stylesheet, no framework, no external requests.
   Fonts: Geist / Geist Mono (SIL OFL 1.1, see /fonts/LICENSE-Geist.txt). */

@font-face {
  font-family: "Geist";
  src: url("/fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #0f1419;
  --ink-2: #4b5563;
  --ink-3: #8a94a0;
  --line: #e6e8ec;
  --paper: #f6f7f9;
  --sheet: #ffffff;
  --accent: #30e699;
  --accent-deep: #0f9d6a;
  --accent-ink: #06281a;
  --panel: rgba(58, 58, 60, .94);
  --panel-solid: #3a3a3c;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius: 14px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  background-image:
    linear-gradient(to right, rgba(15, 20, 25, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 20, 25, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  font: 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; }
h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.08; font-weight: 700; text-align: center; }
h3 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0; }
.sub { color: var(--ink-2); font-size: 18px; text-align: center; max-width: 640px; margin: 14px auto 0; }
.fine { font-size: 13px; color: var(--ink-3); }
kbd { font: 600 .9em var(--mono); background: #eef0f3; border: 1px solid #d9dde3; border-bottom-width: 2px; border-radius: 6px; padding: 1px 6px; color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
section { padding: 96px 20px; max-width: var(--max); margin: 0 auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-light { background: #fff; color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1f2933; }
.btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .18); }
.btn-ghost:hover { background: rgba(255, 255, 255, .11); }
.btn-glow { box-shadow: 0 0 0 5px rgba(48, 230, 153, .14), 0 18px 48px rgba(48, 230, 153, .28); }
.btn-glow:hover { box-shadow: 0 0 0 6px rgba(48, 230, 153, .18), 0 22px 56px rgba(48, 230, 153, .36); }

/* ---------- prompter (shared) ---------- */
.prompter {
  position: relative;
  background: var(--panel);
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-weight: 600;
  text-align: center;
}
.prompter .badge {
  position: absolute; top: 10px; right: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 9px 3px 7px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .85);
  font: 600 11px/1 var(--sans); letter-spacing: .01em;
}
.prompter .bars { display: inline-flex; gap: 2px; align-items: flex-end; height: 10px; }
.prompter .bars i { width: 3px; height: 10px; border-radius: 1px; background: var(--accent); display: block; }
.prompter .bars i:nth-child(4) { background: rgba(255, 255, 255, .3); }
.prompter .dot { width: 7px; height: 7px; border-radius: 50%; background: #f59e0b; display: inline-block; }
.prompter .dot.live { background: var(--accent); box-shadow: 0 0 0 3px rgba(48, 230, 153, .22); }

/* ---------- HERO ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(56% 46% at 50% -6%, rgba(48, 230, 153, .78), rgba(48, 230, 153, .22) 42%, transparent 70%),
    radial-gradient(34% 46% at 6% 38%, rgba(16, 140, 104, .45), transparent 62%),
    radial-gradient(34% 46% at 94% 38%, rgba(16, 140, 104, .45), transparent 62%),
    radial-gradient(64% 36% at 50% 104%, rgba(48, 230, 153, .28), transparent 62%),
    linear-gradient(180deg, #0a1a15 0%, #05070a 38%, #05070a 100%);
}
.mac { position: relative; max-width: var(--max); margin: 0 auto; padding: 0 20px 96px; }
/* Pure black like a MacBook's notch row: the camera sits in it and the
   prompter hangs from its bottom edge, so bar and panel read as one shape. */
.menubar {
  position: relative; z-index: 3;
  display: flex; align-items: center; gap: 22px;
  height: 32px; padding: 0 22px;
  background: #000; color: rgba(255, 255, 255, .82);
  font: 500 13px/1 var(--sans);
}
.menubar .cam {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 11px; height: 11px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #3a4a5a 0 22%, #0b1016 58%);
  box-shadow: 0 0 0 2px #171b21, 0 0 12px rgba(48, 230, 153, .4);
}
.mb-app { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: #fff; }
.mb-right { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .7); }
.mb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: inline-block; }
.notch {
  position: relative; z-index: 3; width: 214px; height: 34px; margin: -1px auto 0;
  background: #000; border-radius: 0 0 17px 17px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .55);
}
.notch .cam {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 9px; height: 9px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #3a4a5a 0 25%, #0b1016 60%);
  box-shadow: 0 0 0 2px #14181d, 0 0 10px rgba(48, 230, 153, .35);
}
/* The prompter hangs directly under the camera: a black panel attached to the
   bottom of the black menu bar, notes scrolling inside — where the real panel
   sits on a MacBook. */
.notch-prompter {
  position: relative; z-index: 3;
  width: min(480px, 100%); margin: 0 auto;
  padding: 16px 26px 16px;
  background: #000; color: #fff;
  border-radius: 0 0 28px 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
  font-size: clamp(17px, 2vw, 21px); font-weight: 600; line-height: 1.3; text-align: center;
  cursor: default;
}
/* Concave top corners: the panel flows out of the black bar instead of
   butting against it. Each ear is a square with a transparent quarter-circle
   cut out on the side facing away from the panel. */
.notch-prompter::before, .notch-prompter::after {
  content: ""; position: absolute; top: 0; width: 22px; height: 22px; pointer-events: none;
}
.notch-prompter::before { left: -22px; background: radial-gradient(circle at 0 100%, transparent 21.5px, #000 22px); }
.notch-prompter::after { right: -22px; background: radial-gradient(circle at 100% 100%, transparent 21.5px, #000 22px); }
.notch-prompter .scroll-window {
  height: 142px; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 78%, transparent 100%);
}
.notch-prompter .scroll-track { padding: 18px 0 44px; will-change: transform; transition: opacity .25s ease; }
.notch-prompter .scroll-track p { margin: 0 0 .55em; }
/* No-JS fallback: plain CSS loop. landing.js takes over (hover pause, wheel). */
.notch-prompter:not(.js) .scroll-track { animation: scroll-up 44s linear infinite; }
@keyframes scroll-up { from { transform: translateY(0); } to { transform: translateY(calc(-100% + 142px)); } }
.pp-state {
  position: absolute; top: 9px; right: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  font: 600 10.5px/1 var(--sans); letter-spacing: .02em; color: rgba(255, 255, 255, .6);
  opacity: 0; transition: opacity .2s ease; pointer-events: none;
}
.pp-state i { width: 6px; height: 6px; border-radius: 50%; background: #f59e0b; }
.notch-prompter.paused .pp-state { opacity: 1; }

.hero-copy { text-align: center; margin-top: 72px; }
.hero h1 { font-size: clamp(42px, 7vw, 84px); line-height: 1; font-weight: 700; letter-spacing: -.035em; }
.lede { color: rgba(255, 255, 255, .78); font-size: clamp(17px, 1.6vw, 21px); line-height: 1.45; max-width: 620px; margin: 22px auto 0; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.hero .fine { color: rgba(255, 255, 255, .5); margin-top: 18px; }

.works-with {
  display: flex; justify-content: center; align-items: center; gap: 28px; flex-wrap: wrap;
  margin-top: 84px; color: rgba(255, 255, 255, .55);
  font: 600 14px/1 var(--sans); letter-spacing: .01em;
}
.works-with .ww-label { font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .38); }
.desk { height: 84px; background: linear-gradient(180deg, #b9ead8 0%, #dff5ec 55%, var(--paper) 100%); }

/* ---------- STEPS ---------- */
.steps { padding-top: 88px; }
.step-list { list-style: none; margin: 48px auto 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step-list li { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 28px; }
.step-list .num {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--ink); color: #fff; font: 700 15px/1 var(--sans); margin-bottom: 18px;
}
.step-list h3 { margin-bottom: 8px; }
.step-list p { color: var(--ink-2); font-size: 15.5px; }

/* ---------- FEATURES ---------- */
.features .sub { margin-bottom: 44px; }
.sheet { background: var(--sheet); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.card { padding: 30px 30px 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.grid .card:nth-child(3n) { border-right: 0; }
.grid .card:nth-last-child(-n + 3) { border-bottom: 0; }
.card h3 { margin-top: 22px; }
.card p { color: var(--ink-2); font-size: 15px; margin-top: 8px; line-height: 1.5; }
.card .art p { color: inherit; font-size: inherit; line-height: inherit; margin: 0; }
.art {
  position: relative; aspect-ratio: 4 / 3.2; border-radius: 12px; overflow: hidden;
  display: grid; place-items: center;
  background:
    linear-gradient(to right, rgba(15, 20, 25, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 20, 25, .05) 1px, transparent 1px),
    linear-gradient(160deg, #f5f6f8, #e9ecf0);
  background-size: 28px 28px, 28px 28px, auto;
}
.art.dark, .art-stealth, .art-camera, .art-pause { background: linear-gradient(170deg, #2b2f36, #0e1116); }
.prompter.mini { font-size: 14.5px; line-height: 1.35; padding: 30px 16px 16px; border-radius: 12px; width: 80%; }
.prompter.mini .badge { top: 8px; right: 9px; font-size: 9.5px; padding: 2px 7px 2px 5px; }
.prompter.mini .bars { height: 8px; } .prompter.mini .bars i { height: 8px; width: 2.5px; }
.prompter.mini p { margin: 0; }

/* Stealth */
.art-stealth .tiles { position: absolute; inset: 14% 10% 10% 10%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.art-stealth .tile {
  position: relative; border-radius: 9px; display: grid; place-items: center; overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.art-stealth .tile b { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 700 13px/1 var(--sans); color: #fff; background: rgba(255, 255, 255, .18); }
.art-stealth .tile em { position: absolute; left: 8px; bottom: 6px; font: 500 9.5px/1 var(--sans); color: rgba(255, 255, 255, .8); font-style: normal; }
.art-stealth .t1 { background: linear-gradient(160deg, #3b5b7a, #1d2f42); }
.art-stealth .t2 { background: linear-gradient(160deg, #6b4f8a, #2c2140); box-shadow: inset 0 0 0 2px var(--accent); }
.art-stealth .t3 { background: linear-gradient(160deg, #7a5a3b, #3d2c1c); }
.art-stealth .t4 { background: linear-gradient(160deg, #3b7a6a, #1c3d35); }
.art-stealth .pill-live {
  position: absolute; top: 10px; left: 10px; z-index: 3; display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 9px; border-radius: 999px; background: rgba(220, 38, 38, .9); color: #fff; font: 700 10px/1 var(--sans);
}
.art-stealth .pill-live i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .35; } }
.art-stealth .prompter.mini { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72%; padding: 26px 14px 14px; box-shadow: 0 18px 50px rgba(0, 0, 0, .6), 0 0 0 1px rgba(48, 230, 153, .35); }

/* Slides */
.art-slides { align-content: start; grid-template-rows: auto 1fr; padding: 12% 8% 8%; }
.art-slides .slides { display: flex; gap: 8px; width: 100%; }
.art-slides .slide {
  flex: 1; aspect-ratio: 16 / 9; border-radius: 6px; background: #fff; position: relative;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08), inset 0 0 0 1px rgba(0, 0, 0, .06); padding: 9% 10%;
}
.art-slides .slide i { display: block; height: 4px; border-radius: 2px; background: #c9ced6; margin-bottom: 5px; width: 70%; }
.art-slides .slide i + i { width: 45%; background: #dfe3e8; }
.art-slides .slide::after { content: ""; position: absolute; inset: 0; border-radius: 6px; box-shadow: inset 0 0 0 2px var(--accent-deep); opacity: 0; animation: slide-active 9s infinite; }
.art-slides .s2::after { animation-delay: 3s; }
.art-slides .s3::after { animation-delay: 6s; }
@keyframes slide-active { 0%, 33.33% { opacity: 1; } 33.34%, 100% { opacity: 0; } }
.art-slides .prompter.mini.notes { width: 100%; margin-top: 16px; padding: 14px 14px; display: grid; }
.art-slides .notes p { grid-area: 1 / 1; opacity: 0; animation: note-cycle 9s infinite; font-size: 13.5px; }
.art-slides .notes .n2 { animation-delay: 3s; }
.art-slides .notes .n3 { animation-delay: 6s; }
@keyframes note-cycle { 0% { opacity: 0; transform: translateY(6px); } 3%, 32% { opacity: 1; transform: none; } 36%, 100% { opacity: 0; } }

/* Voice */
.art-voice .wave { position: absolute; left: 10%; right: 10%; top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 4px; height: 60%; }
.art-voice .wave i { flex: 1; height: 12%; background: var(--ink); border-radius: 2px; animation: wave 1.6s ease-in-out infinite; }
.art-voice .wave i:nth-child(odd) { animation-duration: 1.9s; }
.art-voice .wave i:nth-child(3n) { animation-delay: -.4s; }
.art-voice .wave i:nth-child(4n) { animation-delay: -.9s; }
.art-voice .wave i:nth-child(5n) { animation-delay: -1.3s; }
.art-voice .wave i:nth-child(n + 15) { animation-play-state: paused; height: 8%; opacity: .45; }
@keyframes wave { 0%, 100% { height: 14%; } 50% { height: 84%; } }
.art-voice .mic {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; color: var(--ink);
  background: #fff; box-shadow: 0 0 0 8px rgba(255, 255, 255, .55), 0 14px 34px rgba(0, 0, 0, .18);
}

/* Camera */
.art-camera { align-content: start; }
.notch.small { width: 42%; height: 22px; border-radius: 0 0 11px 11px; margin: 0 auto; box-shadow: none; }
.notch.small::before, .notch.small::after { display: none; }
.notch.small .cam { width: 7px; height: 7px; }
.art-camera .prompter.mini.under { margin-top: 12px; width: 70%; padding: 18px 16px; }

/* Resize */
.art-resize .prompter.mini.grow { width: 52%; padding: 22px 14px; animation: grow 5s ease-in-out infinite; transform-origin: center; }
.art-resize .handle { position: absolute; right: -1px; bottom: -1px; width: 12px; height: 12px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); border-radius: 0 0 6px 0; }
@keyframes grow { 0%, 20% { width: 52%; padding: 22px 14px; font-size: 13px; } 50%, 70% { width: 84%; padding: 30px 18px; font-size: 16px; } 100% { width: 52%; padding: 22px 14px; font-size: 13px; } }
.cursor { position: absolute; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35)); }
.c-resize { left: 74%; top: 66%; animation: cursor-resize 5s ease-in-out infinite; }
@keyframes cursor-resize { 0%, 20% { left: 74%; top: 66%; } 50%, 70% { left: 90%; top: 74%; } 100% { left: 74%; top: 66%; } }

/* Pause */
.art-pause .prompter.mini.dim { opacity: .55; filter: blur(.3px); padding: 22px 16px; }
.pause-glyph { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; gap: 8px; width: 56px; height: 56px; border-radius: 50%; background: rgba(255, 255, 255, .14); align-items: center; justify-content: center; backdrop-filter: blur(6px); }
.pause-glyph i { width: 8px; height: 24px; border-radius: 3px; background: #fff; }
.c-pause { left: 56%; top: 54%; animation: cursor-hover 4s ease-in-out infinite; }
@keyframes cursor-hover { 0%, 100% { left: 78%; top: 82%; } 40%, 60% { left: 56%; top: 54%; } }

/* Keys */
.art-keys .keycaps { display: flex; gap: 12px; }
.key {
  width: 66px; height: 66px; border-radius: 12px; display: grid; place-items: center; align-content: center; gap: 4px;
  background: linear-gradient(180deg, #2f343b, #14181d); color: #fff; font: 600 22px/1 var(--sans);
  box-shadow: 0 6px 0 #0a0d10, 0 14px 30px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .12);
}
.key small { font: 500 11px/1 var(--sans); color: rgba(255, 255, 255, .6); letter-spacing: .04em; }
.key:nth-child(3) { animation: key-press 3.2s ease-in-out infinite; }
@keyframes key-press { 0%, 70%, 100% { transform: translateY(0); } 78%, 86% { transform: translateY(5px); box-shadow: 0 1px 0 #0a0d10, 0 8px 20px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .12); } }

/* Style */
.art-style .swatches { display: grid; gap: 10px; width: 78%; }
.sw { display: block; border-radius: 10px; padding: 12px 14px; font-weight: 600; text-align: center; }
.sw1 { background: #111; color: #fff; font-size: 17px; }
.sw2 { background: rgba(40, 40, 42, .92); color: #fde68a; font-size: 14px; }
.sw3 { background: rgba(255, 255, 255, .45); color: #333; font-size: 13px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }

/* Local */
.art-local { grid-template-rows: 1fr auto; padding-bottom: 12%; }
.laptop { display: grid; justify-items: center; align-self: end; }
.laptop .screen {
  width: 150px; height: 96px; border-radius: 10px 10px 4px 4px; display: grid; place-items: center; color: var(--accent);
  background: #0e1116; box-shadow: inset 0 0 0 4px #2a2f36;
}
.laptop .base { width: 190px; height: 8px; border-radius: 0 0 8px 8px; background: linear-gradient(180deg, #c9ced6, #9aa2ad); margin-top: 2px; }
.local-line { font: 600 12.5px/1 var(--sans); color: var(--ink-2); letter-spacing: .02em; margin-top: 14px; }

/* Library */
.art-library .list { width: 82%; background: #fff; border-radius: 12px; padding: 8px; display: grid; gap: 4px; box-shadow: 0 10px 30px rgba(0, 0, 0, .08), inset 0 0 0 1px rgba(0, 0, 0, .06); }
.art-library .list span { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; font: 500 13px/1 var(--sans); color: var(--ink); text-align: left; }
.art-library .list i { width: 10px; height: 10px; border-radius: 3px; background: #c9ced6; }
.art-library .list .active { background: var(--ink); color: #fff; }
.art-library .list .active i { background: var(--accent); }

/* Deck */
.art-deck { grid-template-columns: auto auto 1fr; gap: 10px; padding: 0 10%; }
.art-deck .file { width: 74px; padding: 12px 8px; border-radius: 10px; background: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .1), inset 0 0 0 1px rgba(0, 0, 0, .06); display: grid; gap: 6px; }
.art-deck .file b { font: 700 12px/1 var(--mono); color: #c2410c; background: #ffedd5; border-radius: 6px; padding: 5px 0; }
.art-deck .file span { font: 500 10.5px/1.2 var(--sans); color: var(--ink-2); }
.art-deck .arrow { color: var(--ink-3); }
.art-deck .deck-notes { display: grid; gap: 6px; width: 100%; }
.art-deck .deck-notes span { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 8px; padding: 7px 9px; font: 500 11.5px/1 var(--sans); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.art-deck .deck-notes b { width: 18px; height: 18px; border-radius: 5px; background: var(--ink); color: #fff; display: grid; place-items: center; font: 700 10px/1 var(--sans); flex: none; }

/* Countdown */
.art-countdown { background: linear-gradient(170deg, #2b2f36, #0e1116); }
.count { position: relative; width: 120px; height: 120px; display: grid; place-items: center; }
.count span { grid-area: 1 / 1; font: 700 84px/1 var(--sans); color: #fff; letter-spacing: -.04em; opacity: 0; animation: count 3.6s infinite; }
.count span:nth-child(2) { animation-delay: 1.2s; }
.count span:nth-child(3) { animation-delay: 2.4s; }
@keyframes count { 0% { opacity: 0; transform: scale(.7); } 8%, 28% { opacity: 1; transform: scale(1); } 33.3%, 100% { opacity: 0; transform: scale(1.15); } }
.count::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .12); border-top-color: var(--accent); animation: spin 3.6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- PRICING ---------- */
/* Both cards share one row grid (subgrid), so the buttons and fine print sit on
   the same line no matter how many bullets each plan has. */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); grid-template-rows: auto auto auto auto; gap: 22px; justify-content: center; margin-top: 48px; }
.plan { background: var(--sheet); border: 1px solid var(--line); border-radius: 18px; padding: 30px; display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 22px; text-align: left; }
.plan.pro { border-color: rgba(48, 230, 153, .7); box-shadow: 0 0 0 4px rgba(48, 230, 153, .12), 0 30px 70px rgba(48, 230, 153, .14); }
.plan-head { display: flex; align-items: baseline; justify-content: space-between; }
.plan h3 { font-size: 22px; }
.price { font: 700 34px/1 var(--sans); letter-spacing: -.03em; display: flex; align-items: baseline; gap: 8px; }
.price span { font: 500 13px/1 var(--sans); color: var(--ink-3); letter-spacing: 0; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plan li { padding-left: 26px; position: relative; color: var(--ink-2); font-size: 15.5px; }
.plan li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: rgba(48, 230, 153, .2); }
.plan li::after { content: ""; position: absolute; left: 5px; top: 8px; width: 6px; height: 3.5px; border-left: 2px solid var(--accent-deep); border-bottom: 2px solid var(--accent-deep); transform: rotate(-45deg); }
.plan .btn { align-self: end; }
.plan .fine { text-align: center; margin-top: -8px; }

.compare { max-width: 820px; margin: 56px auto 0; background: var(--sheet); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.compare .row { display: grid; grid-template-columns: 1.1fr 1fr 1.2fr; border-bottom: 1px solid var(--line); }
.compare .row:last-child { border-bottom: 0; }
.compare .row span { padding: 14px 18px; font-size: 15px; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.compare .row span:first-child { color: var(--ink); font-weight: 600; }
.compare .row span:nth-child(2) { text-align: center; justify-content: center; }
.compare .row .us { background: rgba(48, 230, 153, .1); color: var(--ink); font-weight: 600; justify-content: center; }
.compare .head span { font: 600 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding: 14px 18px; }
.compare .head .us { color: var(--ink); letter-spacing: 0; text-transform: none; font-size: 15px; font-weight: 700; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 44px auto 0; background: var(--sheet); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 0; }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative;
  font: 600 17px/1.35 var(--sans); letter-spacing: -.01em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 26px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list details p { padding: 0 24px 22px; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; max-width: 700px; }

/* ---------- DOWNLOAD ---------- */
.download { padding-top: 40px; }
.dl-card {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  border-radius: 24px; padding: 64px 28px 60px;
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(48, 230, 153, .32), transparent 65%),
    radial-gradient(50% 50% at 50% 110%, rgba(48, 230, 153, .18), transparent 60%),
    #05070a;
  box-shadow: 0 40px 90px rgba(5, 7, 10, .35);
}
.dl-card > img { margin: 0 auto 22px; border-radius: 20px; box-shadow: 0 20px 50px rgba(0, 0, 0, .5), 0 0 40px rgba(48, 230, 153, .3); }
.dl-card .sub { color: rgba(255, 255, 255, .72); }
.dl-actions { display: flex; justify-content: center; margin-top: 30px; }
.dl-meta { margin-top: 14px; font: 500 13px/1.4 var(--sans); color: rgba(255, 255, 255, .5); letter-spacing: .01em; }
.dl-card .fine { color: rgba(255, 255, 255, .5); margin-top: 28px; }
.dl-card .fine a { color: rgba(255, 255, 255, .8); }

/* ---------- FOOTER ---------- */
.footer { border-top: 1px solid var(--line); background: var(--sheet); }
.foot-inner { max-width: var(--max); margin: 0 auto; padding: 28px 20px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); }
.foot-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer nav a { color: var(--ink-2); text-decoration: none; }
.footer nav a:hover { color: var(--ink); }
.foot-copy { margin-left: auto; color: var(--ink-3); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .grid .card:nth-child(3n) { border-right: 1px solid var(--line); }
  .grid .card:nth-child(2n) { border-right: 0; }
  .grid .card:nth-last-child(-n + 3) { border-bottom: 1px solid var(--line); }
  .grid .card:nth-last-child(-n + 2) { border-bottom: 0; }
  .step-list { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .menubar span:not(.mb-app):not(.mb-right) { display: none; }
}
@media (max-width: 600px) {
  section { padding: 64px 16px; }
  .grid { grid-template-columns: 1fr; }
  .grid .card { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .grid .card:last-child { border-bottom: 0 !important; }
  .card { padding: 24px 20px 28px; }
  .mac { padding: 0 24px 72px; } /* room for the panel's 22px ears */
  .notch-prompter { padding: 14px 18px 14px; border-radius: 0 0 22px 22px; }
  .notch-prompter .scroll-window { height: 124px; }
  .cta-row .btn { width: 100%; }
  .dl-actions .btn { width: 100%; }
  .works-with { gap: 14px 18px; margin-top: 56px; }
  .compare .row { grid-template-columns: 1fr 1fr 1fr; }
  .compare .row span { padding: 12px 10px; font-size: 13px; }
  .foot-copy { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition: none !important; }
  .notch-prompter .scroll-track { transform: none; animation: none; }
  .art-slides .slide.s1::after, .art-slides .notes .n1 { opacity: 1; }
  .count span:first-child { opacity: 1; }
}
