/* TopNotch — site styles. One dark theme, no framework, no build step. */

:root {
  color-scheme: dark;
  --bg: #0a0a0c;
  --bg-2: #0d0d10;
  --surface: #131317;
  --surface-2: #1a1a20;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --fg: #ededf0;
  --muted: #9a9fa8;
  --faint: #6b7079;
  --accent: #ff6b9a;
  --accent-ink: #0a0a0c;
  --accent-soft: rgba(255, 107, 154, 0.14);
  --error: #fca5a5;
  --ok: #6ee7b7;
  --notch: #050507;
  --wall-a: #ff8a3d;
  --wall-b: #f0447e;
  --wall-c: #6a3cf0;
  --radius: 16px;
  --radius-sm: 10px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.3, 1.25, 0.5, 1);
  --dur: 240ms;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --container: 1120px;
  --gutter: 16px;
  --nav-h: 56px;
}

@media (min-width: 768px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; } }

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

main { flex: 1 0 auto; }

h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; font-weight: 650; }
h1 { font-size: clamp(2.25rem, 6vw, 3.75rem); letter-spacing: -0.03em; font-weight: 700; }
h2 { font-size: clamp(1.625rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.125rem; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
strong { font-weight: 600; }
code, kbd { font-family: var(--mono); font-size: 0.92em; }
kbd {
  padding: 1px 6px; border: 1px solid var(--border-strong); border-bottom-width: 2px;
  border-radius: 6px; background: var(--surface-2); color: var(--fg);
}
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.narrow { max-width: 720px; }
.muted { color: var(--muted); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100; padding: 8px 12px;
  background: var(--accent); color: var(--accent-ink); border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; text-decoration: none; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px; border-radius: 999px;
  border: 1px solid transparent; font-weight: 600; font-size: 15px; line-height: 1.2;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out),
              transform var(--dur) var(--ease-out), opacity var(--dur) var(--ease-out);
  touch-action: manipulation;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #ff80a9; }
.btn-secondary { background: transparent; color: var(--fg); border-color: var(--border-strong); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.24); }
.btn-lg { min-height: 50px; padding: 12px 26px; font-size: 16px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn .spinner { display: none; }
.btn.is-busy .spinner { display: inline-block; }
.spinner {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.25); border-top-color: currentColor;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 40; height: var(--nav-h);
  background: rgba(10, 10, 12, 0.78);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav .container { height: 100%; display: flex; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); font-weight: 650; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 10px;
  border-radius: 8px; color: var(--muted); font-weight: 500; font-size: 15px;
  transition: color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out);
}
.nav-links a:hover { color: var(--fg); background: rgba(255, 255, 255, 0.06); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--fg); }
.nav-links .nav-cta { display: none; color: var(--accent-ink); background: var(--accent); }
.nav-links .nav-cta:hover { color: var(--accent-ink); background: #ff80a9; }
@media (min-width: 640px) {
  .nav-links .nav-cta { display: inline-flex; min-height: 36px; padding: 6px 14px; font-size: 14px; margin-left: 8px; }
}
/* Phones: the brand is the way home, so Home makes room for Account. */
@media (max-width: 479px) {
  .nav-links a[href="/"] { display: none; }
  .nav-links a { padding: 0 8px; }
}

/* ---------- Sections ---------- */

.section { padding: 72px 0; }
.section + .section { border-top: 1px solid var(--border); }
.section-alt { background: var(--bg-2); }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head p { margin-top: 12px; color: var(--muted); font-size: 1.0625rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
@media (min-width: 768px) { .section { padding: 96px 0; } }

/* ---------- Hero ---------- */

.hero { padding: 64px 0 0; text-align: center; overflow: hidden; }
.hero-copy { max-width: 760px; margin: 0 auto; }
.hero p.lede { margin: 20px auto 0; max-width: 560px; color: var(--muted); font-size: clamp(1.0625rem, 2vw, 1.25rem); line-height: 1.5; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 14px; color: var(--faint); font-size: 0.875rem; }
.hero-note a { color: var(--muted); }
@media (min-width: 768px) { .hero { padding-top: 96px; } }

/* MacBook top edge + notch mockup */
.mock { position: relative; max-width: 880px; margin: 56px auto 0; padding: 0 var(--gutter); }
.scene-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 18px; }
.scene-tab {
  min-height: 34px; padding: 4px 13px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--border); background: transparent; color: var(--muted); font-size: 13px; font-weight: 500;
  transition: color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.scene-tab:hover { color: var(--fg); border-color: var(--border-strong); }
.scene-tab[aria-pressed="true"] { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.lid {
  position: relative; border-radius: 18px 18px 0 0; padding: 14px 14px 0;
  background: linear-gradient(180deg, #2a2a30, #121216);
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.12) inset, 0 30px 80px rgba(0, 0, 0, 0.6);
}
.lid::before {
  content: ""; position: absolute; left: 50%; top: 4px; width: 5px; height: 5px; margin-left: -2.5px;
  border-radius: 50%; background: #1f6f3f; box-shadow: 0 0 0 1px #0b0b0d, 0 0 4px rgba(60, 220, 120, 0.4);
}
.bezel { position: relative; background: var(--notch); border-radius: 10px 10px 0 0; padding-top: 10px; }
.screen {
  position: relative; height: 240px; overflow: hidden; border-radius: 4px 4px 0 0;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 70%),
    url(img/wallpaper.webp) 50% 60% / cover,
    linear-gradient(118deg, var(--wall-a) 0%, var(--wall-b) 48%, var(--wall-c) 100%);
}
@media (min-width: 640px) { .screen { height: 300px; } }
.menubar {
  position: absolute; inset: 0 0 auto 0; height: 28px; padding: 0 14px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(0, 0, 0, 0.18); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.92); font-size: 12px; font-weight: 600; letter-spacing: 0;
}
.menubar span { display: inline-block; }
.menubar .mb-items { display: flex; gap: 14px; }
.menubar .mb-items span:not(:first-child) { font-weight: 500; opacity: 0.85; }
.menubar .mb-items span:nth-child(n + 4) { display: none; }
@media (min-width: 640px) { .menubar .mb-items span:nth-child(n + 4) { display: inline-block; } }
.mb-time { font-variant-numeric: tabular-nums; font-weight: 500; }
.menubar .mb-date { display: none; }
@media (min-width: 640px) { .menubar .mb-date { display: inline-block; } }

.dock {
  position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%);
  display: flex; gap: 8px; padding: 7px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.18); border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.dock i { width: 26px; height: 26px; border-radius: 7px; background: rgba(255, 255, 255, 0.55); }
.dock i:nth-child(2) { background: rgba(10, 10, 12, 0.7); }
.dock i:nth-child(3) { background: rgba(255, 255, 255, 0.35); }
.dock i:nth-child(4) { background: rgba(255, 225, 120, 0.8); }
.dock i:nth-child(5) { background: rgba(120, 200, 255, 0.8); }
.dock i:nth-child(n + 5) { display: none; }
@media (min-width: 640px) { .dock i:nth-child(n + 5) { display: block; } }

/* The notch itself. Closed: wings with the scene's live activity.
   Open: one scene at a time (data-scene), sized like the real app does per content. */
.notch {
  --ear: 12px; --ow: 440px; --oh: 164px; --or: 30px; --song: #ffb27d;
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: 196px; height: 32px;
  background: var(--notch); color: #fff;
  border-radius: 0 0 14px 14px; cursor: pointer; user-select: none;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.45));
  transition: width 520ms var(--ease-spring), height 520ms var(--ease-spring), border-radius 520ms var(--ease-spring);
  will-change: width, height;
  -webkit-tap-highlight-color: transparent;
}
.notch:focus-visible { outline-offset: 0; outline-color: #fff; }
.notch-ear { position: absolute; top: 0; width: var(--ear); height: var(--ear); pointer-events: none; }
.notch-ear-l { right: 100%; background: radial-gradient(circle at 0 100%, transparent calc(var(--ear) - 0.5px), var(--notch) var(--ear)); }
.notch-ear-r { left: 100%; background: radial-gradient(circle at 100% 100%, transparent calc(var(--ear) - 0.5px), var(--notch) var(--ear)); }
.notch.is-open { width: min(var(--ow), 86%); height: var(--oh); border-radius: 0 0 var(--or) var(--or); }
.notch[data-scene="together"], .notch[data-wing="together"] { --song: #c9a2ff; }
.notch[data-scene="tray"] { --ow: 400px; --oh: 150px; }
.notch[data-scene="meeting"] { --ow: 420px; --oh: 92px; --or: 24px; }
.notch[data-scene="call"] { --ow: 440px; --oh: 214px; --or: 26px; }
.notch[data-scene="clipboard"] { --ow: 440px; --oh: 134px; }
.notch[data-scene="timer"] { --ow: 380px; --oh: 92px; --or: 24px; }
.notch[data-scene="hud"] { --ow: 280px; --oh: 58px; --or: 20px; }

.notch-closed, .notch-open { position: absolute; inset: 0; }
.notch-closed { opacity: 1; transition: opacity 160ms var(--ease-out); }
.notch.is-open .notch-closed { opacity: 0; transition-duration: 100ms; }
.notch-open {
  overflow: hidden; border-radius: inherit;
  opacity: 0; transform: scale(0.94); transform-origin: 50% 0;
  transition: opacity 220ms var(--ease-out), transform 420ms var(--ease-spring);
  pointer-events: none;
}
.notch.is-open .notch-open { opacity: 1; transform: none; transition-delay: 120ms; }

/* Closed wings, one per live activity; they cross-fade when the scene changes. */
.w {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 10px;
  opacity: 0; transition: opacity 300ms var(--ease-out);
}
.notch[data-wing="music"] .w-music, .notch[data-wing="together"] .w-together, .notch[data-wing="tray"] .w-tray,
.notch[data-wing="meeting"] .w-meeting, .notch[data-wing="call"] .w-call, .notch[data-wing="timer"] .w-timer { opacity: 1; }
.w-ic { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.w-num { font-size: 11px; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.accent-c { color: var(--accent); }
.green-c { color: #34c759; }
.tile.tile-xs { width: 14px; height: 17px; border-radius: 3px; }
.tile.tile-xs::after { width: 5px; height: 5px; border-radius: 0 3px 0 2px; }
.ring.ring-xs { width: 18px; height: 18px; }
.ring.ring-xs::after { inset: 3px; }

/* Scenes */
.sc {
  position: absolute; inset: 0; display: none; flex-direction: column; justify-content: center; gap: 12px;
  padding: 18px 24px; text-align: left;
}
.notch[data-scene="music"] .sc-music, .notch[data-scene="together"] .sc-together, .notch[data-scene="tray"] .sc-tray,
.notch[data-scene="meeting"] .sc-meeting, .notch[data-scene="call"] .sc-call, .notch[data-scene="clipboard"] .sc-clipboard,
.notch[data-scene="timer"] .sc-timer, .notch[data-scene="hud"] .sc-hud { display: flex; }
.sc-row { display: flex; align-items: center; gap: 14px; min-width: 0; }

.art { border-radius: 6px; background: linear-gradient(135deg, #ffd36e, #ff6a3d); flex: none; }
.c-golden { background: url(img/cover-golden-hour.webp) center / cover; }
.c-orbit { background: url(img/cover-slow-orbit.webp) center / cover; }
.c-blue { background: url(img/cover-blue-rooms.webp) center / cover; }
.c-tide { background: url(img/cover-low-tide.webp) center / cover; }
.art-sm { width: 18px; height: 18px; border-radius: 5px; }
.art-md { width: 52px; height: 52px; border-radius: 11px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4); }
.art-lg { width: 72px; height: 72px; border-radius: 14px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4); }

.eq { display: inline-flex; align-items: center; gap: 3px; height: 18px; flex: none; }
.eq i { display: block; width: 3px; height: 100%; border-radius: 2px; background: #fff; transform-origin: 50% 50%; transform: scaleY(var(--h, 0.6)); animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(1) { --h: 0.45; animation-duration: 0.95s; animation-delay: -0.2s; }
.eq i:nth-child(2) { --h: 0.9; animation-duration: 1.15s; animation-delay: -0.6s; }
.eq i:nth-child(3) { --h: 0.6; animation-duration: 0.85s; animation-delay: -0.1s; }
.eq i:nth-child(4) { --h: 1; animation-duration: 1.05s; animation-delay: -0.8s; }
.eq i:nth-child(5) { --h: 0.5; animation-duration: 1.25s; animation-delay: -0.4s; }
.notch .eq i { background: var(--song); }
.eq-lg { height: 34px; gap: 5px; }
.eq-lg i { width: 5px; border-radius: 3px; }
@keyframes eq {
  0%, 100% { transform: scaleY(var(--h, 0.6)); }
  50% { transform: scaleY(calc(var(--h, 0.6) * 0.35 + 0.1)); }
}

.np-meta { flex: 1; min-width: 0; text-align: left; }
.np-meta strong { display: block; font-size: 15px; font-weight: 650; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-meta span { display: block; color: rgba(255, 255, 255, 0.6); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-bottom { display: flex; align-items: center; gap: 14px; }
.progress { position: relative; flex: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.18); overflow: hidden; }
.progress i { position: absolute; inset: 0 auto 0 0; width: 38%; border-radius: 2px; background: #fff; animation: progress 24s linear infinite; }
@keyframes progress { from { width: 30%; } to { width: 62%; } }
.np-time { color: rgba(255, 255, 255, 0.6); font-size: 11px; font-variant-numeric: tabular-nums; }
.np-controls { display: inline-flex; align-items: center; gap: 4px; }
.np-controls span { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; }
.np-controls span.play { background: rgba(255, 255, 255, 0.12); }
.np-controls svg { width: 16px; height: 16px; fill: #fff; }
.np-controls span.play svg { width: 14px; height: 14px; }

/* Listen Together */
.sc-together { gap: 10px; }
.np-meta .tg-with { display: flex; align-items: center; gap: 5px; color: var(--song); font-weight: 600; }
.tg-with svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.tg-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: rgba(255, 255, 255, 0.55); font-size: 11.5px; white-space: nowrap; }
.code-pill { padding: 2px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: #fff; font-weight: 600; }
.tg-next { min-width: 0; overflow: hidden; text-overflow: ellipsis; }

/* Tray: a screenshot drops in every time the scene opens */
.tray-head { display: flex; align-items: center; justify-content: space-between; color: rgba(255, 255, 255, 0.6); font-size: 12px; font-weight: 600; }
.air-pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; background: rgba(10, 132, 255, 0.55); color: #fff; font-size: 11.5px; }
.air-pill svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.tray-row { display: flex; gap: 10px; }
.file { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 64px; min-width: 0; }
.fname { max-width: 100%; color: rgba(255, 255, 255, 0.8); font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-tray .tile { width: 42px; height: 52px; border-radius: 6px; }
.sc-tray .tile::after { width: 12px; height: 12px; border-radius: 0 6px 0 4px; }
.sc-tray .tile.pic { width: 54px; }
.notch.is-open .file.drop { animation: tile-drop 700ms 420ms var(--ease-spring) both; }
@keyframes tile-drop { from { opacity: 0; transform: translateY(-30px) scale(1.3) rotate(-10deg); } to { opacity: 1; transform: none; } }

/* Meeting */
.cal-ic {
  width: 42px; height: 44px; border-radius: 10px; flex: none; background: #fff; color: #111;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; line-height: 1;
}
.cal-ic b { margin-bottom: 3px; color: #ff3b30; font-size: 8.5px; letter-spacing: 0.04em; }
.np-meta .soon { color: var(--accent); font-weight: 600; }
.meet-people i { width: 24px; height: 24px; }
.join-btn { padding: 7px 16px; border-radius: 999px; background: #34c759; color: #04210d; font-size: 13px; font-weight: 700; flex: none; }
.notch.is-open .join-btn { animation: join-pulse 1.8s 600ms ease-in-out 2; }
@keyframes join-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.6); } 50% { box-shadow: 0 0 0 7px rgba(52, 199, 89, 0); } }

/* Call: a live video tile with a small self view */
.sc-call { padding: 10px 12px 12px; }
.video {
  position: relative; flex: 1; min-height: 0; border-radius: 18px; overflow: hidden;
  background: radial-gradient(90% 120% at 25% 15%, #8a7158 0%, #4a3b30 55%, #241c17 100%);
}
.video .cam { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.video > .cam { object-position: 50% 30%; animation: cam-drift 7s ease-in-out infinite alternate; }
@keyframes cam-drift { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.09) translate(-1.2%, -1%); } }
.vname { position: absolute; left: 10px; bottom: 9px; display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 999px; background: rgba(0, 0, 0, 0.45); font-size: 11px; font-weight: 600; white-space: nowrap; }
.speaking { width: 6px; height: 6px; border-radius: 50%; background: #34c759; animation: speaking 1.2s ease-in-out infinite; }
@keyframes speaking { 50% { box-shadow: 0 0 0 4px rgba(52, 199, 89, 0.25); } }
.self {
  position: absolute; right: 10px; bottom: 10px; height: 38%; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.55); background: #22384d; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

/* Clipboard */
.sc-clipboard { gap: 10px; padding: 16px 20px 14px; }
.clips { display: flex; gap: 8px; }
.clip {
  position: relative; flex: 1 1 0; min-width: 0; height: 68px; padding: 8px; border-radius: 10px; overflow: hidden;
  background: rgba(255, 255, 255, 0.08); border: 1.5px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85); font-size: 10.5px; line-height: 1.3; text-align: left;
}
.clip-txt { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; }
.clip.clip-img { padding: 0; }
.clip-img img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.clip-color i { display: block; width: 20px; height: 20px; margin-bottom: 7px; border-radius: 50%; background: #ff6b9a; }
.clip-color { font-family: var(--mono); font-size: 10px; }
.clip-foot { display: flex; justify-content: space-between; color: rgba(255, 255, 255, 0.5); font-size: 11.5px; }
.copied { color: var(--ok); opacity: 0; }
.notch.is-open .clip:first-child { animation: clip-pick 3.4s both; }
.notch.is-open .copied { animation: copied 3.4s both; }
@keyframes clip-pick { 0%, 28% { border-color: rgba(255, 255, 255, 0.08); transform: none; } 33% { transform: scale(0.94); } 40%, 100% { border-color: var(--ok); transform: none; } }
@keyframes copied { 0%, 36% { opacity: 0; } 44%, 100% { opacity: 1; } }

/* Timer */
@property --p { syntax: "<number>"; inherits: false; initial-value: 62; }
.ring.ring-lg { width: 52px; height: 52px; }
.ring.ring-lg span { font-size: 11px; }
.notch.is-open .ring-lg { animation: ring-down 4s linear both; }
@keyframes ring-down { from { --p: 66; } to { --p: 60; } }
.tbtn { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); flex: none; }
.tbtn svg { width: 13px; height: 13px; fill: #fff; }
.tbtn.x svg { fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; }

/* Volume HUD: three key presses */
.sc-hud { flex-direction: row; align-items: center; gap: 12px; padding: 0 22px; }
.sc-hud > svg { width: 18px; height: 18px; flex: none; fill: none; stroke: #fff; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.notch.is-open .sc-hud .hud-bar i { animation: hud-up 2.4s ease-out both; }
@keyframes hud-up { 0%, 20% { width: 40%; } 26%, 45% { width: 48%; } 51%, 70% { width: 56%; } 76%, 100% { width: 64%; } }

@media (max-width: 479px) {
  .notch { width: 150px; height: 28px; }
  .notch.is-open { width: 88%; }
  .notch[data-scene="music"], .notch[data-scene="together"] { --oh: 146px; }
  .notch[data-scene="call"] { --oh: 168px; }
  .notch[data-scene="clipboard"] { --oh: 120px; }
  .sc { padding: 14px 16px; gap: 10px; }
  .sc-row { gap: 10px; }
  .art-lg { width: 54px; height: 54px; border-radius: 11px; }
  .art-md { width: 44px; height: 44px; }
  .eq-lg { height: 26px; }
  .sc-music .np-time, .tg-next, .sc-together .avatars, .clip:nth-child(n + 4), .tbtn.x { display: none; }
  .np-bottom { gap: 10px; }
  .join-btn { padding: 6px 12px; }
  .file { width: 50px; }
  .sc-tray .tile { width: 36px; height: 44px; }
  .sc-tray .tile.pic { width: 46px; }
  .meet-people { display: none; }
}

/* ---------- Feature grid ---------- */

.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.card:hover { border-color: var(--border-strong); }
.card-body { padding: 18px 20px 22px; }
.card-body h3 { margin-bottom: 8px; }
.card-body p { color: var(--muted); font-size: 0.9375rem; }

/* The stage: every illustration hangs an island from the same black bezel. */
.stage {
  position: relative; height: 150px; overflow: hidden; flex: none;
  background:
    radial-gradient(70% 60% at 50% 0%, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, #1e1a2a 0%, #15131c 100%);
  border-bottom: 1px solid var(--border);
}
.stage::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--notch); }
.island {
  --ear: 8px;
  position: absolute; left: 50%; top: 6px; transform: translateX(-50%);
  width: 236px; padding: 12px 14px; color: #fff;
  background: var(--notch); border-radius: 0 0 18px 18px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.45));
  font-size: 12px; line-height: 1.3; text-align: left;
}
.island .notch-ear-l { right: 100%; background: radial-gradient(circle at 0 100%, transparent calc(var(--ear) - 0.5px), var(--notch) var(--ear)); }
.island .notch-ear-r { left: 100%; background: radial-gradient(circle at 100% 100%, transparent calc(var(--ear) - 0.5px), var(--notch) var(--ear)); }
.island strong { font-weight: 600; font-size: 12px; }
.island .dim { color: rgba(255, 255, 255, 0.58); }
.island .row { display: flex; align-items: center; gap: 10px; }
.island .row + .row { margin-top: 8px; }
.island .pill {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.12); font-size: 11px; font-weight: 600; white-space: nowrap;
}
.island .pill.accent { background: var(--accent); color: var(--accent-ink); }
.island .glyph { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.island .glyph.filled { fill: currentColor; stroke: none; }
.island .ml { margin-left: auto; }
.island .grow { flex: 1; min-width: 0; }
.island .trunc { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.island.narrow { width: 190px; padding: 10px 14px; }

/* Tray tiles */
.tile {
  position: relative; width: 34px; height: 40px; border-radius: 6px; flex: none;
  background: linear-gradient(180deg, #f4f4f7, #d9d9df);
}
.tile::after { content: ""; position: absolute; right: 0; top: 0; width: 10px; height: 10px; background: linear-gradient(225deg, var(--notch) 50%, #bdbdc6 50%); border-radius: 0 6px 0 4px; }
.tile.pic { background: none; }
.tile.pic::after { display: none; }
.tile.pic img {
  position: absolute; left: 0; top: 50%; width: 100%; height: auto; max-width: none; aspect-ratio: 4 / 3; transform: translateY(-50%);
  object-fit: cover; border: 2px solid #fff; border-radius: 3px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}
.tile.doc {
  background:
    linear-gradient(#3c7bff, #3c7bff) 22% 16% / 46% 7% no-repeat,
    linear-gradient(#d6d7de, #d6d7de) 22% 27% / 30% 4% no-repeat,
    repeating-linear-gradient(180deg, #c3c4cd 0 1.5px, transparent 1.5px 5px) 50% 64% / 64% 34% no-repeat,
    linear-gradient(180deg, #fff, #eeeef2);
}
.tile.doc .ext { padding: 0 3px; border-radius: 2px; background: #e5484d; color: #fff; }
.tile.zip {
  background:
    linear-gradient(#6f6f7c, #6f6f7c) 50% 60% / 24% 13% no-repeat,
    repeating-linear-gradient(180deg, #8d8d99 0 2px, transparent 2px 4px) 50% 0 / 14% 56% no-repeat,
    linear-gradient(180deg, #fff, #ececf1);
}
.tile .ext { position: absolute; left: 4px; bottom: 4px; font-size: 8px; font-weight: 700; color: #3a3a44; letter-spacing: 0.02em; }
.badge {
  position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--accent); color: var(--accent-ink);
  font-size: 10px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center;
}
.drag-ghost {
  position: absolute; right: 18%; bottom: 14px; transform: rotate(-6deg);
  display: flex; align-items: flex-start; gap: 2px;
}
.drag-ghost .tile { opacity: 0.85; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); }
.drag-ghost .cursor { width: 14px; height: 18px; margin: 16px 0 0 -8px; fill: #fff; stroke: #000; stroke-width: 1; }

/* Timer ring + battery rows */
.ring { position: relative; width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: conic-gradient(var(--accent) 0 calc(var(--p, 62) * 1%), rgba(255, 255, 255, 0.14) 0 100%); }
.ring::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--notch); }
.ring span { position: absolute; z-index: 1; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; font-variant-numeric: tabular-nums; }
.bat { position: relative; width: 26px; height: 11px; border: 1.5px solid rgba(255, 255, 255, 0.5); border-radius: 3px; flex: none; }
.bat::before { content: ""; position: absolute; right: -4px; top: 2.5px; width: 2px; height: 4px; background: rgba(255, 255, 255, 0.5); border-radius: 0 1px 1px 0; }
.bat i { position: absolute; inset: 1.5px; width: calc(var(--p) * 1%); max-width: calc(100% - 3px); border-radius: 1.5px; background: var(--ok); }
.bat.low i { background: #ffb86b; }

/* Volume HUD */
.hud-bar { flex: 1; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.18); overflow: hidden; }
.hud-bar i { display: block; width: 62%; height: 100%; border-radius: 3px; background: #fff; }

/* Listen together */
.avatars { display: inline-flex; }
.avatars i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--notch); background: #333 center / cover; }
.avatars i + i { margin-left: -7px; }
.avatars i:nth-child(1), .p-you { background-image: url(img/you.webp); }
.avatars i:nth-child(2), .p-dana { background-image: url(img/dana.webp); }
.avatars i:nth-child(3), .p-omer { background-image: url(img/omer.webp); }
.avatars i.p-dana { background-image: url(img/dana.webp); }
.avatars i.p-omer { background-image: url(img/omer.webp); }
.p-you, .p-dana, .p-omer { background-color: #333; background-position: center; background-size: cover; }
.code { font-family: var(--mono); font-weight: 600; letter-spacing: 0.12em; font-size: 12px; }
.q-art { width: 22px; height: 22px; border-radius: 5px; flex: none; background-color: #333; }

/* Calls, clipboard and voice-note cards */
.island.call-island { padding: 8px; }
.call-island .video { height: 104px; border-radius: 12px; }
.call-island .vname { font-size: 10px; left: 8px; bottom: 7px; }
.call-island .self { right: 8px; bottom: 8px; }
.island .clips-sm { gap: 6px; }
.clips-sm .clip { height: 56px; padding: 6px; border-radius: 8px; font-size: 9.5px; }
.clips-sm .clip-color i { width: 14px; height: 14px; margin-bottom: 5px; }
.clips-sm .clip-color { font-size: 8.5px; }
.vn-from { position: relative; width: 28px; height: 28px; flex: none; }
.vn-from > i { position: absolute; inset: 0; border-radius: 50%; }
.vn-play { position: absolute; right: -4px; bottom: -3px; display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px; border-radius: 50%; background: #34c759; border: 2px solid var(--notch); }
.vn-play svg { width: 7px; height: 7px; fill: #fff; margin-left: 1px; }
.wave { flex: 1; display: flex; align-items: center; gap: 2px; height: 22px; }
.wave i { flex: 1; max-width: 3px; height: var(--h); border-radius: 2px; background: rgba(255, 255, 255, 0.85); }
.wave i:nth-child(n + 7) { background: rgba(255, 255, 255, 0.35); }

/* Extras row */
.extras { display: flex; flex-wrap: wrap; gap: 10px 12px; margin-top: 28px; }
.extras li {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px;
  border: 1px solid var(--border); border-radius: 999px; color: var(--muted); font-size: 0.9rem;
  background: var(--surface);
}
.extras svg { width: 16px; height: 16px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- How it works ---------- */

.steps { display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.step { position: relative; padding: 24px 22px 26px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.step-n {
  display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px;
  border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 14px;
  margin-bottom: 16px; font-variant-numeric: tabular-nums;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.9375rem; }

/* ---------- Spotlights: one section per headline feature ---------- */

.spot { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) {
  .spot { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 64px; }
  .spot.flip .spot-copy { order: 2; }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
  color: var(--accent); font-size: 0.875rem; font-weight: 600; letter-spacing: 0.01em;
}
.eyebrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.spot-copy .lede { margin-top: 14px; max-width: 52ch; color: var(--muted); font-size: 1.0625rem; }
.points { display: grid; gap: 18px; margin-top: 28px; }
.points li { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; }
.points .ic {
  grid-row: 1 / span 2; width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums;
}
.points .ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.points h3 { margin: 7px 0 4px; font-size: 1rem; }
.points p { color: var(--muted); font-size: 0.9375rem; }
.spot-note { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.875rem; max-width: 60ch; }

/* The scene: a few small screens, each with an island hanging from its bezel. */
.scene {
  display: grid; gap: 14px; width: 100%; max-width: 580px; margin: 0 auto; padding: 14px;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
@media (min-width: 640px) { .scene { padding: 20px; } }
.screenlet {
  position: relative; overflow: hidden; border-radius: 12px; padding: 6px 12px 0;
  background:
    radial-gradient(60% 55% at 50% 0%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 70%),
    url(img/wallpaper.webp) 50% 60% / cover,
    linear-gradient(118deg, var(--wall-a) 0%, var(--wall-b) 48%, var(--wall-c) 100%);
}
.screenlet.wall-cool {
  background:
    radial-gradient(60% 55% at 50% 0%, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 70%),
    linear-gradient(118deg, #2dd4bf 0%, #3b82f6 52%, #6a3cf0 100%);
}
.screenlet::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--notch); }
.screenlet .island { position: relative; left: auto; top: auto; transform: none; margin: 0 auto; width: min(100%, 300px); }
.screenlet-label {
  display: flex; justify-content: space-between; gap: 8px; padding: 14px 2px 10px;
  color: rgba(255, 255, 255, 0.95); font-size: 12px; font-weight: 600; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.screenlet-label span + span { font-weight: 500; opacity: 0.85; font-variant-numeric: tabular-nums; }

/* Listen Together */
.sync-link { display: flex; align-items: center; gap: 10px; margin: -4px 0; }
.sync-link::before, .sync-link::after {
  content: ""; flex: 1; height: 1px;
  background: repeating-linear-gradient(90deg, var(--border-strong) 0 6px, transparent 6px 12px);
}
.sync-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--fg); font-size: 12px; font-weight: 600;
}
.sync-pill svg { width: 14px; height: 14px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.queue { padding: 12px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); font-size: 13px; }
.queue-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.queue-head b { padding: 0 7px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.queue-row { display: flex; align-items: center; gap: 10px; }
.queue-row + .queue-row { margin-top: 8px; }
.queue-row .grow { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--muted); }
.queue-row strong { color: var(--fg); }
.queue-row .by { color: var(--faint); font-size: 12px; white-space: nowrap; }

/* AirDrop: a file is dragged up, the notch opens, the file drops on AirDrop, the picker appears.
   The base styles are the still frame (used with reduced motion); the animations play the story. */
.air-screen { --open-w: 340px; --loop: 6.4s; min-height: 300px; }
@media (max-width: 479px) { .air-screen { --open-w: 272px; } }
.air-island {
  width: var(--open-w); height: 116px; padding: 0; border-radius: 0 0 22px 22px;
  animation: air-island var(--loop) var(--ease-spring) infinite;
}
.air-zones {
  position: absolute; left: 50%; top: 12px; transform: translateX(-50%);
  width: calc(var(--open-w) - 24px); height: 92px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  animation: air-zones var(--loop) linear infinite;
}
.zone {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
  border-radius: 12px; border: 1.5px dashed rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.88); font-size: 11.5px; font-weight: 600;
}
.zone svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.zone-air { background: rgba(10, 132, 255, 0.38); border-color: rgba(120, 180, 255, 0.85); border-style: solid; animation: air-hot var(--loop) linear infinite; }
.air-ghost, .desk-file { position: absolute; left: calc(50% + var(--open-w) / 4 - 18px); top: 34px; }
.desk-file { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 72px; margin-left: -21px; transform: translate(-150px, 176px); }
.desk-name { padding: 0 4px; border-radius: 4px; color: #fff; font-size: 10.5px; font-weight: 600; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4); white-space: nowrap; }
.air-ghost { display: flex; align-items: flex-start; animation: air-ghost var(--loop) cubic-bezier(0.45, 0, 0.25, 1) infinite; }
.air-ghost .tile { opacity: 0.9; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); }
.air-ghost .cursor { width: 14px; height: 18px; margin: 16px 0 0 -8px; fill: #fff; stroke: #000; stroke-width: 1; }
.air-sheet {
  position: absolute; left: 50%; top: 92px; width: min(250px, calc(100% - 32px)); padding: 10px 14px 12px;
  border-radius: 14px; background: rgba(24, 24, 30, 0.88); border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  color: #fff; text-align: center; opacity: 0; transform: translate(-50%, 10px);
  animation: air-sheet var(--loop) var(--ease-out) infinite;
}
.air-sheet strong { display: block; margin-bottom: 10px; font-size: 12px; }
.air-devices { display: flex; justify-content: center; gap: 22px; }
.air-devices span { display: flex; flex-direction: column; align-items: center; gap: 6px; color: rgba(255, 255, 255, 0.82); font-size: 11px; }
.air-devices i { width: 34px; height: 34px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18); }
@keyframes air-island {
  0%, 14% { width: 150px; height: 24px; border-radius: 0 0 10px 10px; }
  26%, 68% { width: var(--open-w); height: 116px; border-radius: 0 0 22px 22px; }
  76%, 100% { width: 150px; height: 24px; border-radius: 0 0 10px 10px; }
}
@keyframes air-zones { 0%, 18% { opacity: 0; } 28%, 66% { opacity: 1; } 72%, 100% { opacity: 0; } }
@keyframes air-hot {
  0%, 44% { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.2); border-style: dashed; }
  50%, 64% { background: rgba(10, 132, 255, 0.38); border-color: rgba(120, 180, 255, 0.85); border-style: solid; }
  70%, 100% { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.2); border-style: dashed; }
}
@keyframes air-ghost {
  0% { transform: translate(-150px, 180px) rotate(-8deg); opacity: 0; }
  6% { transform: translate(-150px, 180px) rotate(-8deg); opacity: 1; }
  48%, 62% { transform: translate(0, 0) rotate(-4deg); opacity: 1; }
  68% { transform: translate(0, 0) scale(0.4); opacity: 0; }
  100% { transform: translate(-150px, 180px) rotate(-8deg); opacity: 0; }
}
@keyframes air-sheet {
  0%, 72% { opacity: 0; transform: translate(-50%, 10px); }
  78%, 94% { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, 0); }
}

/* Today: calendar and tasks side by side; one task ticks itself off on a loop. */
.screenlet .island.today { width: min(100%, 470px); padding: 14px 16px 16px; border-radius: 0 0 24px 24px; }
.today-cols { display: grid; gap: 12px; }
.today-sep { height: 1px; background: rgba(255, 255, 255, 0.08); }
@media (min-width: 560px) {
  .today-cols { grid-template-columns: minmax(0, 1.05fr) 1px minmax(0, 1fr); gap: 14px; }
  .today-sep { width: 1px; height: auto; }
}
.col-head {
  display: flex; align-items: center; gap: 6px; margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.5); font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.col-head > span:not(.plus) { color: rgba(255, 255, 255, 0.35); font-weight: 600; }
.col-head .plus {
  margin-left: auto; width: 17px; height: 17px; border-radius: 50%; background: rgba(255, 255, 255, 0.1);
  display: inline-flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, 0.75); font-size: 12px; line-height: 1;
}
.left-count { display: inline-grid; }
.left-count > span { grid-area: 1 / 1; }
.left-count .b { opacity: 0; }
.ev { display: flex; align-items: center; gap: 8px; }
.ev + .ev { margin-top: 7px; }
.ev > i { width: 3px; height: 26px; border-radius: 2px; background: var(--c); flex: none; }
.ev strong { display: block; }
.ev .when { display: block; color: rgba(255, 255, 255, 0.45); font-size: 10.5px; font-variant-numeric: tabular-nums; }
.ev .when.soon { color: var(--c); }
.join { padding: 3px 9px; border-radius: 999px; background: rgba(52, 199, 89, 0.7); font-size: 10.5px; font-weight: 700; flex: none; }
.task { display: flex; align-items: center; gap: 7px; }
.task + .task { margin-top: 7px; }
.chk { position: relative; width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.45); flex: none; }
.chk::after {
  content: ""; position: absolute; left: 3.2px; top: 0.8px; width: 3px; height: 6px;
  border: solid var(--notch); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); opacity: 0;
}
.task .name { position: relative; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: rgba(255, 255, 255, 0.9); font-weight: 500; }
.task .name::after { content: ""; position: absolute; left: 0; right: 0; top: 52%; height: 1px; background: rgba(255, 255, 255, 0.4); transform: scaleX(0); transform-origin: 0 50%; }
.task .t { margin-left: auto; padding-left: 6px; color: rgba(255, 255, 255, 0.45); font-size: 10.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.task.done .chk { background: #34c759; border-color: #34c759; }
.task.done .chk::after { opacity: 1; }
.task.done .name { color: rgba(255, 255, 255, 0.35); }
.task.done .name::after { transform: scaleX(1); }
.tick .chk { animation: tick-box 7s linear infinite; }
.tick .chk::after { animation: tick-mark 7s var(--ease-spring) infinite; }
.tick .name { animation: tick-name 7s linear infinite; }
.tick .name::after { animation: tick-strike 7s var(--ease-out) infinite; }
.left-count .a { animation: left-a 7s linear infinite; }
.left-count .b { animation: left-b 7s linear infinite; }
@keyframes tick-box {
  0%, 40% { background: transparent; border-color: rgba(255, 255, 255, 0.45); }
  44%, 92% { background: #34c759; border-color: #34c759; }
  97%, 100% { background: transparent; border-color: rgba(255, 255, 255, 0.45); }
}
@keyframes tick-mark {
  0%, 41% { opacity: 0; transform: rotate(45deg) scale(0.4); }
  47%, 92% { opacity: 1; transform: rotate(45deg) scale(1); }
  97%, 100% { opacity: 0; transform: rotate(45deg) scale(1); }
}
@keyframes tick-name { 0%, 42% { color: rgba(255, 255, 255, 0.9); } 52%, 92% { color: rgba(255, 255, 255, 0.35); } 97%, 100% { color: rgba(255, 255, 255, 0.9); } }
@keyframes tick-strike { 0%, 42% { transform: scaleX(0); } 52%, 92% { transform: scaleX(1); } 97%, 100% { transform: scaleX(0); } }
@keyframes left-a { 0%, 43% { opacity: 1; } 45%, 94% { opacity: 0; } 96%, 100% { opacity: 1; } }
@keyframes left-b { 0%, 43% { opacity: 0; } 45%, 94% { opacity: 1; } 96%, 100% { opacity: 0; } }

/* ---------- Pricing ---------- */

.price-card {
  max-width: 520px; margin: 0 auto; padding: 32px 28px;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  text-align: center;
}
.price { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin: 8px 0 4px; }
.price .amount { font-size: 3.5rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.price .per { color: var(--muted); font-size: 1rem; }
.price-sub { color: var(--muted); font-size: 0.9375rem; }
.checks { margin: 24px 0; text-align: left; display: grid; gap: 10px; }
.checks li { display: flex; align-items: flex-start; gap: 10px; color: var(--fg); font-size: 0.9375rem; }
.checks svg { width: 18px; height: 18px; flex: none; margin-top: 2px; fill: none; stroke: var(--accent); stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.price-card .btn { width: 100%; }
.price-note { margin-top: 14px; color: var(--muted); font-size: 0.875rem; }
.price-grid { display: grid; gap: 28px 20px; max-width: 1080px; margin: 0 auto; align-items: stretch; }
@media (min-width: 900px) { .price-grid { grid-template-columns: repeat(3, 1fr); } }
.price-grid .price-card { position: relative; max-width: none; margin: 0; display: flex; flex-direction: column; }
.price-grid .price-card .checks { flex: 1; }
.price-card.featured { border-color: var(--accent); }
.price-tag {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); white-space: nowrap;
  padding: 3px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink);
  font-size: 12px; font-weight: 700; letter-spacing: 0.02em;
}
.price-grid + .price-note { max-width: 640px; margin: 20px auto 0; text-align: center; }

/* ---------- FAQ ---------- */

.faq { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 4px; cursor: pointer; font-weight: 600; font-size: 1.0625rem; list-style: none;
  transition: color var(--dur) var(--ease-out);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: #fff; }
.faq summary svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; transition: transform var(--dur) var(--ease-out); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .answer { padding: 0 4px 20px; color: var(--muted); max-width: 64ch; }
.faq .answer p + p { margin-top: 10px; }

/* ---------- Footer ---------- */

.footer { border-top: 1px solid var(--border); padding: 32px 0 40px; color: var(--muted); font-size: 0.875rem; }
.footer .container { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.footer .brand { font-size: 15px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.footer-links a { color: var(--muted); min-height: 32px; display: inline-flex; align-items: center; }
.footer-links a:hover { color: var(--fg); }
.footer .copy { width: 100%; color: var(--faint); }
@media (min-width: 768px) {
  .footer-links { margin-left: auto; }
  .footer .copy { width: auto; flex-basis: 100%; }
}

/* ---------- Page header (order / download / thanks) ---------- */

.page { padding: 48px 0 80px; }
.page-head { max-width: 640px; margin-bottom: 32px; }
.page-head h1 { font-size: clamp(1.875rem, 4.5vw, 2.75rem); }
.page-head p { margin-top: 12px; color: var(--muted); font-size: 1.0625rem; }
@media (min-width: 768px) { .page { padding: 72px 0 112px; } }

/* ---------- Forms ---------- */

.order-grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 900px) { .order-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; } }

.form { display: grid; gap: 20px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 0.9375rem; }
.field .hint { color: var(--muted); font-size: 0.8125rem; }
.field .optional { color: var(--faint); font-weight: 400; }
.input {
  width: 100%; min-height: 46px; padding: 10px 14px;
  background: var(--surface); color: var(--fg); border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  font: inherit; font-size: 16px; line-height: 1.4;
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.input::placeholder { color: var(--faint); }
.input:hover { border-color: rgba(255, 255, 255, 0.24); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.input[aria-invalid="true"] { border-color: var(--error); }
.input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(252, 165, 165, 0.18); }
textarea.input { min-height: 110px; resize: vertical; }
.input-key { font-family: var(--mono); letter-spacing: 0.06em; text-transform: uppercase; font-size: 15px; }
.field-error { display: none; color: var(--error); font-size: 0.875rem; }
.field-error.is-visible { display: flex; align-items: flex-start; gap: 6px; }
.field-error svg { width: 15px; height: 15px; flex: none; margin-top: 2px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.form-actions { display: grid; gap: 12px; }
.form-actions .btn { width: 100%; }
@media (min-width: 480px) { .form-actions .btn { width: auto; min-width: 200px; } }
.privacy-line { color: var(--muted); font-size: 0.875rem; }

.alert {
  display: none; align-items: flex-start; gap: 10px; padding: 12px 14px;
  border-radius: var(--radius-sm); border: 1px solid; font-size: 0.9375rem;
}
.alert.is-visible { display: flex; }
.alert svg { width: 18px; height: 18px; flex: none; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.alert-error { color: var(--error); border-color: rgba(252, 165, 165, 0.35); background: rgba(252, 165, 165, 0.08); }
.alert-ok { color: var(--ok); border-color: rgba(110, 231, 183, 0.35); background: rgba(110, 231, 183, 0.08); }

/* Summary card on the order page */
.summary { padding: 24px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius); }
@media (min-width: 900px) { .summary { position: sticky; top: calc(var(--nav-h) + 24px); } }
.summary-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.summary-head img { width: 44px; height: 44px; border-radius: 11px; }
.summary-head strong { display: block; font-size: 1rem; }
.summary-head span { color: var(--muted); font-size: 0.875rem; }
.summary-price { display: flex; align-items: baseline; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.summary-price .amount { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.summary-price .per { color: var(--muted); font-size: 0.875rem; }
.summary .checks { margin: 16px 0 0; gap: 8px; }
.summary .checks li { font-size: 0.9rem; }

/* Plan picker on the order page; the summary shows only the chosen plan's [data-plan] lines. */
.plan-picker { border: 0; margin: 0; padding: 0; min-width: 0; }
.plan-picker legend { padding: 0; margin-bottom: 6px; font-weight: 600; font-size: 0.9375rem; }
.plans { display: grid; gap: 10px; }
@media (min-width: 560px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan-option { position: relative; display: block; cursor: pointer; }
.plan-option input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.plan-body {
  display: grid; gap: 2px; height: 100%; padding: 14px 16px;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.plan-option:hover .plan-body { border-color: rgba(255, 255, 255, 0.24); }
.plan-option input:checked + .plan-body { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.plan-option input:focus-visible + .plan-body { outline: 2px solid var(--accent); outline-offset: 3px; }
.plan-name { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.plan-price { font-size: 1.25rem; }
.plan-price b { font-weight: 700; font-variant-numeric: tabular-nums; }
.plan-desc { color: var(--muted); font-size: 0.8125rem; }
.plan-tag { padding: 1px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 11px; font-weight: 700; }
.order-grid:has(input[name="plan"][value="monthly"]:checked) [data-plan]:not([data-plan~="monthly"]),
.order-grid:has(input[name="plan"][value="yearly"]:checked) [data-plan]:not([data-plan~="yearly"]),
.order-grid:has(input[name="plan"][value="lifetime"]:checked) [data-plan]:not([data-plan~="lifetime"]) { display: none; }

/* Consent checkbox on the order form */
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; color: var(--muted); font-size: 0.9375rem; line-height: 1.5; }
.check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); cursor: pointer; }
.check input[aria-invalid="true"] { outline: 2px solid var(--error); outline-offset: 2px; }

/* Thanks / confirmation */
.confirm {
  max-width: 640px; padding: 32px 28px; background: var(--surface);
  border: 1px solid var(--border-strong); border-radius: 20px;
}
.confirm-icon {
  width: 48px; height: 48px; border-radius: 50%; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center; background: rgba(110, 231, 183, 0.12);
}
.confirm-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--ok); stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.confirm h1 { font-size: clamp(1.625rem, 4vw, 2.25rem); }
.confirm p { margin-top: 12px; color: var(--muted); }
.confirm-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.confirm-actions .btn { white-space: normal; text-align: center; }
@media (max-width: 479px) { .confirm-actions .btn { width: 100%; } }

/* Download page */
.download-grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 900px) { .download-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; } }
.aside-card { padding: 22px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.aside-card h2 { font-size: 1rem; margin-bottom: 10px; }
.aside-card ul { display: grid; gap: 8px; color: var(--muted); font-size: 0.9rem; }
.aside-card li { display: flex; gap: 10px; align-items: flex-start; }
.aside-card li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex: none; margin-top: 9px; }
.aside-card + .aside-card { margin-top: 16px; }

/* Terminal install (download page) */
.install-card { padding: 22px 24px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius); margin-bottom: 28px; }
.install-card h2 { font-size: 1.05rem; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.install-card .pill { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; color: var(--accent); border: 1px solid currentColor; }
.install-cmd { display: flex; gap: 10px; align-items: center; }
.install-cmd code { flex: 1; min-width: 0; padding: 12px 14px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 13px; overflow-wrap: anywhere; user-select: all; }
.install-cmd .btn-copy { flex: none; }
.install-steps { margin: 14px 0 0 20px; list-style: decimal; display: grid; gap: 6px; color: var(--muted); font-size: 0.9rem; }
.download-alt { font-size: 1rem; margin-bottom: 14px; color: var(--muted); }
.download-main { min-width: 0; }

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .eq i { animation: none; transform: scaleY(var(--h, 0.6)); }
  .progress i { animation: none; width: 42%; }
  .spinner { animation: none; border-top-color: transparent; }
  .video > .cam, .speaking, .notch .file.drop, .clip, .copied, .ring-lg, .join-btn, .sc-hud .hud-bar i { animation: none !important; }
  .copied { opacity: 1; }
  .air-island, .air-zones, .zone-air, .air-ghost, .air-sheet,
  .tick .chk, .tick .chk::after, .tick .name, .tick .name::after, .left-count > span { animation: none !important; }
}

/* ---------- Legal pages (privacy / terms) ---------- */

.legal { max-width: 720px; }
.legal .updated { margin-top: 12px; color: var(--faint); font-size: 0.875rem; }
.legal h2 { font-size: 1.375rem; margin: 40px 0 12px; }
.legal h3 { margin: 24px 0 8px; }
.legal p { margin-top: 12px; color: var(--muted); line-height: 1.65; }
.legal p strong, .legal li strong { color: var(--fg); font-weight: 600; }
.legal ul { margin-top: 12px; display: grid; gap: 8px; padding-left: 20px; list-style: disc; color: var(--muted); line-height: 1.6; }
.legal li::marker { color: var(--faint); }

/* --- Face Unlock + partners teaser --- */

.new-tag {
  display: inline-flex; align-items: center; padding: 1px 8px; border-radius: 999px; margin-left: 2px;
  background: var(--accent-soft); color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: 0.02em;
  vertical-align: 2px;
}

/* The notch on the lock screen: the right wing holds one glyph — lock, face (pulsing), open lock (green).
   One loop: locked → looking → open → the lock screen lifts away → back. */
.fu-screen, .fu-stage { --fu-loop: 5s; }
.fu-notch {
  --ear: 10px;
  position: absolute; left: 50%; top: 6px; z-index: 3; transform: translateX(-50%);
  width: 196px; height: 30px; border-radius: 0 0 13px 13px;
  background: var(--notch); color: #fff;
  animation: fu-notch var(--fu-loop) var(--ease-spring) infinite;
}
.fu-notch .notch-ear-l { right: 100%; background: radial-gradient(circle at 0 100%, transparent calc(var(--ear) - 0.5px), var(--notch) var(--ear)); }
.fu-notch .notch-ear-r { left: 100%; background: radial-gradient(circle at 100% 100%, transparent calc(var(--ear) - 0.5px), var(--notch) var(--ear)); }
.fu-glyph { position: absolute; right: 13px; top: 50%; width: 18px; height: 18px; margin-top: -9px; }
.fu-g { position: absolute; inset: 0; display: block; opacity: 0; }
.fu-g svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fu-g-lock svg rect, .fu-g-open svg rect { fill: currentColor; }
.fu-g-face { opacity: 1; } /* still frame */
.fu-g-open { color: #34c759; }
.fu-g-lock { animation: fu-lock var(--fu-loop) var(--ease-out) infinite; }
.fu-g-face { animation: fu-face var(--fu-loop) var(--ease-out) infinite; }
.fu-g-face svg { animation: fu-pulse 0.45s ease-in-out infinite; }
.fu-g-open { animation: fu-open var(--fu-loop) var(--ease-spring) infinite; }

/* The lock screen over the desktop */
.fu-screen {
  position: relative; height: 300px; overflow: hidden; border-radius: 12px;
  background:
    radial-gradient(60% 55% at 50% 0%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 70%),
    url(img/wallpaper.webp) 50% 60% / cover,
    linear-gradient(118deg, var(--wall-a) 0%, var(--wall-b) 48%, var(--wall-c) 100%);
}
.fu-screen::before { content: ""; position: absolute; inset: 0 0 auto 0; z-index: 4; height: 6px; background: var(--notch); }
.fu-screen .menubar { top: 6px; height: 26px; }
.fu-lock {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; padding-top: 58px;
  color: #fff; text-align: center; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.18);
  background: rgba(16, 10, 30, 0.22);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  animation: fu-away var(--fu-loop) var(--ease-out) infinite;
}
.fu-date { font-size: 14px; font-weight: 600; opacity: 0.9; }
.fu-time { margin-top: 2px; font-size: clamp(56px, 13vw, 76px); font-weight: 700; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.fu-user { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.fu-avatar { display: block; width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35); }
.fu-user strong { font-size: 13px; }
.fu-pw {
  padding: 4px 14px; border-radius: 999px; font-size: 11px; font-weight: 500;
  background: rgba(255, 255, 255, 0.2); color: rgba(255, 255, 255, 0.78);
}
@media (max-width: 479px) {
  .fu-screen { height: 270px; }
  .fu-lock { padding-top: 52px; }
}

/* Feature card: the same glyph on a small lock screen, full width of the grid */
.fu-stage {
  background:
    radial-gradient(70% 70% at 50% 0%, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 70%),
    url(img/wallpaper.webp) 50% 60% / cover,
    linear-gradient(118deg, var(--wall-a) 0%, var(--wall-b) 48%, var(--wall-c) 100%);
}
.fu-stage::after {
  content: ""; position: absolute; inset: 6px 0 0; z-index: 1;
  background: rgba(16, 10, 30, 0.22); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.fu-stage::before { z-index: 4; }
.fu-notch-sm { top: 6px; width: 170px; height: 28px; animation: none; }
.fu-mini-time {
  position: absolute; left: 0; right: 0; top: 56px; z-index: 2; text-align: center;
  color: #fff; font-size: 52px; font-weight: 700; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums;
}
@media (min-width: 640px) { .card-wide { grid-column: 1 / -1; } }
@media (min-width: 768px) {
  .card-wide { flex-direction: row; }
  .card-wide .stage { flex: 1.35 1 0; height: auto; min-height: 168px; border-bottom: 0; border-right: 1px solid var(--border); }
  .card-wide .card-body { flex: 1 1 0; display: flex; flex-direction: column; justify-content: center; padding: 24px 28px; }
}

/* The honest note under the spotlight */
.fu-caveat {
  display: flex; align-items: flex-start; gap: 12px; max-width: 760px; margin: 48px auto 0; padding: 16px 18px;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  color: var(--muted); font-size: 0.9375rem; line-height: 1.55;
}
.fu-caveat strong { color: var(--fg); }
.fu-caveat svg { width: 20px; height: 20px; flex: none; margin-top: 1px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }

@keyframes fu-notch {
  0%, 40% { width: 196px; }
  46%, 90% { width: 150px; }
  95%, 100% { width: 196px; }
}
@keyframes fu-lock {
  0%, 8% { opacity: 1; transform: none; }
  11%, 94% { opacity: 0; transform: scale(0.6); }
  98%, 100% { opacity: 1; transform: none; }
}
@keyframes fu-face {
  0%, 9% { opacity: 0; transform: scale(0.6); }
  12%, 19% { opacity: 1; transform: none; }
  21%, 100% { opacity: 0; transform: scale(0.6); }
}
@keyframes fu-open {
  0%, 20% { opacity: 0; transform: scale(0.5); }
  23% { opacity: 1; transform: scale(1.25) translateY(-1px); }
  26%, 40% { opacity: 1; transform: none; }
  44%, 100% { opacity: 0; transform: scale(0.6); }
}
@keyframes fu-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.55; transform: scale(0.9); } }
@keyframes fu-away {
  0%, 28% { opacity: 1; transform: none; }
  34%, 90% { opacity: 0; transform: translateY(-14px); }
  96%, 100% { opacity: 1; transform: none; }
}

/* Partner program teaser */
.pt { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .pt { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; } }
.pt-copy .lede { margin-top: 14px; max-width: 46ch; color: var(--muted); font-size: 1.0625rem; }
.pt-cta { margin-top: 26px; }
.pt-fine { margin-top: 14px; color: var(--faint); font-size: 0.875rem; }
.pt-fine a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.pt-rates { display: grid; gap: 12px; }
@media (min-width: 560px) and (max-width: 899px) { .pt-rates { grid-template-columns: repeat(3, 1fr); } }
.pt-rates li {
  display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 10px;
  padding: 16px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.pt-amt { font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--fg); }
.pt-per { color: var(--muted); font-size: 0.9375rem; }
.pt-plan { grid-column: 1 / -1; margin-top: 2px; color: var(--muted); font-size: 0.875rem; }
@media (min-width: 560px) and (max-width: 899px) {
  .pt-rates li { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .fu-notch, .fu-g, .fu-g svg, .fu-lock { animation: none !important; }
}

/* Hero carousel: Face Unlock scene. Closed: a lock in the right wing. Open: face glyph → open lock.
   The base styles are the end frame (used with reduced motion). */
.notch[data-wing="face"] .w-face, .notch[data-scene="face"] .sc-face { opacity: 1; }
.notch[data-scene="face"] .sc-face { display: flex; }
.notch[data-scene="face"] { --ow: 340px; --oh: 92px; --or: 24px; }
.w-face .w-lock rect { fill: currentColor; }
.hf-glyph { position: relative; width: 40px; height: 40px; flex: none; }
.hf-g { position: absolute; inset: 0; }
.hf-g svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hf-open { color: #34c759; }
.hf-open svg rect { fill: currentColor; }
.hf-face { opacity: 0; }
.hf-face svg { animation: fu-pulse 0.45s ease-in-out infinite; }
.np-meta.hf-meta strong { display: grid; }
.hf-meta strong > span { grid-area: 1 / 1; }
.hf-t1 { opacity: 0; }
.hf-avatar { width: 32px; height: 32px; border-radius: 50%; flex: none; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25); }
.notch.is-open .hf-face { animation: hf-face 1.1s 80ms both; }
.notch.is-open .hf-open { animation: hf-open 1.1s 80ms var(--ease-spring) both; }
.notch.is-open .hf-t1 { animation: hf-face 1.1s 80ms both; }
.notch.is-open .hf-t2 { animation: hf-t2 1.1s 80ms both; }
@keyframes hf-face { 0%, 36% { opacity: 1; transform: none; } 44%, 100% { opacity: 0; transform: scale(0.7); } }
@keyframes hf-open { 0%, 38% { opacity: 0; transform: scale(0.5); } 52% { opacity: 1; transform: scale(1.22); } 66%, 100% { opacity: 1; transform: none; } }
@keyframes hf-t2 { 0%, 40% { opacity: 0; } 50%, 100% { opacity: 1; } }
@media (max-width: 479px) {
  .notch[data-scene="face"] { --oh: 80px; }
  .hf-glyph { width: 32px; height: 32px; }
  .hf-avatar { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hf-face, .hf-face svg, .hf-open, .hf-t1, .hf-t2 { animation: none !important; }
}
.spot-cta { margin-top: 22px; }

