/* Inflam AI website. Numbers come from the pen.dev frames "Landing B · Real Life" (1440),
   "Landing B · iPad" (834), "Landing B · Mobile" (390), "Desktop Header · Scroll Shrink",
   "Mobile States · Scroll & Edge Cases" and "Privacy Policy · Inflam AI". Light mode only. */

@font-face { font-family: Inter; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/inter-400.woff2) format("woff2"); }
@font-face { font-family: Inter; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/inter-500.woff2) format("woff2"); }
@font-face { font-family: Inter; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/inter-600.woff2) format("woff2"); }
@font-face { font-family: Inter; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/inter-700.woff2) format("woff2"); }
@font-face { font-family: Inter; font-style: normal; font-weight: 800; font-display: swap; src: url(fonts/inter-800.woff2) format("woff2"); }

/* Header shrink progress (0 at the top, 1 compact). Registered so it can tween smoothly. */
@property --p { syntax: "<number>"; inherits: true; initial-value: 0; }

:root {
  color-scheme: light;
  --ink: #111111;
  --hero: #1A171D;
  --night: #111015;
  --deep: #0E0D12;
  --muted: #6B6875;
  --muted-2: #55535F;
  --soft-bg: #F7F6FA;
  --accent: #7C5CE8;
  --accent-deep: #59429A;
  --accent-soft: #F1EDFD;
  --lilac: #C9B8FF;
  --lilac-word: #B9A6F5;
  --line: #EEEDF2;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --gutter: 120px;
  --nav-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: #FFFFFF; color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 500; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
section[id], [id].anchor { scroll-margin-top: 84px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 10px; font-weight: 600; transition: top .2s var(--ease); }
.skip:focus { top: 12px; }

.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 1.4px; line-height: 1.2; text-transform: uppercase; color: var(--accent); }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo-icon {
  width: 34px; height: 34px; border-radius: 8px; flex: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: linear-gradient(160deg, #D9CCFA, #F6DCEF);
}
.logo-icon::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #22A35A; }
.logo-icon::after { content: ""; width: 5px; height: 14px; border-radius: 3px; background: #111; }
.wordmark { font-size: 24px; font-weight: 800; letter-spacing: -.5px; line-height: 33px; color: #fff; white-space: nowrap; }
.wordmark span { color: var(--lilac-word); }
.light .wordmark { color: var(--ink); }
.light .wordmark span { color: var(--accent); }

/* App Store badge. Large 204x60 and small 163x48 as in the design. */
.badge {
  display: inline-flex; align-items: center; gap: 11px; height: 60px; padding: 0 23px; flex: none;
  background: #fff; color: #000; border: 1px solid #111; border-radius: 14px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.badge svg { width: 25px; height: 30px; fill: currentColor; flex: none; }
.badge-t { display: flex; flex-direction: column; white-space: nowrap; }
.badge-t small { font-size: 13px; font-weight: 500; line-height: 1.1; }
.badge-t b { font-size: 26px; font-weight: 600; letter-spacing: -.4px; line-height: 1.05; }
.badge.sm { height: 48px; gap: 9px; padding: 0 18px; border-radius: 11px; }
.badge.sm svg { width: 20px; height: 24px; }
.badge.sm small { font-size: 10px; }
.badge.sm b { font-size: 21px; }
.badge.dark { background: #000; color: #fff; border-color: #A6A6A6; }
@media (hover: hover) { .badge:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(0,0,0,.45); } }
.badge:active { transform: scale(.97); transition-duration: .12s; }

/* ---------- Header (desktop and iPad: scroll shrink to a floating pill) ---------- */
.site-header {
  --a-gap: .24; /* 1 - 0.76 over light sections */
  position: fixed; z-index: 50; left: 50%; top: calc(12px * var(--p));
  width: calc(100% - var(--p) * (100% - min(960px, 100% - 32px)));
  height: calc(80px - 24px * var(--p));
  transform: translateX(-50%);
  border-radius: calc(28px * var(--p));
  transition: --p 200ms var(--ease);
  isolation: isolate;
}
.site-header.over-dark { --a-gap: .5; }
.site-header::before { /* frosted tinted surface */
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background:
    linear-gradient(100deg, rgb(201 184 255 / calc(.10 * var(--p))), rgb(246 220 239 / calc(.07 * var(--p)))),
    rgb(31 26 38 / calc(1 - var(--p) * var(--a-gap)));
  border: 1px solid rgb(255 255 255 / calc(.18 * var(--p)));
  box-shadow: 0 16px 40px -12px rgb(14 13 18 / calc(.45 * var(--p)));
  -webkit-backdrop-filter: blur(28px) saturate(1.4); backdrop-filter: blur(28px) saturate(1.4);
  transition: background-color .3s var(--ease);
}
.site-header.at-top::before { background: var(--hero); -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 calc(100px - 80px * var(--p)) 0 calc(100px - 80px * var(--p));
}
.nav .logo { gap: calc(10px - 2px * var(--p)); }
.nav .logo-icon { width: calc(34px - 6px * var(--p)); height: calc(34px - 6px * var(--p)); border-radius: calc(8px - 1px * var(--p)); }
.nav .wordmark { font-size: calc(24px - 4px * var(--p)); }
.nav-links { display: flex; align-items: center; gap: calc(36px - 8px * var(--p)); position: absolute; left: 50%; transform: translateX(-50%); }
.nav-links a { font-size: 15px; font-weight: 600; color: rgb(255 255 255 / .7); white-space: nowrap; transition: color .2s; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--lilac); transform: scaleX(0); transition: transform .35s var(--ease); }
@media (hover: hover) { .nav-links a:hover { color: #fff; } .nav-links a:hover::after { transform: scaleX(1); } }
.nav-cta { position: relative; display: grid; justify-items: end; align-items: center; }
.nav-cta > * { grid-area: 1 / 1; transition: opacity 150ms ease, transform .3s var(--ease), visibility 0s; }
.get-app {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 20px;
  background: #fff; color: #111; font-size: 14px; font-weight: 600; white-space: nowrap;
}
.get-app svg { width: 15px; height: 15px; flex: none; }
.site-header .get-app { opacity: 0; visibility: hidden; transform: scale(.92); }
.site-header.compact .badge { opacity: 0; visibility: hidden; transform: scale(.92); transition-delay: 0s, 0s, 150ms; }
.site-header.compact .get-app { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) { .get-app:hover { background: #F1EDFD; } }
.get-app:active { transform: scale(.96) !important; }
.menu-btn { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--hero); color: #fff; min-height: 880px; padding-top: 80px; overflow: hidden; }
.hero-photo { position: absolute; top: 80px; right: 0; bottom: 0; width: 69.444%; overflow: hidden; }
.hero-photo picture { display: block; height: 100%; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; will-change: transform; transform: translate3d(0, var(--hy, 0px), 0) scale(var(--hs, 1)); }
.hero-scrim {
  position: absolute; inset: 80px 0 0 0; pointer-events: none;
  background: linear-gradient(90deg, #1A171D 0%, #1A171D 31.5%, rgb(26 23 29 / .95) 40%, rgb(26 23 29 / .55) 53%, rgb(26 23 29 / .05) 70%, rgb(26 23 29 / 0) 100%);
}
.hero-copy { position: relative; display: flex; flex-direction: column; gap: 22px; width: 720px; max-width: 100%; padding: 152px 0 0 100px; }
.hero-copy .eyebrow { color: var(--lilac); }
.hero h1 { font-size: 67px; font-weight: 800; letter-spacing: -3px; line-height: 1.02; max-width: 620px; }
.hero h1 .line { display: block; }
.hero-lede { font-size: 20px; font-weight: 500; line-height: 1.5; color: #F4F3F7; max-width: 535px; }
.hero-cta { display: flex; align-items: center; gap: 20px; padding-top: 12px; }
.trial-note { font-size: 15px; font-weight: 600; color: rgb(255 255 255 / .7); white-space: nowrap; }

/* ---------- Features (four ways to scan) ---------- */
.features-head { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.feature-list { display: flex; flex-direction: column; }
.feature {
  display: flex; align-items: center; gap: 96px; height: 640px; padding: 28px var(--gutter);
  background: #fff; overflow: hidden;
}
.feature:nth-child(1) { background: var(--accent-soft); }
.feature:nth-child(3) { background: var(--soft-bg); }
.feature:nth-child(even) { flex-direction: row-reverse; }
.feature-copy { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.feature-copy h3 { font-size: 53px; font-weight: 800; letter-spacing: -2px; line-height: 1.04; color: var(--ink); }
.feature-copy p:not(.eyebrow) { font-size: 20px; font-weight: 500; line-height: 1.48; color: var(--muted); max-width: 584px; }
.feature:nth-child(1) .feature-copy { gap: 22px; }
.feature:nth-child(1) .eyebrow { font-size: 14px; font-weight: 700; color: var(--accent-deep); }
.feature:nth-child(1) h3 { font-size: 56px; letter-spacing: -2.2px; line-height: 1.02; }
.feature:nth-child(1) p:not(.eyebrow) { line-height: 1.45; }
.feature-media { flex: 0 0 520px; display: flex; justify-content: center; align-items: flex-start; }
.phone { width: 273px; aspect-ratio: 273 / 573; flex: none; }
.phone img { width: 100%; height: 100%; }
.br-wide { display: inline; }

/* ---------- Trigger finder ---------- */
.trigger { background: var(--night); color: #fff; padding: 120px var(--gutter); }
.trigger-row { display: flex; align-items: center; gap: 80px; max-width: 1200px; margin: 0 auto; }
.trigger-copy { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.trigger-copy .eyebrow { color: var(--lilac); }
.big-range { font-size: 140px; font-weight: 800; letter-spacing: -4px; line-height: 1; white-space: nowrap; }
.big-range .mask { display: inline-block; vertical-align: top; clip-path: inset(-.1em -.2em 0 -.2em); }
.big-range .mask > span { display: inline-block; }
.trigger-copy p:not(.big-range) { font-size: 20px; line-height: 1.55; color: rgb(255 255 255 / .7); }
.trigger-phone { flex: 0 0 460px; display: flex; justify-content: center; }
.insights { display: block; width: 414px; aspect-ratio: 414 / 760; border-radius: 58px 58px 0 0; box-shadow: 0 30px 60px rgb(26 22 38 / .19); overflow: hidden; background: var(--deep); }
.insights img { width: 100%; height: 100%; }

/* ---------- FAQ ---------- */
.faq { background: var(--soft-bg); padding: 120px 240px; }
.faq-inner { max-width: 960px; margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }
.faq-intro { display: flex; flex-direction: column; gap: 40px; }
.faq h2 { font-size: 48px; font-weight: 800; letter-spacing: -1.6px; line-height: 1.2; }
.qa-list { background: #fff; border-radius: 24px; padding: 8px 32px; }
.qa { box-shadow: inset 0 -1px 0 var(--line); }
.qa:last-child { box-shadow: none; }
.qa summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 24px 0; cursor: pointer; font-size: 19px; font-weight: 700; line-height: 23px; color: var(--ink);
  -webkit-tap-highlight-color: transparent; user-select: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa-icon { position: relative; width: 18px; height: 18px; flex: none; color: #77757F; }
.qa-icon::before, .qa-icon::after { content: ""; position: absolute; left: 3px; right: 3px; top: 8px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .4s var(--ease); }
.qa-icon::after { transform: rotate(90deg); }
.qa.is-open .qa-icon::after { transform: rotate(0deg); }
.qa.is-open .qa-icon::before { transform: rotate(180deg); }
html:not(.js) .qa[open] .qa-icon::after { transform: rotate(0deg); }
.qa-body { overflow: hidden; margin-top: -14px; }
.qa-body p { padding: 0 0 24px; font-size: 16px; font-weight: 500; line-height: 1.55; color: var(--muted); max-width: 900px; }
@media (hover: hover) { .qa summary:hover .qa-icon { color: var(--ink); } }

/* ---------- Final CTA ---------- */
.final { position: relative; height: 520px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; padding: 0 20px; background: #2A2530; color: #fff; overflow: hidden; text-align: center; }
.final-photo { position: absolute; inset: -30px 0; }
.final-photo picture { display: block; height: 100%; }
.final-photo img { width: 100%; height: 100%; object-fit: cover; transform: translate3d(0, var(--fy, 0px), 0); will-change: transform; }
.final::after { content: ""; position: absolute; inset: 0; background: rgb(14 13 18 / .7); }
.final > :not(.final-photo) { position: relative; z-index: 1; }
.app-icon-lg { width: 88px; height: 88px; border-radius: 20px; gap: 5px; }
.app-icon-lg::before { width: 15px; height: 15px; }
.app-icon-lg::after { width: 13px; height: 35px; border-radius: 7px; }
.final h2 { font-size: 52px; font-weight: 800; letter-spacing: -2px; line-height: 1.2; }

/* ---------- Footer ---------- */
.footer { background: var(--deep); color: #fff; padding: 72px var(--gutter) 48px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 48px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; }
.footer-brand { width: 360px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.footer-brand p { font-size: 15px; line-height: 1.5; color: rgb(255 255 255 / .5); }
.footer-cols { display: flex; gap: 80px; }
.footer-cols .row { display: contents; }
.footer-col { display: flex; flex-direction: column; gap: 14px; }
.footer-col h2 { font-size: 12px; font-weight: 700; letter-spacing: 1px; line-height: 15px; color: rgb(255 255 255 / .5); text-transform: uppercase; }
.footer-col a { font-size: 15px; font-weight: 600; line-height: 18px; white-space: nowrap; transition: color .2s; }
@media (hover: hover) { .footer-col a:hover { color: var(--lilac); } .footer.light .footer-col a:hover { color: var(--accent); } }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / .1); padding-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.footer-bottom p { font-size: 13px; line-height: 1.5; color: rgb(255 255 255 / .5); }
.footer.light { background: #fff; color: var(--ink); border-top: 1px solid #ECEBF0; }
.footer.light .footer-brand p, .footer.light .footer-bottom p { color: #77757F; }
.footer.light .footer-col h2 { color: #77757F; }
.footer.light .footer-bottom { border-top-color: #ECEBF0; }

/* ---------- Mobile menu sheet and iPhone-only sheet ---------- */
.menu-sheet {
  position: fixed; inset: 0; z-index: 60; background: var(--hero); color: #fff;
  display: flex; flex-direction: column; visibility: hidden; opacity: 0;
  transition: opacity .3s var(--ease), visibility 0s .3s;
}
.menu-sheet.open { visibility: visible; opacity: 1; transition: opacity .3s var(--ease), visibility 0s; }
.menu-head { height: 60px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 16px 0 20px; }
.round-btn { width: 40px; height: 40px; border-radius: 20px; display: flex; align-items: center; justify-content: center; background: rgb(255 255 255 / .12); color: #fff; -webkit-tap-highlight-color: transparent; transition: transform .2s var(--ease), background .2s; }
.round-btn:active { transform: scale(.92); }
.round-btn svg { width: 20px; height: 20px; }
.menu-sheet .round-btn { background: rgb(255 255 255 / .1); }
.menu-links { padding: 32px 20px 0; }
.menu-links a {
  display: flex; align-items: center; justify-content: space-between; padding: 20px 0; border-bottom: 1px solid rgb(255 255 255 / .1);
  font-size: 28px; font-weight: 700; letter-spacing: -.5px; line-height: 34px;
  opacity: 0; transform: translateY(18px); transition: opacity .45s var(--ease), transform .55s var(--ease);
}
.menu-links a svg { width: 22px; height: 22px; color: rgb(255 255 255 / .5); transition: transform .3s var(--ease); }
.menu-links a:active svg { transform: translateX(4px); }
.menu-sheet.open .menu-links a { opacity: 1; transform: none; }
.menu-sheet.open .menu-links a:nth-child(2) { transition-delay: .05s; }
.menu-sheet.open .menu-links a:nth-child(3) { transition-delay: .1s; }
.menu-foot { margin-top: auto; padding: 0 20px 40px; padding-bottom: max(40px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: center; gap: 12px; opacity: 0; transform: translateY(18px); transition: opacity .45s var(--ease) .12s, transform .55s var(--ease) .12s; }
.menu-sheet.open .menu-foot { opacity: 1; transform: none; }
.menu-foot .trial-note { font-size: 14px; font-weight: 400; }

.sheet-wrap { position: fixed; inset: 0; z-index: 70; visibility: hidden; transition: visibility 0s .4s; }
.sheet-wrap.open { visibility: visible; transition: visibility 0s; }
.sheet-dim { position: absolute; inset: 0; background: rgb(0 0 0 / .55); opacity: 0; transition: opacity .35s var(--ease); }
.sheet-wrap.open .sheet-dim { opacity: 1; }
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0 auto; max-width: 520px;
  background: #fff; color: var(--ink); border-radius: 28px 28px 0 0; text-align: center;
  padding: 12px 24px max(36px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: center; gap: 14px;
  transform: translateY(105%); transition: transform .45s var(--ease-out);
}
.sheet-wrap.open .sheet { transform: none; }
.grabber { width: 40px; height: 5px; border-radius: 3px; background: #D9D6E0; margin-bottom: 0; }
.sheet-icon { width: 56px; height: 56px; border-radius: 18px; background: #F1EDFC; color: var(--accent); display: flex; align-items: center; justify-content: center; }
.sheet-icon svg { width: 26px; height: 26px; }
.sheet h2 { font-size: 22px; font-weight: 700; line-height: 1.25; }
.sheet p { font-size: 15px; font-weight: 400; line-height: 1.45; color: #5E5B66; }
.sheet-primary { width: 100%; height: 52px; border-radius: 16px; background: #111; color: #fff; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 16px; font-weight: 600; transition: transform .2s var(--ease), background .2s; }
.sheet-primary svg { width: 18px; height: 18px; }
.sheet-primary:active { transform: scale(.98); }
.sheet-primary.done { background: #22A35A; }
.sheet-close { font-size: 15px; font-weight: 600; color: #5E5B66; padding: 6px 12px; }

/* ---------- Motion: entrance and scroll reveals ---------- */
.js .rv { opacity: 0; transform: translate3d(0, 28px, 0); }
.js .rv.in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .rv-phone { opacity: 0; transform: translate3d(0, 70px, 0) scale(.96); }
.js .rv-phone.in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform 1.2s var(--ease-out); transition-delay: .1s; }
.js .rv-scale { opacity: 0; transform: scale(.6) rotate(-8deg); }
.js .rv-scale.in { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .9s cubic-bezier(.34, 1.56, .64, 1); }
.js .big-range .mask > span { transform: translate3d(0, 110%, 0); }
.js .big-range.in .mask > span { transform: none; transition: transform 1.1s var(--ease-out) .1s; }
.float { transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }

/* Hero load sequence */
.js .hero .intro { opacity: 0; transform: translate3d(0, 24px, 0); }
.js .hero .h-line { display: block; clip-path: inset(-.2em -.2em -.12em -.2em); }
.js .hero .h-line > span { display: block; transform: translate3d(0, 115%, 0); }
.js .hero-photo img { transform: translate3d(0, var(--hy, 0px), 0) scale(calc(var(--hs, 1) + .08)); }
.loaded .hero .intro { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: calc(.15s + var(--d, 0) * 110ms); }
.loaded .hero .h-line > span { transform: none; transition: transform 1.1s var(--ease-out); transition-delay: calc(.2s + var(--d, 0) * 110ms); }
.hero-photo.ready img { transform: translate3d(0, var(--hy, 0px), 0) scale(var(--hs, 1)); transition: transform 2.4s var(--ease-out); }
.hero-photo.ready.settled img { transition: none; }

/* ---------- Large desktop down to 1200 ---------- */
@media (max-width: 1360px) {
  :root { --gutter: 80px; }
  .feature { gap: 56px; }
  .faq { padding-left: var(--gutter); padding-right: var(--gutter); }
}
@media (max-width: 1199px) and (min-width: 1024px) {
  .feature-media { flex-basis: 420px; }
  .hero h1 { font-size: 60px; }
  .trigger-row { gap: 48px; }
  .big-range { font-size: 120px; }
}

/* ---------- iPad layout (design 834) ---------- */
@media (max-width: 1023px) {
  :root { --gutter: 48px; }
  .site-header { height: calc(72px - 16px * var(--p)); }
  .nav { padding: 0 calc(48px - 28px * var(--p)); }
  .nav-links { display: none; }

  .hero { min-height: 0; padding-top: 72px; display: flex; flex-direction: column; }
  .hero-photo { order: 2; }
  .hero-scrim { display: none; }
  .hero-copy { width: auto; align-items: center; text-align: center; gap: 20px; padding: 72px 72px 40px; }
  .hero h1 { font-size: 64px; letter-spacing: -2px; line-height: 1; max-width: none; }
  .hero-lede { font-size: 19px; max-width: 560px; }
  .hero-cta { flex-direction: column; gap: 12px; }
  .hero-photo { position: relative; top: auto; right: auto; bottom: auto; width: auto; height: 520px; margin: 16px 32px 48px; border-radius: 32px; }

  .features { padding: 80px var(--gutter); }
  .features-head { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }
  .features-head .eyebrow { font-size: 14px; font-weight: 700; color: var(--accent-deep); }
  .features-head h2 { font-size: 48px; font-weight: 800; letter-spacing: -1px; line-height: 1.02; }
  .feature-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; row-gap: 40px; }
  .feature, .feature:nth-child(even) { flex-direction: column; align-items: stretch; height: auto; padding: 0; gap: 20px; background: none !important; overflow: visible; }
  .feature-media { order: -1; flex: none; height: 400px; padding-top: 36px; border-radius: 28px; overflow: hidden; background: var(--soft-bg); }
  .feature:nth-child(1) .feature-media { background: var(--accent-soft); }
  .feature:nth-child(2) .feature-media, .feature:nth-child(4) .feature-media { background: #F4F1FB; }
  .feature-copy, .feature:nth-child(1) .feature-copy { gap: 10px; padding: 0 4px; }
  .feature-copy h3, .feature:nth-child(1) h3 { font-size: 28px; letter-spacing: -1px; line-height: 1.02; }
  .feature-copy p:not(.eyebrow), .feature:nth-child(1) p:not(.eyebrow) { font-size: 16px; line-height: 1.45; }
  .feature:nth-child(1) .eyebrow { font-size: 14px; }
  .feature .eyebrow { font-size: 13px; }
  .br-wide { display: none; }

  .trigger { padding: 80px var(--gutter) 0; }
  .trigger-row { align-items: flex-end; gap: 36px; }
  .trigger-copy { padding-bottom: 120px; }
  .big-range { font-size: 74px; letter-spacing: -2px; }
  .trigger-copy p:not(.big-range) { font-size: 17px; }
  .trigger-phone { flex: 0 0 414px; }

  .faq { padding: 80px var(--gutter); }
  .faq-inner { flex-direction: row; gap: 48px; max-width: none; }
  .faq-intro { width: 240px; flex: none; gap: 14px; padding-top: 24px; }
  .faq h2 { font-size: 40px; }
  .qa-list { flex: 1; padding: 8px 28px; }

  .final { height: 500px; padding: 0 48px; }
  .final h2 { font-size: 44px; }

  .footer { padding: 64px var(--gutter) 44px; }
  .footer-inner { gap: 40px; }
  .footer-top { flex-direction: column; gap: 40px; }
}
@media (max-width: 799px) and (min-width: 600px) {
  .trigger-row { flex-direction: column; align-items: stretch; gap: 40px; }
  .trigger-copy { padding-bottom: 0; }
  .trigger-phone { flex: none; }
}

/* ---------- Phone layout (design 390) ---------- */
@media (max-width: 599px) {
  :root { --gutter: 20px; }
  section[id] { scroll-margin-top: 60px; }
  .site-header, .site-header.compact { --p: 0 !important; left: 0; top: 0; width: 100%; height: 64px; transform: none; border-radius: 0; transition: height .3s var(--ease); }
  .site-header::before {
    background: linear-gradient(180deg, rgb(26 23 29 / .6), rgb(26 23 29 / 0)) !important;
    border: 0; border-bottom: 1px solid transparent; box-shadow: none; -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
    transition: background .3s var(--ease), border-color .3s;
  }
  .site-header.solid { height: 60px; }
  .site-header.solid::before {
    background: rgb(26 23 29 / .88) !important; border-bottom-color: rgb(255 255 255 / .08);
    -webkit-backdrop-filter: blur(24px) saturate(1.4) !important; backdrop-filter: blur(24px) saturate(1.4) !important;
  }
  .nav { padding: 0 16px 0 20px; }
  .nav .badge { display: none; }
  .nav-actions { display: flex; align-items: center; gap: 8px; }
  .site-header .get-app { height: 36px; padding: 0 14px; border-radius: 18px; opacity: 0; visibility: hidden; transform: translateX(10px) scale(.94); }
  .site-header.solid .get-app { opacity: 1; visibility: visible; transform: none; }
  .menu-btn { display: flex; }

  .hero { padding-top: 0; }
  .hero-photo { height: 500px; margin: 0; border-radius: 0; }
  .hero-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 220px; background: linear-gradient(180deg, rgb(26 23 29 / 0), #1A171D); }
  .hero-copy { order: 2; align-items: flex-start; text-align: left; gap: 14px; padding: 0 20px 8px; margin-top: 0; }
  .hero h1 { font-size: 40px; letter-spacing: -1.5px; line-height: 1; }
  .hero-lede { font-size: 17px; }
  .hero-cta { align-self: stretch; align-items: center; padding: 26px 0 32px; }
  .hero { display: flex; flex-direction: column; }
  .hero-photo { order: 1; }

  .features { padding: 64px 0 56px; }
  .features-head { padding: 0 20px; margin-bottom: 28px; }
  .features-head h2 { font-size: 34px; }
  .feature-list {
    display: flex; flex-direction: row; gap: 14px; padding: 0 20px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding: 0 20px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .feature-list::-webkit-scrollbar { display: none; }
  .feature, .feature:nth-child(even) { flex: 0 0 296px; gap: 18px; scroll-snap-align: start; }
  .feature-media { height: 360px; padding-top: 28px; border-radius: 24px; }
  .feature-copy h3, .feature:nth-child(1) h3 { font-size: 26px; }
  .feature-copy p:not(.eyebrow), .feature:nth-child(1) p:not(.eyebrow) { font-size: 15px; }
  .feature-copy p:not(.eyebrow) { line-height: 1.48; }
  .dots { display: flex; justify-content: center; gap: 6px; margin-top: 28px; }
  .dots span { width: 6px; height: 6px; border-radius: 3px; background: #D9D6E0; transition: width .35s var(--ease), background .35s; position: relative; }
  .dots span[aria-current="true"] { width: 18px; background: #111; }

  .trigger { padding: 64px 0 0; }
  .trigger-row { flex-direction: column; align-items: stretch; gap: 40px; }
  .trigger-copy { padding: 0 20px; }
  .big-range { font-size: 84px; letter-spacing: -2.5px; }
  .trigger-phone { flex: none; }
  .insights { width: 100%; max-width: 430px; aspect-ratio: 390 / 600; box-shadow: 0 30px 60px rgb(26 22 38 / .19); }

  .faq { padding: 64px 20px; }
  .faq-inner { flex-direction: column; gap: 28px; }
  .faq-intro { width: auto; padding-top: 0; gap: 28px; }
  .faq h2 { font-size: 32px; }
  .qa-list { padding: 4px 20px; }

  .final { height: 460px; padding: 0 20px; }
  .final h2 { font-size: 32px; }

  .footer { padding: 48px 20px 36px; }
  .footer-brand { width: auto; }
  .footer-cols { flex-direction: column; gap: 32px; }
  .footer-cols .row { display: flex; gap: 24px; }
  .footer-cols .row .footer-col { flex: 1; }
}
@media (min-width: 600px) { .dots { display: none; } .nav-actions { display: contents; } .nav-actions .menu-btn { display: none; } }

/* ---------- Privacy page ---------- */
.legal-top {
  background:
    radial-gradient(120% 140% at 10% 0%, rgb(222 211 250 / .8), rgb(222 211 250 / 0) 100%),
    radial-gradient(100% 120% at 95% 0%, rgb(247 221 240 / .8), rgb(247 221 240 / 0) 100%),
    #FAFAFA;
  padding-top: 96px;
}
.legal-page .site-header { --a-gap: .24; }
.legal-page .site-header.at-top::before { background: transparent; border-color: transparent; box-shadow: none; }
.legal-page .site-header.at-top .wordmark { color: var(--ink); }
.legal-page .site-header.at-top .wordmark span { color: var(--accent); }
.legal-page .site-header.at-top .nav-links a { color: var(--muted-2); }
.legal-page .site-header.at-top .nav-links a::after { background: var(--accent); }
@media (hover: hover) { .legal-page .site-header.at-top .nav-links a:hover { color: var(--ink); } }
.legal-page .site-header.at-top .badge { background: #000; color: #fff; border-color: #A6A6A6; }
.legal-page .site-header .wordmark, .legal-page .site-header .wordmark span, .legal-page .site-header .nav-links a { transition: color .3s var(--ease); }
.legal-page .site-header.at-top .round-btn { background: rgb(17 17 17 / .06); color: var(--ink); }
.legal-page .site-header { height: calc(96px - 40px * var(--p)); }
.legal-page .nav { padding: 0 calc(120px - 100px * var(--p)); }
.legal-title { padding: 112px var(--gutter) 72px; max-width: 1440px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.legal-title h1 { font-size: 64px; font-weight: 800; letter-spacing: -2.4px; line-height: 1.2; }
.legal-title .updated { font-size: 17px; color: var(--muted); }
.legal-body { display: flex; gap: 96px; padding: 72px var(--gutter) 120px; max-width: 1440px; margin: 0 auto; }
.toc { width: 260px; flex: none; position: sticky; top: 100px; align-self: flex-start; }
.toc-label { font-size: 12px; font-weight: 800; letter-spacing: 1px; color: #77757F; margin-bottom: 16px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; position: relative; }
.toc-pill { position: absolute; left: 0; right: 0; top: 0; height: 33px; border-radius: 10px; background: #F1EDFD; transform: translateY(var(--ty, 0)); transition: transform .45s var(--ease), height .45s var(--ease); pointer-events: none; }
.toc a { position: relative; display: block; padding: 8px 12px; font-size: 14px; line-height: 17px; color: var(--muted-2); border-radius: 10px; transition: color .25s; }
.toc a[aria-current="true"] { color: var(--accent); font-weight: 700; }
@media (hover: hover) { .toc a:hover { color: var(--ink); } }
.legal-text { width: 760px; max-width: 100%; display: flex; flex-direction: column; gap: 44px; }
.legal-text section { display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 100px; }
.legal-text h2 { font-size: 26px; font-weight: 800; letter-spacing: -.6px; line-height: 1.2; }
.legal-text p, .legal-text li p { font-size: 17px; line-height: 1.65; color: #3D3A47; }
.legal-text a { color: var(--accent); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.in-short { background: #F4F3F7; border-radius: 24px; padding: 28px; }
.in-short h2 { font-size: 22px; }
.bullets { display: flex; flex-direction: column; gap: 12px; }
.bullets li { display: flex; gap: 14px; }
.bullets li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; margin-top: 9px; }
.bullets h3 { font-size: 17px; font-weight: 700; line-height: 21px; color: var(--ink); margin-bottom: 3px; }
.bullets li p { font-size: 16px; line-height: 1.6; color: var(--muted-2); }
@media (max-width: 1199px) { .legal-body { gap: 56px; } .toc { width: 220px; } }
@media (max-width: 1023px) {
  .legal-top { padding-top: 72px; }
  .legal-page .site-header { height: calc(72px - 16px * var(--p)); }
  .legal-page .nav { padding: 0 calc(48px - 28px * var(--p)); }
  .legal-title { padding: 72px var(--gutter) 56px; }
  .legal-title h1 { font-size: 52px; }
  .legal-body { flex-direction: column; gap: 40px; padding-top: 48px; }
  .toc { position: static; width: auto; }
  .toc ol { display: grid; grid-template-columns: 1fr 1fr; }
  .toc-pill { display: none; }
  .legal-text { width: auto; }
}
@media (max-width: 599px) {
  .legal-top { padding-top: 64px; }
  .legal-page .site-header { height: 64px; }
  .legal-page .site-header.solid { height: 60px; }
  .legal-page .nav { padding: 0 16px 0 20px; }
  .legal-page .site-header.at-top::before { background: transparent !important; }
  .legal-title { padding: 40px 20px 40px; }
  .legal-title h1 { font-size: 40px; letter-spacing: -1.5px; }
  .legal-text h2 { font-size: 23px; }
  .legal-text p { font-size: 16px; }
  .in-short { padding: 22px; }
}

/* ---------- Keyword highlighter (colors from the app's chips) ---------- */
.hl {
  --hl-bg: rgb(240 83 45 / .16); --hl-ink: #B8321A;
  color: inherit; background: linear-gradient(var(--hl-bg), var(--hl-bg)) no-repeat 0 55% / 0% 88%;
  border-radius: 6px; padding: 0 .16em; margin: 0 -.16em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size .75s var(--ease), color .45s var(--ease);
  transition-delay: calc(.35s + var(--i, 0) * .28s);
}
.hl.amber { --hl-bg: rgb(242 178 62 / .28); --hl-ink: #8A5000; }
.hl.violet { --hl-bg: rgb(124 92 232 / .16); --hl-ink: #5B3FC4; }
.hl-text.lit .hl, html:not(.js) .hl { background-size: 100% 88%; color: var(--hl-ink); }

/* ---------- 24 to 72 hour timeline, drawn by scroll progress (--tl, 0 to 1) ---------- */
.big-range .num { display: inline-block; text-align: right; }
/* The design's tight tracking made the 4 touch the dash; give the dash a little air. */
.big-range .dash { display: inline-block; margin: 0 .06em 0 .1em; }
.timeline { --tl: 0; position: relative; height: 64px; margin-top: 16px; max-width: 520px; }
.tl-track { position: absolute; left: 16px; right: 16px; top: 15px; height: 2px; border-radius: 2px; background: rgb(255 255 255 / .12); overflow: hidden; }
.tl-fill { height: 100%; background: linear-gradient(90deg, #7C5CE8, #D86BB5); transform-origin: 0 50%; transform: scaleX(var(--tl)); transition: transform .18s linear; }
.tl-node { position: absolute; top: 0; left: calc(16px + (100% - 32px) * var(--at)); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.tl-dot {
  width: 12px; height: 12px; margin: 10px 0; border-radius: 50%; background: #111015; border: 2px solid rgb(255 255 255 / .22);
  display: flex; align-items: center; justify-content: center; color: rgb(255 255 255 / .5);
  transition: background .35s var(--ease), border-color .35s var(--ease), transform .45s cubic-bezier(.34, 1.56, .64, 1), color .35s, box-shadow .45s var(--ease);
}
.tl-node.start .tl-dot, .tl-node.end .tl-dot { width: 32px; height: 32px; margin: 0; }
.tl-dot svg { width: 15px; height: 15px; }
.tl-label { font-size: 12px; font-weight: 600; line-height: 1; color: rgb(255 255 255 / .56); white-space: nowrap; transition: color .35s; }
.tl-node.on .tl-dot { background: #7C5CE8; border-color: #7C5CE8; color: #fff; transform: scale(1.12); }
.tl-node.start.on .tl-dot, .tl-node.end.on .tl-dot { transform: none; }
.tl-node.end.on .tl-dot { background: #F0532D; border-color: #F0532D; box-shadow: 0 0 0 6px rgb(240 83 45 / .18); }
.tl-node.on .tl-label { color: #fff; }
@media (max-width: 1023px) { .timeline { margin-top: 8px; } }
@media (max-width: 599px) { .timeline { margin-top: 4px; } }

/* ---------- Reduced motion: no tweens, no parallax ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-header { transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation: none !important; }
  .js .rv, .js .rv-phone, .js .rv-scale, .js .hero .intro { opacity: 1 !important; transform: none !important; }
  .js .hero .h-line > span, .js .big-range .mask > span { transform: none !important; }
  .float, .hero-photo img, .final-photo img { transform: none !important; }
  .hl { background-size: 100% 88% !important; color: var(--hl-ink) !important; }
}
