/* Family Trees — site styles.
   The app's "Sleek" design system on the web: quiet ink-and-gray chrome, one indigo accent,
   round portraits with hairline rings, glass only for controls that float over content.
   Tokens mirror FamilyTrees/Design/Album.swift (see DESIGN.md). System fonts only. */

/* 1. Tokens ------------------------------------------------------------------------------ */
:root {
  color-scheme: light dark;
  --ink: #0F1115;
  --ink-2: #686F7C;             /* secondary text: 4.6:1 on --panel, 5:1 on --bg */
  --bg: #FFFFFF;                /* page */
  --panel: #F3F4F7;             /* canvasSoft: tiles, alternate sections */
  --card: #FFFFFF;              /* canvas: cards raised on a panel */
  --well: #ECEEF3;              /* tile: quiet fills */
  --accent: #4F46E5;            /* links, focus, selection */
  --accent-fill: #4F46E5;       /* filled buttons (white text 6.3:1) */
  --accent-soft: rgba(79, 70, 229, .10);
  --on-accent: #FFFFFF;
  --hairline: rgba(15, 17, 21, .12);
  --hairline-soft: rgba(15, 17, 21, .07);
  --monogram: #E4E6EE;
  --monogram-ink: #3C3F52;
  --sage: #8FAE98;
  --parent: #6366F1;
  --partner: #E0567F;
  --child: #0FA38A;
  --sibling: #D98A1F;
  --glass: rgba(255, 255, 255, .64);
  --glass-strong: rgba(255, 255, 255, .80);
  --glass-edge: rgba(255, 255, 255, .85);
  --glass-ring: rgba(15, 17, 21, .08);
  --shadow-sm: 0 1px 2px rgba(15, 17, 21, .04), 0 2px 8px rgba(15, 17, 21, .04);
  --shadow-md: 0 2px 6px rgba(15, 17, 21, .04), 0 12px 32px rgba(15, 17, 21, .07);
  --shadow-lg: 0 4px 12px rgba(15, 17, 40, .06), 0 30px 70px -20px rgba(24, 22, 80, .28);
  --mesh-1: #E3E7FF;
  --mesh-2: #EAE6FF;
  --mesh-3: #EEF0FF;
  --mesh-4: #F6F6FB;
  --radius-card: 18px;
  --radius-tile: 28px;
  --radius-btn: 14px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4.2vw, 40px);
  --section: clamp(64px, 8vw, 112px);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #F3F4F7;
    --ink-2: #9CA3AF;
    --bg: #0B0C10;
    --panel: #16181F;
    --card: #1E2029;
    --well: #1E2029;
    --accent: #7477F6;
    --accent-fill: #5E5CE6;       /* white text 5.1:1; #7477F6 stays for links */
    --accent-soft: rgba(116, 119, 246, .16);
    --hairline: rgba(255, 255, 255, .12);
    --hairline-soft: rgba(255, 255, 255, .07);
    --monogram: #252836;
    --monogram-ink: #D5D8E6;
    --sage: #7FA08A;
    --parent: #7C7FF7;
    --partner: #F07896;
    --child: #2BC4A8;
    --sibling: #F0A93E;
    --glass: rgba(28, 30, 40, .58);
    --glass-strong: rgba(28, 30, 40, .78);
    --glass-edge: rgba(255, 255, 255, .10);
    --glass-ring: rgba(0, 0, 0, .35);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
    --shadow-md: 0 2px 6px rgba(0, 0, 0, .25), 0 12px 32px rgba(0, 0, 0, .35);
    --shadow-lg: 0 4px 12px rgba(0, 0, 0, .35), 0 30px 70px -20px rgba(0, 0, 0, .6);
    --mesh-1: #191B45;
    --mesh-2: #1C1840;
    --mesh-3: #14163A;
    --mesh-4: #0E0F1A;
  }
}

/* 2. Base -------------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  font: 17px/1.55 var(--font);
  letter-spacing: -.011em;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; color: var(--ink); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
strong { font-weight: 600; }
kbd {
  font: 500 .85em/1 var(--font);
  display: inline-block; min-width: 1.7em; padding: .28em .45em; text-align: center;
  border-radius: 7px; border: 1px solid var(--hairline); border-bottom-width: 2px;
  background: var(--card); color: var(--ink);
}
::selection { background: var(--accent-soft); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 12px;
  background: var(--accent-fill); color: var(--on-accent); font-weight: 600;
}
.skip:focus-visible { top: 12px; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon.fill { fill: currentColor; stroke: none; }

/* 3. Layout ------------------------------------------------------------------------------ */
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(760px + 2 * var(--gutter)); }
.section { padding: var(--section) 0; }
.section.tight { padding-top: calc(var(--section) * .5); }
.center { text-align: center; }
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-2); margin-bottom: 14px;
}
.h-display {
  font-size: clamp(2.5rem, 1.35rem + 4.3vw, 4.5rem);
  line-height: 1.04; letter-spacing: -.021em;
}
.h-section {
  font-size: clamp(2rem, 1.3rem + 2.5vw, 3.25rem);
  line-height: 1.08; letter-spacing: -.019em;
}
.h-sub { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.625rem); line-height: 1.2; letter-spacing: -.02em; }
.lead {
  font-size: clamp(1.125rem, 1.02rem + .42vw, 1.375rem);
  line-height: 1.45; letter-spacing: -.016em; color: var(--ink-2); margin-top: 18px;
}
.lead strong { color: var(--ink); font-weight: 600; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; line-height: 1.5; }
.section-head { max-width: 780px; }
.section-head.center { margin: 0 auto; }
.section-head .lead { max-width: 660px; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

/* 4. Navigation -------------------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  padding: 12px var(--gutter) 0;
  pointer-events: none;
}
.nav-bar {
  pointer-events: auto;
  max-width: var(--wrap); margin: 0 auto; height: 56px;
  display: flex; align-items: center; gap: 12px;
  padding: 0 8px 0 12px; border-radius: 999px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  box-shadow: inset 0 0 0 1px var(--glass-edge), 0 0 0 .5px var(--glass-ring), 0 8px 28px rgba(15, 17, 40, .08);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: 17px; letter-spacing: -.02em; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; box-shadow: 0 0 0 .5px var(--hairline); }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a { color: var(--ink); font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.nav-links a:hover { text-decoration: none; background: var(--hairline-soft); }
.nav-links a[aria-current="page"] { color: var(--accent); }
.nav-cta { margin-left: 4px; }
.nav-menu { display: none; margin-left: auto; position: relative; }
.nav-menu > summary {
  list-style: none; cursor: pointer; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; color: var(--ink);
}
.nav-menu > summary::-webkit-details-marker { display: none; }
.nav-menu > summary:hover { background: var(--hairline-soft); }
.nav-menu[open] > summary { background: var(--hairline-soft); }
.nav-menu .menu-panel {
  position: absolute; right: -4px; top: 50px; min-width: 220px; padding: 8px;
  border-radius: 22px; display: grid;
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  box-shadow: inset 0 0 0 1px var(--glass-edge), 0 0 0 .5px var(--glass-ring), var(--shadow-md);
}
.menu-panel a { padding: 11px 14px; border-radius: 14px; color: var(--ink); font-size: 16px; }
.menu-panel a:hover { background: var(--hairline-soft); text-decoration: none; }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-menu { display: block; }
}

/* 5. Buttons ----------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 50px; padding: 0 24px; border-radius: 999px; border: 0; cursor: pointer;
  font-size: 17px; font-weight: 600; letter-spacing: -.015em; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.97); }
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--accent-fill); color: var(--on-accent); box-shadow: 0 6px 20px -6px rgba(79, 70, 229, .55); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent-fill) 88%, #000); }
.btn-glass {
  color: var(--ink);
  background: var(--glass);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: inset 0 0 0 1px var(--glass-edge), 0 0 0 .5px var(--glass-ring), 0 6px 22px rgba(15, 17, 40, .10);
}
.btn-glass:hover { background: var(--glass-strong); }
.btn-glass .play-dot {
  width: 28px; height: 28px; margin-left: -12px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-fill); color: #fff;
}
.btn-glass .play-dot .icon { width: 12px; height: 12px; margin-left: 2px; }
.btn-small { height: 36px; padding: 0 16px; font-size: 15px; }
.link-arrow { display: inline-flex; align-items: center; gap: 4px; font-weight: 500; }
.link-arrow .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* The App Store slot. Until launch it is a quiet badge, not a link; see the comment in the HTML. */
.store-badge {
  display: inline-flex; align-items: center; gap: 12px; height: 50px; padding: 0 22px 0 16px;
  border-radius: 14px; background: #0F1115; color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 8px 22px -8px rgba(15, 17, 21, .5);
  line-height: 1.1; white-space: nowrap;
}
.store-badge img { width: 30px; height: 30px; border-radius: 7px; }
.store-badge small { display: block; font-size: 11px; font-weight: 500; letter-spacing: .01em; color: rgba(255, 255, 255, .72); }
.store-badge b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
@media (prefers-color-scheme: dark) {
  .store-badge { background: #000; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
}
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; }
.cta-note { margin-top: 18px; font-size: 14px; color: var(--ink-2); }
.cta-note a { font-weight: 500; }

/* 6. Devices ----------------------------------------------------------------------------- */
/* An iPhone with a screenshot, and a video slot layered over it that appears once its clip
   has loaded (js/site.js). The screen keeps the screenshot's aspect ratio (1206 × 2622). */
.device {
  --w: 300px;
  position: relative; flex: none; margin: 0;
  width: var(--w);
  padding: calc(var(--w) * .03);
  border-radius: calc(var(--w) * .168);
  background: linear-gradient(150deg, #43464f 0%, #1c1e24 24%, #0d0e12 60%, #2b2e36 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .10),
    inset 0 0 0 calc(var(--w) * .008) #0a0b0e,
    0 0 0 .5px rgba(0, 0, 0, .4),
    var(--shadow-lg);
}
@media (prefers-color-scheme: dark) {
  .device {
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, .14),
      inset 0 0 0 calc(var(--w) * .008) #0a0b0e,
      0 0 0 1px rgba(255, 255, 255, .07),
      var(--shadow-lg);
  }
}
.device .screen {
  position: relative; overflow: hidden; background: var(--panel);
  aspect-ratio: 1206 / 2622;
  border-radius: calc(var(--w) * .138);
  isolation: isolate;
}
.device.landscape .screen { aspect-ratio: 2622 / 1206; border-radius: calc(var(--w) * .064); }
.device.landscape { padding: calc(var(--w) * .0138); border-radius: calc(var(--w) * .078); }
.device.ipad { --w: clamp(280px, 34vw, 460px); padding: calc(var(--w) * .026); border-radius: calc(var(--w) * .062); }
.device.ipad .screen { aspect-ratio: 2064 / 2752; border-radius: calc(var(--w) * .038); }
.feature-media .device.ipad { --w: clamp(280px, 34vw, 460px); }
.device .screen > picture, .device .screen > img, .device .screen > video,
.device .screen > picture > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center;
}
.clip-video { opacity: 0; transition: opacity .6s ease; background: transparent; }
.is-live .clip-video { opacity: 1; }
.clip-toggle {
  position: absolute; right: 10px; bottom: 10px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer;
  display: none; place-items: center; color: var(--ink);
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  backdrop-filter: blur(16px) saturate(180%);
  box-shadow: inset 0 0 0 1px var(--glass-edge), 0 2px 10px rgba(0, 0, 0, .18);
}
.clip-toggle .icon { width: 14px; height: 14px; }
.is-live .clip-toggle { display: grid; }
.clip-toggle .i-play { display: none; }
.clip-toggle[aria-pressed="false"] .i-pause { display: none; }
.clip-toggle[aria-pressed="false"] .i-play { display: block; margin-left: 2px; }
figure.clip { margin: 0; }
figure.clip figcaption { margin-top: 14px; font-size: 14px; color: var(--ink-2); text-align: center; }

/* 7. Hero -------------------------------------------------------------------------------- */
.hero { position: relative; overflow: clip; margin-top: -68px; padding: calc(68px + clamp(32px, 6vw, 80px)) 0 clamp(24px, 3vw, 40px); }
.mesh {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 55% at 78% 30%, var(--mesh-1) 0%, transparent 70%),
    radial-gradient(45% 50% at 12% 18%, var(--mesh-2) 0%, transparent 70%),
    radial-gradient(55% 60% at 55% 95%, var(--mesh-3) 0%, transparent 72%),
    linear-gradient(180deg, var(--mesh-4) 0%, var(--bg) 100%);
}
.mesh::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 180px;
  background: linear-gradient(180deg, transparent, var(--bg));
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero-copy .lead { max-width: 560px; }
.hero-stage {
  --stage-w: clamp(250px, 24vw, 320px);
  position: relative; display: grid; place-items: center;
  padding: 24px 0 36px;
}
.hero-stage .device { --w: var(--stage-w); z-index: 1; }
.float {
  position: absolute; z-index: 2;
  background: var(--glass);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  box-shadow: inset 0 0 0 1px var(--glass-edge), 0 0 0 .5px var(--glass-ring), 0 16px 40px -12px rgba(24, 22, 80, .30);
}
.float-day {
  left: calc(50% - var(--stage-w) * .5 - 128px); top: 6%;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: 22px; white-space: nowrap;
}
.float-day .portrait { --size: 48px; }
.float-day .k { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.float-day .t { font-size: 16px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.float-day .s { font-size: 13px; color: var(--ink-2); line-height: 1.3; }
.float-radial {
  left: calc(50% + var(--stage-w) * .5 - 86px); bottom: 16%;
  width: 176px; height: 176px; border-radius: 50%;
  display: grid; place-items: center;
}
.float-memory {
  left: calc(50% - var(--stage-w) * .5 - 96px); bottom: 12%;
  display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 999px; white-space: nowrap;
}
.float-memory .play { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-fill); color: #fff; }
.float-memory .play .icon { width: 13px; height: 13px; margin-left: 2px; }
.float-memory .wave { display: flex; align-items: center; gap: 2.5px; height: 24px; }
.float-memory .wave i { display: block; width: 3px; border-radius: 2px; background: var(--ink-2); opacity: .75; }
.float-memory .meta { font-size: 12.5px; line-height: 1.25; }
.float-memory .meta b { display: block; font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.float-memory .meta span { color: var(--ink-2); }

/* Round portraits: a photo in a circle with a hairline ring (Album.PersonImage). */
.portrait {
  --size: 64px; width: var(--size); height: var(--size); border-radius: 50%; flex: none;
  position: relative; overflow: hidden; background: var(--monogram);
  box-shadow: 0 0 0 .5px var(--hairline);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(15, 17, 21, .10); }
@media (prefers-color-scheme: dark) { .portrait::after { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); } }

/* The radial quick-add: four tinted glass buttons around a portrait (TreeRadial). */
.radial { position: relative; width: 150px; height: 150px; }
.radial .portrait { --size: 70px; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 0 2.5px var(--bg), 0 0 0 4px var(--accent); }
.radial .rb {
  position: absolute; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 0 0 .5px rgba(255, 255, 255, .3), 0 6px 14px -4px var(--c);
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 82%, #fff), var(--c));
}
.radial .rb .icon { width: 17px; height: 17px; stroke-width: 2.2; }
.rb.up { --c: var(--parent); left: 56px; top: -6px; }
.rb.right { --c: var(--partner); right: -6px; top: 56px; }
.rb.down { --c: var(--child); left: 56px; bottom: -6px; }
.rb.left { --c: var(--sibling); left: -6px; top: 56px; }

.pills { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px;
  border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink);
  background: var(--card); box-shadow: inset 0 0 0 1px var(--hairline);
}
.pill .icon { width: 16px; height: 16px; color: var(--ink-2); }
.assurances { margin-top: clamp(40px, 6vw, 72px); justify-content: center; }
.hero .assurances .pill { background: var(--glass); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px var(--glass-edge), 0 0 0 .5px var(--glass-ring); }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy .lead { margin-left: auto; margin-right: auto; }
  .hero .cta-row { justify-content: center; }
  .hero-stage { --stage-w: clamp(220px, 56vw, 300px); padding-top: 12px; }
  .float-day { left: calc(50% - var(--stage-w) * .5 - 70px); top: 4%; }
  .float-radial { left: calc(50% + var(--stage-w) * .5 - 100px); bottom: 15%; }
  .float-memory { left: calc(50% - var(--stage-w) * .5 - 60px); bottom: 10%; }
}
@media (max-width: 560px) {
  .float { transform: scale(.8); }
  .float-day { left: 2px; top: 3%; transform-origin: left center; }
  .float-memory { left: 2px; bottom: 9%; transform-origin: left center; }
  .float-radial { left: auto; right: -6px; bottom: 14%; transform: scale(.66); transform-origin: right center; }
}
@media (max-width: 360px) {
  .float-memory { display: none; }
}

/* 8. Feature rows ----------------------------------------------------------------------- */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.feature.flip .feature-media { order: -1; }
.feature-copy { max-width: 520px; }
.feature.flip .feature-copy { justify-self: end; }
.feature-media { display: grid; place-items: center; position: relative; }
.feature-media .device { --w: clamp(250px, 24vw, 320px); }
.feature-media.halo::before {
  content: ""; position: absolute; inset: 6% -4%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, var(--mesh-1), transparent);
  filter: blur(8px); opacity: .9;
}
.points { list-style: none; display: grid; gap: 14px; margin-top: 30px; }
.points li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; font-size: 16px; line-height: 1.45; }
.points .dot {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.points .dot .icon { width: 15px; height: 15px; }
.points b { font-weight: 600; }
.points span { color: var(--ink-2); }
.badge {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .01em; vertical-align: middle;
  color: var(--accent); background: var(--accent-soft);
}
.badge.neutral { color: var(--ink-2); background: var(--hairline-soft); }
@media (prefers-color-scheme: dark) { .badge { color: #A5A8FA; } }
.copy-foot { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
@media (max-width: 860px) {
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 44px; }
  .feature.flip .feature-media { order: 0; }
  .feature-copy, .feature.flip .feature-copy { justify-self: start; max-width: none; }
}

/* 9. Tiles (bento) ------------------------------------------------------------------------ */
.tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; margin-top: clamp(40px, 5vw, 64px); }
.tile {
  position: relative; overflow: hidden; isolation: isolate;
  grid-column: span 2; background: var(--panel); border-radius: var(--radius-tile);
  padding: clamp(24px, 2.6vw, 34px); display: flex; flex-direction: column;
}
.tile.w3 { grid-column: span 3; }
.tile.w4 { grid-column: span 4; }
.tile.w6 { grid-column: span 6; }
.tile h3 { font-size: clamp(1.25rem, 1.1rem + .45vw, 1.5rem); line-height: 1.2; letter-spacing: -.022em; }
.tile p { margin-top: 10px; color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.tile .tile-icon {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  color: var(--accent); background: var(--card); box-shadow: inset 0 0 0 1px var(--hairline-soft), var(--shadow-sm);
}
.tile .tile-icon .icon { width: 22px; height: 22px; }
/* A phone that rises from the bottom edge of a tile, cropped by it. */
.tile .peek { margin-top: auto; padding-top: 30px; display: flex; justify-content: center; }
.tile .peek .device { --w: 240px; margin-bottom: calc(var(--w) * -.95); }
.tile.w4 .peek .device, .tile.w3 .peek .device { --w: 260px; }
.tile > .badge { align-self: flex-start; }
.tile .peek.deep .device { margin-bottom: calc(var(--w) * -.5); }
.tile .peek-landscape { margin-top: auto; padding-top: 30px; }
.tile .peek-landscape .device { --w: 100%; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; font-size: 14px; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); display: block; }
.view-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.view-chips span {
  height: 32px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center;
  font-size: 14px; font-weight: 500; color: var(--ink); background: var(--card); box-shadow: inset 0 0 0 1px var(--hairline-soft);
}
.view-chips span.on { background: var(--accent-fill); color: #fff; box-shadow: none; }
@media (max-width: 1020px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile, .tile.w3 { grid-column: span 1; }
  .tile.w4, .tile.w6 { grid-column: span 2; }
}
@media (max-width: 640px) {
  .tiles { grid-template-columns: 1fr; gap: 16px; }
  .tile, .tile.w3, .tile.w4, .tile.w6 { grid-column: span 1; }
}

/* 10. Families illustration --------------------------------------------------------------- */
.families { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 96px); align-items: center; margin-top: clamp(40px, 5vw, 64px); }
.family-art {
  position: relative; margin: 0; background: var(--panel); border-radius: 32px;
  padding: clamp(20px, 4vw, 48px) clamp(12px, 3vw, 40px);
  display: grid; place-items: center;
}
.family-art svg { width: 100%; max-width: 470px; height: auto; overflow: visible; }
.family-art .line { stroke: color-mix(in srgb, var(--ink) 22%, transparent); stroke-width: 1.4; fill: none; stroke-linejoin: round; }
.family-art .tag rect { fill: var(--card); stroke: var(--hairline); stroke-width: 1; }
.family-art .tag text { fill: var(--ink); font: 600 12px var(--font); letter-spacing: -.005em; }
.family-art .cap { fill: var(--ink-2); font: 500 12.5px var(--font); letter-spacing: -.01em; }
.family-art .ring { fill: none; stroke: var(--hairline); stroke-width: 1; }
.family-art .ring.you { stroke: var(--accent); stroke-width: 2.5; }
.kinds { list-style: none; display: grid; gap: 4px; }
.kinds li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--hairline-soft); }
.kinds li:first-child { border-top: 0; }
.kinds .k-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--panel); color: var(--ink); }
.kinds .k-icon .icon { width: 20px; height: 20px; }
.kinds h3 { font-size: 17px; letter-spacing: -.015em; }
.kinds p { font-size: 15.5px; color: var(--ink-2); margin-top: 3px; line-height: 1.45; }
@media (max-width: 900px) { .families { grid-template-columns: 1fr; } }

/* 11. Privacy ------------------------------------------------------------------------------ */
.privacy-band {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 36px; padding: clamp(48px, 7vw, 96px) clamp(24px, 6vw, 80px);
  background: #0F1115; color: #F3F4F7; text-align: center;
}
.privacy-band::before {
  content: ""; position: absolute; inset: -30% -10% auto; height: 120%; z-index: -1;
  background:
    radial-gradient(40% 50% at 30% 30%, rgba(99, 102, 241, .35), transparent 70%),
    radial-gradient(35% 45% at 75% 20%, rgba(139, 92, 246, .22), transparent 70%);
}
.privacy-band h2 { color: #fff; }
.privacy-band .eyebrow { color: rgba(243, 244, 247, .64); }
.privacy-band .lead { color: rgba(243, 244, 247, .72); margin-left: auto; margin-right: auto; max-width: 640px; }
.privacy-band .pills { justify-content: center; margin-top: 34px; }
.privacy-band .pill { background: rgba(255, 255, 255, .06); color: #F3F4F7; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.privacy-band .pill .icon { color: #A5A8FA; }
.privacy-band a { color: #A5A8FA; }
.privacy-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 44px; text-align: left; }
.privacy-facts div { padding: 22px; border-radius: 20px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09); }
.privacy-facts h3 { color: #fff; font-size: 17px; letter-spacing: -.015em; }
.privacy-facts p { color: rgba(243, 244, 247, .68); font-size: 15px; margin-top: 6px; line-height: 1.5; }
@media (prefers-color-scheme: dark) { .privacy-band { background: #16181F; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); } }
@media (max-width: 860px) { .privacy-facts { grid-template-columns: 1fr; } }

/* 12. Pricing -------------------------------------------------------------------------------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(40px, 5vw, 60px); align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 30px 28px;
  border-radius: 28px; background: var(--panel);
}
.plan.featured { background: var(--card); box-shadow: inset 0 0 0 1.5px var(--accent), var(--shadow-md); }
.plan-name { font-size: 20px; letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.plan-price { margin-top: 18px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan-price b { font-size: 44px; font-weight: 600; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-price span { color: var(--ink-2); font-size: 15px; }
.plan-sub { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); min-height: 44px; }
.plan ul { list-style: none; display: grid; gap: 11px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--hairline-soft); }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 15.5px; line-height: 1.4; }
.plan li .icon { width: 18px; height: 18px; color: var(--accent); margin-top: 1px; stroke-width: 2.2; }
.plan li.dim { color: var(--ink-2); }
.plan li.dim .icon { color: var(--ink-2); }
.trial-explainer {
  margin-top: 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
  border-radius: 24px; background: var(--panel); overflow: hidden;
}
.trial-explainer div { padding: 22px 24px; border-left: 1px solid var(--hairline-soft); }
.trial-explainer div:first-child { border-left: 0; }
.trial-explainer .when { font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.trial-explainer h3 { font-size: 16.5px; letter-spacing: -.015em; margin-top: 6px; }
.trial-explainer p { font-size: 14.5px; color: var(--ink-2); margin-top: 4px; line-height: 1.45; }
.fineprint { margin-top: 18px; font-size: 13.5px; color: var(--ink-2); text-align: center; }
@media (max-width: 960px) {
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .plan-sub { min-height: 0; }
  .trial-explainer { grid-template-columns: 1fr 1fr; }
  .trial-explainer div:nth-child(3) { border-left: 0; }
  .trial-explainer div:nth-child(n+3) { border-top: 1px solid var(--hairline-soft); }
}
@media (max-width: 560px) {
  .trial-explainer { grid-template-columns: 1fr; }
  .trial-explainer div { border-left: 0; }
  .trial-explainer div + div { border-top: 1px solid var(--hairline-soft); }
}

/* 13. FAQ ------------------------------------------------------------------------------------ */
.faq { margin-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--hairline); }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; font-size: clamp(1.05rem, 1rem + .25vw, 1.2rem); font-weight: 600; letter-spacing: -.018em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 20px; height: 20px; color: var(--ink-2); transition: transform .25s var(--ease); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq .answer { padding: 0 0 24px; color: var(--ink-2); max-width: 680px; }
.faq .answer p + p { margin-top: 10px; }

/* 14. Closing CTA and footer --------------------------------------------------------------- */
.closing { position: relative; overflow: hidden; isolation: isolate; text-align: center; }
.closing .mesh { -webkit-mask-image: linear-gradient(to bottom, transparent, #000 40%); mask-image: linear-gradient(to bottom, transparent, #000 40%); }
.closing .mesh::after { display: none; }
.closing { padding-bottom: clamp(80px, 10vw, 140px); }
.closing .faces { display: flex; justify-content: center; margin-bottom: 28px; }
.closing .faces .portrait { --size: 58px; margin-left: -12px; box-shadow: 0 0 0 3px var(--bg); }
.closing .faces .portrait:first-child { margin-left: 0; }
.closing .cta-row { justify-content: center; }
.footer { border-top: 1px solid var(--hairline-soft); padding: 48px 0 56px; font-size: 14px; color: var(--ink-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer .brand { font-size: 16px; }
.footer .tagline { margin-top: 12px; max-width: 280px; }
.footer h2 { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; }
.footer ul { list-style: none; display: grid; gap: 9px; }
.footer a { color: var(--ink-2); }
.footer a:hover { color: var(--ink); }
.footer-base { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--hairline-soft); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

/* 15. Lightbox -------------------------------------------------------------------------------- */
.lightbox {
  width: min(1120px, 94vw); max-width: none; max-height: none; padding: 0; border: 0; background: transparent; overflow: visible;
}
.lightbox::backdrop { background: rgba(8, 9, 12, .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lightbox video { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: calc(100vh - 140px); border-radius: 20px; background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox-close {
  position: absolute; top: -54px; right: 0; width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
}
.lightbox-close:hover { background: rgba(255, 255, 255, .22); }
.lightbox-close .icon { width: 18px; height: 18px; }
.lightbox[open] { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }

/* 16. Guides ---------------------------------------------------------------------------------- */
.page-top { padding: clamp(40px, 6vw, 72px) 0 0; }
.crumbs { font-size: 14px; color: var(--ink-2); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "/"; color: var(--hairline); }
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--ink); }
.guides-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(24px, 3vw, 40px); }
.guide-groups { display: grid; gap: clamp(40px, 5vw, 64px); padding-bottom: var(--section); }
.guide-group h2 { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 16px; }
.guide-list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.guide-card {
  height: 100%; display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: 22px;
  background: var(--panel); color: var(--ink); transition: transform .2s var(--ease), box-shadow .2s;
}
.guide-card:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.guide-card .g-icon { width: 42px; height: 42px; flex: none; border-radius: 13px; display: grid; place-items: center; background: var(--card); color: var(--accent); box-shadow: var(--shadow-sm); }
.guide-card .g-icon .icon { width: 21px; height: 21px; }
.guide-card h3 { font-size: 17px; letter-spacing: -.018em; line-height: 1.3; }
.guide-card p { margin-top: 5px; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.guide-card .meta { margin-top: 10px; font-size: 13px; color: var(--ink-2); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
@media (max-width: 1100px) { .guide-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .guide-list { grid-template-columns: 1fr; }
  .crumbs li:last-child:not(:first-child) { display: none; }
}

.guide {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; column-gap: clamp(40px, 6vw, 96px);
  grid-template-areas: "head aside" "body aside"; grid-template-rows: auto 1fr;
  padding: clamp(24px, 3vw, 40px) 0 var(--section);
}
.guide-head { grid-area: head; max-width: 700px; }
.guide-body { grid-area: body; max-width: 700px; }
.guide-head h1 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.25rem); line-height: 1.06; letter-spacing: -.032em; }
.guide-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 16px; font-size: 14px; color: var(--ink-2); }
.guide-meta .sep { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .5; }
.guide-intro { font-size: clamp(1.1rem, 1.03rem + .3vw, 1.25rem); line-height: 1.5; color: var(--ink-2); margin-top: 22px; letter-spacing: -.014em; }
.guide-aside { grid-area: aside; position: sticky; top: 92px; align-self: start; display: grid; justify-items: center; padding-top: 8px; }
.guide-aside .device { --w: 280px; }
.guide-aside .device.landscape { --w: 300px; }
.guide-aside figcaption { max-width: 260px; }
.guide-body { margin-top: clamp(28px, 3.5vw, 44px); }
.guide-body ul.plain { margin: 0 0 0 1.15em; display: grid; gap: 8px; }
.table-wrap { overflow-x: auto; margin: 8px 0 8px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--hairline-soft); }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table + .table { border-top: 1px solid var(--hairline-soft); }
.table caption { text-align: left; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); padding: 18px 18px 6px; }
.table th, .table td { text-align: left; padding: 11px 18px; border-top: 1px solid var(--hairline-soft); vertical-align: top; }
.table thead th { border-top: 0; font-size: 14px; color: var(--ink-2); font-weight: 600; background: var(--panel); }
.table tbody th { font-weight: 500; }
.table td:first-child { white-space: nowrap; }
.compare td:first-child { white-space: normal; }
.compare tbody th { width: 38%; }
.compare td, .compare thead th:not(:first-child) { text-align: center; }
.compare tbody tr:last-child { font-weight: 600; }
.guide-body .table-wrap + h2, .guide-body > h2 + .table-wrap { margin-top: 12px; }
.guide-body > h2 { font-size: clamp(1.4rem, 1.2rem + .6vw, 1.75rem); letter-spacing: -.02em; margin: 48px 0 16px; }
.guide-body > h2:first-child { margin-top: 0; }
.guide-body .related a { text-decoration: none; }
.guide-body > p { margin: 0 0 14px; }
.guide-body p a, .guide-body li a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.steps { list-style: none; counter-reset: step; display: grid; gap: 0; }
.steps > li { counter-increment: step; position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; padding: 26px 0; border-top: 1px solid var(--hairline-soft); }
.steps > li:first-child { border-top: 0; padding-top: 4px; }
.steps > li::before {
  content: counter(step); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 600; font-size: 16px; color: var(--accent); background: var(--accent-soft); font-variant-numeric: tabular-nums;
}
.steps h3 { font-size: 18.5px; letter-spacing: -.02em; line-height: 1.3; margin-top: 7px; }
.steps p { margin-top: 8px; color: var(--ink); }
.steps p + p { margin-top: 10px; }
.steps .ui { font-weight: 600; }
.steps ul { margin: 10px 0 0 1.1em; display: grid; gap: 6px; }
.step-shot { margin: 18px 0 0; }
.step-shot .device { --w: 190px; }
.step-shot figcaption { font-size: 13.5px; color: var(--ink-2); margin-top: 10px; max-width: 420px; }
.callout {
  margin-top: 36px; padding: 24px 26px; border-radius: 22px; background: var(--panel);
}
.callout h2 { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 12px; }
.callout ul { list-style: none; display: grid; gap: 12px; }
.callout li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; line-height: 1.5; }
.callout li .icon { width: 18px; height: 18px; color: var(--accent); margin-top: 3px; }
.callout.plus { background: var(--accent-soft); }
.callout.plus p { color: var(--ink); }
.related { margin-top: 56px; }
.related h2 { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px; }
.related ul { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.related a { display: block; height: 100%; padding: 18px; border-radius: 18px; background: var(--panel); color: var(--ink); font-weight: 600; letter-spacing: -.015em; line-height: 1.35; }
.related a span { display: block; margin-top: 6px; font-size: 13.5px; font-weight: 400; color: var(--ink-2); letter-spacing: -.005em; }
.related a:hover { text-decoration: none; box-shadow: inset 0 0 0 1px var(--hairline); }
.help-box { margin-top: 40px; font-size: 15px; color: var(--ink-2); }
@media (max-width: 980px) {
  .guide { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "aside" "body"; grid-template-rows: auto; }
  .guide-aside { position: static; margin-top: 32px; }
  .guide-aside .device { --w: 230px; }
  .guide-aside .device.landscape { --w: min(460px, 100%); }
  .related ul { grid-template-columns: 1fr; }
}

/* 17. Legal pages ------------------------------------------------------------------------------ */
.legal { padding: clamp(28px, 4vw, 48px) 0 var(--section); }
.legal h1 { font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.25rem); letter-spacing: -.032em; line-height: 1.06; }
.legal .updated { margin-top: 12px; color: var(--ink-2); font-size: 15px; }
.legal .summary { margin-top: 28px; padding: 22px 24px; border-radius: 20px; background: var(--panel); font-size: 17px; }
.legal h2 { font-size: 21px; letter-spacing: -.02em; margin: 42px 0 10px; }
.legal h3 { font-size: 17px; letter-spacing: -.015em; margin: 24px 0 6px; }
.legal p, .legal li { color: var(--ink); }
.legal p { margin-top: 10px; }
.legal ul { margin: 10px 0 0 1.2em; display: grid; gap: 8px; }
.legal a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.legal .toc { margin-top: 28px; padding: 18px 22px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--hairline); font-size: 15px; }
.legal .toc h2 { margin: 0 0 8px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.legal .toc ol { margin: 0 0 0 1.2em; columns: 2; column-gap: 32px; }
.legal .toc li { margin: 0 0 7px; break-inside: avoid; }
@media (max-width: 620px) { .legal .toc ol { columns: 1; } }

/* 18. Motion ----------------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .js .rise { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .rise.in { opacity: 1; transform: none; }
  .float-day { animation: bob 7s ease-in-out infinite; }
  .float-radial { animation: bob 8s ease-in-out -2s infinite; }
  .float-memory { animation: bob 9s ease-in-out -4s infinite; }
}
@keyframes bob { 50% { translate: 0 -6px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}
@media print {
  .nav, .footer, .hero-stage, .lightbox, .guide-aside { display: none !important; }
  body { background: #fff; color: #000; }
}

/* Web app: browser-framed screenshots, the homepage hero and cards (2026-10-13) */
.browser { margin: 0; border-radius: 14px; overflow: hidden; background: var(--card); border: 1px solid var(--hairline); box-shadow: 0 30px 80px -30px rgba(15, 17, 21, .35), 0 8px 24px -12px rgba(15, 17, 21, .2); }
.browser img { display: block; width: 100%; height: auto; }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: color-mix(in srgb, var(--hairline) 35%, transparent); border-bottom: 1px solid var(--hairline); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: color-mix(in srgb, var(--ink) 18%, transparent); }
.browser-bar span { margin: 0 auto; transform: translateX(-24px); font-size: 12px; color: var(--ink-2); padding: 3px 14px; border-radius: 8px; background: color-mix(in srgb, var(--ink) 6%, transparent); }
.web-hero .section-head { text-align: center; }
.hero-browser { max-width: 1080px; margin: clamp(36px, 6vw, 64px) auto 0; }
.web-hero .assurances { justify-content: center; margin-top: 32px; }
.web-feature .feature-media { width: 100%; }
.web-feature { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.web-feature.flip { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
.web-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.web-card { padding: 24px; border-radius: 20px; background: var(--card); border: 1px solid var(--hairline); }
.web-card .dot { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); margin-bottom: 14px; }
.web-card h3 { font-size: 18px; margin: 0 0 6px; }
.web-card p { margin: 0; color: var(--ink-2); }
.plan-cta { margin-top: auto; align-self: flex-start; }
.nav-cta { margin-left: 12px; }
@media (max-width: 900px) { .web-feature, .web-feature.flip { grid-template-columns: 1fr; } .web-feature.flip .feature-media { order: 0; } .web-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .web-cards { grid-template-columns: 1fr; } .nav-cta { display: none; } }
.plan > ul { margin-bottom: 24px; }
