/* MileSure landing v2. Visual system: elayadesign landing-page-design skill.
   Type sizes resolve to the Tailwind scale, spacing to the 2/4/8/12/16/24/32/40/48/64/80/96 set,
   radii to Tailwind radii. Backgrounds are flat, except the green glow behind the hero phones and "Recording never stops". */
@font-face { font-family: Geist; src: url(/assets/fonts/geist.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #000000;
  --s1: #181818;
  --s2: #1F1F1F;
  --s3: #272727;
  --s4: #313131;
  --olive: #131209;
  --text: #F5F5F5;
  --text-2: #B8B8B8;
  --muted: #8C8C8C;
  --green: #5BE08A;
  --green-2: #8CF5A8;
  --ink: #04220F;
  --amber: #F5C451;
  --red: #FF8A7D;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: 32px;
  --sec: 96px;
}
@media (max-width: 767px) { :root { --pad: 24px; --sec: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/24px Geist, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
h1, h2, h3, summary { font-weight: 600; text-wrap: balance; }
p, li { text-wrap: pretty; }
.num { font-variant-numeric: tabular-nums; }
.wrap { max-width: 1200px; margin-inline: auto; padding-inline: var(--pad); }
.sec { padding-block: var(--sec); }
.icon { width: 20px; height: 20px; fill: currentColor; flex: none; }
.link { color: var(--green); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; transition: color .3s var(--ease); }
.link:hover { color: var(--green-2); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 8px; }
.skip { position: fixed; left: 16px; top: 16px; z-index: 100; padding: 8px 12px; border-radius: 8px; background: var(--green); color: var(--ink); font-weight: 600; transform: translateY(-80px); transition: transform .5s var(--ease); }
.skip:focus { transform: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* type */
.eyebrow { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--green); }
.h2 { margin-top: 12px; font-size: 48px; line-height: 1; letter-spacing: -0.03em; max-width: 680px; }
.lede { margin-top: 24px; max-width: 680px; font-size: 20px; line-height: 28px; color: var(--text-2); }
.h3 { font-size: 20px; line-height: 28px; letter-spacing: -0.01em; }
.body-2 { color: var(--text-2); }
.small { font-size: 14px; line-height: 20px; }
.xs { font-size: 12px; line-height: 16px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .h2, .center .lede { margin-inline: auto; }
@media (max-width: 767px) {
  .h2 { font-size: 36px; line-height: 40px; }
  .lede { font-size: 18px; line-height: 28px; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 12px; border: 1px solid transparent; border-radius: 8px; font: 600 16px/24px Geist, system-ui, sans-serif; cursor: pointer; white-space: nowrap;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), transform .5s var(--ease); }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--green); color: var(--ink); }
.btn-primary:hover { background: var(--green-2); }
.btn-ghost { background: transparent; border-color: var(--s4); color: var(--text); }
.btn-ghost:hover { background: var(--s2); }
.btn-sm { font-size: 14px; line-height: 20px; }
.btn[disabled] { cursor: progress; background: var(--s3); color: var(--muted); }

/* nav: floating pill, sized to its content */
.nav { position: fixed; top: 16px; left: 50%; z-index: 50; display: flex; align-items: center; gap: 8px; padding: 8px; transform: translateX(-50%);
  background: rgba(24, 24, 24, 0.72); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border: 1px solid var(--s3); border-radius: 9999px; }
.logo { display: flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 9999px; font-size: 16px; line-height: 24px; font-weight: 600; letter-spacing: -0.01em; }
.logo img { width: 24px; height: 24px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { white-space: nowrap; padding: 8px 12px; border-radius: 9999px; font-size: 14px; line-height: 20px; color: var(--text-2); transition: color .3s var(--ease), background-color .3s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--text); background: var(--s3); }
.nav .btn { border-radius: 9999px; padding-inline: 16px; }
.menu-btn { display: none; position: relative; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 9999px; background: var(--s3); color: var(--text); cursor: pointer; }
.menu-btn span { position: absolute; left: 12px; width: 16px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .5s var(--ease); }
.menu-btn span:first-child { top: 16px; }
.menu-btn span:last-child { top: 22px; }
.menu-open .menu-btn span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-open .menu-btn span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* mobile menu: full height panel, links arrive in reading order */
.menu { position: fixed; inset: 0; z-index: 40; display: flex; flex-direction: column; gap: 8px; padding: 96px var(--pad) 48px; visibility: hidden; opacity: 0;
  background: rgba(0, 0, 0, 0.9); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); transition: opacity .3s var(--ease), visibility 0s .3s; }
.menu a { font-size: 30px; line-height: 36px; font-weight: 600; letter-spacing: -0.02em; padding-block: 8px; opacity: 0; transform: translateY(24px);
  transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: 0s; }
.menu a[aria-current] { color: var(--green); }
.menu .btn { margin-top: 24px; font-size: 16px; line-height: 24px; padding-block: 12px; }
.menu-open .menu { visibility: visible; opacity: 1; transition: opacity .3s var(--ease); }
.menu-open .menu a { opacity: 1; transform: none; transition-delay: calc(var(--i) * 60ms); }
.menu-open body { overflow: hidden; }

@media (max-width: 767px) {
  .nav { left: 16px; right: 16px; transform: none; justify-content: space-between; }
  .nav-links, .nav .nav-cta { display: none; }
  .menu-btn { display: block; }
}
@media (min-width: 768px) { .menu { display: none; } }

/* scroll reveals (only when JS runs, so content never hides without it) */
.js .rv { opacity: 0; transform: translateY(16px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

/* hero: centered copy, three phones below */
.hero { padding-top: 96px; text-align: center; }
.hero-in { display: flex; flex-direction: column; align-items: center; margin-top: 64px; }
.hero-in > div { display: flex; flex-direction: column; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border: 1px solid var(--s3); border-radius: 9999px; background: var(--s1); font-size: 14px; line-height: 20px; color: var(--text-2); }
.pill i { width: 8px; height: 8px; border-radius: 9999px; background: var(--green); }
.hero h1 { margin-top: 24px; padding-bottom: 8px; max-width: 800px; font-size: 72px; line-height: 1; letter-spacing: -0.04em;
  background: linear-gradient(180deg, #FFFFFF 40%, #9B9B9B); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { margin-top: 16px; }
.hero-cta { margin-top: 32px; max-width: 480px; }
.hero .hero-cta { width: 100%; text-align: left; }
.hero .ticks { justify-content: center; }
.notify { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--s3); border-radius: 12px; background: var(--s1); transition: border-color .3s var(--ease); }
.notify:focus-within { border-color: var(--s4); }
.notify input[type="email"] { flex: 1; min-width: 0; padding: 8px 12px; border: 0; border-radius: 8px; background: transparent; color: var(--text); font: 400 16px/24px Geist, system-ui, sans-serif; }
.notify input[type="email"]::placeholder { color: var(--muted); }
.notify input[type="email"]:focus-visible { outline: none; }
.notify input[aria-invalid="true"] { color: var(--red); }
.notify:has(input[aria-invalid="true"]) { border-color: var(--red); }
@media (max-width: 479px) { .notify { flex-direction: column; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { min-height: 20px; margin-top: 12px; font-size: 14px; line-height: 20px; color: var(--muted); }
.form-msg[data-kind="error"] { color: var(--red); }
.form-msg[data-kind="ok"] { color: var(--green); }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--text-2); }
.ticks li { display: flex; align-items: center; gap: 4px; }
.ticks .icon { width: 16px; height: 16px; color: var(--green); }

.stage { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; margin-top: 64px; padding-bottom: 40px; text-align: left; }
.stage .glow { position: absolute; left: 50%; top: 8%; width: min(760px, 100%); height: 75%; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(91, 224, 138, 0.24), rgba(91, 224, 138, 0)); filter: blur(24px); }
.phone-c { position: relative; z-index: 1; box-shadow: 0 40px 80px -24px rgba(0, 0, 0, 0.9); }
.side { position: absolute; top: 56px; opacity: 0.85; }
.side-l { right: calc(50% + 72px); transform: perspective(1600px) rotateY(18deg) rotateZ(-6deg) scale(0.86); transform-origin: right center; }
.side-r { left: calc(50% + 72px); transform: perspective(1600px) rotateY(-18deg) rotateZ(6deg) scale(0.86); transform-origin: left center; }
.stage::after { content: ""; position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 200px; pointer-events: none; background: linear-gradient(rgba(0, 0, 0, 0), var(--bg) 80%); }
.stage .caption { position: relative; z-index: 3; }
.toast { position: absolute; left: -200px; top: 248px; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--s4); border-radius: 12px; background: var(--s2); font-size: 14px; line-height: 20px;
  animation: toast 4s var(--ease) 1.2s both; }
.toast b { font-weight: 600; }
.toast .icon { width: 16px; height: 16px; color: var(--green); }
@keyframes toast { from { opacity: 0; transform: translateY(12px); } 20%, to { opacity: 1; transform: none; } }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 64px; }
.fact { padding: 24px; border: 1px solid var(--s3); border-radius: 16px; background: var(--s1); }
.fact b { display: block; font-size: 30px; line-height: 36px; font-weight: 600; letter-spacing: -0.02em; }
.fact span { display: block; margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--text-2); }

@media (max-width: 767px) {
  .hero-in { margin-top: 32px; }
  .hero h1 { font-size: 48px; }
  .facts { grid-template-columns: 1fr; margin-top: 48px; }
  /* full bleed so the side phones peek in from the screen edges */
  .stage { width: auto; margin: 48px calc(-1 * var(--pad)) 0; align-self: stretch; overflow-x: clip; }
  .phone-c { width: 280px; }
  .side { top: 40px; }
  .side-l { right: calc(50% + 56px); transform: perspective(1400px) rotateY(18deg) rotateZ(-6deg) scale(0.72); }
  .side-r { left: calc(50% + 56px); transform: perspective(1400px) rotateY(-18deg) rotateZ(6deg) scale(0.72); }
  .toast { left: 16px; top: -20px; }
}

/* phone mockup (sample data) */
.phone { width: 300px; max-width: 100%; padding: 8px; border: 1px solid var(--s4); border-radius: 24px; background: var(--s2); }
.screen { display: flex; flex-direction: column; gap: 12px; padding: 16px 8px 0; border-radius: 16px; background: var(--bg); overflow: hidden; }
.scr-head { display: flex; align-items: center; justify-content: space-between; padding-inline: 8px; }
.scr-head b { display: block; font-size: 20px; line-height: 28px; font-weight: 600; }
.status { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 9999px; background: #16301F; color: var(--green-2); font-size: 12px; line-height: 16px; font-weight: 500; }
.status i { width: 8px; height: 8px; border-radius: 9999px; background: var(--green); animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.sum { display: flex; align-items: flex-end; justify-content: space-between; padding: 12px; border-radius: 8px; background: var(--s1); }
.sum b { display: block; font-size: 30px; line-height: 36px; font-weight: 600; letter-spacing: -0.02em; }
.sum .ded { font-size: 20px; line-height: 28px; font-weight: 600; color: var(--green); text-align: right; }
.trips { display: flex; flex-direction: column; }
.trip { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: 8px; border-bottom: 1px solid var(--s1); font-size: 14px; line-height: 20px; }
.trip:last-child { border-bottom: 0; }
.trip .t2 { color: var(--muted); font-size: 12px; line-height: 16px; }
.trip .v { color: var(--green); text-align: right; font-weight: 500; }
.tag { justify-self: end; padding: 0 8px; border-radius: 9999px; background: #16301F; color: var(--green-2); font-size: 12px; line-height: 16px; }
.tag-p { background: var(--s3); color: var(--text-2); }
.sum-ded b { color: var(--green); }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 96px; padding: 12px; border-radius: 8px; background: var(--s1); }
.bars i { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: var(--green); }
.bars i:last-child { opacity: 0.5; }
.export { flex-direction: column; align-items: stretch; gap: 12px; }
.export b { font-size: 14px; line-height: 20px; }
.exp { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.exp span { padding: 8px; border: 1px solid var(--green); border-radius: 9999px; color: var(--green-2); font-size: 12px; line-height: 16px; font-weight: 600; text-align: center; }
.exp span:first-child { background: var(--green); color: var(--ink); }
.js .phone-c .trip { opacity: 0; transform: translateY(8px); animation: row .5s var(--ease) forwards; animation-delay: calc(400ms + var(--i) * 90ms); }
@keyframes row { to { opacity: 1; transform: none; } }
.tabs { display: grid; grid-template-columns: repeat(4, 1fr); margin-inline: -8px; padding: 8px 0 12px; border-top: 1px solid var(--s1); background: #0B0B0B; text-align: center; font-size: 12px; line-height: 16px; color: var(--muted); }
.tabs .on { color: var(--green-2); font-weight: 600; }
.caption { font-size: 12px; line-height: 16px; color: var(--muted); }

/* cards */
.card { border: 1px solid var(--s3); border-radius: 16px; background: var(--s1); }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
@media (max-width: 1023px) { .grid3 { grid-template-columns: 1fr; } }
.ico { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; background: var(--s3); color: var(--text); }

/* problem */
.pain { display: flex; flex-direction: column; padding: 24px; }
.pain .h3 { margin-top: 16px; }
.pain .body-2 { margin-top: 8px; margin-bottom: 24px; }
.fix { margin-top: auto; padding: 12px 16px; border-radius: 8px; background: var(--s2); font-size: 14px; line-height: 20px; color: var(--text-2); }
.fix b { color: var(--green); font-weight: 600; }
.source { margin-top: 24px; }

/* tagline reveal */
.tagline { max-width: 680px; font-size: 60px; line-height: 1; letter-spacing: -0.035em; font-weight: 600; }
.tagline .w { opacity: .3; transition: opacity .5s var(--ease); }
.tagline .w.on { opacity: 1; }
.tagline em { font-style: normal; color: var(--green); }
@media (max-width: 767px) { .tagline { font-size: 36px; line-height: 40px; } }

/* features bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.feat { display: flex; flex-direction: column; gap: 8px; padding: 24px; }
.feat .ico { margin-bottom: 8px; }
.feat-lg { grid-column: span 4; }
.feat-md { grid-column: span 2; }
.feat-sm { grid-column: span 2; }
.vis { margin-top: 16px; padding: 12px; border: 1px solid var(--s3); border-radius: 8px; background: var(--bg); }
.feat-lg .vis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.feat-lg .trip:nth-last-child(2) { border-bottom: 0; }
.checks li { display: flex; align-items: center; gap: 8px; padding: 8px 4px; border-bottom: 1px solid var(--s1); font-size: 14px; line-height: 20px; }
.checks li:last-child { border-bottom: 0; }
.checks li span { margin-left: auto; color: var(--muted); font-size: 12px; line-height: 16px; }
.checks .icon { width: 16px; height: 16px; color: var(--green); }
.legend { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 8px; font-size: 12px; line-height: 16px; color: var(--text-2); }
.legend span { display: flex; align-items: center; gap: 4px; }
.legend i { width: 8px; height: 8px; border-radius: 9999px; }
.mini { width: 100%; border-collapse: collapse; font-size: 12px; line-height: 16px; }
.mini th, .mini td { padding: 4px; text-align: right; font-weight: 400; }
.mini th:first-child, .mini td:first-child { text-align: left; }
.mini thead th { color: var(--muted); }
.mini tbody tr + tr td { border-top: 1px solid var(--s1); }
@media (max-width: 1023px) {
  .feat-lg, .feat-md { grid-column: span 6; }
  .feat-sm { grid-column: span 3; }
}
@media (max-width: 767px) {
  .feat-sm { grid-column: span 6; }
  .feat-lg .vis { grid-template-columns: 1fr; }
  .feat-lg .trip:nth-last-child(2) { border-bottom: 1px solid var(--s1); }
}

/* how it works */
.steps { counter-reset: step; }
.step { padding: 24px; }
.step-n { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 1px solid var(--green); border-radius: 9999px; color: var(--green); font-size: 14px; line-height: 20px; font-weight: 600; }
.step .h3 { margin-top: 24px; }
.step p { margin-top: 8px; }

/* recording never stops */
.never { position: relative; isolation: isolate; text-align: center; }
.never::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: min(900px, 100%); height: 360px; transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(91, 224, 138, 0.16), rgba(91, 224, 138, 0)); filter: blur(32px); }
.never-h { font-size: 72px; line-height: 1; letter-spacing: -0.04em; }
.never .lede { margin-inline: auto; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 32px; }
.chips li { display: flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid var(--s3); border-radius: 9999px; background: var(--s1); font-size: 14px; line-height: 20px; color: var(--text-2); }
.chips .icon { width: 16px; height: 16px; color: var(--green); }
@media (max-width: 767px) { .never-h { font-size: 44px; line-height: 1; } }

/* calculator */
.calc { display: flex; flex-direction: column; gap: 32px; padding: 48px; border-radius: 24px; }
.calc-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sentence { max-width: 900px; font-size: 48px; line-height: 1.1; letter-spacing: -0.03em; font-weight: 600; text-wrap: balance; }
.sentence u { text-decoration: none; border-bottom: 2px solid var(--s4); }
.sentence em { font-style: normal; color: var(--green); }
.calc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; padding-top: 32px; border-top: 1px solid var(--s3); }
.calc label { display: block; font-size: 14px; line-height: 20px; color: var(--text-2); }
.calc .big { margin-top: 8px; font-size: 48px; line-height: 1; font-weight: 600; letter-spacing: -0.03em; }
.calc .big small { font-size: 20px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.calc input[type="range"] { width: 100%; height: 24px; margin: 24px 0 0; accent-color: var(--green); cursor: pointer; }
.result { padding: 24px; border: 1px solid var(--s3); border-radius: 16px; background: var(--bg); }
.result .out { margin-top: 8px; font-size: 60px; line-height: 1; font-weight: 600; letter-spacing: -0.035em; color: var(--green); }
.result p { margin-top: 16px; }
@media (max-width: 1023px) { .calc { padding: 32px; } .calc-grid { grid-template-columns: 1fr; gap: 32px; } .sentence { font-size: 36px; line-height: 40px; } }
@media (max-width: 767px) { .calc { gap: 24px; padding: 24px; } .calc-grid { padding-top: 24px; } .sentence { font-size: 30px; line-height: 36px; } .result .out { font-size: 48px; } }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 48px; align-items: stretch; text-align: left; }
.plan { display: flex; flex-direction: column; gap: 8px; padding: 32px; }
.plan-main { border-color: var(--green); background: var(--s2); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.badge { padding: 2px 8px; border-radius: 9999px; background: #16301F; color: var(--green-2); font-size: 12px; line-height: 16px; font-weight: 500; }
.badge-ghost { background: var(--s3); color: var(--text-2); }
.price { margin-top: 16px; display: flex; align-items: baseline; gap: 8px; }
.price b { font-size: 48px; line-height: 1; font-weight: 600; letter-spacing: -0.03em; }
.price span { color: var(--muted); }
.reversal { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; margin-top: 32px; color: var(--text-2); }
.reversal li { display: flex; align-items: center; gap: 8px; }
.reversal .icon { color: var(--green); }
.price-cta { margin-top: 32px; }
@media (max-width: 1023px) {
  .plans { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .plan-main { order: -1; }
}

/* faq */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 64px; align-items: start; }
.faq-side p { margin-top: 24px; }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-list details { border: 1px solid var(--s3); border-radius: 12px; background: var(--s1); transition: border-color .3s var(--ease); }
.faq-list details[open] { border-color: var(--s4); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 24px; cursor: pointer; list-style: none; font-size: 16px; line-height: 24px; border-radius: 12px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { background: var(--s2); }
.plus { position: relative; width: 16px; height: 16px; flex: none; }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; border-radius: 2px; background: var(--muted); transition: transform .5s var(--ease); }
.plus::after { transform: rotate(90deg); }
details[open] .plus::after { transform: rotate(0deg); }
.faq-list .ans { padding: 0 24px 24px; color: var(--text-2); }
details[open] .ans { animation: fade .5s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(-8px); } }
@media (max-width: 1023px) { .faq { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 767px) { .faq-list summary { padding: 16px; } .faq-list .ans { padding: 0 16px 16px; } }

/* final cta */
.final { display: flex; flex-direction: column; align-items: center; padding: 64px 32px; border: 1px solid var(--s3); border-radius: 24px; background: var(--olive); text-align: center; }
.final .lede { margin-top: 16px; }
.final .hero-cta { width: 100%; margin-top: 32px; text-align: left; }
@media (max-width: 767px) { .final { padding: 48px 16px; } }

/* footer */
.foot { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 24px; padding-block: 48px; color: var(--muted); font-size: 14px; line-height: 20px; }
.foot .logo { padding-left: 0; color: var(--text); }
.foot p { margin-top: 8px; max-width: 400px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot nav a, .foot nav button { padding: 0; border: 0; background: none; color: var(--text-2); font: inherit; cursor: pointer; transition: color .3s var(--ease); }
.foot nav a:hover, .foot nav button:hover { color: var(--text); }

/* cookie consent */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; display: none; flex-wrap: wrap; align-items: center; gap: 12px 16px; max-width: 560px; padding: 16px; border: 1px solid var(--s4); border-radius: 16px; background: var(--s1); font-size: 14px; line-height: 20px; color: var(--text-2); }
.consent.show { display: flex; }
.consent p { flex: 1 1 260px; }
.consent div { display: flex; gap: 8px; }

/* text pages: calculator, support, privacy, terms */
.doc { max-width: 768px; padding-top: 160px; padding-bottom: var(--sec); }
.doc > .lede { margin-top: 24px; }
.doc .updated { margin-top: 16px; font-size: 14px; line-height: 20px; color: var(--muted); }
.doc > h2 { margin-top: 48px; font-size: 30px; line-height: 36px; letter-spacing: -0.02em; }
.doc > p, .doc > ul { margin-top: 16px; color: var(--text-2); }
.doc > ul { list-style: disc; padding-left: 24px; }
.doc > ul li + li { margin-top: 8px; }
.doc .calc { margin-top: 48px; }
.doc .sentence { font-size: 36px; line-height: 40px; }
.doc table { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 14px; line-height: 20px; }
.doc th, .doc td { padding: 12px 8px; text-align: left; border-bottom: 1px solid var(--s3); }
.doc th { color: var(--muted); font-weight: 500; }
.doc > .btn { margin-top: 32px; }
@media (max-width: 767px) { .doc { padding-top: 128px; } .doc > h2 { font-size: 24px; line-height: 32px; } .doc .sentence { font-size: 30px; line-height: 36px; } }

/* 404 */
.lost { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; padding-top: 96px; }
.lost h1, .doc h1 { font-size: 60px; line-height: 1; letter-spacing: -0.035em; max-width: 680px; background: linear-gradient(90deg, #FFFFFF, #9B9B9B); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 8px; margin-top: 12px; }
.lost ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
@media (max-width: 767px) { .lost h1, .doc h1 { font-size: 48px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv, .menu a, .js .phone-c .trip, .toast { transform: none !important; }
  .js .phone-c .trip, .toast, .status i, details[open] .ans { animation: none; opacity: 1; }
}
