/* MailBuzzr 7 product page. Colours are tokens on :root; html[data-theme] overrides the system choice. */

:root {
  --brand: #537afe;
  --brand-2: #8b6cff;
  --accent: #ff9f45;
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --card: #ffffff;
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --line: rgba(0, 0, 0, .1);
  --chip: rgba(0, 0, 0, .06);
  --chip-hover: rgba(0, 0, 0, .1);
  --nav: rgba(255, 255, 255, .72);
  --stage: #000000;
  --stage-text: #f5f5f7;
  --stage-text-2: #a1a1a6;
  --glow: rgba(83, 122, 254, .22);
  --shadow: 0 40px 80px -30px rgba(0, 0, 0, .35);
  --floor: rgba(0, 0, 0, .55);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000;
    --bg-alt: #0f0f11;
    --card: #1c1c1e;
    --text: #f5f5f7;
    --text-2: #a1a1a6;
    --line: rgba(255, 255, 255, .12);
    --chip: rgba(255, 255, 255, .08);
    --chip-hover: rgba(255, 255, 255, .14);
    --nav: rgba(18, 18, 20, .72);
    --stage: #0b0b0e;
    --glow: rgba(83, 122, 254, .32);
    --shadow: 0 40px 80px -30px rgba(0, 0, 0, .9);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #000000;
  --bg-alt: #0f0f11;
  --card: #1c1c1e;
  --text: #f5f5f7;
  --text-2: #a1a1a6;
  --line: rgba(255, 255, 255, .12);
  --chip: rgba(255, 255, 255, .08);
  --chip-hover: rgba(255, 255, 255, .14);
  --nav: rgba(18, 18, 20, .72);
  --stage: #0b0b0e;
  --glow: rgba(83, 122, 254, .32);
  --shadow: 0 40px 80px -30px rgba(0, 0, 0, .9);
  color-scheme: dark;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.47 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", sans-serif;
  letter-spacing: -.022em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .3s, color .3s;
}

h1, h2, h3 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", sans-serif;
  margin: 0;
  letter-spacing: -.03em;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }

.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--text-2); }

.headline { font-size: clamp(40px, 6.4vw, 80px); line-height: 1.05; font-weight: 700; }
.title { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.07; font-weight: 700; }
.lede { font-size: clamp(19px, 2vw, 24px); line-height: 1.33; font-weight: 500; color: var(--text-2); max-width: 760px; }
.lede strong { color: var(--text); font-weight: 600; }
.center .lede { margin-inline: auto; }
sup { font-size: .55em; line-height: 0; }
sup a { color: inherit; }

section { padding: clamp(80px, 12vw, 160px) 0; }
.alt { background: var(--bg-alt); }

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

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 52px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--text); font-weight: 600; font-size: 18px; }
.brand:hover { text-decoration: none; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.brand b { font-weight: 700; background: linear-gradient(135deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 13px; }
.nav-links a { color: var(--text-2); }
.nav-links a:hover { color: var(--text); text-decoration: none; }

.theme-switch {
  display: flex;
  padding: 3px;
  border-radius: 99px;
  background: var(--chip);
}
.theme-switch button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 24px;
  border: 0;
  border-radius: 99px;
  background: none;
  color: var(--text-2);
  cursor: pointer;
}
.theme-switch button[aria-pressed="true"] { background: var(--card); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .18); }
.theme-switch svg { width: 15px; height: 15px; }

.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: 99px;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.pill-btn:hover { text-decoration: none; filter: brightness(1.08); }

@media (max-width: 833px) {
  .nav-links { display: none; }
  .theme-switch { margin-left: auto; }
  .nav .wrap { gap: 12px; }
}

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

.ctas { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px; margin-top: 30px; }
.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px 11px 18px;
  border-radius: 14px;
  background: var(--text);
  color: var(--bg);
  line-height: 1.1;
}
.store:hover { text-decoration: none; opacity: .88; }
.store svg { width: 24px; height: 24px; }
.store small { display: block; font-size: 11px; opacity: .8; }
.store span { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.more { font-size: 19px; }
.more::after { content: " ›"; }

/* ---------- Devices ---------- */
/* Proportions come from the Screenshot Studio frames; cqw is the device's own width. */

.dev { position: relative; container-type: inline-size; }
.dev .body {
  aspect-ratio: var(--ar);
  padding: calc(var(--b) * 1cqw);
  border-radius: calc(var(--r) * 1cqw);
  background: linear-gradient(150deg, #4a4a4e, #18181a 34%, #0c0c0d 66%, #3a3a3e);
  box-shadow:
    inset 0 0 0 calc(.35cqw + .5px) #6b6b70,
    inset 0 0 0 calc(.9cqw + 1px) #050505,
    var(--shadow);
}
.dev .screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: calc(var(--sr) * 1cqw);
  overflow: hidden;
  background: #000;
}
.dev .screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: opacity .45s ease;
}
.dev .screen img.out { opacity: 0; }

.iphone { --ar: 1092 / 2266; --b: 4.21; --r: 18.8; --sr: 14.65; }
.iphone .screen::after { /* Dynamic Island */
  content: "";
  position: absolute;
  z-index: 2;
  top: 2.6cqw;
  left: 50%;
  width: 28.4cqw;
  height: 8.4cqw;
  transform: translateX(-50%);
  border-radius: 99px;
  background: #000;
}
.ipad { --ar: 1116 / 1449.3; --b: 5.2; --r: 8.24; --sr: 3.58; }
.duo-landscape { --ar: 1489.5 / 1068; --b: 2.28; --r: 8.06; --sr: 5.77; }
.duo-folded { --ar: 1080 / 1535; --b: 3.7; --r: 15.74; --sr: 12.04; }

/* iPhone Duo open, with the folded one standing in front of it */
.duo-pair { position: relative; aspect-ratio: 1 / .6; }
.duo-pair .duo-landscape { position: absolute; bottom: 9%; right: 0; width: 76%; } /* a step behind, so higher */
.duo-pair .duo-folded { position: absolute; bottom: 0; left: 0; width: 38.35%; } /* as tall as the open one */

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

.hero {
  position: relative;
  padding: clamp(40px, 5vw, 64px) 0 0;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(60% 50% at 50% 70%, var(--glow), transparent 70%),
    var(--bg);
}
.eyebrow { font-size: clamp(21px, 2.4vw, 28px); font-weight: 600; color: var(--text-2); letter-spacing: -.01em; }
.hero h1 {
  font-size: clamp(48px, 12.5vw, 148px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.045em;
  margin-top: 6px;
}
.seven {
  background: linear-gradient(135deg, var(--brand) 10%, var(--brand-2) 50%, var(--accent) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: .04em;
}
.hero .tagline { font-size: clamp(22px, 3vw, 32px); font-weight: 600; line-height: 1.2; margin: 18px 0 0; }
.hero .tagline span { display: block; color: var(--text-2); font-weight: 500; }

.stage {
  position: relative;
  width: min(1100px, 100% - 32px);
  aspect-ratio: 1100 / 715;
  margin: clamp(40px, 5vw, 56px) auto clamp(48px, 6vw, 88px);
}
/* Three depths, each a step higher than the one in front: iPhone and folded Duo, then the open Duo, then the
   iPad. The folded Duo is as tall as the open one: 50.46% of its width. */
.stage .dev { position: absolute; bottom: 0; will-change: transform; }
.stage .ipad { left: 33%; width: 44%; z-index: 1; bottom: 11%; }
.stage .duo-landscape { left: 17%; width: 40%; z-index: 2; bottom: 5.5%; }
.stage .duo-folded { left: 7%; width: 20.2%; z-index: 3; }
.stage .iphone { left: 73%; width: 19%; z-index: 3; }
/* Contact shadow: a tight dark core and a soft wide spread, so each device stands on the floor */
.stage .dev::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -4%;
  right: -4%;
  bottom: -4.5cqw;
  height: 9cqw;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--floor), color-mix(in srgb, var(--floor) 35%, transparent) 60%, transparent);
  filter: blur(5px);
  pointer-events: none;
}

.hero .dev { opacity: 0; transform: translateY(80px); transition: opacity 1s ease, transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.hero.ready .dev { opacity: 1; transform: translate(var(--px, 0), var(--py, 0)); }
.hero.ready .ipad { transition-delay: .1s; }
.hero.ready .duo-landscape { transition-delay: .25s; }
.hero.ready .iphone { transition-delay: .4s; }
.hero.ready .duo-folded { transition-delay: .5s; }
.hero.ready.settled .dev { transition: none; }
.hero-copy > * { opacity: 0; transform: translateY(16px); transition: opacity .9s ease, transform .9s ease; }
.hero.ready .hero-copy > * { opacity: 1; transform: none; }
.hero.ready .hero-copy > :nth-child(2) { transition-delay: .08s; }
.hero.ready .hero-copy > :nth-child(3) { transition-delay: .16s; }
.hero.ready .hero-copy > :nth-child(4) { transition-delay: .24s; }

.facts {
  position: relative;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 36px;
  padding: 28px 16px;
  border-top: 1px solid var(--line);
  background: var(--bg);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
}
.facts span { display: inline-flex; align-items: center; gap: 8px; }
.facts svg { width: 18px; height: 18px; color: var(--brand); }

@media (max-width: 733px) {
  .stage { width: calc(100% - 16px); }
}

/* ---------- Reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- What's new ---------- */

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section-head .lede { margin-top: 14px; }

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(372px, 82vw);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(16px, (100vw - 1080px) / 2);
  padding: 4px max(16px, (100vw - 1080px) / 2) 30px;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 560px;
  padding: 30px 30px 0;
  border-radius: 28px;
  overflow: hidden;
  background: var(--card);
  scroll-snap-align: start;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
}
.card h3 { font-size: 26px; line-height: 1.15; font-weight: 700; margin-top: 12px; }
.card p { margin: 8px 0 0; color: var(--text-2); font-size: 17px; line-height: 1.4; }
.card > .dev { width: 70%; margin: 36px auto 0; }
.card .fan { width: 150%; margin: 36px -25% 0; }
.card .fan .front { left: 29%; width: 42%; } /* the centre phone leads */
/* In the card, the folded Duo stands near the card's foot and the open one a step (10%) higher behind it. */
.card .duo-pair { width: 132%; margin: 16px -32% 0 0; aspect-ratio: 1 / .85; }
.card .duo-pair .duo-landscape { bottom: 10%; }
/* Apple Intelligence: a frosted pane over soft, muted colour orbs; text keeps the theme colours */
.card.accent-card {
  isolation: isolate;
  background:
    radial-gradient(circle at 15% 85%, color-mix(in srgb, #ff9f45 45%, var(--card)) 0 80px, transparent 82px),
    radial-gradient(circle at 90% 70%, color-mix(in srgb, #ff5fa2 40%, var(--card)) 0 95px, transparent 97px),
    radial-gradient(circle at 10% 20%, color-mix(in srgb, #537afe 40%, var(--card)) 0 100px, transparent 102px),
    radial-gradient(circle at 60% 105%, color-mix(in srgb, #8b6cff 45%, var(--card)) 0 110px, transparent 112px),
    var(--card);
}
.card.accent-card::before { /* the frosted pane */
  content: "";
  position: absolute;
  z-index: -1;
  inset: 14px;
  border-radius: 20px;
  background: color-mix(in srgb, var(--card) 55%, transparent);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--text) 10%, transparent);
}
.card .ai-mark {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  margin: auto auto 64px;
  border-radius: 28px;
  background: var(--card);
  box-shadow: 0 0 0 1px var(--line), 0 18px 40px -16px rgba(139, 108, 255, .45);
}
.card .ai-mark svg { width: 46px; height: 46px; color: var(--brand-2); }

.new {
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
}

.rail-nav { display: flex; gap: 12px; justify-content: flex-end; }
.round {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--chip);
  color: var(--text);
  cursor: pointer;
  transition: background .2s, opacity .2s;
}
.round:hover { background: var(--chip-hover); }
.round:disabled { opacity: .35; cursor: default; }
.round svg { width: 16px; height: 16px; }

/* ---------- Closer look (Mail Hub) ---------- */

.closer {
  display: grid;
  grid-template-columns: 40px minmax(280px, 400px) 1fr;
  gap: 28px;
  align-items: center;
  min-height: 720px;
  padding: 56px 40px;
  border-radius: 32px;
  background: var(--bg-alt);
}
.closer-steps { display: grid; gap: 14px; }
.closer-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.hub-item {
  border-radius: 28px;
  background: var(--chip);
  transition: background .3s;
  justify-self: start;
  max-width: 100%;
}
.hub-item > button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 22px 14px 16px;
  border: 0;
  background: none;
  font-size: 18px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.hub-item > button .plus {
  display: grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  border: 1.6px solid currentColor;
  border-radius: 50%;
  transition: transform .3s;
}
.hub-item > button .plus svg { width: 12px; height: 12px; }
.hub-item:not(.open):hover { background: var(--chip-hover); }
.hub-item .panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s ease; }
.hub-item .panel > div { overflow: hidden; }
.hub-item.open { justify-self: stretch; }
.hub-item.open > button { display: none; }
.hub-item.open .panel { grid-template-rows: 1fr; }
.panel-inner { padding: 26px 30px 28px; }
.panel-inner p { margin: 0; font-size: 17px; line-height: 1.45; color: var(--text); }
.panel-inner p b { font-weight: 700; }
.panel-inner small { display: block; margin: 20px 0 10px; font-size: 13px; color: var(--text-2); }

.segment { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 99px; background: var(--chip); }
.segment button {
  position: relative;
  z-index: 1;
  padding: 8px 0;
  border: 0;
  background: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
  transition: color .3s;
}
.segment button[aria-pressed="true"] { color: #fff; }
.segment .thumb {
  position: absolute;
  inset: 4px auto 4px 4px;
  width: calc(50% - 4px);
  border-radius: 99px;
  background: var(--brand);
  transition: transform .35s cubic-bezier(.3, .8, .3, 1);
}
.segment.detail .thumb { transform: translateX(100%); }

.closer-device { display: grid; place-items: center; perspective: 1600px; }
.closer-device .dev { width: min(330px, 100%); transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.closer-device .dev.swap { transform: rotateY(-14deg) translateX(-14px) scale(.97); }

@media (max-width: 900px) {
  .closer { grid-template-columns: 1fr; min-height: 0; padding: 32px 20px; gap: 32px; }
  .closer-steps { display: none; }
  .closer-list { grid-auto-flow: row; }
  .closer-device { order: -1; }
  .closer-device .dev { width: min(260px, 72vw); }
}

/* ---------- Dark stage (Unsubscribe) ---------- */

.stage-section { background: var(--stage); color: var(--stage-text); overflow: hidden; }
.stage-section .lede { color: var(--stage-text-2); }
.stage-section .lede strong { color: var(--stage-text); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split .dev { width: min(320px, 80%); margin-inline: auto; }
.big-stat { font-size: clamp(64px, 9vw, 120px); font-weight: 800; line-height: 1; letter-spacing: -.05em; margin: 32px 0 6px; }
.big-stat + p { margin: 0; color: var(--stage-text-2); font-weight: 600; font-size: 19px; }
.grad { background: linear-gradient(135deg, #ff9f45, #ff5fa2 50%, #8b6cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 833px) {
  .split { grid-template-columns: 1fr; gap: 48px; }
}

/* ---------- Two up (Alerts and Routines) ---------- */

.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.tile {
  display: flex;
  flex-direction: column;
  height: 640px;
  padding: 44px 44px 0;
  border-radius: 28px;
  overflow: hidden;
  background: var(--card);
}
.tile h3 { font-size: clamp(28px, 3vw, 36px); line-height: 1.1; font-weight: 700; margin-top: 12px; }
.tile p { margin: 12px 0 0; color: var(--text-2); font-size: 19px; line-height: 1.4; max-width: 420px; }
.tile .dev { width: min(300px, 70%); margin: auto auto -46%; }
@media (max-width: 833px) {
  .two-up { grid-template-columns: 1fr; }
  .tile { height: 600px; padding: 32px 28px 0; }
}

/* ---------- Themes ---------- */

.fan { position: relative; width: min(760px, 100%); aspect-ratio: 760 / 600; margin: 64px auto 0; }
.fan .dev { position: absolute; top: 0; width: 36%; transition: transform 1s cubic-bezier(.2, .8, .2, 1); }
.fan .back-left { left: 32%; transform: rotate(0); z-index: 1; }
.fan .back-right { left: 32%; transform: rotate(0); z-index: 1; }
.fan .front { left: 32%; z-index: 2; }
.fan.in .back-left { transform: translate(-58%, 7%) rotate(-11deg); }
.fan.in .back-right { transform: translate(58%, 7%) rotate(11deg); }

.swatches { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 760px; margin: 48px auto 0; padding: 0; list-style: none; }
.swatches button {
  position: relative;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--a) 50%, var(--b) 50%);
  box-shadow: inset 0 0 0 1px rgba(128, 128, 128, .35);
  cursor: pointer;
  transition: transform .2s;
}
.swatches button:hover { transform: scale(1.12); }
.swatches button[aria-pressed="true"] { box-shadow: inset 0 0 0 1px rgba(128, 128, 128, .35), 0 0 0 3px var(--bg-alt), 0 0 0 5px var(--brand); }
.swatch-name { margin-top: 18px; min-height: 1.5em; font-size: 15px; font-weight: 600; color: var(--text-2); }

/* ---------- Every screen ---------- */

.tabs { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 5px; margin-top: 36px; border-radius: 99px; background: var(--chip); }
.tabs button {
  padding: 9px 18px;
  border: 0;
  border-radius: 99px;
  background: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
}
.tabs button[aria-pressed="true"] { background: var(--card); color: var(--text); box-shadow: 0 1px 4px rgba(0, 0, 0, .15); }
.screens { display: grid; place-items: end center; height: clamp(360px, 52vw, 620px); margin-top: 48px; }
.screens > * { grid-area: 1 / 1; opacity: 0; transform: translateY(30px) scale(.97); transition: opacity .5s, transform .6s cubic-bezier(.2, .8, .2, 1); pointer-events: none; }
.screens > .show { opacity: 1; transform: none; }
.screens .iphone { width: min(270px, 44%); }
.screens .ipad { width: min(470px, 74%); }
.screens .duo-pair { width: min(820px, 100%); }
.screen-caption { min-height: 3em; margin-top: 32px; color: var(--text-2); font-size: 17px; }

/* ---------- Privacy ---------- */

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.value { padding: 36px 32px; border-radius: 28px; background: var(--card); }
.value .icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand); }
.value .icon svg { width: 26px; height: 26px; }
.value h3 { font-size: 22px; margin-top: 22px; }
.value p { margin: 8px 0 0; color: var(--text-2); }
@media (max-width: 833px) { .values { grid-template-columns: 1fr; } }

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

.faq { max-width: 820px; margin: 48px auto 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 28px; font-weight: 300; color: var(--text-2); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -8px 0 24px; color: var(--text-2); max-width: 680px; }

/* ---------- Final CTA and footer ---------- */

.final { text-align: center; background: radial-gradient(50% 60% at 50% 100%, var(--glow), transparent 70%), var(--bg); }
.final img.icon { width: 112px; height: 112px; margin: 0 auto 28px; border-radius: 26px; box-shadow: 0 24px 60px -16px rgba(83, 122, 254, .6); }
.final .lede { margin-inline: auto; }

footer { padding: 32px 0 48px; background: var(--bg-alt); font-size: 12px; color: var(--text-2); }
footer ol { margin: 0 0 24px; padding-left: 18px; line-height: 1.6; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.foot-row nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot-row a { color: var(--text-2); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal, .hero .dev, .hero-copy > * { opacity: 1; transform: none; }
}

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

.legal { padding: clamp(48px, 7vw, 88px) 0 96px; }
.legal .wrap { width: min(760px, 100% - 32px); }
.legal h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.05; letter-spacing: -.02em; }
.legal .updated { margin: 14px 0 0; color: var(--text-2); font-size: 15px; }
.legal .summary { margin: 36px 0 8px; padding: 24px 28px; border-radius: 22px; background: var(--bg-alt); }
.legal .summary h2 { margin: 0 0 10px; font-size: 19px; }
.legal .summary ul { margin: 0; padding-left: 20px; }
.legal h2 { margin: 48px 0 0; font-size: 26px; line-height: 1.2; letter-spacing: -.01em; }
.legal h3 { margin: 28px 0 0; font-size: 19px; }
.legal p, .legal li { font-size: 17px; line-height: 1.6; }
.legal p { margin: 12px 0 0; }
.legal ul { margin: 12px 0 0; padding-left: 22px; }
.legal li + li { margin-top: 6px; }
.legal strong { font-weight: 600; }
.legal .caps { text-transform: uppercase; font-size: 15px; }
.legal table { width: 100%; margin: 16px 0 0; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.legal th, .legal td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal th { color: var(--text-2); font-weight: 600; }
.legal .toc li + li { margin-top: 0; }
.legal .toc { margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.legal .toc a { display: inline-block; padding: 6px 12px; border-radius: 99px; background: var(--chip); color: var(--text); font-size: 14px; }
.legal .toc a:hover { background: var(--chip-hover); text-decoration: none; }
@media (max-width: 600px) { .legal table, .legal thead, .legal tbody, .legal tr, .legal th, .legal td { display: block; } .legal thead { display: none; } .legal td:first-child { font-weight: 600; padding-bottom: 0; border: 0; } }
