/* TireNexus homepage (proposal B: "A day at the counter").
   Homepage only: the generated secondary pages keep using landing.css.
   Everything interactive here works without JavaScript (the walkthrough is a radio group);
   home.js only adds the sticky header, the active chapter and video play/pause. */

:root {
  --navy-0: #05080D;
  --navy-1: #0B1118;
  --navy-2: #0D1826;
  --blue: #0A84FF;
  --blue-d: #0057D9;
  --blue-l: #5AB0FF;
  --blue-xl: #8CC8FF;
  --amber: #FFB224;
  --amber-ink: #1a1100;
  --ink: #0B1118;
  --muted: #475569;
  --page: #F3F7FC;
  --line: rgba(11, 17, 24, 0.07);
  --f-head: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E");
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%235AB0FF' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--f-body); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, label { font: inherit; }

.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; opacity: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 12px 18px; border-radius: 10px; background: #fff; color: var(--ink); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--blue-xl); outline-offset: 3px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.18); background: var(--amber); color: var(--amber-ink); font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; box-shadow: 0 8px 30px rgba(255, 178, 36, 0.4); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 38px rgba(255, 178, 36, 0.5); }
.btn-lg { min-height: 56px; padding: 0 34px; border-radius: 14px; font-size: 17px; box-shadow: 0 14px 44px rgba(255, 178, 36, 0.45); }
/* Green = free sample: the demo button reads as "no cost, go ahead", apart from the amber Join button. */
.btn.btn-free { background: linear-gradient(180deg, #4ADE80 0%, #22C55E 100%); color: #052E16; border-color: rgba(255, 255, 255, 0.28); box-shadow: 0 14px 44px rgba(34, 197, 94, 0.4); }
.btn.btn-free:hover, .btn.btn-free:focus-visible { background: linear-gradient(180deg, #6EE7A0 0%, #34D26E 100%); }
.btn-ghost { color: #fff; background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.24); box-shadow: none; font-weight: 600; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); box-shadow: none; }
.btn-white { background: #fff; color: var(--ink); border-color: transparent; box-shadow: 0 14px 40px rgba(10, 132, 255, 0.35); }

/* ---------- header (sits on the dark stage) ---------- */
.site { position: sticky; top: 0; z-index: 60; margin-bottom: -84px; transition: background 0.2s ease, box-shadow 0.2s ease; }
.site.scrolled { background: rgba(5, 8, 13, 0.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07); }
.nav { max-width: 1160px; margin: 0 auto; padding: 0 32px; height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; min-height: 44px; }
.brand img { display: block; width: 128px; height: auto; }
.navlinks { display: flex; gap: 30px; font-size: 15px; font-weight: 500; }
.navlinks a, .signin { color: #C9D5E6; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.navlinks a:hover, .signin:hover { color: #fff; }
.navactions { display: flex; align-items: center; gap: 22px; }
.signin { font-size: 15px; font-weight: 500; }

/* ---------- dark stage: hero + walkthrough ---------- */
.stage { position: relative; overflow: hidden; isolation: isolate; padding: 84px 0 124px; color: #E5E7EB; background: linear-gradient(180deg, var(--navy-0) 0%, var(--navy-1) 58%, var(--navy-2) 100%); }
.stage::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
  radial-gradient(circle 440px at 100% -40px, rgba(10, 132, 255, 0.42) 0%, rgba(10, 132, 255, 0.12) 60%, transparent 100%),
  radial-gradient(circle 400px at 0 100%, rgba(0, 87, 217, 0.34) 0%, transparent 100%); }
.stage::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
  linear-gradient(180deg, rgba(5, 8, 13, 0) 60%, rgba(5, 8, 13, 0.5) 100%),
  repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.032) 0, rgba(255, 255, 255, 0.032) 1px, transparent 1px, transparent 28px); }

.hero { max-width: 1160px; margin: 0 auto; padding: 64px 32px 90px; display: grid; grid-template-columns: minmax(0, 1fr) 540px; gap: 40px; align-items: center; }
.pill-tag { display: inline-flex; align-items: center; min-height: 34px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(90, 176, 255, 0.38); background: rgba(10, 132, 255, 0.12); font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-xl); }
.hero h1 { margin-top: 26px; font-family: var(--f-head); font-weight: 700; font-size: 52px; line-height: 1.06; letter-spacing: -0.025em; color: #fff; }
.hero h1 em { font-style: normal; color: var(--blue-l); }
.lede { margin-top: 26px; max-width: 540px; font-size: 19px; line-height: 1.65; color: #AEBBCD; }
.hero-cta { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 16px; }
.proofs { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14px; font-weight: 600; color: #D5DEEB; }
.proofs li { display: inline-flex; align-items: center; gap: 8px; }
.proofs li::before { content: ""; width: 18px; height: 18px; background: var(--check) center / contain no-repeat; }


/* ---------- eyebrow + section headings ---------- */
.eyebrow { display: flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue-d); }
.eyebrow::before { content: ""; width: 36px; height: 2px; background: linear-gradient(90deg, var(--blue), var(--blue-d)); }
.on-dark .eyebrow { color: var(--blue-xl); }
.on-dark .eyebrow::before { background: linear-gradient(90deg, var(--blue), var(--blue-l)); }
.h2 { margin-top: 16px; font-family: var(--f-head); font-weight: 700; font-size: 46px; line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); }
.on-dark .h2 { color: #fff; }
.sub { margin-top: 16px; font-size: 18px; line-height: 1.6; color: var(--muted); }
.on-dark .sub { color: #AEBBCD; }

/* ---------- "see how easy it is": a radio-group walkthrough ---------- */
.easy { max-width: 1160px; margin: 0 auto; padding: 30px 32px 0; }
.easy-head { max-width: 720px; }
.easy-app { position: relative; margin-top: 30px; display: grid; grid-template-columns: minmax(0, 1fr) 330px; column-gap: 56px; row-gap: 30px; align-items: center; }
.mode-switch { grid-column: 1 / -1; justify-self: start; display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.05); }
.mode-switch label { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 999px; font-size: 16px; font-weight: 600; color: #C9D5E6; cursor: pointer; }
#mode-steps:checked ~ .mode-switch label[for="mode-steps"], #mode-video:checked ~ .mode-switch label[for="mode-video"] { background: var(--blue-d); color: #fff; font-weight: 700; box-shadow: 0 8px 24px rgba(10, 132, 255, 0.4); }
#mode-steps:focus-visible ~ .mode-switch label[for="mode-steps"], #mode-video:focus-visible ~ .mode-switch label[for="mode-video"] { outline: 3px solid var(--blue-xl); outline-offset: 2px; }

.easy-copy { min-width: 0; }
.steps-list { display: flex; flex-direction: column; gap: 12px; }
.step { display: flex; align-items: center; gap: 16px; padding: 16px 22px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.04); cursor: pointer; }
.step .n { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: #C9D5E6; display: inline-flex; align-items: center; justify-content: center; font-family: var(--f-mono); font-size: 14px; }
.step .t { display: block; font-family: var(--f-head); font-weight: 600; font-size: 18px; line-height: 1.25; color: #C9D5E6; }
.step .b { display: none; margin-top: 6px; font-size: 15px; line-height: 1.55; color: #C2CEDF; }
#step-1:checked ~ .easy-copy .s1, #step-2:checked ~ .easy-copy .s2, #step-3:checked ~ .easy-copy .s3, #step-4:checked ~ .easy-copy .s4 { align-items: flex-start; padding: 20px 22px; border-color: rgba(90, 176, 255, 0.55); background: linear-gradient(160deg, rgba(10, 132, 255, 0.2) 0%, rgba(10, 132, 255, 0.07) 100%); box-shadow: 0 20px 50px -20px rgba(10, 132, 255, 0.55); }
#step-1:checked ~ .easy-copy .s1 .n, #step-2:checked ~ .easy-copy .s2 .n, #step-3:checked ~ .easy-copy .s3 .n, #step-4:checked ~ .easy-copy .s4 .n { background: var(--blue-d); color: #fff; }
#step-1:checked ~ .easy-copy .s1 .t, #step-2:checked ~ .easy-copy .s2 .t, #step-3:checked ~ .easy-copy .s3 .t, #step-4:checked ~ .easy-copy .s4 .t { font-size: 20px; color: #fff; }
#step-1:checked ~ .easy-copy .s1 .b, #step-2:checked ~ .easy-copy .s2 .b, #step-3:checked ~ .easy-copy .s3 .b, #step-4:checked ~ .easy-copy .s4 .b { display: block; }
#step-1:focus-visible ~ .easy-copy .s1, #step-2:focus-visible ~ .easy-copy .s2, #step-3:focus-visible ~ .easy-copy .s3, #step-4:focus-visible ~ .easy-copy .s4 { outline: 3px solid var(--blue-xl); outline-offset: 3px; }

.step-controls { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.step-controls .btn { min-height: 50px; padding: 0 28px; font-size: 16px; }
.step-controls .go { display: none; }
.step-count { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-xl); }
.step-count > span { display: none; }
#step-1:checked ~ .easy-copy .go-next-1, #step-2:checked ~ .easy-copy .go-back-2, #step-2:checked ~ .easy-copy .go-next-2, #step-3:checked ~ .easy-copy .go-back-3, #step-3:checked ~ .easy-copy .go-next-3, #step-4:checked ~ .easy-copy .go-back-4, #step-4:checked ~ .easy-copy .go-join { display: inline-flex; }
#step-1:checked ~ .easy-copy .c1, #step-2:checked ~ .easy-copy .c2, #step-3:checked ~ .easy-copy .c3, #step-4:checked ~ .easy-copy .c4 { display: inline; }

.copy-video { display: none; padding: 30px 32px; border-radius: 24px; border: 1px solid rgba(90, 176, 255, 0.45); background: linear-gradient(160deg, rgba(10, 132, 255, 0.2) 0%, rgba(10, 132, 255, 0.06) 100%); box-shadow: 0 24px 60px -24px rgba(10, 132, 255, 0.5); }
.copy-video .kicker { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-xl); }
.copy-video h3 { margin-top: 12px; font-family: var(--f-head); font-weight: 600; font-size: 26px; line-height: 1.25; color: #fff; }
.copy-video p { margin-top: 12px; font-size: 16px; line-height: 1.6; color: #C2CEDF; }
.copy-video label.btn { margin-top: 22px; min-height: 50px; font-size: 16px; }
#mode-video:checked ~ .easy-copy .copy-steps { display: none; }
#mode-video:checked ~ .easy-copy .copy-video { display: block; }

.easy-phone { position: relative; width: 330px; max-width: 100%; justify-self: center; }
.easy-phone .iphone { --w: 330px; position: relative; z-index: 1; }
.easy-phone .scr .shot, .easy-phone .scr .vid { display: none; }
/* The status bar follows the top edge of what is showing: the app's pale blue (the frame's `app` class) for steps 2
   and 3, the dimmed page behind the Ticket details dialog for step 1, the white cart for step 4, and the dark home
   page the recording starts on. */
#step-1:checked ~ .easy-phone .iphone { --strip: #8E9AA9; }
#step-4:checked ~ .easy-phone .iphone { --strip: #FFFFFF; }
#mode-video:checked ~ .easy-phone .iphone { --strip: #091320; --ink: #FFFFFF; }
.easy-phone::before { content: ""; position: absolute; left: 50%; top: 50%; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; background: radial-gradient(circle, rgba(10, 132, 255, 0.38) 0%, rgba(10, 132, 255, 0) 66%); pointer-events: none; }
.easy-phone::after { content: ""; position: absolute; left: 50%; top: 50%; width: 440px; height: 440px; margin: -220px 0 0 -220px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.08); pointer-events: none; }
#step-1:checked ~ .easy-phone .shot-1, #step-2:checked ~ .easy-phone .shot-2, #step-3:checked ~ .easy-phone .shot-3, #step-4:checked ~ .easy-phone .shot-4 { display: block; }
#mode-video:checked ~ .easy-phone .shot { display: none; }
#mode-video:checked ~ .easy-phone .vid { display: block; }

/* ---------- the day, in eight steps (straddles the stage edge) ---------- */
.timeline-wrap { position: relative; z-index: 3; max-width: 1160px; margin: -62px auto 0; padding: 0 32px; }
.timeline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 16px 28px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(11, 17, 24, 0.06), 0 34px 80px -22px rgba(11, 17, 24, 0.4); }
.timeline a { display: flex; align-items: center; gap: 9px; min-height: 46px; font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; }
.timeline a b { width: 30px; height: 30px; border-radius: 50%; background: var(--blue-d); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--f-mono); font-size: 12px; font-weight: 500; }
.timeline i { flex: 1 1 8px; min-width: 6px; height: 2px; background: linear-gradient(90deg, #B9D2F5, #DCE8F8); }

/* ---------- light body ---------- */
.body { position: relative; overflow: hidden; isolation: isolate; }
.body::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
  radial-gradient(circle 400px at 100% 6%, rgba(10, 132, 255, 0.14) 0%, transparent 100%),
  radial-gradient(circle 400px at 0 28%, rgba(0, 87, 217, 0.11) 0%, transparent 100%),
  radial-gradient(circle 410px at 100% 52%, rgba(10, 132, 255, 0.13) 0%, transparent 100%),
  radial-gradient(circle 400px at 0 76%, rgba(0, 87, 217, 0.1) 0%, transparent 100%),
  linear-gradient(rgba(11, 17, 24, 0.035) 1px, transparent 1px) 0 0 / 64px 64px,
  linear-gradient(90deg, rgba(11, 17, 24, 0.035) 1px, transparent 1px) 0 0 / 64px 64px; }
.section { max-width: 1160px; margin: 0 auto; padding: 130px 32px 0; }
.section-day { padding-top: 112px; }
.section-head { max-width: 680px; }

.chapters { margin-top: 52px; display: flex; gap: 44px; align-items: flex-start; }
.rail { flex: 0 0 224px; position: sticky; top: 96px; }
.rail nav { display: flex; flex-direction: column; gap: 2px; padding: 10px; border-radius: 22px; background: rgba(255, 255, 255, 0.74); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(11, 17, 24, 0.04), 0 20px 50px -20px rgba(11, 17, 24, 0.18); }
.rail nav a { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 14px; border-radius: 14px; font-size: 15px; font-weight: 600; color: var(--muted); text-decoration: none; }
.rail nav a span { font-family: var(--f-mono); font-size: 12px; }
.rail nav a:hover { color: var(--ink); background: rgba(11, 17, 24, 0.04); }
.rail nav a.is-active { background: var(--navy-1); color: #fff; font-weight: 700; }
.rail nav a.is-active span { color: #7DB8FF; }
.rail-card { margin-top: 18px; position: relative; overflow: hidden; padding: 22px; border-radius: 22px; background: linear-gradient(160deg, #0F1B2B 0%, #080D14 100%); color: #E5E7EB; box-shadow: 0 24px 50px -20px rgba(11, 17, 24, 0.5); }
.rail-card::before { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(10, 132, 255, 0.5) 0%, rgba(10, 132, 255, 0) 70%); }
.rail-card > * { position: relative; }
.rail-card strong { display: block; font-family: var(--f-head); font-weight: 600; font-size: 18px; line-height: 1.25; color: #fff; }
.rail-card p { margin-top: 8px; font-size: 13px; line-height: 1.55; color: #9FB0C6; }
.rail-card .btn { margin-top: 16px; display: flex; min-height: 46px; border-radius: 12px; font-size: 15px; box-shadow: 0 8px 26px rgba(10, 132, 255, 0.4); }

.chapter-list { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.chapter { position: relative; overflow: hidden; padding: 44px; border-radius: 28px; background: linear-gradient(180deg, #fff 0%, #FAFBFF 100%); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(11, 17, 24, 0.04), 0 28px 70px -24px rgba(11, 17, 24, 0.16); }
.ch-row { display: flex; flex-wrap: wrap; gap: 44px; align-items: center; }
.ch-row.rev { flex-direction: row-reverse; }
.ch-text { flex: 1 1 290px; min-width: 0; }
.ch-media { flex: 1 1 260px; min-width: 0; }
.ch-media.wide { flex: 1.4 1 360px; }
.ch-kicker { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-d); }
.chapter h3 { margin-top: 12px; font-family: var(--f-head); font-weight: 600; font-size: 30px; line-height: 1.18; letter-spacing: -0.01em; color: var(--ink); }
.chapter .ch-text p, .ch-wide-text p { margin-top: 14px; font-size: 17px; line-height: 1.7; color: var(--muted); }
.chapter .ch-text p.caution, .ch-wide-text p.caution { font-size: 15px; line-height: 1.6; color: #334155; padding-left: 14px; border-left: 3px solid #B9D2F5; }

.how { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 4px; }
.how .lab { margin-right: 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.how ol { display: contents; }
.how li { display: flex; align-items: center; gap: 4px; }
.how li:not(:last-child)::after { content: ""; width: 14px; height: 14px; background: var(--chevron) center / contain no-repeat; }
.how .pill { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 14px 0 6px; border-radius: 999px; background: var(--navy-1); color: #fff; font-size: 13px; font-weight: 600; }
.how .pill b { width: 22px; height: 22px; border-radius: 50%; background: var(--blue-d); display: inline-flex; align-items: center; justify-content: center; font-family: var(--f-mono); font-size: 11px; font-weight: 500; }

.chips { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: 999px; background: #EAF2FF; border: 1px solid #CFE1FF; color: #0B3A8A; font-size: 13px; font-weight: 600; }

.fig-label { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-d); }
figcaption { margin-top: 14px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.fig-phone { flex: 0 0 auto; margin: 0 auto; }
.fig-duo { flex: 1 1 400px; max-width: 640px; min-width: 0; margin: 0 auto; }
.fig-duo .duo { margin-top: 12px; }
.ch-below .fig-duo { flex: 1 1 100%; max-width: 860px; margin: 0; }
.ch-row.stack { flex-direction: column; align-items: stretch; gap: 28px; }
.ch-row.stack .fig-duo { flex: none; width: 100%; max-width: 860px; margin: 0 auto; }
.fig-phone .iphone { --w: 250px; margin-top: 12px; }
.window { overflow: hidden; border-radius: 16px; border: 1px solid rgba(11, 17, 24, 0.08); background: #fff; box-shadow: 0 24px 60px -24px rgba(11, 17, 24, 0.3); }
.window img { display: block; width: 100%; height: auto; }
.fig-wide .window { margin-top: 12px; }

.ch-below { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.ch-below > figure { min-width: 0; }
.ch-below .fig-wide { flex: 1.6 1 380px; }
.ch-below .fig-phone { flex: 0 0 250px; }
.ch-below.pair > figure { flex: 1 1 360px; }
.ch-below .fig-wide.solo { flex: 1 1 100%; }

.quote-row { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 26px; justify-content: center; }
.quote-row figure { flex: 0 0 auto; }
.quote-row .iphone { --w: 150px; margin-top: 12px; }

/* ---------- before you rely on it ---------- */
.trust { margin-top: 44px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
.trust .chapter { padding: 36px; }
.trust h3 { font-size: 26px; }
.trust-list { margin-top: 18px; display: flex; flex-direction: column; gap: 16px; }
.trust-list li { padding-left: 18px; border-left: 3px solid #B9D2F5; }
.trust-list strong { display: block; font-size: 16px; font-weight: 700; color: var(--ink); }
.trust-list span { display: block; margin-top: 4px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.trust .note { margin-top: 18px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 700; color: var(--blue-d); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- pricing band ---------- */
.price-edge { padding: 1px; border-radius: 32px; background: linear-gradient(135deg, rgba(10, 132, 255, 0.8) 0%, rgba(255, 255, 255, 0.1) 38%, rgba(10, 132, 255, 0.32) 100%); box-shadow: 0 44px 100px -30px rgba(0, 87, 217, 0.6); }
.price-band { position: relative; overflow: hidden; isolation: isolate; padding: 60px; border-radius: 31px; background: linear-gradient(160deg, #0E1A2B 0%, #070B12 100%); color: #E5E7EB; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: space-between; }
.price-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(circle 260px at calc(100% - 20px) -40px, rgba(10, 132, 255, 0.42) 0%, rgba(10, 132, 255, 0) 100%),
  repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.025) 0, rgba(255, 255, 255, 0.025) 1px, transparent 1px, transparent 28px); }
.price-text { flex: 1 1 420px; }
.price-text img { display: block; width: 48px; height: auto; }
.price-text h2 { margin-top: 24px; font-family: var(--f-head); font-weight: 700; font-size: 42px; line-height: 1.12; letter-spacing: -0.02em; color: #fff; }
.price-text p { margin-top: 16px; max-width: 540px; font-size: 17px; line-height: 1.65; color: #A9B7CA; }
.price-text a { margin-top: 14px; display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 600; color: #7DB8FF; text-decoration: underline; }
.price-cta { flex: 0 0 auto; text-align: center; }
.price-cta .amount { font-family: var(--f-head); font-weight: 700; font-size: 72px; line-height: 1; letter-spacing: -0.03em; color: #fff; }
.price-cta .was { margin-bottom: 6px; font-size: 15px; color: #9FB0C6; }
.price-cta .was s { font-family: var(--f-head); font-weight: 700; font-size: 28px; color: #C9D6E6; text-decoration-thickness: 2px; text-decoration-color: #FFC233; }
.price-cta .per { margin-top: 8px; font-size: 14px; color: #9FB0C6; }
.price-cta .btn { margin-top: 22px; }

/* ---------- FAQ ---------- */
.faq-grid { margin-top: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.faq-item { padding: 22px 24px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(11, 17, 24, 0.04), 0 14px 34px -18px rgba(11, 17, 24, 0.14); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; font-size: 17px; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .plus { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: #EAF2FF; color: var(--blue-d); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; line-height: 1; transition: transform 0.2s ease; }
.faq-item[open] .plus { transform: rotate(45deg); }
.faq-item p { margin-top: 12px; font-size: 16px; line-height: 1.65; color: var(--muted); }

/* ---------- footer ---------- */
.foot { position: relative; overflow: hidden; margin-top: 130px; background: linear-gradient(180deg, var(--navy-1) 0%, var(--navy-0) 100%); color: #E5E7EB; }
.foot::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle 380px at 100% 0, rgba(10, 132, 255, 0.2) 0%, transparent 100%), repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.025) 0, rgba(255, 255, 255, 0.025) 1px, transparent 1px, transparent 28px); pointer-events: none; }
.foot-in { position: relative; max-width: 1160px; margin: 0 auto; padding: 64px 32px 36px; }
.foot-row { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.foot-brand img { display: block; width: 114px; height: auto; }
.foot-brand p { margin-top: 16px; max-width: 280px; font-size: 14px; line-height: 1.6; color: #9FB0C6; }
.foot-cols { display: flex; flex-wrap: wrap; gap: 28px 56px; }
.foot-col { display: flex; flex-direction: column; }
.foot-col .label { margin-bottom: 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-xl); }
.foot-col a { display: inline-flex; align-items: center; min-height: 36px; font-size: 14px; color: #C9D5E6; text-decoration: none; }
.foot-col a:hover { color: #fff; text-decoration: underline; }
.foot-legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 13px; color: #7D8DA3; }

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
  .rail { display: none; }
  .chapters { margin-top: 44px; }
}
@media (max-width: 960px) {
  .navlinks { display: none; }
  .devs { margin-top: 12px; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-bottom: 60px; }
  .easy-app { grid-template-columns: minmax(0, 1fr); row-gap: 36px; }
  .easy-phone { grid-row: 3; }
  .timeline { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
  .timeline a { scroll-snap-align: start; }
  .timeline i { flex: 0 0 14px; }
  .trust { grid-template-columns: minmax(0, 1fr); }
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- phone ---------- */
@media (max-width: 720px) {
  .nav { padding: 0 20px; height: 72px; }
  .site { margin-bottom: -72px; }
  .stage { padding: 72px 0 100px; }
  .brand img { width: 108px; }
  .navactions { gap: 14px; }
  .navactions .btn { min-height: 44px; padding: 0 16px; font-size: 14px; }
  .hero { padding: 30px 20px 40px; gap: 28px; }
  .pill-tag { min-height: 30px; padding: 0 14px; font-size: 10.5px; letter-spacing: 0.14em; }
  .hero h1 { margin-top: 20px; font-size: 35px; line-height: 1.08; }
  .lede { margin-top: 18px; font-size: 16px; }
  .hero-cta { margin-top: 26px; flex-direction: column; gap: 12px; }
  .hero-cta .btn { width: 100%; }
  .proofs { margin-top: 22px; flex-direction: column; gap: 8px; }
  .easy { padding: 24px 20px 0; }
  .eyebrow { gap: 10px; font-size: 11px; letter-spacing: 0.16em; }
  .eyebrow::before { width: 28px; }
  .h2 { margin-top: 14px; font-size: 31px; line-height: 1.12; }
  .sub { margin-top: 12px; font-size: 15px; }
  .easy-app { margin-top: 20px; }
  .mode-switch { display: flex; width: 100%; }
  .mode-switch label { flex: 1; justify-content: center; padding: 0 10px; font-size: 15px; }
  .step { padding: 14px 16px; }
  .step .t { font-size: 16px; }
  #step-1:checked ~ .easy-copy .s1 .t, #step-2:checked ~ .easy-copy .s2 .t, #step-3:checked ~ .easy-copy .s3 .t, #step-4:checked ~ .easy-copy .s4 .t { font-size: 18px; }
  .step-controls .btn { flex: 1 1 0; }
  .copy-video { padding: 22px 20px; border-radius: 22px; }
  .copy-video h3 { font-size: 21px; }
  .copy-video p { font-size: 15px; }
  .copy-video label.btn { width: 100%; }
  .easy-phone { width: 262px; }
  .easy-phone .iphone { --w: 262px; }
  .easy-phone::before { width: 420px; height: 420px; margin: -210px 0 0 -210px; }
  .easy-phone::after { display: none; }
  .timeline-wrap { margin-top: -50px; padding: 0 20px; }
  .timeline { padding: 12px 18px; border-radius: 18px; }
  .section { padding: 84px 20px 0; }
  .section-day { padding-top: 72px; }
  .chapters { margin-top: 32px; }
  .chapter-list { gap: 20px; }
  .chapter { padding: 24px 20px; border-radius: 22px; }
  .ch-row { gap: 28px; }
  .chapter h3 { font-size: 25px; }
  .chapter .ch-text p, .ch-wide-text p { font-size: 16px; }
  .fig-phone .iphone { --w: 210px; }
  .ch-media { flex-basis: 100%; }
  .ch-media .window, .fig-wide .window { max-width: 280px; margin-left: auto; margin-right: auto; }
  .ch-media .window.keep, .fig-wide .window.keep { max-width: none; }
  .hide-sm { display: none; }
  .quote-row { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 12px; margin-left: -20px; margin-right: -20px; padding-left: 20px; padding-right: 20px; }
  .quote-row figure { flex: 0 0 auto; scroll-snap-align: start; }
  .trust { margin-top: 28px; gap: 20px; }
  .trust .chapter { padding: 24px 20px; }
  .price-band { padding: 30px 22px; gap: 28px; border-radius: 25px; }
  .price-edge { border-radius: 26px; }
  .price-text h2 { margin-top: 18px; font-size: 30px; }
  .price-text p { font-size: 15px; }
  .price-cta { width: 100%; }
  .price-cta .amount { font-size: 56px; }
  .price-cta .btn { width: 100%; }
  .faq-item { padding: 16px 18px; }
  .faq-item summary { font-size: 16px; }
  .foot { margin-top: 84px; }
  .foot-in { padding: 44px 20px 28px; }
  .foot-cols { gap: 24px 40px; }
}
/* Phones keep Sign in beside the button. Only screens too narrow for both drop it; it stays in the footer. */
.signin, .navactions .btn { white-space: nowrap; }
@media (max-width: 374px) {
  .signin { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .faq-item .plus, .site { transition: none; }
}

/* hero brand mark and the closing band */
.hero h1 em { white-space: nowrap; }
.hero-fine { margin-top: 22px; max-width: 540px; font-size: 13px; line-height: 1.6; color: #8FA0B8; }
.hero-logo { display: block; width: min(100%, 400px); height: auto; margin-bottom: 26px; }
.closing { position: relative; overflow: hidden; isolation: isolate; margin-top: 110px; padding: 84px 0 76px; color: #E5E7EB; text-align: center; background: linear-gradient(180deg, var(--navy-0) 0%, var(--navy-1) 58%, var(--navy-2) 100%); }
.closing::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(circle 440px at 100% -40px, rgba(10, 132, 255, 0.32) 0%, transparent 100%), radial-gradient(circle 400px at 0 100%, rgba(0, 87, 217, 0.28) 0%, transparent 100%); }
.closing-in { max-width: 760px; margin: 0 auto; padding: 0 32px; display: grid; gap: 18px; justify-items: center; }
.closing-logo { display: block; width: min(100%, 460px); height: auto; margin-bottom: 8px; }
.closing h2 { font-family: var(--f-head); font-weight: 700; font-size: 36px; line-height: 1.15; letter-spacing: -0.02em; color: #fff; }
.closing p { font-size: 17px; line-height: 1.6; color: #AEBBCD; }
.foot-flush { margin-top: 0; }
@media (max-width: 720px) { .closing { margin-top: 80px; padding: 60px 0 56px; } .closing h2 { font-size: 28px; } }

/* While the demo popup is open, the page header steps out of the way so it cannot show through the popup. */
html.ts-popup-open header.site { visibility: hidden; }
