/* ══════════════════════════════════════════════════════════════════════
   Notch For Creators — site styles
   Colour is taken from the app's own tokens: the logo's magenta→cyan
   sweep, and the key art's black field lit by cool mist and plum.
   ══════════════════════════════════════════════════════════════════════ */

:root {
  /* Brand — sampled from the logo: lime at the top left, through green,
     to a deep teal in the bottom right. The old names are kept so every
     rule that reads them keeps working; only the values are green now. */
  --pink:    #B6E62A;   /* lime      */
  --magenta: #7FD41E;   /* yellow-green — the flat accent */
  --purple:  #3DBF4A;   /* green     */
  --indigo:  #16A163;   /* emerald   */
  --blue:    #0E8F72;   /* teal      */
  --cyan:    #0B7A63;   /* deep teal */

  /* the one bright green that has to read on black */
  --lime:    #A3E635;

  /* Key art */
  --void:    #020403;
  --plum:    #06301F;
  --orchid:  #052718;
  --mist:    #67716B;

  /* Surfaces */
  --bg:      #040705;
  --hw:      #070a08;              /* hardware black — the notch itself */
  --panel:   #080d0a;
  --raised:  rgba(236, 255, 240, .055);
  --raised-2:rgba(230, 255, 238, .085);
  --hair:    rgba(255, 255, 255, .085);
  --hair-2:  rgba(255, 255, 255, .14);

  /* Ink */
  --ink:     #EEF5EF;
  --ink-2:   rgba(238, 245, 239, .70);
  --ink-3:   rgba(238, 245, 239, .46);

  --sweep: linear-gradient(100deg, var(--pink), var(--purple) 46%, var(--blue) 82%, var(--cyan));
  --seam:  linear-gradient(120deg, var(--pink), var(--magenta), var(--purple), var(--blue), var(--cyan));

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --shadow: 0 24px 70px -28px rgba(0,0,0,.92), 0 2px 8px rgba(0,0,0,.5);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
          "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Film grain over everything, so flat panels never read as flat. */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 200;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
code { font-family: var(--mono); font-size: .88em; overflow-wrap: anywhere; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico {
  width: 1em; height: 1em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}

.wrap { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }

/* ───────────────────────────── Aurora ───────────────────────────── */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .5; }
.blob-a { width: 780px; height: 780px; top: -320px; left: -180px;
  background: radial-gradient(circle, rgba(61,191,74,.40), transparent 68%); }
.blob-b { width: 720px; height: 720px; top: -220px; right: -220px;
  background: radial-gradient(circle, rgba(14,143,114,.30), transparent 68%); }
.blob-c { width: 900px; height: 900px; top: 46%; left: 40%;
  background: radial-gradient(circle, rgba(127,212,30,.16), transparent 70%);
  animation: drift 26s var(--ease) infinite alternate; }
@keyframes drift { to { transform: translate3d(-160px, 90px, 0) scale(1.12); } }

/* ───────────────────────────── Nav ───────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  padding: 14px 0;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.stuck {
  background: rgba(6,4,9,.72);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-bottom-color: var(--hair);
}
.nav-inner { width: min(1240px, calc(100% - 48px)); margin-inline: auto;
  display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -.01em; }
.brand img { border-radius: 7px; }
.brand em { font-style: normal; color: var(--ink-3); font-weight: 500; }
.nav-links { margin-left: auto; display: flex; gap: 26px; font-size: 15px; color: var(--ink-2); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--ink); }

/* ───────────────────────────── Buttons ───────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 20px; border-radius: 999px;
  font-size: 15px; font-weight: 550; letter-spacing: -.005em;
  border: 1px solid var(--hair-2);
  background: var(--raised);
  transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn .ico { font-size: 17px; }
.btn:hover { transform: translateY(-1px); background: var(--raised-2); border-color: rgba(255,255,255,.24); }
.btn-sm { padding: 8px 15px; font-size: 14px; }
.btn-primary {
  border: none; color: #fff;
  background: var(--sweep);
  background-size: 160% 100%;
  box-shadow: 0 10px 34px -12px rgba(127,212,30,.55), inset 0 1px 0 rgba(255,255,255,.28);
}
.btn-primary:hover { background-position: 100% 0; box-shadow: 0 16px 44px -12px rgba(127,212,30,.70), inset 0 1px 0 rgba(255,255,255,.28); }
.btn-lg { padding: 15px 26px; font-size: 16.5px; }
.btn-meta {
  font-size: 12.5px; font-weight: 500; opacity: .8;
  padding-left: 10px; margin-left: 2px; border-left: 1px solid rgba(255,255,255,.28);
}
.btn-ghost { color: var(--ink-2); }
.btn-ghost:hover { color: var(--ink); }

/* ───────────────────────────── Hero ───────────────────────────── */
.hero { padding: 76px 0 36px; }
/* The copy states the case; the stage below shows it, at a size where the
   six tools can actually be read. */
.hero-grid { display: block; }
.hero-copy { max-width: 800px; margin: 0 auto 54px; text-align: center; }
.hero-copy .eyebrow { margin-bottom: 26px; }
.lede { margin-inline: auto; }
.cta-row { justify-content: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  margin: 0 0 22px;
  padding: 6px 14px 6px 10px; border-radius: 999px;
  border: 1px solid var(--hair); background: rgba(255,255,255,.03);
  font-size: 13px; color: var(--ink-2); letter-spacing: .01em;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(163,230,53,.18); animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(163,230,53,0); } }

h1 {
  margin: 0 0 22px;
  font-size: clamp(42px, 5.6vw, 76px);
  line-height: 1.03; letter-spacing: -.035em; font-weight: 680;
}
.grad {
  background: var(--sweep); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sweep 9s linear infinite;
}
@keyframes sweep { to { background-position: 200% 0; } }

.lede { margin: 0 0 32px; font-size: 18.5px; color: var(--ink-2); max-width: 46ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fineprint { margin: 18px 0 0; font-size: 13.5px; color: var(--ink-3); }


/* ── The display ──
   Just a screen: a thin bezel, and the notch hanging off its top edge. No
   machine around it — the notch is the thing being shown, not the hardware. */
.mac { position: relative; }
.bezel {
  padding: 10px;
  border-radius: 18px;
  background: linear-gradient(180deg, #20281f, #101610);
  box-shadow:
    0 40px 80px -32px rgba(0,0,0,.95),
    0 0 0 1px rgba(0,0,0,.85),
    inset 0 1px 0 rgba(255,255,255,.12);
}
.bezel::before {
  content: ""; position: absolute; inset: 0;
  border-radius: 18px; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.09), transparent 30%,
                              transparent 72%, rgba(255,255,255,.05));
}

/* ── The mock screen ── */
.hero-stage { max-width: 760px; margin-inline: auto; }
.screen {
  container-type: inline-size;
  position: relative;
  aspect-ratio: 16 / 9.5;
  border-radius: 9px;
  overflow: hidden;
  background: var(--void);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.9), 0 0 22px rgba(0,0,0,.6);
}
.wallpaper {
  position: absolute; inset: -14%; width: 128%; height: 128%;
  max-width: none;              /* the global img cap would crop the right edge */
  object-fit: cover; object-position: 42% 46%;
  /* the shipped key art is magenta; the site wears green */
  filter: hue-rotate(165deg) saturate(1.25) brightness(1.95) contrast(1.03);
}
.screen-glass {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 22% 4%, rgba(163,230,53,.12), transparent 58%),
    radial-gradient(100% 90% at 88% 96%, rgba(127,212,30,.16), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.30), rgba(0,0,0,.06) 42%, rgba(0,0,0,.42));
}

.menubar {
  position: absolute; inset: 0 0 auto 0;
  height: 3.6cqw; display: flex; align-items: center; gap: 1.9cqw;
  padding: 0 2.2cqw;
  font-size: 1.2cqw; color: rgba(255,255,255,.72);
  background: linear-gradient(180deg, rgba(0,0,0,.42), rgba(0,0,0,.16));
  backdrop-filter: blur(8px);
}
.mb-item { white-space: nowrap; }
.mb-item.strong { font-weight: 640; color: #fff; }
.mb-apple .ico { font-size: 1.4cqw; }
.mb-right { margin-left: auto; display: flex; gap: 1.8cqw; }


/* ── The notch ── */
.notch {
  container-type: inline-size;
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  background: var(--hw);
  border-radius: 0 0 16px 16px;
  z-index: 3;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.92);
  transition: width .62s var(--ease), height .62s var(--ease),
              border-radius .62s var(--ease), box-shadow .62s var(--ease);
  cursor: pointer;
}
.notch.is-rest { width: 18cqw; height: 3.4cqw; }
.notch.is-open {
  width: 72cqw; height: 42cqw;
  border-radius: 0 0 20px 20px;
  background:
    radial-gradient(120% 130% at 12% -10%, rgba(105,107,113,.22), transparent 58%),
    radial-gradient(110% 120% at 92% 105%, rgba(6,64,42,.55), transparent 60%),
    #08060b;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.95), inset 0 0 0 1px rgba(255,255,255,.07);
}
.notch-fillet {
  position: absolute; top: 0; width: 14px; height: 14px; pointer-events: none;
}
.notch-fillet.left  { left: -14px;
  background: radial-gradient(circle at 0 100%, transparent 14px, var(--hw) 14.5px); }
.notch-fillet.right { right: -14px;
  background: radial-gradient(circle at 100% 100%, transparent 14px, var(--hw) 14.5px); }

.notch-face { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }

.rest-glyphs {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; gap: 1.9cqw;
  color: rgba(255,255,255,.55);
  transition: opacity .34s var(--ease);
}
.rest-glyphs .ico { font-size: 1.85cqw; stroke-width: 1.5; }
.rest-glyphs .badge {
  position: absolute; top: .55cqw; left: 50%; margin-left: 3.3cqw;
  min-width: 1.25cqw; height: 1.25cqw; padding: 0 .3cqw;
  border-radius: 999px; background: var(--magenta); color: #fff;
  font-size: .85cqw; font-weight: 700; line-height: 1.25cqw; text-align: center;
}
.notch:hover .rest-glyphs { color: rgba(255,255,255,.92); }
.notch.is-open .rest-glyphs { opacity: 0; pointer-events: none; }

/* ── The expanded panel ──
   Everything below is sized against the panel itself (the notch is its own
   container), so the tools stay legible whatever width the stage gets. */
.panel {
  position: absolute; inset: 0;
  padding: 3.2cqw 3.8cqw 3.4cqw;
  display: flex; flex-direction: column; gap: 2.4cqw;
  opacity: 0; transform: translateY(.6cqw);
  transition: opacity .38s var(--ease) .1s, transform .38s var(--ease) .1s;
}
.notch.is-open .panel { opacity: 1; transform: none; }

.panel-head { display: flex; align-items: center; gap: 1.5cqw; }
.panel-logo { width: 3.9cqw; height: 3.9cqw; border-radius: 1cqw; }
.panel-title { font-size: 3.3cqw; font-weight: 640; letter-spacing: -.02em; }
.panel-sub { margin-left: auto; font-size: 1.95cqw; color: rgba(255,255,255,.44); }

.panel-strip { display: flex; gap: 1.2cqw; }
.tile {
  position: relative; flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: .8cqw;
  padding: 1.7cqw .4cqw 1.5cqw; border-radius: 1.9cqw;
  background: rgba(255,236,248,.05);
  border: 1px solid transparent;
  color: rgba(255,255,255,.62);
  font: inherit; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s;
}
.tile .ico { font-size: 3.7cqw; }
.tile b { font-size: 2.35cqw; font-weight: 550; }
.tile:hover { color: rgba(255,255,255,.9); background: rgba(255,236,248,.09); }
.tile.is-active {
  color: #fff;
  background: linear-gradient(140deg,
    rgba(163,230,53,.40), rgba(61,191,74,.30) 52%, rgba(14,143,114,.22));
  border-color: rgba(255,255,255,.20);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.24), 0 1.4cqw 3.4cqw -1cqw rgba(127,212,30,.55);
}
/* the two live indicators the app actually shows */
.tile-badge {
  position: absolute; top: .8cqw; right: 1cqw;
  min-width: 2.5cqw; height: 2.5cqw; padding: 0 .5cqw; border-radius: 999px;
  background: var(--magenta); color: #fff;
  font-size: 1.65cqw; font-weight: 700; line-height: 2.5cqw; text-align: center;
}
.tile-dot {
  position: absolute; top: 1.2cqw; right: 1.4cqw;
  width: 1.6cqw; height: 1.6cqw; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 0 .35cqw rgba(163,230,53,.22);
}

/* ── One pane per tool, cross-faded ── */
.panel-body { position: relative; flex: 1; }
.pane {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; gap: .9cqw;
  opacity: 0; visibility: hidden; transform: translateY(.5cqw);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.pane.is-shown { opacity: 1; visibility: visible; transform: none; }

.search {
  display: flex; align-items: center;
  height: 4.8cqw; padding: 0 1.7cqw; border-radius: 1.35cqw;
  background: rgba(255,236,248,.045); border: 1px solid rgba(255,255,255,.07);
  font-size: 2.1cqw; color: rgba(255,255,255,.34);
}
.row {
  display: flex; align-items: center; gap: 1.5cqw;
  padding: 1.3cqw 1.7cqw; border-radius: 1.35cqw;
  background: rgba(255,236,248,.045);
  font-size: 2.15cqw; color: rgba(255,255,255,.84);
}
.pane .row:first-of-type { background: rgba(255,236,248,.09); }
.row-ico { font-size: 2.8cqw; color: rgba(255,255,255,.5); }
.row-kind {
  font-size: 1.5cqw; font-weight: 700; letter-spacing: .09em;
  color: rgba(255,255,255,.5);
  border: 1px solid rgba(255,255,255,.16); border-radius: .6cqw;
  padding: .2cqw .75cqw; flex: none;
}
.row-kind.sw { width: 2.4cqw; height: 2.4cqw; border-radius: 50%; padding: 0;
  background: var(--sw); border-color: rgba(255,255,255,.3); }
.row-text { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-time { color: rgba(255,255,255,.42); font-size: 1.75cqw; flex: none; }
.pane-hint { margin: .6cqw 0 0; font-size: 1.85cqw; color: rgba(255,255,255,.38); }

.color-top { display: flex; gap: 2.1cqw; align-items: stretch; }
.chip-color {
  width: 13.5cqw; border-radius: 1.6cqw; flex: none;
  background: linear-gradient(150deg, #A3E635, #16A163);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.2), 0 1.2cqw 3cqw -1cqw rgba(127,212,30,.75);
}
.kv { margin: 0; display: flex; flex-direction: column; gap: 0; flex: 1; }
.kv.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 3cqw; }
.kv > div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1.5cqw;
  padding: .8cqw 0; border-bottom: 1px solid rgba(255,255,255,.06);
}
.kv dt { margin: 0; font-size: 1.95cqw; color: rgba(255,255,255,.42); }
.kv dd { margin: 0; font-size: 2cqw; font-family: var(--mono);
  color: rgba(255,255,255,.88); }
.kv dd.hero-em { color: #fff; font-weight: 600; }

.shelf { display: flex; align-items: center; gap: 1cqw; margin-top: auto; }
.shelf-label { font-size: 1.75cqw; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.36); margin-right: .5cqw; }
.shelf i { width: 3cqw; height: 3cqw; border-radius: 50%; background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }

.info-top { display: flex; gap: 2.1cqw; align-items: flex-start; }
.thumb { width: 13.5cqw; height: 13.5cqw; border-radius: 1.6cqw; flex: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.thumb-img { background:
  radial-gradient(60% 60% at 30% 28%, rgba(255,255,255,.6), transparent 60%),
  linear-gradient(150deg, #B6E62A, #3DBF4A 48%, #0E8F72); }
.thumb-wave { background:
  repeating-linear-gradient(90deg, rgba(255,255,255,.55) 0 1.5px, transparent 1.5px 4px),
  linear-gradient(180deg, rgba(163,230,53,.35), rgba(14,143,114,.35));
  background-size: 100% 46%, 100% 100%;
  background-position: 0 50%, 0 0; background-repeat: no-repeat; }

.stage-legend {
  margin: 22px 0 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px;
}
.stage-legend li {
  display: flex; align-items: center; gap: 7px;
  padding: 6px 13px 6px 10px; border-radius: 999px;
  border: 1px solid var(--hair); background: rgba(255,255,255,.035);
  font-size: 13px; color: var(--ink-2);
}
.stage-legend .ico { font-size: 15px; color: var(--pink); }
.stage-legend li:nth-child(2) .ico { color: var(--magenta); }
.stage-legend li:nth-child(3) .ico { color: var(--purple); }
.stage-legend li:nth-child(4) .ico { color: var(--indigo); }
.stage-legend li:nth-child(5) .ico { color: var(--blue); }
.stage-legend li:nth-child(6) .ico { color: var(--cyan); }
.stage-caption { margin: 14px 0 0; text-align: center; font-size: 13.5px; color: var(--ink-3); }

/* ───────────────────────────── Marquee ───────────────────────────── */
.marquee {
  margin: 56px 0 24px; padding: 16px 0;
  border-block: 1px solid var(--hair);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex; align-items: center; gap: 22px; width: max-content;
  animation: roll 34s linear infinite;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3);
}
.marquee-track i { font-style: normal; color: var(--magenta); }
@keyframes roll { to { transform: translateX(-50%); } }

/* ───────────────────────────── Sections ───────────────────────────── */
.section { padding: 88px 0; }
.sec-head { max-width: 640px; margin-bottom: 48px; }
.sec-head.narrow { max-width: 560px; margin-inline: auto; text-align: center; }
.kicker {
  margin: 0 0 12px; font-size: 12.5px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  background: var(--sweep); -webkit-background-clip: text; background-clip: text; color: transparent;
}
h2 { margin: 0 0 16px; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.1;
  letter-spacing: -.03em; font-weight: 660; }
h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -.015em; font-weight: 620; }
.sec-lede { margin: 0; color: var(--ink-2); font-size: 17.5px; }
p { margin: 0 0 16px; }
.aside { color: var(--ink-3); font-size: 15px; }

.glass {
  background: linear-gradient(165deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* ── Cards ── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trio  { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 26px 24px 22px;
  border-radius: var(--r-lg);
  background: linear-gradient(165deg, rgba(255,255,255,.052), rgba(255,255,255,.014));
  border: 1px solid var(--hair);
  transition: transform .4s var(--ease), border-color .4s, background .4s;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: var(--seam); opacity: 0; transition: opacity .4s;
}
.card:hover { transform: translateY(-4px); border-color: var(--hair-2);
  background: linear-gradient(165deg, rgba(255,255,255,.075), rgba(255,255,255,.02)); }
.card:hover::before { opacity: .9; }
.card-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin-bottom: 18px;
  border-radius: 13px;
  background: linear-gradient(150deg, rgba(163,230,53,.20), rgba(14,143,114,.16));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
}
.card-ico .ico { font-size: 23px; }
.card p { margin: 0 0 16px; color: var(--ink-2); font-size: 15.5px; }
.card p:last-child { margin-bottom: 0; }
.card-tag {
  margin-top: auto !important; padding-top: 14px;
  border-top: 1px solid var(--hair);
  font-size: 13px !important; color: var(--ink-3) !important;
  font-family: var(--mono); letter-spacing: .02em;
}

/* ── Split layouts ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse .split-copy { order: 2; }
.split-copy p { color: var(--ink-2); }
.split-copy code { color: var(--cyan); }

/* ── Tempo card ── */
.tempo-card { padding: 24px; }
.tempo-head { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-2); }
.tempo-head .ico { font-size: 19px; color: var(--cyan); }
.wave { display: flex; align-items: center; gap: 3px; height: 84px; margin: 20px 0 18px; }
.wave span {
  flex: 1; border-radius: 2px;
  background: linear-gradient(180deg, var(--pink), var(--purple) 55%, var(--blue));
  opacity: .55;
  animation: bar 2.4s var(--ease) infinite alternate;
}
@keyframes bar { to { opacity: 1; } }
.tempo-read { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  padding-bottom: 18px; border-bottom: 1px solid var(--hair); }
.bpm { display: flex; align-items: baseline; gap: 8px; }
.bpm b { font-size: 46px; line-height: 1; letter-spacing: -.04em; font-weight: 680;
  background: var(--sweep); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bpm span { font-size: 13px; letter-spacing: .14em; color: var(--ink-3); }
.halfdouble { display: flex; gap: 6px; }
.halfdouble button {
  font: inherit; font-size: 13px; color: var(--ink-2);
  padding: 5px 12px; border-radius: 8px; cursor: pointer;
  background: var(--raised); border: 1px solid var(--hair);
  transition: background .2s, color .2s;
}
.halfdouble button:hover { background: var(--raised-2); color: var(--ink); }
.meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 24px; margin: 18px 0 0; }
.meta > div { display: flex; justify-content: space-between; gap: 12px;
  padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.05); font-size: 14.5px; }
.meta dt { color: var(--ink-3); margin: 0; }
.meta dd { margin: 0; font-family: var(--mono); font-size: 13.5px; color: var(--ink); }

/* ── The four states ── */
.states { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.state { margin: 0; }
.state-vis {
  position: relative; height: 150px; margin-bottom: 18px;
  border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--hair);
  background:
    radial-gradient(72% 95% at 12% 4%, rgba(206,210,222,.62), transparent 62%),
    radial-gradient(85% 95% at 94% 94%, rgba(30,160,105,.60), transparent 60%),
    linear-gradient(160deg, #2b3d31, #0f1a13 62%, #070d09);
}
/* the menu bar the notch sits in */
.state-vis::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 26px;
  background: rgba(0,0,0,.18);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.mini {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  background: var(--hw); border-radius: 0 0 8px 8px;
  transition: all .5s var(--ease);
}
.mini::before, .mini::after {
  content: ""; position: absolute; top: 0; width: 7px; height: 7px;
}
.mini::before { left: -7px; background: radial-gradient(circle at 0 100%, transparent 7px, var(--hw) 7.5px); }
.mini::after  { right: -7px; background: radial-gradient(circle at 100% 100%, transparent 7px, var(--hw) 7.5px); }
.mini {
  box-shadow: 0 6px 18px -6px rgba(0,0,0,.9);
}
.mini::after, .mini::before { z-index: 1; }
.mini-dots { position: absolute; inset: 0; display: flex; align-items: center;
  justify-content: center; gap: 6px; }
.mini-dots i { width: 4px; height: 4px; border-radius: 50%;
  background: rgba(255,255,255,.42); }
.mini.hover .mini-dots i { background: rgba(255,255,255,.9); }
.mini.rest  { width: 112px; height: 26px; }
.mini.rest.dim { opacity: .45; }
.mini.hover { width: 128px; height: 31px;
  box-shadow: 0 8px 26px -8px rgba(127,212,30,.5);
  outline: 1px solid rgba(255,255,255,.10); outline-offset: -1px; }
.mini.open  { width: 200px; height: 108px; border-radius: 0 0 14px 14px;
  background: radial-gradient(120% 130% at 10% -10%, rgba(105,107,113,.3), transparent 60%),
              radial-gradient(120% 130% at 95% 110%, rgba(6,64,42,.6), transparent 60%), #08060b;
  box-shadow: 0 16px 40px -12px rgba(0,0,0,.9), inset 0 0 0 1px rgba(255,255,255,.08); }
.mini-panel { position: absolute; inset: 0; padding: 12px 10px 10px;
  display: flex; flex-direction: column; gap: 7px; }
.mini-panel .bar { height: 5px; border-radius: 3px; background: var(--seam); opacity: .6; }
.mini-panel .tiles { display: flex; gap: 4px; }
.mini-panel .tiles i { flex: 1; height: 22px; border-radius: 5px;
  background: rgba(255,255,255,.07); }
.mini-panel .tiles i:first-child {
  background: linear-gradient(150deg, rgba(243,76,162,.45), rgba(0,176,242,.32)); }
.mini-panel .lines { display: flex; flex-direction: column; gap: 4px; }
.mini-panel .lines i { height: 8px; border-radius: 3px; background: rgba(255,255,255,.055); }
.mini-panel .lines i:first-child { background: rgba(255,255,255,.10); }

.state figcaption p { margin: 0; color: var(--ink-2); font-size: 15px; }

.note {
  display: flex; gap: 18px; align-items: flex-start;
  margin-top: 28px; padding: 24px 26px;
}
.note .ico { font-size: 26px; color: var(--pink); margin-top: 2px; }
.note p { margin: 0; color: var(--ink-2); font-size: 16px; }
.note b { color: var(--ink); font-weight: 600; }

/* ── Drop table & demo ── */
.drop-table { width: 100%; border-collapse: collapse; margin: 8px 0 22px; font-size: 15px; }
.drop-table th {
  text-align: left; padding: 0 0 10px; font-size: 12px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3);
  border-bottom: 1px solid var(--hair);
}
.drop-table td { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.05); color: var(--ink-2); }
.drop-table td:last-child { text-align: right; }
.pill {
  display: inline-block; margin-left: 6px;
  padding: 4px 12px; border-radius: 999px; font-size: 13px;
  background: rgba(255,236,248,.06); border: 1px solid var(--hair); color: var(--ink);
}

.drop-demo {
  position: relative; height: 380px; overflow: hidden;
  background:
    radial-gradient(60% 70% at 14% 4%, rgba(206,210,222,.42), transparent 62%),
    radial-gradient(80% 80% at 92% 96%, rgba(30,160,105,.44), transparent 62%),
    linear-gradient(160deg, #243528, #0d1710 64%, #060c08);
}
.drop-notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 210px; height: 30px; background: var(--hw); border-radius: 0 0 12px 12px;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.9);
}
.drop-notch::before, .drop-notch::after { content: ""; position: absolute; top: 0; width: 9px; height: 9px; }
.drop-notch::before { left: -9px; background: radial-gradient(circle at 0 100%, transparent 9px, var(--hw) 9.5px); }
.drop-notch::after  { right: -9px; background: radial-gradient(circle at 100% 100%, transparent 9px, var(--hw) 9.5px); }
.drop-zones {
  position: absolute; top: 58px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 14px;
}
.zone {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  width: 132px; height: 104px; border-radius: 18px;
  border: 1.5px dashed rgba(255,255,255,.20);
  background: rgba(255,255,255,.035);
  font-size: 13.5px; color: var(--ink-2);
}
.zone .ico { font-size: 24px; }
.zone.is-hot {
  border-style: solid; color: #fff;
  border-color: rgba(255,255,255,.30);
  background: linear-gradient(150deg, rgba(163,230,53,.26), rgba(14,143,114,.18));
  box-shadow: 0 14px 40px -14px rgba(127,212,30,.70), inset 0 1px 0 rgba(255,255,255,.16);
  animation: hot 2.6s var(--ease) infinite;
}
@keyframes hot { 0%, 42%, 100% { filter: brightness(1); } 58% { filter: brightness(1.22); } }
.ghost-file {
  position: absolute; left: 50%; bottom: 34px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: 12px; font-size: 14px;
  background: rgba(12,9,16,.88); border: 1px solid var(--hair-2);
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.9);
  transform: translate(-50%, 40px); opacity: 0;
  animation: lift 4.6s var(--ease) infinite;
}
.ghost-file .ico { font-size: 18px; color: var(--cyan); }
@keyframes lift {
  0%, 8%    { transform: translate(-50%, 40px); opacity: 0; }
  26%, 62%  { transform: translate(-50%, -138px); opacity: 1; }
  82%, 100% { transform: translate(-50%, 40px); opacity: 0; }
}

/* ── Shortcuts ── */
.keys { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.key-row {
  display: flex; align-items: center; gap: 20px;
  padding: 16px 22px; border-radius: var(--r);
  background: linear-gradient(165deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  border: 1px solid var(--hair);
  color: var(--ink-2); font-size: 16px;
}
.key-row em { font-style: normal; color: var(--ink-3); }
.keys-combo { display: flex; gap: 5px; }
kbd {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 32px; height: 32px; padding: 0 8px;
  border-radius: 8px; font-family: var(--font); font-size: 15px; color: var(--ink);
  background: linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 2px 0 rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.18);
}
.keys-combo.unset kbd { background: none; box-shadow: none; color: var(--ink-3); }
.center-note { max-width: 560px; margin: 22px auto 0; text-align: center;
  font-size: 14.5px; color: var(--ink-3); }

/* ── Download ── */
.download-sec { padding-bottom: 110px; }
.download {
  max-width: 900px; margin-inline: auto;
  display: flex; align-items: center; gap: 40px;
  padding: 44px 48px; border-radius: var(--r-xl);
  position: relative; overflow: hidden;
}
.download::before {
  content: ""; position: absolute; inset: -60% -10% auto -10%; height: 200%;
  background: radial-gradient(50% 50% at 20% 40%, rgba(127,212,30,.20), transparent 70%),
              radial-gradient(50% 50% at 82% 60%, rgba(22,161,99,.20), transparent 70%);
  pointer-events: none;
}
.download > * { position: relative; }
.dl-icon { width: 128px; height: 128px; flex: none;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.6)); }
.dl-copy h2 { margin-bottom: 8px; }
.dl-copy p { color: var(--ink-2); }
.dl-copy .btn { margin-top: 10px; }
.dl-copy .fineprint { margin-top: 14px; }

.callout { max-width: 900px; margin: 20px auto 0; padding: 26px 30px; }
.callout h3 { margin-bottom: 10px; }
.callout p { color: var(--ink-2); font-size: 15.5px; }
.callout pre {
  margin: 14px 0; padding: 14px 18px; overflow-x: auto;
  border-radius: var(--r-sm); background: rgba(0,0,0,.45);
  border: 1px solid var(--hair);
}
.callout code { color: var(--cyan); font-size: 13.5px; }
.callout .aside { margin: 0; }
.steps { margin: 0 0 16px; padding-left: 20px; color: var(--ink-2); font-size: 15.5px; }
.steps li { margin-bottom: 9px; }
.steps li::marker { color: var(--magenta); font-weight: 700; }
.steps b { color: var(--ink); font-weight: 600; }
.plain-link { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }
.plain-link:hover { color: var(--ink); }

/* ── Footer ── */
.footer { padding: 46px 0 60px; border-top: 1px solid var(--hair); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.footer-brand img { border-radius: 6px; }
.footer-line { margin: 0; color: var(--ink-2); font-size: 15px; }
.footer-meta { margin: 0; color: var(--ink-3); font-size: 13.5px; }

/* ── Reveal on scroll ── */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.in { opacity: 1; transform: none;
  transition: opacity .8s var(--ease), transform .8s var(--ease); }

/* ───────────────────────────── Responsive ───────────────────────────── */
@media (max-width: 1080px) {
  .cards, .trio { grid-template-columns: repeat(2, 1fr); }
  .states { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero { padding-top: 56px; }
  .hero-copy { margin-bottom: 40px; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-copy { order: 0; }
  .nav-links { display: none; }
  .download { flex-direction: column; text-align: center; padding: 36px 26px; gap: 26px; }
  .dl-copy .btn { margin-inline: auto; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap, .nav-inner { width: calc(100% - 32px); }
  .cards, .trio, .states { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .meta { grid-template-columns: 1fr; }
  .drop-table td:last-child { text-align: left; }
  .drop-demo { height: 320px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
