/* ==========================================================================
   Aura — website
   Colours are the app's own (AuraCore/Design/Palette.swift): paper, dusk and
   attack, plus the icon's violet ring and coral band.
   ========================================================================== */

@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin-opsz-normal.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin-opsz-italic.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand */
  --peach: #ffb66d;
  --coral: #ff7d4a;
  --rose: #f34a7e;
  --violet-light: #c9b7ff;
  --violet: #7e63e0;
  --violet-deep: #4533a2;
  --night: #0d0918;
  --night-2: #151024;
  --night-3: #2b204a;
  --grad-coral: linear-gradient(115deg, var(--peach) 0%, var(--coral) 45%, var(--rose) 100%);
  --grad-violet: linear-gradient(135deg, var(--violet-light), var(--violet) 50%, var(--violet-deep));

  /* Paper surface */
  --paper: #fbf7f2;
  --paper-raised: #ffffff;
  --paper-sunk: #f3ece3;
  --ink: #1c1917;
  --ink-muted: #5f564f;
  --ink-faint: #8a8078;
  --hairline: rgba(28, 25, 23, 0.1);
  --accent: #c2452a;
  --accent-quiet: rgba(194, 69, 42, 0.1);
  --caution: #9a6200;
  --calm: #3f6b5c;

  /* Night surface */
  --n-ink: #f5efe8;
  --n-muted: #b8aeb9;
  --n-faint: #857a8c;
  --n-hairline: rgba(245, 239, 232, 0.12);
  --n-raised: rgba(255, 255, 255, 0.045);

  /* Attack surface */
  --a-ground: #000;
  --a-raised: #0a0706;
  --a-ink: #c29268;
  --a-muted: #9c7757;
  --a-faint: #7e5f45;
  --a-hairline: rgba(107, 75, 58, 0.55);
  --a-accent: #c4713f;

  /* Severity ramp */
  --sev-1: #e8c25e;
  --sev-2: #e09a3c;
  --sev-3: #d2703c;
  --sev-4: #b14434;
  --sev-5: #7e2430;

  --serif: "Newsreader", "New York", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(18px, 4.5vw, 48px);
  --max: 1220px;
  --radius-s: 12px;
  --radius-m: 20px;
  --radius-l: 30px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: light;
}

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

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg, video, canvas { display: block; max-width: 100%; }
[hidden] { display: none !important; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }

::selection { background: rgba(255, 125, 74, 0.35); }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

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

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon { width: 1em; height: 1em; flex: none; }

/* Surfaces ----------------------------------------------------------------- */

.surface-night {
  --fg: var(--n-ink);
  --fg-muted: var(--n-muted);
  --fg-faint: var(--n-faint);
  --line: var(--n-hairline);
  --card: var(--n-raised);
  --hl: var(--coral);
  background: var(--night);
  color: var(--n-ink);
}
.surface-paper {
  --fg: var(--ink);
  --fg-muted: var(--ink-muted);
  --fg-faint: var(--ink-faint);
  --line: var(--hairline);
  --card: var(--paper-raised);
  --hl: var(--accent);
  background: var(--paper);
  color: var(--ink);
}
.surface-black {
  --fg: var(--a-ink);
  --fg-muted: var(--a-muted);
  --fg-faint: var(--a-faint);
  --line: var(--a-hairline);
  --card: var(--a-raised);
  --hl: var(--a-accent);
  background: #000;
  color: var(--a-ink);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-faint, var(--ink-faint));
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-coral);
}

.display {
  font-family: var(--serif);
  font-weight: 450;
  font-size: clamp(2.6rem, 1.4rem + 5.4vw, 6.1rem);
  line-height: 0.98;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
.h2 {
  font-family: var(--serif);
  font-weight: 450;
  font-size: clamp(2.1rem, 1.3rem + 3.3vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.8rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.lede {
  font-size: clamp(1.08rem, 0.98rem + 0.45vw, 1.35rem);
  line-height: 1.55;
  color: var(--fg-muted, var(--ink-muted));
  max-width: 38em;
  text-wrap: pretty;
}
.muted { color: var(--fg-muted, var(--ink-muted)); }
.faint { color: var(--fg-faint, var(--ink-faint)); }

.grad-text {
  background: var(--grad-coral);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
em.serif-italic, .display em, .h2 em {
  font-style: italic;
  font-weight: 400;
}

.section { position: relative; padding-block: clamp(88px, 12vw, 168px); }
.section-head { max-width: 860px; margin-bottom: clamp(44px, 6vw, 80px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lede { margin-inline: auto; }
.section-head .lede { margin-top: 22px; }

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

.btn {
  --h: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--h);
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background-color 0.25s, color 0.25s;
  -webkit-tap-highlight-color: transparent;
}
.btn .icon { font-size: 18px; }
.btn:active { transform: scale(0.97); }

.btn-primary {
  color: #fff;
  background: var(--grad-coral);
  box-shadow: 0 10px 30px -10px rgba(243, 74, 126, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(243, 74, 126, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.35); }

.btn-ghost {
  color: var(--fg, var(--ink));
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--line, var(--hairline));
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--fg-muted, var(--ink-muted)); }

.btn-small { --h: 40px; padding: 0 16px; font-size: 14.5px; }

/* App Store badge (drawn to Apple's badge proportions) */
.appstore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 22px 0 18px;
  border-radius: 14px;
  background: #000;
  color: #fff;
  text-decoration: none;
  box-shadow: inset 0 0 0 1.2px #a6a6a6;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.appstore:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.2px #d6d6d6, 0 16px 34px -14px rgba(0,0,0,.7); }
.appstore .apple { width: 25px; height: 30px; margin-top: -3px; }
.appstore span { display: flex; flex-direction: column; line-height: 1; font-family: -apple-system, "SF Pro Text", system-ui, sans-serif; }
.appstore small { font-size: 11px; font-weight: 500; letter-spacing: 0.02em; margin-bottom: 3px; }
.appstore b { font-size: 23px; font-weight: 600; letter-spacing: -0.02em; }
.surface-paper .appstore { box-shadow: none; }

.store-note { margin-top: 10px; font-size: 13px; color: var(--fg-faint, var(--ink-faint)); }

/* -------------------------------------------------------------------------- */
/* Header                                                                      */
/* -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 14px;
  transition: padding 0.4s var(--ease-out), transform 0.5s var(--ease-out);
}
.site-header .bar {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 60px;
  padding: 8px 10px 8px 18px;
  border-radius: 999px;
  transition: background-color 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}
.site-header.is-scrolled .bar,
.site-header.is-solid .bar {
  background: rgba(20, 15, 32, 0.62);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09), 0 20px 40px -24px rgba(0, 0, 0, 0.6);
  backdrop-filter: saturate(1.6) blur(18px);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
}
.site-header.theme-paper.is-scrolled .bar,
.site-header.theme-paper.is-solid .bar {
  background: rgba(251, 247, 242, 0.78);
  box-shadow: inset 0 0 0 1px rgba(28, 25, 23, 0.08), 0 20px 40px -26px rgba(60, 30, 20, 0.35);
}
.site-header.is-hidden { transform: translateY(-110%); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--n-ink);
}
.theme-paper .brand { color: var(--ink); }
.brand img { width: 32px; height: 32px; transition: transform 0.8s var(--ease-out); }
.brand:hover img { transform: rotate(-35deg) scale(1.06); }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  color: var(--n-muted);
  transition: color 0.2s, background-color 0.2s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--n-ink); background: rgba(255, 255, 255, 0.07); }
.theme-paper .nav a { color: var(--ink-muted); }
.theme-paper .nav a:hover, .theme-paper .nav a[aria-current="page"] { color: var(--ink); background: rgba(28, 25, 23, 0.06); }

.header-actions { display: flex; align-items: center; gap: 8px; }

.mode-toggle {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--n-ink);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.mode-toggle:hover { background: rgba(255, 255, 255, 0.14); }
.theme-paper .mode-toggle { background: rgba(28, 25, 23, 0.06); color: var(--ink); }
.mode-toggle .icon { font-size: 19px; }
.mode-toggle .tip {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  padding: 8px 12px;
  border-radius: 10px;
  background: #000;
  color: var(--a-ink);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: inset 0 0 0 1px var(--a-hairline);
}
.mode-toggle:hover .tip, .mode-toggle:focus-visible .tip { opacity: 1; transform: none; }

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  color: var(--n-ink);
}
.theme-paper .menu-btn { background: rgba(28, 25, 23, 0.06); color: var(--ink); }
.menu-btn span { display: block; width: 18px; height: 2px; margin: 4px auto; border-radius: 2px; background: currentColor; transition: transform 0.3s var(--ease-out), opacity 0.2s; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 100px var(--gutter) 40px;
  background: rgba(13, 9, 24, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}
.mobile-menu a {
  font-family: var(--serif);
  font-size: clamp(2rem, 9vw, 3rem);
  line-height: 1.25;
  color: var(--n-ink);
  text-decoration: none;
  transform: translateY(14px);
  opacity: 0;
  transition: transform 0.5s var(--ease-out), opacity 0.5s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.menu-open .mobile-menu a { transform: none; opacity: 1; }
.menu-open .mobile-menu a:nth-child(2) { transition-delay: 0.04s; }
.menu-open .mobile-menu a:nth-child(3) { transition-delay: 0.08s; }
.menu-open .mobile-menu a:nth-child(4) { transition-delay: 0.12s; }
.menu-open .mobile-menu a:nth-child(5) { transition-delay: 0.16s; }
.menu-open .mobile-menu a:nth-child(6) { transition-delay: 0.2s; }
.mobile-menu .appstore { margin-top: 28px; align-self: flex-start; }

@media (max-width: 900px) {
  .nav { display: none; }
  .menu-btn { display: inline-block; }
  .header-actions { margin-left: auto; }
  .header-actions .btn { display: none; }
}

/* -------------------------------------------------------------------------- */
/* iPhone frame                                                                */
/* -------------------------------------------------------------------------- */

.iphone {
  --w: 300px;
  position: relative;
  width: var(--w);
  max-width: 100%;
  aspect-ratio: 1206 / 2622;
  padding: calc(var(--w) * 0.034);
  border-radius: calc(var(--w) * 0.175);
  background:
    linear-gradient(145deg, #5a5f6d 0%, #23262e 22%, #111217 50%, #2c2f38 78%, #6d7281 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    inset 0 0 0 calc(var(--w) * 0.012) #0b0b0e,
    0 calc(var(--w) * 0.12) calc(var(--w) * 0.22) calc(var(--w) * -0.08) rgba(10, 5, 25, 0.55),
    0 calc(var(--w) * 0.03) calc(var(--w) * 0.06) rgba(10, 5, 25, 0.25);
  box-sizing: content-box;
  flex: none;
}
.iphone::before,
.iphone::after {
  content: "";
  position: absolute;
  width: calc(var(--w) * 0.012);
  border-radius: 3px;
  background: linear-gradient(90deg, #1b1c22, #5c606c);
}
/* Action button + volume on the left, side button on the right */
.iphone::before {
  left: calc(var(--w) * -0.009);
  top: 18%;
  height: 22%;
  box-shadow: 0 calc(var(--w) * -0.12) 0 0 #3a3d47;
  background: linear-gradient(180deg, #3a3d47 0 36%, transparent 36% 44%, #3a3d47 44% 100%);
}
.iphone::after {
  right: calc(var(--w) * -0.009);
  top: 27%;
  height: 13%;
  background: #3a3d47;
}
.iphone .screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: calc(var(--w) * 0.142);
  background: #000;
  isolation: isolate;
  transform: translateZ(0);
}
.iphone .screen > img,
.iphone .screen > .shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.iphone .island {
  position: absolute;
  z-index: 5;
  top: calc(var(--w) * 0.03);
  left: 50%;
  width: calc(var(--w) * 0.31);
  height: calc(var(--w) * 0.092);
  border-radius: 999px;
  background: #000;
  transform: translateX(-50%);
}
.iphone .glare {
  position: absolute;
  inset: 0;
  z-index: 6;
  border-radius: inherit;
  background: linear-gradient(115deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.03) 28%, transparent 42%);
  pointer-events: none;
  mix-blend-mode: screen;
}

.iphone.sm { --w: 230px; }
.iphone.md { --w: 280px; }
.iphone.lg { --w: 330px; }

/* Stacked screens that crossfade */
.iphone .shot { opacity: 0; transition: opacity 0.7s var(--ease-out); }
.iphone .shot.is-active { opacity: 1; }

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

.hero {
  position: relative;
  min-height: 100svh;
  padding-top: 120px;
  padding-bottom: 60px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 55% at 78% 42%, rgba(126, 99, 224, 0.38) 0%, transparent 70%),
    radial-gradient(40% 40% at 70% 70%, rgba(243, 74, 126, 0.28) 0%, transparent 70%),
    radial-gradient(40% 35% at 15% 10%, rgba(255, 125, 74, 0.14) 0%, transparent 70%),
    linear-gradient(180deg, #120c22 0%, var(--night) 70%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 24px;
  min-height: calc(100svh - 180px);
}
.hero-copy { position: relative; z-index: 2; padding-block: 20px; }
.hero .chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  font-size: 14px;
  font-weight: 700;
  color: var(--n-muted);
}
.hero .chip b {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--grad-coral);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero h1 { color: var(--n-ink); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero h1 .line > span { display: inline-block; }
.hero .lede { margin-top: 28px; color: var(--n-muted); max-width: 33em; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 38px; }
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  font-weight: 700;
  color: var(--n-muted);
}
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof .icon { color: var(--coral); font-size: 17px; }

.hero-visual {
  position: relative;
  height: min(78svh, 760px);
  min-height: 520px;
}
.hero-visual canvas {
  position: absolute;
  inset: -10% -30% -10% -20%;
  width: 150%;
  height: 120%;
  max-width: none;
  opacity: 0;
  transition: opacity 1.2s var(--ease-out);
}
.hero-visual.is-3d canvas { opacity: 1; }
.hero-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transition: opacity 0.8s var(--ease-out);
}
.hero-fallback .ring {
  position: absolute;
  width: min(520px, 90%);
  aspect-ratio: 1;
  opacity: 0.9;
  filter: drop-shadow(0 30px 60px rgba(126, 99, 224, 0.4));
  animation: spin 60s linear infinite;
}
.hero-fallback .iphone { --w: min(300px, 62vw); transform: rotate(-6deg); }
.hero-visual.is-3d .hero-fallback { opacity: 0; pointer-events: none; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--n-faint);
  transform: translateX(-50%);
}
.scroll-cue i {
  width: 22px;
  height: 36px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1.5px var(--n-faint);
  position: relative;
}
.scroll-cue i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 7px;
  border-radius: 4px;
  background: var(--coral);
  transform: translateX(-50%);
  animation: cue 1.8s var(--ease-out) infinite;
}
@keyframes cue { 0% { transform: translate(-50%, 0); opacity: 1; } 70% { transform: translate(-50%, 12px); opacity: 0; } 100% { opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 960px) {
  .hero { padding-top: 110px; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .hero-copy { text-align: left; }
  .hero-visual { height: 620px; min-height: 0; margin-top: 10px; }
  .hero-visual canvas { inset: -8% -40%; width: 180%; height: 116%; }
  .scroll-cue { display: none; }
}
@media (max-width: 520px) {
  .hero-visual { height: 540px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .appstore, .hero-cta .btn { justify-content: center; }
}

/* -------------------------------------------------------------------------- */
/* Marquee                                                                     */
/* -------------------------------------------------------------------------- */

.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 26px;
  border-block: 1px solid var(--n-hairline);
  background: var(--night);
  color: var(--n-muted);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul {
  display: flex;
  align-items: center;
  gap: 44px;
  margin: 0;
  padding: 0 22px;
  list-style: none;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem);
  white-space: nowrap;
}
.marquee li { display: inline-flex; align-items: center; gap: 44px; }
.marquee li::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--grad-coral); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* -------------------------------------------------------------------------- */
/* Manifesto (scrubbed words)                                                  */
/* -------------------------------------------------------------------------- */

.manifesto { padding-block: clamp(110px, 16vw, 220px); }
.manifesto p {
  max-width: 1080px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 1.1rem + 3.2vw, 3.9rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.manifesto .word { opacity: 1; }
.js .manifesto .word { opacity: 0.16; transition: opacity 0.2s linear; }
.manifesto .source { margin-top: 36px; font-size: 13px; color: var(--n-faint); }
.manifesto .stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(56px, 8vw, 100px);
}
.manifesto .stat {
  padding: 26px 26px 22px;
  border-radius: var(--radius-m);
  background: var(--n-raised);
  box-shadow: inset 0 0 0 1px var(--n-hairline);
}
.manifesto .stat strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 2rem + 2vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.03em;
}
.manifesto .stat span { display: block; margin-top: 12px; color: var(--n-muted); font-size: 15.5px; line-height: 1.45; }
@media (max-width: 760px) { .manifesto .stat-row { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------------------- */
/* Story — pinned walkthrough                                                  */
/* -------------------------------------------------------------------------- */

.story { position: relative; background: var(--night); color: var(--n-ink); }
.story-dark {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0;
  pointer-events: none;
}
.story-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 100px);
  align-items: center;
  min-height: 100svh;
  padding-block: 120px 80px;
}
.story-head { grid-column: 1 / -1; }
.story-phone { position: relative; display: grid; place-items: center; }
.story-phone .iphone { --w: min(330px, 70vw); }
.story-phone .halo-glow {
  position: absolute;
  width: 140%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 74, 126, 0.35), rgba(126, 99, 224, 0.2) 40%, transparent 68%);
  filter: blur(10px);
  z-index: -1;
}
.story-steps { position: relative; min-height: 460px; }
.story-step { max-width: 470px; }
.js-pin .story-step {
  position: absolute;
  inset: 50% 0 auto 0;
  transform: translateY(-50%);
  opacity: 0;
  visibility: hidden;
}
.js-pin .story-step.is-first { opacity: 1; visibility: visible; }
.story-step + .story-step { margin-top: 90px; }
.js-pin .story-step + .story-step { margin-top: 0; }
.story-step .num {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border-radius: 50%;
  font-weight: 800;
  font-size: 15px;
  box-shadow: inset 0 0 0 1.5px currentColor;
  color: var(--coral);
}
.story-step h3 {
  font-family: var(--serif);
  font-weight: 450;
  font-size: clamp(2rem, 1.3rem + 2.4vw, 3.3rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.story-step p { margin-top: 20px; font-size: 18px; color: var(--n-muted); }
.story-step .step-mobile-phone { display: none; }
.story-progress {
  position: absolute;
  left: 0;
  bottom: -40px;
  display: flex;
  gap: 8px;
}
.story-progress i { width: 34px; height: 3px; border-radius: 3px; background: var(--n-hairline); overflow: hidden; position: relative; }
.story-progress i b { position: absolute; inset: 0; background: var(--coral); transform: scaleX(0); transform-origin: left; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; padding: 0; list-style: none; }
.tags li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px var(--n-hairline);
  color: var(--n-ink);
}
.tags .icon { color: var(--coral); }

/* Attack palette inside the story */
.story.is-attack .story-step .num { color: var(--a-accent); }
.story.is-attack .story-step h3 { color: var(--a-ink); }
.story.is-attack .story-step p { color: var(--a-muted); }
.story.is-attack .eyebrow, .story.is-attack .h2 { color: var(--a-ink); }
.story.is-attack .eyebrow::before { background: var(--a-accent); }
.story.is-attack .halo-glow { opacity: 0; }
.story.is-attack .tags li { background: transparent; color: var(--a-ink); box-shadow: inset 0 0 0 1px var(--a-hairline); }
.story.is-attack .tags .icon { color: var(--a-accent); }
.story .halo-glow, .story .h2, .story .eyebrow, .story-step h3, .story-step p { transition: color 0.6s, opacity 0.6s; }

/* Hold-to-end demo */
.hold {
  --p: 0;
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 380px;
  margin-top: 30px;
  padding: 16px 22px;
  border: 0;
  border-radius: 20px;
  background: #000;
  color: var(--a-ink);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  box-shadow: inset 0 0 0 1.5px var(--a-accent);
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  -webkit-touch-callout: none;
}
.hold::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(196, 113, 63, 0.22);
  transform: scaleX(var(--p));
  transform-origin: left;
}
.hold > * { position: relative; }
.hold .icon { font-size: 24px; color: var(--a-accent); }
.hold b { display: block; font-size: 21px; font-weight: 700; color: var(--a-ink); }
.hold small { display: block; font-size: 14px; color: var(--a-muted); }
.hold.is-done { box-shadow: inset 0 0 0 1.5px var(--calm); }
.hold-note { margin-top: 12px; font-size: 14px; color: var(--a-faint); min-height: 1.5em; }

@media (max-width: 900px) {
  .story-inner { grid-template-columns: 1fr; min-height: 0; padding-block: 100px; }
  .story-phone { display: none; }
  .story-step .step-mobile-phone { display: grid; place-items: center; margin-top: 36px; }
  .story-step .step-mobile-phone .iphone { --w: min(280px, 72vw); }
  .story-step + .story-step { margin-top: 110px; }
  .story-progress { display: none; }
}

/* Lock screen (HTML recreation of the widget and Live Activity) */
.lockscreen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16% 6% 6%;
  background:
    radial-gradient(90% 60% at 30% 25%, rgba(126, 99, 224, 0.85), transparent 60%),
    radial-gradient(80% 60% at 80% 80%, rgba(243, 74, 126, 0.75), transparent 65%),
    radial-gradient(60% 40% at 50% 55%, rgba(255, 125, 74, 0.5), transparent 70%),
    #1a1030;
  color: #fff;
  font-family: -apple-system, "SF Pro Display", system-ui, sans-serif;
  container-type: inline-size;
}
.lockscreen .ls-date { font-size: 5.4cqi; font-weight: 600; opacity: 0.85; }
.lockscreen .ls-time { font-size: 27cqi; font-weight: 700; line-height: 1; letter-spacing: -0.02em; margin-top: 0.5cqi; font-family: var(--sans); }
.lockscreen .ls-widgets { display: flex; gap: 3cqi; margin-top: 4cqi; }
.lockscreen .ls-widget {
  display: flex;
  align-items: center;
  gap: 2.4cqi;
  padding: 2.4cqi 4cqi 2.4cqi 2.4cqi;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 4.2cqi;
  font-weight: 600;
}
.lockscreen .ls-widget i {
  display: grid;
  place-items: center;
  width: 9cqi;
  height: 9cqi;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}
.lockscreen .ls-widget i .icon { font-size: 4.8cqi; }
.lockscreen .tap-ring {
  position: absolute;
  width: 16cqi;
  height: 16cqi;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9);
  opacity: 0;
  pointer-events: none;
}
.lockscreen .ls-bottom { margin-top: auto; display: flex; justify-content: space-between; width: 100%; padding: 0 4cqi 2cqi; }
.lockscreen .ls-bottom i { display: grid; place-items: center; width: 13cqi; height: 13cqi; border-radius: 50%; background: rgba(0, 0, 0, 0.28); backdrop-filter: blur(8px); }
.lockscreen .ls-bottom .icon { font-size: 5.5cqi; }

/* Live Activity card — attack palette, as drawn by AttackLiveActivity.swift */
.live-activity {
  width: 100%;
  padding: 3.6cqi;
  border-radius: 6.5cqi;
  background: #000;
  color: var(--a-ink);
  font-family: -apple-system, system-ui, sans-serif;
  container-type: inline-size;
}
.la-top { display: flex; justify-content: space-between; align-items: flex-start; }
.la-phase { font-size: 3.2cqi; font-weight: 600; letter-spacing: 0.12em; color: var(--a-faint); }
.la-timer { font-family: ui-rounded, var(--sans); font-size: 11cqi; font-weight: 300; line-height: 1.05; font-variant-numeric: tabular-nums; color: var(--a-ink); }
.la-sev { text-align: center; line-height: 1; }
.la-sev b { display: block; font-family: ui-rounded, var(--sans); font-size: 9.5cqi; font-weight: 600; color: var(--sev-4); }
.la-sev small { font-size: 2.9cqi; color: var(--a-faint); }
.la-med { display: flex; align-items: center; gap: 1.6cqi; margin: 2.6cqi 0; font-size: 4.2cqi; font-weight: 600; color: var(--a-accent); }
.la-row { display: grid; grid-template-columns: 1fr 1fr 1fr 1.9fr; gap: 2.4cqi; }
.la-row button {
  min-height: 10.6cqi;
  border: 0;
  border-radius: 2.8cqi;
  background: var(--a-raised);
  color: var(--a-accent);
  font-family: ui-rounded, var(--sans);
  font-size: 4.8cqi;
  font-weight: 700;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(107, 75, 58, 0.35);
  transition: background-color 0.2s, color 0.2s;
}
.la-row button[aria-pressed="true"] { background: var(--a-accent); color: #000; }
.la-row .end { display: flex; align-items: center; justify-content: center; gap: 1.4cqi; background: transparent; box-shadow: inset 0 0 0 1.5px var(--a-accent); font-family: -apple-system, system-ui, sans-serif; font-size: 4.4cqi; }

/* -------------------------------------------------------------------------- */
/* Ways in — bento                                                             */
/* -------------------------------------------------------------------------- */

.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}
.card {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 2.6vw, 34px);
  border-radius: var(--radius-l);
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
  isolation: isolate;
}
.card h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.4rem, 1.15rem + 0.8vw, 1.85rem); line-height: 1.12; letter-spacing: -0.012em; }
.card p { margin: 12px 0 0; color: var(--fg-muted); font-size: 16px; line-height: 1.55; }
.card .kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hl); }
.card .kicker .icon { font-size: 16px; }

.b-live { grid-column: span 3; grid-row: span 2; background: #000; box-shadow: inset 0 0 0 1px var(--a-hairline); display: flex; flex-direction: column; }
.b-live h3 { color: var(--a-ink); }
.b-live p { color: var(--a-muted); }
.b-live .kicker { color: var(--a-accent); }
.b-live .la-wrap { margin-top: auto; padding-top: 30px; }
.b-live .live-activity { box-shadow: inset 0 0 0 1px var(--a-hairline); max-width: 460px; margin-inline: auto; border-radius: 26px; padding: 18px; }
.b-island { grid-column: span 3; }
.b-siri { grid-column: span 3; }
.b-cc { grid-column: span 2; }
.b-action { grid-column: span 2; }
.b-widget { grid-column: span 2; }

@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-live, .b-island, .b-siri { grid-column: span 2; grid-row: auto; }
  .b-cc, .b-action { grid-column: span 1; }
  .b-widget { grid-column: span 2; }
}
@media (max-width: 620px) {
  .bento { grid-template-columns: 1fr; }
  .b-live, .b-island, .b-siri, .b-cc, .b-action, .b-widget { grid-column: auto; }
}

/* Dynamic Island demo */
.island-stage {
  display: grid;
  place-items: center;
  height: 150px;
  margin-top: 26px;
  border-radius: 22px;
  background: radial-gradient(80% 120% at 50% 0%, rgba(255,255,255,.06), transparent 70%);
}
.di {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 250px;
  height: 46px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: #000;
  color: var(--a-accent);
  box-shadow: 0 0 0 1px rgba(255,255,255,.05), 0 20px 40px -20px rgba(0,0,0,.8);
  cursor: pointer;
  font-family: ui-rounded, var(--sans);
  font-weight: 700;
  transition: width 0.6s var(--ease-out), height 0.6s var(--ease-out), border-radius 0.6s var(--ease-out), padding 0.6s var(--ease-out);
  overflow: hidden;
  position: relative;
}
.di .compact { display: flex; width: 100%; justify-content: space-between; align-items: center; transition: opacity 0.25s; }
.di .compact .icon { font-size: 18px; }
.di .compact span { font-size: 15px; font-variant-numeric: tabular-nums; }
.di .expanded {
  position: absolute;
  inset: 0;
  padding: 16px 20px;
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.di .ex-top { display: flex; justify-content: space-between; align-items: center; font-size: 19px; font-variant-numeric: tabular-nums; }
.di .ex-top span { display: inline-flex; gap: 8px; align-items: center; }
.di .ex-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.di .ex-row i { display: flex; align-items: center; justify-content: center; gap: 6px; height: 36px; border-radius: 11px; background: var(--a-raised); box-shadow: inset 0 0 0 1px rgba(107,75,58,.35); font-style: normal; font-family: -apple-system, system-ui, sans-serif; font-size: 14px; }
.di.is-open { width: min(360px, 100%); height: 120px; border-radius: 40px; }
.di.is-open .compact { opacity: 0; }
.di.is-open .expanded { opacity: 1; transition-delay: 0.2s; }

/* Siri */
.siri-stage {
  position: relative;
  margin-top: 26px;
  padding: 26px 24px;
  border-radius: 24px;
  background: rgba(0,0,0,.35);
  overflow: hidden;
  min-height: 150px;
  display: flex;
  align-items: center;
}
.siri-stage::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(from var(--a, 0deg), #ffb66d, #f34a7e, #7e63e0, #5ac8fa, #ffb66d);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: siri-rot 4s linear infinite;
  filter: blur(0.5px);
}
.siri-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 40px rgba(243, 74, 126, 0.35), inset 0 0 80px rgba(126, 99, 224, 0.25);
  pointer-events: none;
}
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes siri-rot { to { --a: 360deg; } }
.siri-line { position: relative; z-index: 1; font-family: var(--serif); font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); line-height: 1.2; font-style: italic; }
.siri-line .caret { display: inline-block; width: 2px; height: 1em; margin-left: 3px; vertical-align: -0.12em; background: var(--coral); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.siri-more { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.siri-more span { padding: 6px 12px; border-radius: 999px; font-size: 14px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--n-hairline); color: var(--n-muted); }

/* Control Center tile */
.cc-stage { display: grid; grid-template-columns: repeat(2, 72px); gap: 12px; justify-content: center; margin-top: 26px; }
.cc-tile { width: 72px; height: 72px; border-radius: 22px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: var(--n-faint); }
.cc-tile .icon { font-size: 26px; }
.cc-main {
  grid-column: span 2;
  width: 100%;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border: 0;
  border-radius: 22px;
  background: rgba(255,255,255,.08);
  color: var(--n-ink);
  font-weight: 800;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  transition: background-color .25s, color .25s;
}
.cc-main i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.12); color: var(--coral); transition: background-color .25s, color .25s; }
.cc-main small { display: block; font-weight: 600; color: var(--n-faint); font-size: 12px; }
.cc-main[aria-pressed="true"] { background: #fff; color: #000; }
.cc-main[aria-pressed="true"] i { background: var(--coral); color: #fff; }
.cc-main[aria-pressed="true"] small { color: #666; }

/* Action button */
.action-stage { position: relative; height: 176px; margin-top: 22px; display: grid; place-items: center; }
.action-phone { position: relative; width: 70px; height: 150px; border-radius: 18px; background: linear-gradient(90deg, #202229, #4a4e5a 45%, #202229); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.action-phone::before { content: ""; position: absolute; left: -4px; top: 26px; width: 4px; height: 18px; border-radius: 2px 0 0 2px; background: var(--grad-coral); box-shadow: 0 0 16px 3px rgba(255, 125, 74, 0.7); animation: press 2.4s var(--ease-out) infinite; }
.action-phone::after { content: ""; position: absolute; left: -4px; top: 56px; width: 4px; height: 28px; border-radius: 2px 0 0 2px; background: #3a3d47; box-shadow: 0 36px 0 #3a3d47; }
.action-pulse { position: absolute; left: calc(50% - 39px); top: calc(50% - 50px); width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 0 2px var(--coral); animation: ping 2.4s var(--ease-out) infinite; }
@keyframes press { 0%, 100% { transform: translateX(0); } 12% { transform: translateX(3px); } 24% { transform: translateX(0); } }
@keyframes ping { 0%, 10% { transform: scale(.4); opacity: 0; } 14% { opacity: 1; } 60%, 100% { transform: scale(4.5); opacity: 0; } }

/* Home screen widget */
.widget-stage { display: flex; gap: 16px; align-items: center; justify-content: center; margin-top: 26px; flex-wrap: wrap; }
.hs-widget {
  width: 158px;
  height: 158px;
  padding: 16px;
  border-radius: 34px;
  background: var(--paper);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.6);
}
.hs-widget .v { font-family: var(--serif); font-size: 44px; line-height: 1; }
.hs-widget .c { font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); margin-top: 4px; }
.hs-widget .go { margin-top: auto; display: flex; align-items: center; gap: 6px; justify-content: center; height: 40px; border-radius: 14px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 800; }
.hs-widget.dark { background: #000; color: var(--a-ink); box-shadow: inset 0 0 0 1px var(--a-hairline); }
.hs-widget.dark .c { color: var(--a-faint); }
.hs-widget.dark .go { background: transparent; box-shadow: inset 0 0 0 1.5px var(--a-accent); color: var(--a-accent); }
.hs-widget.dark .v { font-family: ui-rounded, var(--sans); font-weight: 300; font-size: 36px; font-variant-numeric: tabular-nums; }

/* -------------------------------------------------------------------------- */
/* Halo                                                                        */
/* -------------------------------------------------------------------------- */

.halo-section { overflow: hidden; }
.halo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.halo-figure { position: relative; display: grid; place-items: center; }
.halo-figure::before {
  content: "";
  position: absolute;
  width: 85%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 112, 74, 0.18), transparent 65%);
}
.halo-svg { width: min(460px, 100%); height: auto; overflow: visible; }
.halo-svg .tick { transition: stroke 0.5s, stroke-width 0.5s; cursor: pointer; }
.halo-svg text { font-family: var(--serif); }
.halo-center-num { font-size: 104px; fill: var(--ink); }
.halo-center-cap { font-family: var(--sans) !important; font-size: 13px; font-weight: 800; letter-spacing: .16em; fill: var(--ink-muted); }
.halo-tip {
  position: absolute;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -130%);
  transition: opacity .15s;
}
.seg {
  display: inline-flex;
  padding: 4px;
  margin-top: 30px;
  border-radius: 999px;
  background: var(--paper-sunk);
  box-shadow: inset 0 0 0 1px var(--hairline);
}
.seg button {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-weight: 800;
  font-size: 15px;
  color: var(--ink-muted);
  cursor: pointer;
  transition: background-color .25s, color .25s, box-shadow .25s;
}
.seg button[aria-selected="true"] { background: var(--paper-raised); color: var(--accent); box-shadow: 0 0 0 1px rgba(194,69,42,.35), 0 6px 16px -8px rgba(0,0,0,.25); }
.key-list { margin: 30px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.key-list li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; color: var(--ink-muted); font-size: 16px; line-height: 1.5; }
.key-list .sw { width: 6px; height: 20px; margin: 3px auto 0; border-radius: 4px; }
@media (max-width: 900px) { .halo-grid { grid-template-columns: 1fr; } .halo-figure { order: -1; } }

/* -------------------------------------------------------------------------- */
/* Doctor section                                                              */
/* -------------------------------------------------------------------------- */

.doctor-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.stat-card {
  padding: 24px;
  border-radius: var(--radius-m);
  background: var(--paper-raised);
  box-shadow: 0 1px 0 var(--hairline), inset 0 0 0 1px var(--hairline);
}
.stat-card .v { font-family: var(--serif); font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat-card .v small { font-size: 0.42em; letter-spacing: 0; color: var(--ink-muted); margin-left: 4px; }
.stat-card .l { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 14.5px; font-weight: 700; color: var(--ink-muted); }
.stat-card .l i { width: 10px; height: 10px; border-radius: 3px; }
.stat-card.wide { grid-column: span 2; }
.meter { margin-top: 16px; }
.meter-row { display: flex; justify-content: space-between; font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.meter-row span:last-child { color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.meter-bar { position: relative; height: 10px; border-radius: 10px; background: rgba(28,25,23,.08); overflow: visible; }
.meter-bar b { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 10px; background: var(--calm); }
.meter-bar em { position: absolute; top: -5px; bottom: -5px; width: 2px; background: var(--ink); border-radius: 2px; }
.meter + .meter { margin-top: 18px; }
.fine { margin-top: 14px; font-size: 13.5px; color: var(--ink-faint); line-height: 1.5; }

.phone-duo { position: relative; display: flex; justify-content: center; align-items: flex-start; min-height: 640px; }
.phone-duo .iphone:first-child { --w: min(290px, 58vw); z-index: 2; transform: translateX(-22%) rotate(-4deg); }
.phone-duo .iphone:last-child { --w: min(270px, 54vw); position: absolute; top: 80px; left: 50%; transform: translateX(-8%) rotate(5deg); }

.report-list { margin: 34px 0 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.report-list li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--hairline); font-size: 16.5px; }
.report-list li:last-child { border-bottom: 1px solid var(--hairline); }
.report-list .icon { font-size: 20px; color: var(--accent); margin-top: 3px; }
.report-list b { display: block; font-weight: 800; }
.report-list span { color: var(--ink-muted); font-size: 15px; }

.clinician {
  margin-top: clamp(60px, 8vw, 110px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(28px, 5vw, 80px);
  padding: clamp(28px, 4vw, 56px);
  border-radius: var(--radius-l);
  background: var(--paper-sunk);
  box-shadow: inset 0 0 0 1px var(--hairline);
}
.clinician blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.3rem); line-height: 1.2; letter-spacing: -0.015em; }
.criteria { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.criteria div { padding: 18px; border-radius: 16px; background: var(--paper-raised); box-shadow: inset 0 0 0 1px var(--hairline); }
.criteria b { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 500; line-height: 1; color: var(--accent); }
.criteria span { display: block; margin-top: 8px; font-size: 14px; color: var(--ink-muted); line-height: 1.4; }
@media (max-width: 960px) {
  .doctor-grid, .clinician { grid-template-columns: 1fr; }
  .phone-duo { min-height: 560px; }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr; }
  .stat-card.wide { grid-column: auto; }
  .criteria { grid-template-columns: 1fr; }
  .phone-duo { min-height: 480px; }
}

/* -------------------------------------------------------------------------- */
/* Honest insights                                                             */
/* -------------------------------------------------------------------------- */

.honest-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(30px, 5vw, 70px); align-items: start; }
.forest { padding: clamp(22px, 3vw, 36px); border-radius: var(--radius-l); background: var(--paper-raised); box-shadow: inset 0 0 0 1px var(--hairline); }
.forest-row { display: grid; grid-template-columns: minmax(120px, 0.9fr) minmax(0, 1.6fr); gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--hairline); }
.forest-row:last-of-type { border-bottom: 0; }
.forest-row b { display: block; font-weight: 800; font-size: 16px; }
.forest-row span { display: block; font-size: 13.5px; color: var(--ink-muted); line-height: 1.4; }
.forest-row .verdict { margin-top: 6px; font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.verdict.signal { color: var(--accent); }
.verdict.none { color: var(--ink-faint); }
.verdict.wait { color: var(--caution); }
.forest svg { width: 100%; height: 44px; overflow: visible; }
.forest-axis { display: grid; grid-template-columns: minmax(120px, 0.9fr) minmax(0, 1.6fr); gap: 18px; font-size: 12px; color: var(--ink-faint); font-weight: 700; }
.forest-axis div { display: flex; justify-content: space-between; }
.forest .fine { margin-top: 18px; }

.wont { margin: 0; padding: 0; list-style: none; }
.wont li { padding: 22px 0; border-top: 1px solid var(--hairline); }
.wont li:last-child { border-bottom: 1px solid var(--hairline); }
.wont h3 { position: relative; display: inline-block; font-family: var(--serif); font-weight: 500; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); line-height: 1.15; }
.wont h3::after {
  content: "";
  position: absolute;
  left: -2%;
  top: 55%;
  width: 104%;
  height: 3px;
  border-radius: 3px;
  background: var(--accent);
  transform: scaleX(var(--strike, 1));
  transform-origin: left;
}
.wont p { margin: 8px 0 0; color: var(--ink-muted); font-size: 16px; }
@media (max-width: 900px) { .honest-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .forest-row, .forest-axis { grid-template-columns: 1fr; gap: 10px; } .forest-axis > span { display: none; } }

/* -------------------------------------------------------------------------- */
/* Gallery                                                                     */
/* -------------------------------------------------------------------------- */

.gallery { overflow: hidden; }
.gallery-track {
  display: flex;
  gap: clamp(28px, 4vw, 56px);
  padding-inline: var(--gutter);
  padding-block: 20px 50px;
  width: max-content;
}
.gallery-item { flex: none; width: min(300px, 70vw); }
.gallery-item .iphone { --w: min(270px, 64vw); margin-inline: auto; }
.gallery-item figcaption { margin-top: 26px; text-align: center; }
.gallery-item figcaption b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.35rem; color: var(--n-ink); }
.gallery-item figcaption span { display: block; margin-top: 4px; font-size: 15px; color: var(--n-muted); }
.gallery-scroller { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery-scroller::-webkit-scrollbar { display: none; }
.gallery-scroller .gallery-item { scroll-snap-align: center; }
.js-hscroll .gallery-scroller { overflow: visible; }

/* -------------------------------------------------------------------------- */
/* Feature trio                                                                */
/* -------------------------------------------------------------------------- */

.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.trio .card { background: var(--paper-raised); box-shadow: inset 0 0 0 1px var(--hairline); }
.trio .card .big-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 24px;
  border-radius: 18px;
  color: #fff;
  font-size: 28px;
}
.big-icon.health { background: linear-gradient(135deg, #ff6a88, #f5365c); }
.big-icon.weather { background: linear-gradient(135deg, #7ec8ff, #4a7dff); }
.big-icon.import { background: var(--grad-violet); }
.trio .card p { color: var(--ink-muted); }
@media (max-width: 900px) { .trio { grid-template-columns: 1fr; } }

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

.privacy-section { overflow: hidden; }
.privacy-section::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% -20%;
  height: 80%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(126, 99, 224, 0.28), transparent 70%);
  pointer-events: none;
}
.no-list { margin: 0; padding: 0; list-style: none; }
.no-list li {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, 1.4rem + 8vw, 9.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--n-ink);
}
.no-list li span { display: inline-block; }
.no-list li:nth-child(2) { padding-left: 8vw; }
.no-list li:nth-child(3) { padding-left: 16vw; }
.no-list li em { font-style: italic; }
.privacy-quote {
  max-width: 760px;
  margin: clamp(60px, 8vw, 110px) 0 0 auto;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.4rem);
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--n-ink);
}
.privacy-quote cite { display: block; margin-top: 16px; font-family: var(--sans); font-style: normal; font-size: 14px; font-weight: 700; color: var(--n-faint); }
.privacy-cards { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 18px; margin-top: clamp(60px, 8vw, 100px); }
.label-card { background: #fff; color: #111; box-shadow: none; }
.label-card .lc-head { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid #e5e5e5; }
.label-card .lc-head b { font-family: -apple-system, system-ui, sans-serif; font-size: 22px; letter-spacing: -0.01em; }
.label-card .lc-head span { font-size: 13px; color: #777; }
.label-card .lc-body { display: grid; place-items: center; text-align: center; padding: 34px 10px 16px; }
.label-card .lc-body .icon { font-size: 46px; color: #0a84ff; }
.label-card .lc-body b { margin-top: 14px; font-family: -apple-system, system-ui, sans-serif; font-size: 22px; }
.label-card .lc-body p { color: #555; font-size: 15px; max-width: 26em; }
.nots { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.nots li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--n-hairline); font-size: 16px; color: var(--n-ink); }
.nots li:last-child { border-bottom: 0; }
.nots .icon { margin-top: 4px; font-size: 16px; color: var(--coral); }
.nots span { color: var(--n-muted); }
@media (max-width: 900px) { .privacy-cards { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------------------- */
/* Gentle                                                                      */
/* -------------------------------------------------------------------------- */

.gentle-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.notifs { position: relative; display: grid; gap: 14px; }
.notif {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 40px -26px rgba(60, 30, 20, 0.45), inset 0 0 0 1px rgba(28, 25, 23, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  font-family: -apple-system, system-ui, var(--sans);
}
.notif img { width: 42px; height: 42px; border-radius: 10px; }
.notif b { display: block; font-size: 15px; }
.notif p { margin: 2px 0 0; font-size: 14px; line-height: 1.35; color: #3a3530; }
.notif time { font-size: 12.5px; color: #8a8078; }
.gentle-list { margin: 30px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.gentle-list li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--paper-raised); box-shadow: inset 0 0 0 1px var(--hairline); font-weight: 700; }
.gentle-list .icon { color: var(--accent); }
.notif-stack { position: relative; }
.notif-stack::before {
  content: "";
  position: absolute;
  inset: -12% -10%;
  z-index: -1;
  border-radius: 40px;
  background: radial-gradient(60% 60% at 30% 30%, rgba(201, 183, 255, 0.55), transparent 70%), radial-gradient(60% 60% at 80% 80%, rgba(255, 182, 109, 0.5), transparent 70%);
  filter: blur(20px);
}
@media (max-width: 900px) { .gentle-grid { grid-template-columns: 1fr; } }

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

.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(30px, 6vw, 90px); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem);
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line); transition: transform .4s var(--ease-out), background-color .3s; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px; background: currentColor; transform: translate(-50%, -50%); }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s var(--ease-out); }
.faq details[open] summary .pm { background: var(--hl); color: #fff; box-shadow: none; }
.faq details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq .answer { padding: 0 50px 24px 0; color: var(--fg-muted); font-size: 16.5px; }
.faq .answer p:last-child { margin-bottom: 0; }
.faq .answer a { color: var(--hl); font-weight: 700; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq .answer { padding-right: 0; } }

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

.cta { position: relative; overflow: hidden; text-align: center; padding-block: clamp(110px, 16vw, 220px); }
.cta-mark { width: clamp(120px, 18vw, 190px); margin: 0 auto 40px; filter: drop-shadow(0 30px 60px rgba(243, 74, 126, 0.45)); }
.cta .h2 { max-width: 14ch; margin-inline: auto; font-size: clamp(2.6rem, 1.4rem + 5vw, 6rem); }
.cta .lede { margin: 26px auto 0; }
.cta .hero-cta { justify-content: center; }
.cta::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 40%;
  width: 1100px;
  height: 1100px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: conic-gradient(from 200deg, rgba(126,99,224,.0), rgba(126,99,224,.35), rgba(243,74,126,.35), rgba(255,182,109,.25), rgba(126,99,224,0));
  filter: blur(80px);
  opacity: .7;
  z-index: -1;
  animation: spin 40s linear infinite;
}
.cta { isolation: isolate; }

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

.site-footer { padding-block: 80px 40px; background: var(--night); color: var(--n-muted); border-top: 1px solid var(--n-hairline); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-grid .brand { color: var(--n-ink); }
.footer-grid p { margin-top: 16px; font-size: 15px; max-width: 32em; }
.footer-grid h4 { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--n-faint); margin-bottom: 14px; }
.footer-grid ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; font-weight: 600; color: var(--n-muted); transition: color .2s; }
.footer-grid a:hover { color: var(--n-ink); }
.emergency {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 14px;
  margin-top: 56px;
  padding: 20px 22px;
  border-radius: var(--radius-m);
  background: rgba(216, 162, 60, 0.08);
  box-shadow: inset 0 0 0 1px rgba(216, 162, 60, 0.25);
  color: #e6c58a;
  font-size: 15px;
  line-height: 1.5;
}
.emergency .icon { font-size: 22px; margin-top: 1px; color: #d8a23c; }
.emergency b { color: #f3dcae; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--n-hairline); font-size: 13.5px; color: var(--n-faint); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

/* -------------------------------------------------------------------------- */
/* Inner pages                                                                 */
/* -------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  padding-top: clamp(150px, 18vw, 210px);
  padding-bottom: clamp(56px, 7vw, 90px);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  right: -10%;
  top: -30%;
  z-index: -1;
  width: min(760px, 90vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(201, 183, 255, 0.6), transparent 55%), radial-gradient(circle at 65% 65%, rgba(255, 150, 110, 0.5), transparent 58%);
  filter: blur(40px);
  opacity: 0.75;
}
.page-hero .display { font-size: clamp(2.8rem, 1.6rem + 5vw, 5.6rem); max-width: 14ch; }
.page-hero .lede { margin-top: 24px; }
.page-hero .meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--paper-raised); box-shadow: inset 0 0 0 1px var(--hairline); font-size: 14px; font-weight: 700; color: var(--ink-muted); }
.pill .icon { color: var(--accent); }
.page-mark { position: absolute; right: var(--gutter); top: clamp(150px, 18vw, 200px); width: clamp(90px, 14vw, 170px); opacity: .95; }
@media (max-width: 700px) { .page-mark { display: none; } }

.summary-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-radius: var(--radius-l);
  background: var(--night);
  color: var(--n-ink);
  overflow: hidden;
}
.summary-card > div { padding: clamp(22px, 3vw, 34px); border-right: 1px solid var(--n-hairline); }
.summary-card > div:last-child { border-right: 0; }
.summary-card .icon { font-size: 26px; color: var(--coral); }
.summary-card b { display: block; margin-top: 16px; font-family: var(--serif); font-weight: 500; font-size: 1.45rem; line-height: 1.15; }
.summary-card p { margin: 8px 0 0; color: var(--n-muted); font-size: 15px; }
@media (max-width: 800px) { .summary-card { grid-template-columns: 1fr; } .summary-card > div { border-right: 0; border-bottom: 1px solid var(--n-hairline); } .summary-card > div:last-child { border-bottom: 0; } }

.doc-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(30px, 6vw, 90px); align-items: start; padding-block: clamp(50px, 7vw, 90px) clamp(90px, 12vw, 150px); }
.toc { position: sticky; top: 110px; max-height: calc(100vh - 140px); overflow: auto; }
.toc h2 { font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 14px; font-family: var(--sans); }
.toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; border-left: 1.5px solid var(--hairline); }
.toc li { counter-increment: toc; }
.toc a { position: relative; display: block; padding: 7px 0 7px 16px; margin-left: -1.5px; border-left: 1.5px solid transparent; font-size: 14.5px; font-weight: 600; line-height: 1.35; color: var(--ink-muted); text-decoration: none; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--accent); border-color: var(--accent); }
@media (max-width: 900px) { .doc-layout { grid-template-columns: 1fr; } .toc { position: static; max-height: none; padding: 20px; border-radius: var(--radius-m); background: var(--paper-raised); box-shadow: inset 0 0 0 1px var(--hairline); } }

.prose { max-width: 740px; font-size: 17.5px; line-height: 1.7; color: var(--ink); }
.prose section { padding-top: 12px; margin-bottom: 56px; }
.prose h2 { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; font-family: var(--serif); font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.3rem); font-weight: 500; line-height: 1.15; letter-spacing: -0.015em; }
.prose h2 .n { font-family: var(--sans); font-size: 14px; font-weight: 800; color: var(--accent); letter-spacing: .04em; min-width: 26px; }
.prose h3 { margin: 30px 0 10px; font-family: var(--sans); font-size: 18px; font-weight: 800; }
.prose p, .prose ul, .prose ol { color: #3b3531; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1em; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--accent); font-weight: 700; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.callout {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 14px;
  margin: 24px 0;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--paper-raised);
  box-shadow: inset 0 0 0 1px var(--hairline);
  font-size: 16px;
}
.callout .icon { font-size: 21px; color: var(--accent); margin-top: 2px; }
.callout p:last-child { margin-bottom: 0; }
.callout.warn { background: #fff7e8; box-shadow: inset 0 0 0 1px rgba(154, 98, 0, .25); }
.callout.warn .icon { color: var(--caution); }
.table-wrap { overflow-x: auto; margin: 20px 0 26px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--hairline); background: var(--paper-raised); }
.prose table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.prose th, .prose td { padding: 13px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hairline); }
.prose th { font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); background: var(--paper-sunk); }
.prose tr:last-child td { border-bottom: 0; }
.prose td:first-child { font-weight: 700; color: var(--ink); white-space: nowrap; }
.tick-yes { color: var(--calm); font-weight: 800; }
.doc-foot { margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--hairline); font-size: 14.5px; color: var(--ink-faint); }

.progress-bar { position: fixed; left: 0; top: 0; z-index: 120; height: 3px; width: 100%; background: var(--grad-coral); transform: scaleX(0); transform-origin: left; }

/* Data deletion */
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.path-card { position: relative; display: flex; flex-direction: column; padding: clamp(24px, 3vw, 34px); border-radius: var(--radius-l); background: var(--paper-raised); box-shadow: inset 0 0 0 1px var(--hairline); }
.path-card .tag { align-self: flex-start; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--accent-quiet); color: var(--accent); }
.path-card h3 { margin-top: 18px; font-family: var(--serif); font-weight: 500; font-size: 1.6rem; line-height: 1.15; }
.path-card ol { margin: 18px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.path-card ol li { counter-increment: s; display: grid; grid-template-columns: 28px 1fr; gap: 10px; font-size: 15.5px; line-height: 1.45; color: #3b3531; }
.path-card ol li::before { content: counter(s); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--paper-sunk); font-size: 13px; font-weight: 800; color: var(--ink-muted); }
.path-card .result { margin-top: auto; padding-top: 20px; font-size: 14px; color: var(--ink-muted); }
.path-card .result b { color: var(--calm); }
.path-card.danger { background: var(--night); color: var(--n-ink); box-shadow: none; }
.path-card.danger .tag { background: rgba(255, 125, 74, 0.15); color: var(--coral); }
.path-card.danger ol li { color: var(--n-muted); }
.path-card.danger ol li::before { background: rgba(255,255,255,.08); color: var(--n-ink); }
.path-card.danger .result { color: var(--n-muted); }
.path-card.danger .result b { color: #7fb8a2; }
@media (max-width: 960px) { .steps-grid { grid-template-columns: 1fr; } }

.split-feature { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(30px, 6vw, 90px); align-items: center; }
@media (max-width: 860px) { .split-feature { grid-template-columns: 1fr; } .split-feature .iphone { margin-inline: auto; } }

.erase-demo { display: grid; place-items: center; }
.erase-sheet {
  width: min(340px, 100%);
  padding: 22px;
  border-radius: 28px;
  background: var(--paper-raised);
  box-shadow: 0 30px 60px -30px rgba(60, 30, 20, .45), inset 0 0 0 1px var(--hairline);
  text-align: center;
}
.erase-sheet b { display: block; font-size: 18px; }
.erase-sheet p { margin-top: 8px; font-size: 14px; color: var(--ink-muted); line-height: 1.45; }
.erase-sheet .erase-btn {
  --p: 0;
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 56px;
  margin-top: 16px;
  border: 0;
  border-radius: 18px;
  background: #fbe9e5;
  color: #b3261e;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}
.erase-btn::before { content: ""; position: absolute; inset: 0; background: rgba(179, 38, 30, .18); transform: scaleX(var(--p)); transform-origin: left; }
.erase-btn span { position: relative; }
.erase-sheet .erase-log { min-height: 1.4em; margin-top: 12px; font-size: 13px; color: var(--ink-faint); }

/* Support */
.support-search { position: relative; max-width: 620px; margin-top: 34px; }
.support-search input {
  width: 100%;
  min-height: 62px;
  padding: 0 22px 0 56px;
  border: 0;
  border-radius: 999px;
  background: var(--paper-raised);
  box-shadow: 0 20px 40px -28px rgba(60,30,20,.4), inset 0 0 0 1px var(--hairline);
  font: inherit;
  font-size: 17px;
  color: var(--ink);
}
.support-search input:focus { outline: none; box-shadow: 0 20px 40px -28px rgba(60,30,20,.4), inset 0 0 0 2px var(--accent); }
.support-search .icon { position: absolute; left: 22px; top: 50%; font-size: 21px; color: var(--ink-faint); transform: translateY(-50%); }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.contact-card { display: flex; flex-direction: column; padding: clamp(24px, 3vw, 32px); border-radius: var(--radius-l); background: var(--paper-raised); box-shadow: inset 0 0 0 1px var(--hairline); text-decoration: none; transition: transform .4s var(--ease-out), box-shadow .4s; }
a.contact-card:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -30px rgba(60,30,20,.35), inset 0 0 0 1px var(--hairline); }
.contact-card .icon-wrap { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: var(--accent-quiet); color: var(--accent); font-size: 24px; }
.contact-card h3 { margin-top: 20px; font-family: var(--serif); font-weight: 500; font-size: 1.5rem; line-height: 1.15; }
.contact-card p { margin: 8px 0 0; font-size: 15.5px; color: var(--ink-muted); }
.contact-card .go { margin-top: auto; padding-top: 20px; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--accent); }
.contact-card.dark { background: var(--night); color: var(--n-ink); box-shadow: none; }
.contact-card.dark p { color: var(--n-muted); }
.contact-card.dark .icon-wrap { background: rgba(255,125,74,.14); color: var(--coral); }
.contact-card.dark .go { color: var(--coral); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.faq-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.faq-cats button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--paper-raised); box-shadow: inset 0 0 0 1px var(--hairline); font-weight: 800; font-size: 14.5px; color: var(--ink-muted); cursor: pointer; }
.faq-cats button[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
.faq-group-title { margin: 40px 0 6px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }
.faq-group-title:first-child { margin-top: 0; }
.no-results { display: none; padding: 30px 0; color: var(--ink-muted); }
.no-results.is-shown { display: block; }
.support-layout .faq { --line: var(--hairline); --fg-muted: var(--ink-muted); --hl: var(--accent); }
mark.hit { background: rgba(255, 182, 109, .45); color: inherit; border-radius: 3px; padding: 0 2px; }
.siri-phrases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 14px 0; }
.siri-phrases span { padding: 12px 14px; border-radius: 12px; background: var(--paper-sunk); font-family: var(--serif); font-style: italic; font-size: 16px; }
@media (max-width: 600px) { .siri-phrases { grid-template-columns: 1fr; } }

/* 404 */
.not-found { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter) 60px; }
.not-found .cta-mark { animation: spin 30s linear infinite; }

/* -------------------------------------------------------------------------- */
/* Reveal (JS adds .js to <html>)                                              */
/* -------------------------------------------------------------------------- */

.js [data-reveal] { opacity: 0; transform: translateY(28px); }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 0.9s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }

/* -------------------------------------------------------------------------- */
/* Attack mode — the whole site, true black and one dim amber                  */
/* -------------------------------------------------------------------------- */

html[data-mode="attack"] {
  color-scheme: dark;
  --paper: #000;
  --paper-raised: #0a0706;
  --paper-sunk: #050302;
  --ink: var(--a-ink);
  --ink-muted: var(--a-muted);
  --ink-faint: var(--a-faint);
  --hairline: var(--a-hairline);
  --accent: var(--a-accent);
  --accent-quiet: rgba(196, 113, 63, 0.16);
  --caution: #a87a3a;
  --calm: #6e7a5a;
  --night: #000;
  --night-2: #000;
  --n-ink: var(--a-ink);
  --n-muted: var(--a-muted);
  --n-faint: var(--a-faint);
  --n-hairline: var(--a-hairline);
  --n-raised: #0a0706;
  --coral: var(--a-accent);
  --peach: var(--a-accent);
  --rose: var(--a-accent);
  --grad-coral: linear-gradient(var(--a-accent), var(--a-accent));
  --grad-violet: linear-gradient(#3a2a20, #3a2a20);
  --sev-1: #6b5230; --sev-2: #8a5f33; --sev-3: #a26637; --sev-4: #b4653a; --sev-5: #c4713f;
}
html[data-mode="attack"] body { background: #000; }
html[data-mode="attack"] .surface-black,
html[data-mode="attack"] .surface-night,
html[data-mode="attack"] .surface-paper { background: #000; }
html[data-mode="attack"] *,
html[data-mode="attack"] *::before,
html[data-mode="attack"] *::after {
  animation-duration: 0.001s !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001s !important;
  text-shadow: none !important;
}
html[data-mode="attack"] .hero-bg,
html[data-mode="attack"] .cta::before,
html[data-mode="attack"] .page-hero::before,
html[data-mode="attack"] .privacy-section::before,
html[data-mode="attack"] .notif-stack::before,
html[data-mode="attack"] .story-phone .halo-glow,
html[data-mode="attack"] .halo-figure::before { display: none; }
html[data-mode="attack"] .grad-text { background: none; color: var(--a-accent); }
html[data-mode="attack"] img:not(.keep-bright),
html[data-mode="attack"] .lockscreen,
html[data-mode="attack"] .hero-visual canvas { filter: brightness(0.5) sepia(0.55) saturate(0.7) hue-rotate(-10deg); }
html[data-mode="attack"] .btn-primary { background: transparent; color: var(--a-accent); box-shadow: inset 0 0 0 1.5px var(--a-accent); }
html[data-mode="attack"] .site-header .bar { background: rgba(0,0,0,.92) !important; box-shadow: inset 0 0 0 1px var(--a-hairline) !important; }
html[data-mode="attack"] .brand, html[data-mode="attack"] .nav a, html[data-mode="attack"] .mode-toggle, html[data-mode="attack"] .menu-btn { color: var(--a-ink) !important; background-color: transparent; }
html[data-mode="attack"] .appstore { box-shadow: inset 0 0 0 1.2px var(--a-hairline); color: var(--a-ink); }
html[data-mode="attack"] .label-card, html[data-mode="attack"] .hs-widget { background: #0a0706; color: var(--a-ink); box-shadow: inset 0 0 0 1px var(--a-hairline); }
html[data-mode="attack"] .label-card .lc-body p, html[data-mode="attack"] .label-card .lc-head span { color: var(--a-muted); }
html[data-mode="attack"] .label-card .lc-body .icon { color: var(--a-accent); }
html[data-mode="attack"] .notif { background: #0a0706; box-shadow: inset 0 0 0 1px var(--a-hairline); }
html[data-mode="attack"] .notif p, html[data-mode="attack"] .prose p, html[data-mode="attack"] .prose ul, html[data-mode="attack"] .prose ol, html[data-mode="attack"] .path-card ol li { color: var(--a-muted); }
html[data-mode="attack"] .callout.warn { background: #0a0706; }
html[data-mode="attack"] .emergency { color: var(--a-ink); }
html[data-mode="attack"] .emergency b { color: var(--a-ink); }
html[data-mode="attack"] .big-icon { background: #1a120d !important; color: var(--a-accent); }
html[data-mode="attack"] .erase-sheet .erase-btn { background: #140c08; color: var(--a-accent); }
html[data-mode="attack"] .iphone { background: #1a1512; box-shadow: inset 0 0 0 1px var(--a-hairline); }
html[data-mode="attack"] .siri-stage::before { background: var(--a-accent); }
html[data-mode="attack"] mark.hit { background: rgba(196,113,63,.3); }
html[data-mode="attack"] .faq-cats button[aria-pressed="true"] { background: var(--a-accent); color: #000; }
html[data-mode="attack"] .stat-card .l i { filter: brightness(.6); }
html[data-mode="attack"] .marquee li::after { background: var(--a-accent); }
html[data-mode="attack"] .page-mark, html[data-mode="attack"] .cta-mark { filter: brightness(.45) sepia(.7); }

.attack-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 110;
  display: none;
  align-items: center;
  gap: 12px;
  max-width: calc(100% - 32px);
  padding: 10px 10px 10px 18px;
  border-radius: 999px;
  background: #000;
  box-shadow: inset 0 0 0 1px var(--a-hairline);
  color: var(--a-muted);
  font-size: 14px;
  font-weight: 700;
  transform: translateX(-50%);
}
.attack-banner button { min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; box-shadow: inset 0 0 0 1.5px var(--a-accent); color: var(--a-accent); font-weight: 800; cursor: pointer; white-space: nowrap; }
html[data-mode="attack"] .attack-banner { display: flex; }

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .manifesto .word { opacity: 1; }
}

/* -------------------------------------------------------------------------- */
/* Additions — layout details for the index                                    */
/* -------------------------------------------------------------------------- */

.story-copy { position: relative; }
.story-copy .story-head { margin-bottom: clamp(30px, 5vh, 56px); }
.story .story-head .h2 { font-size: clamp(1.9rem, 1.2rem + 2vw, 2.9rem); max-width: 16ch; }
.story-phone .iphone { --w: min(330px, 70vw, calc((100svh - 150px) / 2.26)); }
.js-pin .story-inner { padding-block: 100px 70px; }

.lockscreen .ls-widget { position: relative; transition: transform .25s var(--ease-out), background-color .25s; }
.lockscreen .tap-ring { left: 50%; top: 50%; margin: -8cqi 0 0 -8cqi; }
.lockscreen.is-tapped .ls-widget { transform: scale(.94); background: rgba(255, 255, 255, 0.36); }
.lockscreen.is-tapped .tap-ring { animation: tap 0.9s var(--ease-out) forwards; }
@keyframes tap { 0% { opacity: 1; transform: scale(.3); } 100% { opacity: 0; transform: scale(2.4); } }
.lockscreen .ls-live { width: 100%; margin-top: 6cqi; opacity: 0; transform: translateY(5cqi) scale(.96); transition: opacity .6s var(--ease-out), transform .8s var(--ease-out); }
.lockscreen.is-live .ls-live { opacity: 1; transform: none; }
.lockscreen .ls-live .live-activity { padding: 4.2cqi; border-radius: 7cqi; background: rgba(0, 0, 0, 0.86); }
.lockscreen .ls-live .la-row { margin-top: 3cqi; }
.lockscreen .ls-live .la-row button { pointer-events: none; }

.report-block {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: start;
  margin-top: clamp(60px, 8vw, 110px);
}
.report-block .report-list { margin-top: 0; }
.report-list li > span { color: var(--ink); font-size: 16.5px; }
.report-list li > span > span { display: block; margin-top: 2px; }
@media (max-width: 900px) { .report-block { grid-template-columns: 1fr; } }

.nots li > div { line-height: 1.5; }
.gallery .section-head { margin-bottom: clamp(30px, 4vw, 50px); }
.js-hscroll .gallery-track { padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2)); }
.gallery-item .iphone { transition: transform .8s var(--ease-out); }
.gallery-item:hover .iphone { transform: translateY(-8px) rotate(-1deg); }

.hero h1 .line:last-child > span { padding-right: 0.08em; }
.hero-visual canvas { cursor: grab; }

/* Live Activity end state */
.live-activity.is-ended .la-timer { color: var(--a-faint); }
.live-activity.is-ended .end { background: var(--a-accent); color: #000; }

/* Halo ticks during an attack */
.halo-svg .sweep { transition: stroke-dashoffset 1.4s var(--ease-out), opacity .5s; }
.halo-section.is-attack { background: #000; color: var(--a-ink); transition: background-color .6s, color .6s; }
.halo-section { transition: background-color .6s, color .6s; }
.halo-section.is-attack .h2, .halo-section.is-attack .eyebrow { color: var(--a-ink); }
.halo-section.is-attack .lede, .halo-section.is-attack .key-list li { color: var(--a-muted); }
.halo-section.is-attack .seg { background: #0a0706; box-shadow: inset 0 0 0 1px var(--a-hairline); }
.halo-section.is-attack .seg button { color: var(--a-muted); }
.halo-section.is-attack .seg button[aria-selected="true"] { background: #000; color: var(--a-accent); box-shadow: inset 0 0 0 1.5px var(--a-accent); }
.halo-section.is-attack .halo-figure::before { opacity: 0; }
.halo-section.is-attack .halo-center-num { fill: var(--a-ink); }
.halo-section.is-attack .halo-center-cap { fill: var(--a-faint); }
.halo-section.is-attack .eyebrow::before { background: var(--a-accent); }

/* App icon as the logo */
.brand img { width: 34px; height: 34px; filter: drop-shadow(0 4px 10px rgba(20, 10, 40, 0.35)); }
.brand:hover img { transform: rotate(-8deg) scale(1.08); }
.hero .chip { padding-left: 5px; }
.hero .chip img { width: 26px; height: 26px; margin-right: -2px; }
.cta-mark { border-radius: 22%; animation: float 7s ease-in-out infinite; }
.not-found .cta-mark { animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-14px) rotate(3deg); } }
.notif img { border-radius: 0; }

/* Hero entrance (CSS, so nothing depends on scripts loading) */
.js .hero h1 .line > span { animation: rise 1.15s var(--ease-out) both; }
.js .hero h1 .line:nth-child(2) > span { animation-delay: .09s; }
.js .hero h1 .line:nth-child(3) > span { animation-delay: .18s; }
.js .hero [data-hero-in] { animation: fade-up 1s var(--ease-out) both; }
.js .hero .chip[data-hero-in] { animation-delay: 0s; }
.js .hero .lede[data-hero-in] { animation-delay: .3s; }
.js .hero .hero-cta[data-hero-in] { animation-delay: .42s; }
.js .hero .hero-proof[data-hero-in] { animation-delay: .54s; }
@keyframes rise { from { transform: translateY(108%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.js .wont li h3::after { transform: scaleX(0); transition: transform 0.9s var(--ease-out) 0.45s; }
.js .wont li.is-in h3::after { transform: scaleX(1); }
html[data-mode="attack"] .manifesto .word { opacity: 1 !important; }

.undo-link { padding: 0; border: 0; background: none; color: var(--a-accent); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.hold-note .faint { color: var(--a-faint); }
.story-phone .shot { transition: opacity .5s var(--ease-out); }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.hero h1.display { font-size: clamp(2.7rem, 1.1rem + 4.1vw, 5.3rem); }
@media (max-width: 960px) { .hero h1.display { font-size: clamp(2.6rem, 1rem + 7vw, 4.6rem); } }
.scroll-cue { text-decoration: none; }

.manifesto .stat strong span { display: inline; margin: 0; font-size: inherit; color: inherit; line-height: inherit; }
.cc-stage { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 230px; margin-inline: auto; }
.cc-tile { width: 100%; }
.cc-main { font-size: 15px; }
.b-live .la-wrap { margin-top: auto; padding-top: 34px; }
.la-clock { margin: 26px 0 0; text-align: center; font-family: var(--sans); color: var(--a-faint); line-height: 1; }
.la-clock small { display: block; font-size: 15px; font-weight: 700; letter-spacing: .02em; }
.la-clock b { display: block; margin-top: 6px; font-size: clamp(64px, 7vw, 96px); font-weight: 700; letter-spacing: -0.03em; color: #3a281d; }
.b-live { background: radial-gradient(90% 60% at 50% 110%, rgba(196, 113, 63, .16), transparent 70%), #000; }
.widget-stage { flex-wrap: nowrap; }
.hs-widget { width: min(150px, 44%); height: auto; aspect-ratio: 1; padding: 14px; border-radius: 30px; }
@media (max-width: 1000px) and (min-width: 621px) { .hs-widget { width: 150px; } }

.phone-duo .iphone:first-child { transform: translateX(-34%) rotate(-4deg); }
.phone-duo .iphone:last-child { transform: translateX(-26%) rotate(5deg); }
@media (max-width: 560px) {
  .phone-duo .iphone:first-child { transform: translateX(-30%) rotate(-4deg); }
  .phone-duo .iphone:last-child { transform: translateX(-30%) rotate(5deg); }
}

.gallery.js-hscroll { min-height: 100svh; padding-block: 96px 30px; display: flex; flex-direction: column; justify-content: center; }
.js-hscroll .gallery-track { padding-block: 10px 20px; }
.js-hscroll .gallery-item { width: min(300px, calc((100svh - 330px) / 2.26 + 30px)); }
.js-hscroll .gallery-item .iphone { --w: min(270px, calc((100svh - 360px) / 2.26)); }
.js-hscroll .gallery-item figcaption { margin-top: 18px; }

/* Support page */
.faq-group + .faq-group .faq-group-title { margin-top: 48px; }
.support-layout .faq .answer ol { padding-left: 1.2em; margin: 0 0 1em; }
.support-layout .faq .answer li { margin-bottom: 6px; }
.support-layout .toc .faq-cats { flex-direction: column; align-items: stretch; }
.support-layout .toc .faq-cats button { text-align: left; }
@media (max-width: 900px) {
  .support-layout .toc { padding: 0; background: none; box-shadow: none; }
  .support-layout .toc h2 { display: none; }
  .support-layout .toc .faq-cats { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .support-layout .toc .faq-cats button { flex: none; }
}
.prose code { font-size: .9em; padding: 1px 6px; border-radius: 6px; background: var(--paper-sunk); }
.page-hero + section .summary-card { margin-top: 0; }

/* Data deletion fixes */
.path-card ol li { display: block; position: relative; padding-left: 38px; min-height: 26px; }
.path-card ol li::before { position: absolute; left: 0; top: -1px; }
.split-feature { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); }
@media (max-width: 860px) { .split-feature { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .doc-layout { grid-template-columns: minmax(0, 1fr); } }

/* Decorative glows and tilted phones must never widen the page on phones */
main > section, main > div, .site-footer { overflow-x: clip; }
