/* Sidekeys — sidekeysapp.com
   Palette: the app's "dusk sky" mesh backdrop. */

:root {
  --indigo-900: #21245c;   /* 0.13,0.14,0.36 */
  --indigo-700: #38337a;   /* 0.22,0.20,0.48 */
  --violet:     #4d3885;   /* 0.30,0.22,0.52 */
  --mauve:      #9e578f;   /* 0.62,0.34,0.56 */
  --peach:      #f59475;   /* 0.96,0.58,0.46 */
  --rose:       #db6b80;   /* 0.86,0.42,0.50 */
  --teal-900:   #12334d;   /* 0.07,0.20,0.30 */
  --teal-700:   #1f455c;   /* 0.12,0.27,0.36 */
  --teal-800:   #142945;   /* 0.08,0.16,0.27 */

  --bg:        #0c1022;
  --bg-2:      #0f1630;
  --text:      #ffffff;
  --text-2:    rgba(235, 238, 255, 0.78);
  --text-3:    rgba(220, 226, 250, 0.66);
  --hairline:  rgba(255, 255, 255, 0.12);
  --hairline-2:rgba(255, 255, 255, 0.2);
  --glass:     rgba(255, 255, 255, 0.06);
  --glass-2:   rgba(255, 255, 255, 0.1);
  --accent:    #ffb59c;    /* lifted peach, AA on --bg */
  --focus:     #ffd2c2;

  --radius-lg: 28px;
  --radius:    20px;
  --radius-sm: 12px;
  --max:       1120px;
  --gutter:    clamp(16px, 5vw, 40px);

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

  color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: #fff; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute; left: 16px; top: -60px;
  background: #fff; color: #111; padding: 10px 14px; border-radius: 10px;
  font-weight: 600; z-index: 100; text-decoration: none;
}
.skip:focus { top: 12px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */

h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.05; }
h1 { font-size: clamp(2.6rem, 7.2vw, 5.4rem); letter-spacing: -0.045em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); letter-spacing: -0.035em; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); letter-spacing: -0.02em; line-height: 1.2; }
p  { margin: 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.lede { font-size: clamp(1.1rem, 1.8vw, 1.32rem); color: var(--text-2); line-height: 1.5; letter-spacing: -0.01em; }
.muted { color: var(--text-3); }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border-radius: 999px;
  font: 600 1rem/1 var(--font); letter-spacing: -0.01em;
  text-decoration: none; color: #fff;
  border: 1px solid var(--hairline-2);
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.btn:hover { background: rgba(255, 255, 255, 0.18); color: #fff; border-color: rgba(255,255,255,.32); }
.btn:active { transform: scale(0.98); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-primary {
  background: #fff; color: #14163a; border-color: #fff;
}
.btn-primary:hover { background: #ffe9e1; color: #14163a; border-color: #ffe9e1; }

/* App Store badge-style button */
.btn-store {
  background: #000; border-color: rgba(255,255,255,.35); color: #fff;
  padding: 0 22px 0 18px; gap: 12px; text-align: left;
}
.btn-store:hover { background: #111; color: #fff; }
.btn-store .store-text { display: flex; flex-direction: column; line-height: 1.1; }
.btn-store small { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.01em; opacity: .9; }
.btn-store strong { font-size: 1.18rem; font-weight: 600; letter-spacing: -0.02em; }
.btn-lg { min-height: 60px; padding: 0 32px; font-size: 1.08rem; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions.center { justify-content: center; }

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

.nav {
  position: absolute; top: 0; left: 0; right: 0; z-index: 10;
}
.nav .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 72px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff; text-decoration: none; font-weight: 700; font-size: 1.08rem; letter-spacing: -0.02em;
}
.brand img { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 4px 14px rgba(0,0,0,.25); }
.nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav ul a {
  display: inline-block; padding: 8px 12px; border-radius: 999px;
  color: rgba(255,255,255,.88); text-decoration: none; font-size: 0.94rem; font-weight: 500;
}
.nav ul a:hover { color: #fff; background: rgba(255,255,255,.1); }
.nav .nav-cta {
  background: rgba(255,255,255,.14); border: 1px solid var(--hairline-2);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
@media (max-width: 640px) {
  .nav .hide-sm { display: none; }
}

/* ---------- Dusk sky (hero background) ---------- */

.sky {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--indigo-900);
}
.sky::before {
  content: "";
  position: absolute; inset: -20%;
  z-index: -2;
  background:
    radial-gradient(38% 34% at 72% 70%, rgba(245,148,117,.85) 0%, rgba(245,148,117,0) 70%),
    radial-gradient(36% 38% at 88% 38%, rgba(219,107,128,.75) 0%, rgba(219,107,128,0) 72%),
    radial-gradient(44% 40% at 42% 54%, rgba(158,87,143,.7) 0%, rgba(158,87,143,0) 72%),
    radial-gradient(50% 44% at 18% 26%, rgba(77,56,133,.95) 0%, rgba(77,56,133,0) 70%),
    radial-gradient(46% 40% at 62% 18%, rgba(56,51,122,.9) 0%, rgba(56,51,122,0) 72%),
    radial-gradient(52% 40% at 12% 92%, rgba(31,69,92,.95) 0%, rgba(31,69,92,0) 70%),
    radial-gradient(60% 40% at 50% 112%, rgba(18,51,77,1) 0%, rgba(18,51,77,0) 70%),
    linear-gradient(180deg, var(--indigo-900) 0%, var(--violet) 46%, var(--teal-800) 100%);
  animation: drift 38s ease-in-out infinite alternate;
  will-change: transform;
}
/* gentle legibility veil + fade into the page */
.sky::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(14,14,46,.38) 0%, rgba(14,14,46,0) 38%),
    linear-gradient(180deg, rgba(12,16,34,0) 72%, var(--bg) 100%);
}
@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50%  { transform: translate3d(-3%, 2%, 0) rotate(4deg) scale(1.05); }
  100% { transform: translate3d(3%, -2%, 0) rotate(-3deg) scale(1.02); }
}
@media (prefers-reduced-motion: reduce) {
  .sky::before { animation: none; }
}

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

.hero { padding-top: 140px; padding-bottom: 40px; text-align: center; }
.hero h1 { max-width: 13ch; margin: 0 auto; text-wrap: balance; }
.hero .lede { max-width: 38em; margin: 22px auto 0; color: rgba(255,255,255,.86); text-wrap: pretty; }
.hero .actions { margin-top: 34px; }
.hero .fine { margin-top: 16px; font-size: 0.92rem; color: rgba(255,255,255,.75); }

/* ---------- Product illustration (CSS, not a photo) ---------- */

.scene {
  container-type: inline-size;
  position: relative;
  width: min(1040px, 100%);
  margin: 64px auto 0;
  aspect-ratio: 100 / 54;
}
.scene * { box-sizing: border-box; }

/* shared screen "wallpaper": the dusk sky, in miniature */
.wallpaper {
  background:
    radial-gradient(60% 55% at 74% 72%, rgba(245,148,117,.9), rgba(245,148,117,0) 70%),
    radial-gradient(50% 50% at 90% 30%, rgba(219,107,128,.8), rgba(219,107,128,0) 70%),
    radial-gradient(60% 60% at 30% 40%, rgba(158,87,143,.65), rgba(158,87,143,0) 70%),
    radial-gradient(70% 60% at 10% 100%, rgba(31,69,92,1), rgba(31,69,92,0) 70%),
    linear-gradient(170deg, var(--indigo-700), var(--violet) 50%, var(--teal-800));
}

.menubar {
  position: absolute; top: 0; left: 0; right: 0;
  height: 3.2%;
  min-height: 0;
  background: rgba(20, 18, 50, .38);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  display: flex; align-items: center; gap: 2.2%; padding: 0 2.4%;
}
.menubar i { display: block; height: 32%; border-radius: 2px; background: rgba(255,255,255,.75); }
.menubar > i:first-child { width: 1.6%; aspect-ratio: 1; height: auto; border-radius: 50%; }
.menubar .right { margin-left: auto; display: flex; gap: 1.2cqw; height: 100%; align-items: center; }
.menubar .right i { width: 2.2cqw; }

.win {
  position: absolute;
  border-radius: 1.1cqw;
  background: rgba(24, 24, 44, .78);
  box-shadow: 0 1.4cqw 4cqw rgba(8, 6, 30, .45), 0 0 0 1px rgba(255,255,255,.1) inset;
  overflow: hidden;
}
.win .bar {
  height: 1.8cqw; display: flex; align-items: center; gap: .45cqw; padding: 0 .8cqw;
  background: rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.win .bar b { width: .62cqw; height: .62cqw; border-radius: 50%; background: #ff5f57; }
.win .bar b:nth-child(2) { background: #febc2e; }
.win .bar b:nth-child(3) { background: #28c840; }
.win.light { background: rgba(245, 243, 252, .92); }
.win.light .bar { background: rgba(0,0,0,.04); border-bottom-color: rgba(0,0,0,.06); }

.lines { padding: 1cqw 1.2cqw; display: grid; gap: .62cqw; }
.lines span { display: block; height: .55cqw; border-radius: 1cqw; background: rgba(255,255,255,.22); }
.lines span.k { background: rgba(255,170,150,.65); }
.lines span.v { background: rgba(170,160,255,.6); }
.lines span.g { background: rgba(130,220,190,.55); }

/* MacBook */
.macbook { position: absolute; left: 0; top: 4%; width: 64%; }
.mb-lid {
  position: relative;
  aspect-ratio: 16 / 10.4;
  border-radius: 2.2cqw 2.2cqw 0 0;
  background: #0a0a12;
  padding: 1.5cqw 1.5cqw 1.8cqw;
  box-shadow: 0 0 0 1px rgba(255,255,255,.14) inset, 0 3cqw 6cqw rgba(6, 4, 28, .5);
}
.mb-screen { position: relative; width: 100%; height: 100%; border-radius: .6cqw; overflow: hidden; }
.mb-base {
  position: relative;
  height: 1.7cqw;
  margin: 0 -4.5%;
  border-radius: 0 0 2.4cqw 2.4cqw / 0 0 1.6cqw 1.6cqw;
  background: linear-gradient(180deg, #c9c8d6 0%, #9d9cae 55%, #6f6e82 100%);
  box-shadow: 0 2cqw 4cqw rgba(6,4,28,.5);
}
.mb-base::before {
  content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: 15%; height: 45%; border-radius: 0 0 1cqw 1cqw; background: rgba(0,0,0,.18);
}

/* iPhone Duo, open */
.duo {
  position: absolute; right: 0; bottom: 4%;
  width: 46%;
  aspect-ratio: 2853 / 2007;
  border-radius: 3.4cqw;
  padding: 1.15cqw;
  background: linear-gradient(145deg, #3a3a4c, #15151f 40%, #2a2a38);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.22) inset,
    0 0 0 .35cqw #0b0b12 inset,
    0 3.5cqw 7cqw rgba(6, 4, 28, .6),
    0 1cqw 2cqw rgba(6, 4, 28, .35);
}
.duo-screen { position: relative; width: 100%; height: 100%; border-radius: 2.4cqw; overflow: hidden; }
.duo .menubar { height: 5.2%; }
.duo .menubar .right i { width: 2.2cqw; }

/* the floating vertical glass toolbar */
.toolbar {
  position: absolute; right: 2.6%; top: 50%; transform: translateY(-46%);
  width: 6.4%;
  padding: 1.2cqw 0;
  display: flex; flex-direction: column; align-items: center; gap: 1.25cqw;
  border-radius: 99px;
  background: linear-gradient(180deg, rgba(255,214,226,.62), rgba(196,188,220,.5));
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.45) inset, 0 1cqw 2.4cqw rgba(10,6,40,.35);
}
.toolbar svg { width: 1.9cqw; height: 1.9cqw; color: #1b1a2e; }

.scene figcaption { position: absolute; }

/* ---------- Hero demo: one 14 s loop, every step a slice of it ----------
   0–19%   a window is dragged off the MacBook and lands on the Duo
   19–31%  a tap brings it forward; new lines get typed
   34–58%  the meeting deck slides up; Mute is tapped
   59–77%  a Claude Code agent asks; Approve is tapped
   84–100% everything settles back for the next loop */

.scene { --loop: 14s; text-align: left; }
.scene .mover, .scene .arrive, .scene .cursor, .scene .type, .scene .tap, .muted-mic,
.deck-sheet, .agent-card, .dkey.mute, .dkey.mute .lbl b, .ac-btn, .ac-btn b,
.toolbar svg:nth-child(1), .toolbar svg:nth-child(2) {
  animation-duration: var(--loop);
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

/* the pointer on the MacBook, dragging the light window by its title bar */
.cursor {
  position: absolute; z-index: 5; width: 1.15cqw; height: auto;
  left: 74%; top: 31.5%; opacity: 0;
  filter: drop-shadow(0 .2cqw .3cqw rgba(0,0,0,.4));
  animation-name: drag-cursor;
}
@keyframes drag-cursor {
  0%, 2%   { opacity: 0; left: 74%; transform: none; }
  4%       { opacity: 1; left: 74%; transform: none; }
  5%       { opacity: 1; left: 74%; transform: scale(.88); }
  18%      { opacity: 1; left: 121%; transform: scale(.88); animation-timing-function: ease-out; }
  19.5%, 100% { opacity: 0; left: 121%; }
}
.mover { animation-name: drag-away; }
@keyframes drag-away {
  0%, 5%   { transform: none; opacity: 1; animation-timing-function: cubic-bezier(.5, 0, .4, 1); }
  18%      { transform: translateX(135%); opacity: 1; }
  86%      { transform: translateX(135%); opacity: 1; }
  86.1%    { transform: none; opacity: 0; }
  92%, 100% { transform: none; opacity: 1; }
}
.arrive { animation-name: arrive; }
@keyframes arrive {
  0%, 12.5% { transform: translateX(-240%); opacity: 1; animation-timing-function: cubic-bezier(.2, .7, .3, 1); }
  19%       { transform: none; opacity: 1; }
  84%       { transform: none; opacity: 1; }
  88%       { transform: none; opacity: 0; }
  88.1%, 100% { transform: translateX(-240%); opacity: 0; }
}

/* a finger on the Duo: a soft ring that blooms and fades */
.tap {
  position: absolute; z-index: 6; width: 3.4cqw; height: 3.4cqw; margin: -1.7cqw 0 0 -1.7cqw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.55), rgba(255,255,255,.18) 60%, transparent 70%);
  box-shadow: 0 0 0 .18cqw rgba(255,255,255,.7);
  opacity: 0; transform: scale(.4);
}
.tap1 { left: 73%; top: 48.6%; animation-name: tap1; }
.tap2 { left: 12.5%; top: 80%; animation-name: tap2; }
.tap3 { left: 71%; top: 36.5%; animation-name: tap3; }
@keyframes tap1 { 0%, 20.5% { opacity: 0; transform: scale(.4); } 21.5% { opacity: 1; transform: scale(.8); } 24%, 100% { opacity: 0; transform: scale(1.5); } }
@keyframes tap2 { 0%, 41.5% { opacity: 0; transform: scale(.4); } 42.5% { opacity: 1; transform: scale(.8); } 45%, 100% { opacity: 0; transform: scale(1.5); } }
@keyframes tap3 { 0%, 66% { opacity: 0; transform: scale(.4); } 67% { opacity: 1; transform: scale(.8); } 69.5%, 100% { opacity: 0; transform: scale(1.5); } }

/* the meeting deck */
.deck-sheet {
  position: absolute; z-index: 3; left: 5%; bottom: 5%; width: 52%;
  padding: 1.1cqw 1.2cqw 1.3cqw;
  border-radius: 1.6cqw;
  background: rgba(22, 20, 44, .72);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.16) inset, 0 1.4cqw 3cqw rgba(6,4,28,.5);
  transform: translateY(150%);
  animation-name: deck-up;
}
@keyframes deck-up {
  0%, 34%  { transform: translateY(150%); animation-timing-function: cubic-bezier(.2, .8, .25, 1); }
  37.5%    { transform: none; }
  54%      { transform: none; animation-timing-function: cubic-bezier(.5, 0, .75, .3); }
  57.5%, 100% { transform: translateY(150%); }
}
.deck-title { display: flex; align-items: center; gap: .5cqw; font-size: .95cqw; font-weight: 600; color: rgba(255,255,255,.85); margin-bottom: .9cqw; }
.deck-title i { width: .6cqw; height: .6cqw; border-radius: 50%; background: #34d399; box-shadow: 0 0 .5cqw #34d399; }
.deck-keys { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8cqw; }
.dkey {
  display: grid; justify-items: center; gap: .45cqw;
  padding: 1cqw .4cqw .8cqw;
  border-radius: 1.1cqw;
  background: linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,.08));
  box-shadow: 0 0 0 1px rgba(255,255,255,.2) inset;
  color: #fff;
}
.dkey svg { width: 2cqw; height: 2cqw; }
.dkey .lbl { position: relative; display: grid; font-size: .82cqw; font-weight: 600; }
.dkey .lbl b { grid-area: 1 / 1; text-align: center; }
.dkey.leave { background: linear-gradient(180deg, rgba(255,95,87,.85), rgba(214,58,58,.85)); }
.dkey.mute { animation-name: mute-key; }
@keyframes mute-key {
  0%, 42.5% { background: linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,.08)); transform: none; }
  43%       { transform: scale(.93); }
  44%, 56%  { background: linear-gradient(180deg, rgba(255,95,87,.9), rgba(214,58,58,.9)); transform: none; }
  58%, 100% { background: linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,.08)); }
}
.dkey.mute .lbl .a { animation-name: label-out-43; }
.dkey.mute .lbl .b { opacity: 0; animation-name: label-in-43; }
@keyframes label-out-43 { 0%, 43% { opacity: 1; } 44%, 56% { opacity: 0; } 58%, 100% { opacity: 1; } }
@keyframes label-in-43 { 0%, 43% { opacity: 0; } 44%, 56% { opacity: 1; } 58%, 100% { opacity: 0; } }

/* a Claude Code agent asking for approval */
.agent-card {
  position: absolute; z-index: 4; right: 12%; top: 12%; width: 34%;
  padding: 1.1cqw 1.2cqw 1.2cqw;
  border-radius: 1.4cqw;
  background: rgba(30, 26, 54, .82);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.18) inset, 0 1.4cqw 3cqw rgba(6,4,28,.55);
  color: #fff;
  transform: translateX(130%); opacity: 0;
  animation-name: agent-in;
}
@keyframes agent-in {
  0%, 59%  { transform: translateX(130%); opacity: 0; animation-timing-function: cubic-bezier(.2, .8, .25, 1); }
  62%      { transform: none; opacity: 1; }
  73.5%    { transform: none; opacity: 1; animation-timing-function: cubic-bezier(.5, 0, .75, .3); }
  77%, 100% { transform: translateX(130%); opacity: 0; }
}
.ac-head { display: flex; align-items: center; gap: .5cqw; font-size: .9cqw; }
.ac-head i { width: .62cqw; height: .62cqw; border-radius: 50%; background: #fbbf24; box-shadow: 0 0 .5cqw #fbbf24; }
.ac-head span { margin-left: auto; color: #fbbf24; font-weight: 600; }
.ac-cmd {
  margin: .7cqw 0 .9cqw; padding: .55cqw .7cqw; border-radius: .7cqw;
  font: 500 .78cqw ui-monospace, "SF Mono", Menlo, monospace;
  background: rgba(0,0,0,.3); color: rgba(255,255,255,.85);
}
.ac-btn {
  display: grid; padding: .6cqw; border-radius: 99px;
  background: rgba(255,255,255,.92); color: #17142e;
  font-size: .85cqw; font-weight: 700; text-align: center;
  animation-name: approve;
}
.ac-btn b { grid-area: 1 / 1; }
@keyframes approve {
  0%, 67%  { background: rgba(255,255,255,.92); color: #17142e; transform: none; }
  67.5%    { transform: scale(.95); }
  68.5%, 100% { background: #34d399; color: #062b1e; transform: none; }
}
.ac-btn .a { animation-name: label-out-68; }
.ac-btn .b { opacity: 0; animation-name: label-in-68; }
@keyframes label-out-68 { 0%, 68% { opacity: 1; } 68.5%, 100% { opacity: 0; } }
@keyframes label-in-68 { 0%, 68% { opacity: 0; } 68.5%, 100% { opacity: 1; } }

/* the toolbar lights the button for what's on screen: Agents, then Deck */
.toolbar svg { border-radius: 30%; padding: .25cqw; box-sizing: content-box; margin: -.25cqw; }
.toolbar svg:nth-child(2) { animation-name: lit-deck; }
.toolbar svg:nth-child(1) { animation-name: lit-agents; }
@keyframes lit-deck { 0%, 34% { background: transparent; } 35%, 56% { background: rgba(255,255,255,.85); } 57.5%, 100% { background: transparent; } }
@keyframes lit-agents { 0%, 59% { background: transparent; } 60%, 75% { background: rgba(255,255,255,.85); } 77%, 100% { background: transparent; } }


/* ---------- Real app content on the screens ---------- */

.scene { --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace; }

.menubar.words { gap: 1.25cqw; padding: 0 1.2cqw; font-size: .72cqw; color: rgba(255,255,255,.92); white-space: nowrap; }
.duo .menubar.words { font-size: .78cqw; }
.menubar.words b { font-weight: 700; }
.menubar.words .apple { width: .62cqw; height: .72cqw; border-radius: 50% 50% 45% 45%; background: rgba(255,255,255,.9); }
.menubar.words .right { margin-left: auto; font-variant-numeric: tabular-nums; }

.win .bar { position: relative; }
.win .wt { position: absolute; left: 0; right: 0; text-align: center; font-size: .72cqw; font-weight: 600; color: rgba(255,255,255,.7); pointer-events: none; }
.win .rec { margin-left: auto; font-size: .62cqw; font-weight: 600; color: rgba(255,255,255,.6); font-variant-numeric: tabular-nums; }
.win .rec::before { content: ""; display: inline-block; width: .45cqw; height: .45cqw; margin-right: .3cqw; border-radius: 50%; background: #ff5f57; vertical-align: .05cqw; }

/* code editor */
.editor { background: rgba(26, 24, 42, .94); }
.ed { display: flex; height: calc(100% - 1.8cqw); }
.files { list-style: none; margin: 0; padding: .8cqw .5cqw; width: 26%; border-right: 1px solid rgba(255,255,255,.07); background: rgba(255,255,255,.03); font-size: .62cqw; color: rgba(255,255,255,.62); }
.files li { padding: .22cqw .45cqw; border-radius: .35cqw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.files li.dir { color: rgba(255,255,255,.4); font-weight: 600; margin-top: .3cqw; }
.files li.on { background: rgba(124, 108, 255, .4); color: #fff; }
.code { margin: 0; padding: .8cqw 1cqw; font: 500 .66cqw/1.55 var(--mono); color: #e7e3f5; white-space: pre; overflow: hidden; }
.code .kw { color: #ff7ab2; font-weight: 600; }
.code .ty { color: #6bdfff; }
.code .fn { color: #67b7a4; }
.code .nu { color: #d9c97c; }
.code .cm { color: #7f8c98; font-style: italic; }

/* video call */
.meet { --mb: 2.2cqw; --av: 2.6cqw; background: rgba(20, 20, 30, .96); }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: .4cqw; padding: .45cqw; height: calc(100% - 1.8cqw - var(--mb)); }
.tile { position: relative; display: grid; place-items: center; border-radius: .6cqw; overflow: hidden; }
.tile i { display: grid; place-items: center; width: var(--av); height: var(--av); border-radius: 50%; font-style: normal; font-size: .8cqw; font-weight: 700; color: #fff; background: rgba(255,255,255,.18); box-shadow: 0 0 0 .2cqw rgba(255,255,255,.12); }
.tile span { position: absolute; left: .45cqw; bottom: .35cqw; font-size: .58cqw; font-weight: 600; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.tile.ta { background: linear-gradient(140deg, #5b4bb7, #2d2a6e); }
.tile.tb { background: linear-gradient(140deg, #b2557a, #5a2a4b); }
.tile.tc { background: linear-gradient(140deg, #2f7a8a, #1a3c4d); }
.tile.tme { background: linear-gradient(140deg, #a8743f, #4f3420); box-shadow: 0 0 0 .14cqw #34d399 inset; }
.tile.ta i { animation: speak 2.2s ease-in-out infinite; }
.duo .tile.ta i { animation: none; }
@keyframes speak { 0%, 100% { box-shadow: 0 0 0 .2cqw rgba(255,255,255,.12); } 50% { box-shadow: 0 0 0 .45cqw rgba(52,211,153,.55); } }
.mbar { display: flex; justify-content: center; align-items: center; gap: .5cqw; height: var(--mb); }
/* the call, smaller once it's on the Duo */
.duo .meet { --mb: 1.5cqw; --av: 1.5cqw; }
.duo .meet .wt { font-size: .58cqw; left: 3cqw; right: 3cqw; }
.duo .meet .rec { display: none; }
.duo .meet .tiles { gap: .3cqw; padding: .3cqw; }
.duo .meet .tile i { font-size: .5cqw; box-shadow: none; }
.duo .meet .tile { border-radius: .4cqw; }
.duo .meet .tile span { font-size: .45cqw; left: .5cqw; bottom: .25cqw; }
.duo .meet .mbar { gap: .35cqw; }
.duo .meet .mbar span { width: .8cqw; height: .8cqw; }
.duo .meet .mbar span.end { width: 1.3cqw; }
.duo .meet .muted-mic { width: 1.25cqw; height: 1.25cqw; right: .3cqw; top: .3cqw; box-shadow: 0 0 0 .12cqw rgba(0,0,0,.35); }
.duo .meet .muted-mic svg { width: .78cqw; height: .78cqw; }
.mbar span { width: 1.3cqw; height: 1.3cqw; border-radius: 50%; background: rgba(255,255,255,.16); }
.mbar span.end { width: 2cqw; border-radius: 99px; background: #ef4444; }
.muted-mic { position: absolute; right: .4cqw; top: .4cqw; display: grid; place-items: center; width: 1.3cqw; height: 1.3cqw; border-radius: 50%; background: #ef4444; color: #fff; opacity: 0; transform: scale(.6); animation-name: muted-badge; }
.muted-mic svg { width: .8cqw; height: .8cqw; }
@keyframes muted-badge { 0%, 43.5% { opacity: 0; transform: scale(.6); } 44.5% { opacity: 1; transform: scale(1.15); } 45.5%, 56% { opacity: 1; transform: none; } 58%, 100% { opacity: 0; transform: scale(.6); } }

/* Terminal running Claude Code */
.term { background: rgba(14, 13, 24, .95); }
.tx { padding: .9cqw 1.1cqw; font: 500 .7cqw/1.7 var(--mono); color: #e9e6f4; }
.tx p { margin: 0; white-space: nowrap; overflow: hidden; }
.tx .hd { color: #f0a479; font-weight: 700; margin-bottom: .3cqw; }
.tx .star { color: #f0a479; }
.tx .pr { color: rgba(255,255,255,.5); }
.tx .ok { color: #34d399; }
.tx .wa { color: #fbbf24; }
.tx .dim { color: rgba(255,255,255,.55); }
.tx .del { color: #f87171; }
.tx .add { color: #34d399; }
.tx .pass { color: #34d399; font-weight: 600; }
.tx u { text-decoration: none; color: #a5b4fc; }
.tx .type { clip-path: inset(0 100% 0 0); }
.ty1 { animation-name: type-a; }
.ty2 { animation-name: type-b; }
.ty3 { animation-name: type-c; }
@keyframes type-a { 0%, 24% { clip-path: inset(0 100% 0 0); opacity: 1; } 28.5%, 86% { clip-path: inset(0 0 0 0); opacity: 1; } 89% { opacity: 0; } 89.1%, 100% { clip-path: inset(0 100% 0 0); opacity: 1; } }
@keyframes type-b { 0%, 58.5% { clip-path: inset(0 100% 0 0); opacity: 1; } 61%, 86% { clip-path: inset(0 0 0 0); opacity: 1; } 89% { opacity: 0; } 89.1%, 100% { clip-path: inset(0 100% 0 0); opacity: 1; } }
@keyframes type-c { 0%, 69% { clip-path: inset(0 100% 0 0); opacity: 1; } 71.5%, 86% { clip-path: inset(0 0 0 0); opacity: 1; } 89% { opacity: 0; } 89.1%, 100% { clip-path: inset(0 100% 0 0); opacity: 1; } }

/* Reduce Motion: a still frame with the window already on the Duo */
@media (prefers-reduced-motion: reduce) {
  .scene *, .scene { animation: none !important; }
  .scene .mover, .scene .cursor { opacity: 0; }
  .scene .arrive { transform: none; }
  .tx .type { clip-path: none; }
}

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

section { position: relative; }
.section { padding: clamp(80px, 12vw, 150px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .lede { margin-top: 20px; }

.glass {
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  backdrop-filter: blur(24px) saturate(150%);
  box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 30px 60px -30px rgba(0,0,0,.5);
}

/* soft dusk glow behind dark sections */
.glow { isolation: isolate; }
.glow::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 900px; height: 700px; border-radius: 50%;
  filter: blur(40px);
  opacity: .5;
}
.glow-violet::before { left: -300px; top: 10%; background: radial-gradient(closest-side, rgba(77,56,133,.9), transparent); }
.glow-teal::before   { right: -320px; top: 20%; background: radial-gradient(closest-side, rgba(31,69,92,.95), transparent); }
.glow-rose::before   { left: 50%; top: 30%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(158,87,143,.6), transparent); }

/* ---------- Pillars ---------- */

.pillar {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.pillar + .pillar { margin-top: clamp(96px, 14vw, 170px); }
.pillar.flip .pillar-text { order: 2; }
.pillar-text h2 { margin-bottom: 20px; text-wrap: balance; }
.pillar-text .lede + .lede { margin-top: 16px; }
.pillar-num {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 18px;
}
@media (max-width: 860px) {
  .pillar { grid-template-columns: 1fr; }
  .pillar.flip .pillar-text { order: 0; }
}

/* feature tiles */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tile { padding: 22px; border-radius: var(--radius); }
.tile svg { width: 26px; height: 26px; color: var(--accent); margin-bottom: 14px; }
.tile h3 { font-size: 1.04rem; letter-spacing: -0.01em; margin-bottom: 4px; }
.tile p { font-size: .95rem; color: var(--text-3); line-height: 1.45; }
.tile.wide { grid-column: 1 / -1; }
@media (max-width: 480px) { .tiles { grid-template-columns: 1fr; } }

/* ---------- Deck demo ---------- */

.deck {
  padding: clamp(18px, 3vw, 28px);
  border-radius: 34px;
  position: relative; overflow: hidden; isolation: isolate;
}
.deck::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(70% 60% at 80% 90%, rgba(245,148,117,.35), transparent 70%),
    radial-gradient(60% 60% at 10% 0%, rgba(77,56,133,.6), transparent 70%);
}
.deck-tabs {
  display: flex; flex-wrap: wrap; gap: 2px;
  padding: 4px; border-radius: 22px;
  background: rgba(0,0,0,.22); border: 1px solid var(--hairline);
  width: fit-content; max-width: 100%;
  margin-bottom: 18px;
}
.deck-tabs button {
  appearance: none; border: 0; cursor: pointer;
  font: 500 .84rem/1 var(--font); color: rgba(255,255,255,.82);
  padding: 9px 11px; border-radius: 999px; background: transparent;
}
.deck-tabs button:hover { color: #fff; background: rgba(255,255,255,.08); }
.deck-tabs button[aria-pressed="true"] { background: rgba(255,255,255,.92); color: #17183a; }
.deck-now {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: .86rem; color: var(--text-3); margin: 0 4px 14px;
}
.deck-now strong { color: #fff; font-weight: 600; }
.deck-now .dot { width: 8px; height: 8px; border-radius: 50%; background: #5ee08a; display: inline-block; margin-right: 8px; box-shadow: 0 0 10px #5ee08a; }
.keys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.key {
  aspect-ratio: 1 / .86;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.07));
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 8px 20px -10px rgba(0,0,0,.6);
  font-size: clamp(.68rem, 1.6vw, .86rem); font-weight: 600; text-align: center; line-height: 1.15;
  padding: 6px; color: #fff;
}
.key svg { width: 26%; max-width: 30px; height: auto; aspect-ratio: 1; opacity: .95; }
.keys.meeting { grid-template-columns: repeat(3, 1fr); }
.keys.meeting .key.big { grid-column: span 1; aspect-ratio: 1 / 1.05; font-size: clamp(.8rem, 2vw, 1rem); }
.key.danger { background: linear-gradient(180deg, rgba(255,92,92,.85), rgba(214,52,64,.85)); border-color: rgba(255,140,140,.6); }
.key.on { background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(240,236,255,.82)); color: #17183a; }
.keys.meeting .small { aspect-ratio: auto; min-height: 56px; flex-direction: row; font-size: .82rem; }
.keys.meeting .small svg { width: 18px; }
.deck-note { margin-top: 14px; font-size: .82rem; color: var(--text-3); text-align: center; }
[hidden] { display: none !important; }

/* ---------- Phone frame (real screenshot) ---------- */

.phone {
  position: relative;
  width: min(380px, 86%);
  margin: 0 auto;
  padding: 12px;
  border-radius: 54px;
  background: linear-gradient(145deg, #3a3a4c, #15151f 40%, #2a2a38);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.22) inset,
    0 0 0 4px #0b0b12 inset,
    0 50px 90px -30px rgba(0,0,0,.7),
    0 0 120px -20px rgba(158,87,143,.45);
}
.phone img { border-radius: 42px; width: 100%; }

/* ---------- Duo band ---------- */

.band {
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center;
  padding: clamp(26px, 4vw, 40px);
}
.band svg { width: 56px; height: 56px; color: var(--accent); }
.band h3 { margin-bottom: 6px; }
.band p { color: var(--text-2); }
@media (max-width: 560px) { .band { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- Steps ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { padding: 30px 28px 32px; counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  margin-bottom: 22px;
  font-weight: 700; font-size: 1.05rem; color: #17183a;
  background: linear-gradient(135deg, #ffd0bf, var(--peach));
}
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--text-3); font-size: .98rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

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

.price-card {
  max-width: 640px; margin: 0 auto; text-align: center;
  padding: clamp(36px, 6vw, 60px) clamp(22px, 5vw, 56px);
  position: relative; overflow: hidden; isolation: isolate;
}
.price-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(70% 60% at 50% 115%, rgba(245,148,117,.38), transparent 70%),
    radial-gradient(60% 60% at 0% 0%, rgba(77,56,133,.55), transparent 70%),
    radial-gradient(60% 60% at 100% 0%, rgba(219,107,128,.25), transparent 70%);
}
.price {
  display: flex; align-items: baseline; justify-content: center; gap: 12px;
  margin: 10px 0 6px;
}
.price strong { font-size: clamp(4rem, 12vw, 6.4rem); letter-spacing: -0.06em; line-height: 1; font-weight: 700; }
.price span { font-size: 1.3rem; color: var(--text-2); font-weight: 500; }
.checks {
  list-style: none; padding: 0; margin: 30px auto 34px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; max-width: 440px; text-align: left;
}
.checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); }
.checks svg { width: 20px; height: 20px; color: #8fe3b0; flex: none; margin-top: 3px; }
@media (max-width: 480px) { .checks { grid-template-columns: 1fr; } }

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

.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: var(--radius); padding: 0; }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 24px;
  font-size: 1.08rem; font-weight: 600; letter-spacing: -0.01em;
  border-radius: var(--radius);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 10px; height: 10px;
  border-right: 2px solid var(--text-2); border-bottom: 2px solid var(--text-2);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.faq .answer { padding: 0 24px 24px; color: var(--text-2); }
.faq .answer p + p { margin-top: 10px; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* ---------- CTA ---------- */

.cta { text-align: center; }
.cta h2 { max-width: 16ch; margin: 0 auto 20px; text-wrap: balance; }
.cta .actions { margin-top: 30px; }

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

.footer {
  border-top: 1px solid var(--hairline);
  padding: 40px 0 56px;
  color: var(--text-3); font-size: .92rem;
}
.footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer nav ul { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; margin: 0; padding: 0; }
.footer a { color: var(--text-2); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer .brand { font-size: 1rem; }
.footer .brand img { width: 24px; height: 24px; border-radius: 6px; }

/* ---------- Inner pages (mac / privacy / support) ---------- */

.page-hero { padding-top: 150px; padding-bottom: 72px; text-align: center; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
.page-hero .lede { max-width: 34em; margin: 20px auto 0; color: rgba(255,255,255,.86); }
.page-hero .actions { margin-top: 32px; }
.page-hero .fine { margin-top: 14px; font-size: .92rem; color: rgba(255,255,255,.78); }
.page-hero .app-icon { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 26px; box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 20px 50px rgba(10,6,40,.5); }

.prose { max-width: 720px; margin: 0 auto; }
.prose h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin: 64px 0 18px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin: 30px 0 8px; }
.prose p, .prose li { color: var(--text-2); }
.prose p + p { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 12px 0 0; }
.prose li + li { margin-top: 8px; }
.prose strong { color: #fff; font-weight: 600; }
.prose kbd, .prose .path {
  font-family: var(--font); font-size: .95em; font-weight: 600; color: #fff;
  background: rgba(255,255,255,.08); border: 1px solid var(--hairline); border-radius: 6px;
  padding: 1px 7px; white-space: nowrap;
}

.card { padding: clamp(24px, 4vw, 36px); }
.card + .card { margin-top: 16px; }

.req { display: flex; gap: 18px; align-items: flex-start; }
.req svg { width: 34px; height: 34px; color: var(--accent); flex: none; margin-top: 2px; }
.req h2 { margin: 0 0 6px !important; font-size: 1.25rem !important; letter-spacing: -0.02em; }

.install { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: 12px; }
.install > li {
  counter-increment: s;
  display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start;
  padding: 24px 26px;
}
.install > li::before {
  content: counter(s);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  font-weight: 700; color: #17183a; background: linear-gradient(135deg, #ffd0bf, var(--peach));
}
.install h3 { margin: 6px 0 6px !important; font-size: 1.12rem !important; }
.install p { color: var(--text-2); }
.install .why { margin-top: 10px; display: grid; gap: 8px; }
.install .why p { padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid var(--hairline); font-size: .96rem; }
@media (max-width: 480px) {
  .install > li { grid-template-columns: 1fr; gap: 12px; padding: 22px; }
}

.policy { padding: clamp(28px, 5vw, 56px); }
.policy h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 10px; }
.policy .updated { color: var(--text-3); margin-bottom: 36px; font-size: .95rem; }
.policy p { color: var(--text-2); font-size: 1.05rem; line-height: 1.65; }
.policy p + p { margin-top: 20px; }
.policy p.lead { color: #fff; font-size: 1.25rem; letter-spacing: -0.01em; line-height: 1.5; }
.policy strong { color: #fff; }

.mail {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: clamp(1.2rem, 3.6vw, 1.6rem); font-weight: 600; letter-spacing: -0.02em;
  color: #fff; text-decoration: none; word-break: break-all;
}
.mail:hover { color: var(--accent); }

ul.keys { list-style: none; padding: 0; margin: 0; }
.key .muted { font-weight: 500; font-size: .85em; font-family: var(--font); letter-spacing: .02em; }
.cta .lede { margin-top: 0; }
.prose .install { padding-left: 0; margin-top: 0; }
.prose .install > li + li { margin-top: 0; }
.prose h3, .install h3 { color: #fff; }
@media (max-width: 520px) {
  .deck-tabs { flex-wrap: nowrap; overflow-x: auto; border-radius: 999px; scrollbar-width: none; }
  .deck-tabs::-webkit-scrollbar { display: none; }
  .deck-tabs button { white-space: nowrap; flex: none; }
  .keys { gap: 7px; }
  .key { border-radius: 14px; }
}

/* Thanks page: the unlock code */
.code-card { max-width: 560px; margin: 32px auto 0; padding: 28px var(--gutter); border-radius: var(--radius-lg); text-align: center; }
.code-card .code { font-family: var(--mono); font-size: clamp(24px, 7vw, 36px); font-weight: 600; letter-spacing: .06em; margin: 8px 0 20px; user-select: all; overflow-wrap: anywhere; }
.code-card .fine { margin-top: 18px; }

/* TestFlight sign-up */
.beta { max-width: 560px; margin: 34px auto 0; }
.beta-row {
  display: flex; gap: 6px; padding: 6px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid var(--hairline-2);
  -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 18px 50px rgba(8, 6, 30, .35);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.beta-row:focus-within { border-color: rgba(255, 210, 194, .7); box-shadow: 0 0 0 4px rgba(255, 181, 156, .18), 0 18px 50px rgba(8, 6, 30, .35); }
.beta.error .beta-row { border-color: #ff9a9a; }
.beta input[type=email] {
  flex: 1; min-width: 0; padding: 0 20px; border: 0; outline: 0; background: transparent;
  font: 500 1.05rem var(--font); color: #fff;
}
.beta input[type=email]::placeholder { color: rgba(255, 255, 255, .5); }
.beta .btn { min-height: 52px; flex: none; position: relative; }
.beta.sending .btn span { opacity: 0; }
.beta.sending .btn::after {
  content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid rgba(20, 22, 58, .25); border-top-color: #14163a; animation: beta-spin .7s linear infinite;
}
@keyframes beta-spin { to { transform: rotate(360deg); } }
.beta-devices { border: 0; margin: 14px 0 0; padding: 0; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; }
.beta-devices legend { float: left; margin-right: 4px; font-size: .9rem; color: rgba(255,255,255,.7); }
.beta-devices label { cursor: pointer; }
.beta-devices input { position: absolute; opacity: 0; pointer-events: none; }
.beta-devices span {
  display: inline-block; padding: 7px 14px; border-radius: 999px; font-size: .9rem; font-weight: 500;
  color: rgba(255,255,255,.85); border: 1px solid var(--hairline-2); background: rgba(255,255,255,.06);
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.beta-devices input:checked + span { background: #fff; color: #14163a; border-color: #fff; }
.beta-devices input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.beta-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.beta-status { min-height: 1.4em; margin-top: 14px; font-size: .95rem; color: rgba(255,255,255,.85); }
.beta.error .beta-status { color: #ffb3b3; }
.beta.done .beta-row, .beta.done .beta-devices { display: none; }
.beta.done .beta-status {
  margin: 0; padding: 18px 22px; border-radius: var(--radius); font-size: 1.05rem; font-weight: 500; color: #fff;
  background: rgba(255, 255, 255, 0.1); border: 1px solid var(--hairline-2);
}
.beta.done .beta-status::before { content: "✓  "; color: var(--accent); font-weight: 700; }
@media (max-width: 520px) {
  .beta-row { flex-direction: column; border-radius: 26px; padding: 8px; }
  .beta input[type=email] { min-height: 50px; text-align: center; }
  .beta .btn { width: 100%; }
}
