/* Sprocket site styles. Hand-written, no build step.
   Dark first, with a real light theme through prefers-color-scheme. */

:root {
  color-scheme: dark light;
  --bg: #06060a;
  --bg-2: #0c0c14;
  --surface: rgba(255, 255, 255, .045);
  --surface-2: rgba(255, 255, 255, .08);
  --card: #0e0e16;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .18);
  --text: #f5f5f8;
  --text-2: #b6b6c2;
  --text-3: #8d8d9a;
  --accent: #9aa8ff;
  --ok: #5fd39a;
  --no: #ff8f9f;
  --grad: linear-gradient(110deg, #ff86bb 0%, #a98cff 48%, #6fd6ff 100%);
  --grad-btn: linear-gradient(135deg, #2f6bef 0%, #7c4df0 100%);
  --glow-a: rgba(124, 77, 240, .34);
  --glow-b: rgba(47, 107, 239, .26);
  --glow-c: rgba(255, 134, 187, .16);
  --shadow: 0 40px 120px rgba(0, 0, 0, .6);
  --nav-bg: rgba(10, 10, 16, .66);
  --glow-strength: .55;
  --radius: 28px;
  --radius-s: 18px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f5f5f9;
    --bg-2: #ffffff;
    --surface: rgba(255, 255, 255, .72);
    --surface-2: rgba(255, 255, 255, .95);
    --card: #ffffff;
    --line: rgba(14, 14, 40, .09);
    --line-2: rgba(14, 14, 40, .2);
    --text: #0a0a13;
    --text-2: #474756;
    --text-3: #636373;
    --accent: #4a45d6;
    --ok: #12804d;
    --no: #c42847;
    --grad: linear-gradient(110deg, #d8368a 0%, #7445ee 48%, #0b88c4 100%);
    --glow-a: rgba(124, 77, 240, .2);
    --glow-b: rgba(47, 107, 239, .16);
    --glow-c: rgba(255, 134, 187, .2);
    --shadow: 0 40px 100px rgba(40, 30, 90, .22);
    --nav-bg: rgba(250, 250, 253, .72);
    --glow-strength: .36;
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  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;
  overflow-x: clip;
  position: relative;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
ul { list-style: none; }
::selection { background: rgba(124, 77, 240, .35); }

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

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--card); color: var(--text);
  padding: 10px 16px; border-radius: 12px; border: 1px solid var(--line-2);
  text-decoration: none; font-weight: 600; font-size: 15px;
}
.skip:focus { top: 12px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }

/* ---------- type ---------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 650; letter-spacing: .09em; text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 18px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }

h1, h2, h3 { text-wrap: balance; }

h1 {
  font-size: clamp(42px, 8.2vw, 104px);
  line-height: .98;
  letter-spacing: -.045em;
  font-weight: 700;
}
h2 {
  font-size: clamp(34px, 5.6vw, 68px);
  line-height: 1.02;
  letter-spacing: -.038em;
  font-weight: 700;
}
h3 { font-size: 21px; line-height: 1.2; letter-spacing: -.02em; font-weight: 650; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  /* keep descenders inside the painted box */
  padding-bottom: .08em;
}

.lede {
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.5;
  color: var(--text-2);
  max-width: 640px;
  text-wrap: pretty;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 12px 24px;
  border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-size: 16px; font-weight: 620; letter-spacing: -.01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary {
  background: var(--grad-btn); color: #fff;
  box-shadow: 0 10px 34px rgba(88, 84, 240, .42), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(88, 84, 240, .55), inset 0 1px 0 rgba(255, 255, 255, .28); }
.btn-glass {
  background: var(--surface); color: var(--text); border-color: var(--line-2);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
}
.btn-glass:hover { transform: translateY(-2px); background: var(--surface-2); }
.btn-small { min-height: 38px; padding: 7px 16px; font-size: 14.5px; }
.btn-block { width: 100%; white-space: normal; text-align: center; flex-wrap: wrap; }

/* Placeholder state for store buttons before launch. */
.btn[aria-disabled="true"] { cursor: default; }
.btn[aria-disabled="true"]:hover { transform: none; }
.btn-glass[aria-disabled="true"] { border-style: dashed; color: var(--text-2); }
.btn-glass[aria-disabled="true"]:hover { background: var(--surface); }
.btn-primary[aria-disabled="true"] { box-shadow: 0 10px 34px rgba(88, 84, 240, .3), inset 0 1px 0 rgba(255, 255, 255, .28); }
.btn-primary[aria-disabled="true"] .soon { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .3); color: #fff; }
.btn .soon {
  font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px;
  background: var(--surface-2); color: var(--text); border: 1px solid var(--line);
}

/* ---------- nav ---------- */

.nav {
  position: sticky; top: 12px; z-index: 100;
  margin-top: 12px;
}
.nav-inner {
  display: flex; align-items: center; gap: 8px;
  max-width: 1120px; margin-inline: auto;
  padding: 8px 8px 8px 16px;
  border-radius: 999px;
  background: var(--nav-bg);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(28px) saturate(1.6); backdrop-filter: blur(28px) saturate(1.6);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .18);
}
.nav-pad { padding-inline: clamp(12px, 3vw, 40px); }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none;
  font-weight: 680; font-size: 18px; letter-spacing: -.02em;
}
.brand img { width: 30px; height: 30px; border-radius: 22.5%; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-links a:not(.btn) {
  color: var(--text-2); text-decoration: none;
  font-size: 14.5px; font-weight: 520;
  padding: 8px 13px; border-radius: 999px;
  transition: color .2s, background-color .2s;
}
.nav-links a:not(.btn):hover { color: var(--text); background: var(--surface-2); }
.nav .btn { margin-left: 6px; }

/* ---------- background glow ---------- */

.aurora {
  position: absolute; inset: -140px 0 auto 0; height: 1100px; z-index: -1;
  pointer-events: none; overflow: hidden;
}
.aurora::before, .aurora::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(90px);
}
.aurora::before {
  width: 900px; height: 620px; left: 50%; top: 40px; margin-left: -760px;
  background: radial-gradient(closest-side, var(--glow-a), transparent);
}
.aurora::after {
  width: 900px; height: 640px; left: 50%; top: 120px; margin-left: -120px;
  background: radial-gradient(closest-side, var(--glow-b), transparent 70%),
              radial-gradient(closest-side at 70% 30%, var(--glow-c), transparent);
}

.grain {
  position: fixed; inset: 0; z-index: 150; pointer-events: none; opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* A blurred copy of the artwork sits behind each product image,
   the same idea the apps use behind their own artwork. */
.glow { position: relative; isolation: isolate; }
.glow::before {
  content: ""; position: absolute; z-index: -1;
  inset: 6% -4% -9% -4%;
  background: center / cover no-repeat;
  filter: blur(80px) saturate(2);
  opacity: var(--glow-strength);
  border-radius: 40px;
}

.glow-home::before { background-image: url(mac-home-dark.jpg); }
.glow-phones::before { background-image: url(phone-person.jpg); inset: 12% 6% 0 6%; }
.glow-pro::before { background-image: url(phone-home-dark.jpg); inset: 6% -8% 2% -8%; opacity: calc(var(--glow-strength) * .8); }

/* ---------- device frames (drawn in CSS) ---------- */

.mac {
  border-radius: clamp(10px, 1.4vw, 18px);
  overflow: hidden;
  background: #121218;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: var(--shadow), 0 0 0 1px rgba(0, 0, 0, .5);
}
.mac-bar {
  display: flex; align-items: center; gap: 7px;
  height: clamp(20px, 2.6vw, 34px); padding-inline: clamp(9px, 1.2vw, 15px);
  background: linear-gradient(#24242c, #1a1a21);
  border-bottom: 1px solid rgba(0, 0, 0, .5);
}
.mac-bar i {
  width: clamp(6px, .9vw, 12px); height: clamp(6px, .9vw, 12px); border-radius: 50%;
  background: #ff5f57;
}
.mac-bar i:nth-child(2) { background: #febc2e; }
.mac-bar i:nth-child(3) { background: #28c840; }
.mac img { width: 100%; }

@media (prefers-color-scheme: light) {
  .mac.themed { background: #fff; border-color: rgba(14, 14, 40, .16); box-shadow: var(--shadow); }
  .mac.themed .mac-bar { background: linear-gradient(#f4f4f7, #e9e9ee); border-bottom-color: rgba(14, 14, 40, .1); }
}

.phone {
  --w: 240px;
  position: relative; flex: none;
  width: var(--w);
  padding: calc(var(--w) * .032);
  border-radius: calc(var(--w) * .175);
  background: linear-gradient(145deg, #3a3a45 0%, #15151b 34%, #0b0b10 70%, #2b2b35 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .22),
    inset 0 0 0 calc(var(--w) * .012) #08080c,
    0 30px 80px rgba(0, 0, 0, .55);
}
.phone img {
  width: 100%;
  border-radius: calc(var(--w) * .145);
  background: #0b0b10;
}
.phone::after {
  content: ""; position: absolute;
  left: 50%; top: calc(var(--w) * .062);
  width: calc(var(--w) * .29); height: calc(var(--w) * .085);
  margin-left: calc(var(--w) * -.145);
  border-radius: 999px; background: #000;
}
@media (prefers-color-scheme: light) {
  .phone { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), inset 0 0 0 calc(var(--w) * .012) #08080c, 0 30px 70px rgba(40, 30, 90, .28); }
}

/* ---------- hero ---------- */

.hero { position: relative; padding-top: clamp(56px, 9vw, 120px); text-align: center; }
.hero h1 { max-width: 12ch; margin-inline: auto; }
.hero .lede { margin: 26px auto 0; max-width: 600px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }
.hero-note { margin-top: 18px; font-size: 14.5px; color: var(--text-3); }
.hero-note a { font-weight: 600; white-space: nowrap; }

.stage {
  position: relative;
  max-width: 1180px; margin: clamp(48px, 7vw, 88px) auto 0;
  padding-inline: clamp(20px, 4vw, 40px);
  padding-bottom: clamp(28px, 4.5vw, 64px);
}
.stage .mac { transform: translate3d(0, calc(var(--p, 0) * -18px), 0); }
.stage .phone {
  --w: clamp(104px, 21vw, 262px);
  position: absolute; right: clamp(6px, 3vw, 44px); bottom: 0;
  transform: translate3d(0, calc(var(--p, 0) * -70px), 0);
}

/* ---------- sections ---------- */

.section { position: relative; padding-block: clamp(84px, 11vw, 150px); }
.section + .section { padding-top: 0; }
.section-head { max-width: 780px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lede { margin-inline: auto; }
.section-head .lede { margin-top: 22px; }

/* bento */
.bento {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px;
  margin-top: clamp(40px, 6vw, 72px);
}
.tile {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  transition: border-color .3s, transform .5s var(--ease);
}
.tile:hover { border-color: var(--line-2); }
.tile-copy { padding: clamp(24px, 3vw, 36px); padding-bottom: 0; }
.tile-copy p { margin-top: 9px; color: var(--text-2); font-size: 16px; max-width: 46ch; }
.tile-kicker {
  display: block; margin-bottom: 10px;
  font-size: 12.5px; font-weight: 680; letter-spacing: .09em; text-transform: uppercase;
  color: var(--accent);
}
.tile-shot {
  margin: clamp(22px, 3vw, 34px) 0 0 clamp(24px, 3vw, 36px);
  border-radius: 14px 0 0 0; overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, .14); border-left: 1px solid rgba(255, 255, 255, .14);
  box-shadow: -20px -10px 60px rgba(0, 0, 0, .35);
}
.tile-shot img { width: 128%; max-width: none; aspect-ratio: 16 / 9; object-fit: cover; object-position: left top; }
.tile-shot.fit img { width: 100%; }
.tile.wide { grid-column: span 7; }
.tile.narrow { grid-column: span 5; }
.tile.wide .tile-shot img { aspect-ratio: 16 / 8.2; }
.tile.narrow .tile-shot img { aspect-ratio: 16 / 11.9; }

.feats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: 16px;
}
.feat {
  border-radius: var(--radius-s);
  background: var(--surface); border: 1px solid var(--line);
  padding: 24px;
}
.feat p { margin-top: 7px; color: var(--text-2); font-size: 15.5px; }
.feat h3 { font-size: 18px; }
.ico {
  display: grid; place-items: center;
  width: 42px; height: 42px; margin-bottom: 16px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(47, 107, 239, .2), rgba(124, 77, 240, .2));
  border: 1px solid var(--line);
  color: var(--accent);
}
.ico svg { width: 21px; height: 21px; }
.swatches { display: flex; gap: 7px; margin-top: 14px; }
.swatches i { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }

/* companion */
.split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: clamp(36px, 6vw, 88px); align-items: center;
}
.fan {
  display: flex; justify-content: center; align-items: flex-end;
  --art: none;
}
.fan .phone { --w: clamp(96px, 14.6vw, 190px); }
.fan .phone:nth-child(1) { margin-right: calc(var(--w) * -.16); margin-bottom: calc(var(--w) * .28); z-index: 1; transform: translate3d(0, calc(var(--p, 0) * 26px), 0); }
.fan .phone:nth-child(2) { --w: clamp(112px, 17.4vw, 226px); z-index: 2; }
.fan .phone:nth-child(3) { margin-left: calc(var(--w) * -.16); margin-bottom: calc(var(--w) * .28); z-index: 1; transform: translate3d(0, calc(var(--p, 0) * 26px), 0); }

.checks { margin-top: 28px; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; color: var(--text-2); font-size: 16.5px; }
.checks li strong { color: var(--text); font-weight: 620; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 22px; height: 22px; border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 12.5 3.2 3.2L17 9'/%3E%3C/svg%3E") center / 16px no-repeat,
    var(--grad-btn);
}

.strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: clamp(48px, 7vw, 88px);
}

/* pro */
.pro {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line-2);
  background:
    radial-gradient(90% 70% at 85% 0%, rgba(124, 77, 240, .34), transparent 62%),
    radial-gradient(70% 60% at 0% 100%, rgba(47, 107, 239, .26), transparent 60%),
    radial-gradient(50% 40% at 40% 0%, rgba(255, 134, 187, .12), transparent 70%),
    var(--card);
  padding: clamp(28px, 5vw, 72px);
}
.pro-top {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(28px, 5vw, 72px); align-items: center;
}
.pro-top .phone { --w: clamp(200px, 24vw, 290px); margin-inline: auto; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 13px 6px 8px; margin-bottom: 22px;
  border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--surface);
  font-size: 13.5px; font-weight: 650; color: var(--text);
}
.pill b {
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px; background: var(--grad-btn); color: #fff;
}
.pro-price { margin-top: 26px; font-size: 16px; color: var(--text-2); }
.pro-price strong { color: var(--text); font-weight: 650; }

.diagram {
  margin-top: clamp(36px, 5vw, 64px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 62%, transparent);
  padding: clamp(20px, 3vw, 36px);
}
.diagram > h3 { font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); font-weight: 680; }
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.path {
  border-radius: var(--radius-s); border: 1px solid var(--line);
  background: var(--surface);
  padding: clamp(18px, 2.4vw, 28px);
}
.path-tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(95, 211, 154, .14); color: var(--ok); border: 1px solid rgba(95, 211, 154, .32);
}
.path.relay .path-tag { background: rgba(154, 168, 255, .14); color: var(--accent); border-color: rgba(154, 168, 255, .34); }
.path h4 { margin-top: 12px; font-size: 19px; letter-spacing: -.02em; font-weight: 650; }
.path > p { margin-top: 6px; color: var(--text-2); font-size: 15.5px; }

.route { display: flex; align-items: flex-start; margin-top: 26px; }
.node { flex: none; width: 68px; text-align: center; font-size: 12.5px; font-weight: 600; color: var(--text-2); line-height: 1.25; }
.node-box {
  display: grid; place-items: center;
  width: 54px; height: 54px; margin: 0 auto 8px;
  border-radius: 16px; border: 1px solid var(--line-2);
  background: var(--surface-2); color: var(--text);
}
.node-box svg { width: 25px; height: 25px; }
.node.lock .node-box { background: var(--grad-btn); color: #fff; border-color: transparent; box-shadow: 0 8px 26px rgba(88, 84, 240, .45); }
.wire {
  flex: 1; min-width: 18px; height: 54px; position: relative;
}
.wire::before {
  content: ""; position: absolute; left: 4px; right: 4px; top: 26px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--ok) 0 50%, transparent 50% 100%) 0 0 / 14px 3px repeat-x;
  opacity: .9;
}
.path.relay .wire::before { background-image: linear-gradient(90deg, var(--accent) 0 50%, transparent 50% 100%); }
.wire span {
  position: absolute; left: 0; right: 0; top: 0; text-align: center;
  font-size: 11.5px; font-weight: 650; color: var(--text-3); white-space: nowrap;
}

.sees { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.sees-col {
  border-radius: var(--radius-s); border: 1px solid var(--line);
  background: var(--surface);
  padding: clamp(18px, 2.4vw, 28px);
}
.sees-col h4, .doc .sees-col h3 { margin: 0; font-size: 17px; font-weight: 650; letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; }
.sees-col h4 svg, .sees-col h3 svg { width: 20px; height: 20px; flex: none; }
.sees-col.yes svg { color: var(--accent); }
.sees-col.never svg { color: var(--ok); }
.sees-col ul { margin-top: 14px; display: grid; gap: 9px; }
.sees-col li { position: relative; padding-left: 20px; color: var(--text-2); font-size: 15.5px; }
.sees-col li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); }
.sees-col.never li::before { background: var(--ok); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.duo-tile { background: color-mix(in srgb, var(--bg) 62%, transparent); display: flex; flex-direction: column; }
.duo-tile .tile-copy { flex: 1; }
.peek { height: clamp(250px, 30vw, 380px); overflow: hidden; margin-top: clamp(22px, 3vw, 34px); display: flex; justify-content: center; }
.peek .phone { --w: clamp(210px, 24vw, 290px); align-self: flex-start; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), inset 0 0 0 calc(var(--w) * .012) #08080c; }
.diagram-note { margin-top: 18px; font-size: 14.5px; color: var(--text-3); max-width: 78ch; }

/* privacy */
.privacy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(40px, 6vw, 72px); }
.statement {
  font-size: clamp(22px, 2.9vw, 34px); line-height: 1.25; letter-spacing: -.025em; font-weight: 600;
  color: var(--text-3);
  max-width: 900px; margin: clamp(40px, 6vw, 72px) auto 0; text-align: center; text-wrap: balance;
}
.statement strong { color: var(--text); font-weight: 600; }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 30px; font-weight: 600; font-size: 16px; text-decoration: none; }
.more:hover { text-decoration: underline; }
.more svg { width: 16px; height: 16px; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 920px; margin: clamp(40px, 6vw, 72px) auto 0; align-items: stretch; }
.plan {
  display: flex; flex-direction: column;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  padding: clamp(24px, 2.8vw, 34px);
}
.plan.featured {
  border-color: transparent;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    var(--grad) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 30px 90px rgba(124, 77, 240, .22);
}
.plan-name { font-size: 15px; font-weight: 680; letter-spacing: .02em; color: var(--text-2); }
.plan-price { margin-top: 14px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.plan-price .amount { font-size: clamp(44px, 4.6vw, 58px); line-height: 1; font-weight: 700; letter-spacing: -.045em; }
.plan-price .per { font-size: 15.5px; color: var(--text-2); }
.plan-alt { margin-top: 8px; font-size: 15.5px; color: var(--text-2); min-height: 1.55em; }
.plan-tag { margin-top: 16px; font-size: 19px; font-weight: 640; letter-spacing: -.02em; }
.plan ul { margin: 20px 0 28px; display: grid; gap: 11px; flex: 1; align-content: start; }
.plan li { position: relative; padding-left: 26px; font-size: 15.5px; color: var(--text-2); }
.plan li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 16px; height: 16px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.plan-req { margin-top: 14px; font-size: 13.5px; color: var(--text-3); text-align: center; }
.plans-note { margin-top: 26px; text-align: center; font-size: 14.5px; color: var(--text-3); }

/* faq */
.faq { max-width: 860px; margin: clamp(36px, 5vw, 60px) auto 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 4px; cursor: pointer; list-style: none;
  font-size: clamp(18px, 1.8vw, 21px); font-weight: 620; letter-spacing: -.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line-2);
  background:
    linear-gradient(var(--text), var(--text)) center / 12px 1.6px no-repeat,
    linear-gradient(var(--text), var(--text)) center / 1.6px 12px no-repeat;
  transition: transform .35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 4px 26px; color: var(--text-2); max-width: 70ch; }
.faq details p + p { margin-top: -12px; }

/* closing */
.closing { text-align: center; padding-block: clamp(72px, 10vw, 140px); position: relative; }
.closing img.icon { width: 96px; height: 96px; margin: 0 auto 30px; border-radius: 22.5%; box-shadow: 0 24px 70px rgba(124, 77, 240, .45); }
.closing h2 { margin-inline: auto; }

/* footer */
.footer { border-top: 1px solid var(--line); padding-block: 44px 64px; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-left: auto; }
.footer-links a { color: var(--text-2); text-decoration: none; font-size: 15px; padding: 6px 0; }
.footer-links a:hover { color: var(--text); text-decoration: underline; }
.fine { margin-top: 22px; font-size: 13.5px; color: var(--text-3); max-width: 80ch; }

/* ---------- documents (privacy, terms, 404) ---------- */

.doc { max-width: 760px; margin-inline: auto; padding: clamp(48px, 8vw, 96px) clamp(20px, 4vw, 40px) clamp(72px, 10vw, 120px); position: relative; }
.doc h1 { font-size: clamp(38px, 6vw, 60px); letter-spacing: -.04em; line-height: 1.02; }
.doc .updated { margin-top: 14px; color: var(--text-3); font-size: 15px; }
.doc h2 { font-size: 24px; letter-spacing: -.025em; line-height: 1.2; margin: 48px 0 12px; font-weight: 660; }
.doc h3 { font-size: 18px; margin: 28px 0 8px; }
.doc p, .doc li { color: var(--text-2); font-size: 16.5px; line-height: 1.65; }
.doc p + p { margin-top: 14px; }
.doc strong { color: var(--text); font-weight: 620; }
.doc ul { margin: 12px 0; display: grid; gap: 9px; }
.doc ul li { position: relative; padding-left: 22px; }
.doc ul li::before { content: ""; position: absolute; left: 4px; top: .68em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.callout {
  margin-top: 34px; padding: 24px 26px;
  border-radius: var(--radius-s);
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    var(--grad) border-box;
  border: 1.5px solid transparent;
}
.callout p { color: var(--text); font-size: 18px; line-height: 1.5; font-weight: 520; }
.doc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.doc-grid .sees-col li::before { top: .68em; }

.lost { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 80px 20px; position: relative; }
.lost .code { font-size: clamp(96px, 22vw, 220px); line-height: .9; font-weight: 700; letter-spacing: -.06em; }
.lost p { margin: 18px auto 30px; color: var(--text-2); max-width: 44ch; }

/* ---------- motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .hero .rise { animation: rise 1s var(--ease) both; animation-delay: var(--d, 0s); }
  .wire::before { animation: flow 1.1s linear infinite; }
  @keyframes rise { from { opacity: 0; transform: translate3d(0, 22px, 0); } to { opacity: 1; transform: none; } }
  @keyframes flow { to { background-position: 14px 0; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stage .mac, .stage .phone, .fan .phone { transform: none !important; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- responsive ---------- */

@media (max-width: 1020px) {
  .nav-links a.opt { display: none; }
  .tile.wide, .tile.narrow { grid-column: span 12; }
  .tile.narrow .tile-shot img, .tile.wide .tile-shot img { aspect-ratio: 16 / 9; }
  .feats { grid-template-columns: repeat(2, 1fr); }
  .strip, .privacy-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split .fan { order: -1; }
  .fan .phone { --w: clamp(96px, 28vw, 220px); }
  .fan .phone:nth-child(2) { --w: clamp(112px, 33vw, 250px); }
  .pro-top { grid-template-columns: 1fr; }
  .pro-top .phone { --w: clamp(190px, 52vw, 260px); }
  .paths, .sees, .doc-grid, .duo { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 720px) {
  .nav-links a:not(.btn) { display: none; }
  .nav-links { margin-left: auto; }
}
@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .feats, .strip, .privacy-grid { grid-template-columns: 1fr; }
  .cta .btn { width: 100%; white-space: normal; flex-wrap: wrap; text-align: center; padding-inline: 16px; font-size: 15.5px; row-gap: 6px; }
  .pro { padding: 22px 16px; }
  .pro-top { padding: 6px 6px 0; }
  .diagram { padding: 16px 12px; }
  .diagram > h3 { padding-inline: 4px; }
  .path, .sees-col { padding: 16px 14px; }
  .wire span { display: none; }
  .wire { min-width: 14px; }
  .node { width: 54px; font-size: 11.5px; }
  .node-box { width: 46px; height: 46px; border-radius: 14px; }
  .wire { height: 46px; }
  .wire::before { top: 22px; }
  .wire span { font-size: 10.5px; top: -2px; }
  .footer-links { margin-left: 0; width: 100%; }
}
