/* RekonPro website. Tokens follow shop-crm/DESIGN.md; composition follows the "product performs" direction
   (.taste-skill/direction.json). Built on tasteskill base.css. */

@font-face { font-family: "Inter"; src: url("fonts/Inter-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }

:root {
  --bg: #f5f7fb;
  --surface: #e8edf5;
  --surface-2: #ffffff;
  --ink: #0f172a;
  --muted: #475569;
  --accent: #2f6bff;
  --accent-hover: #1e4fd8;
  --accent-ink: #ffffff;
  --navy: #0f1f3d;
  --navy-deep: #091327;
  --navy-step: #16294f;
  --on-navy: #ffffff;
  --on-navy-muted: #c9d4e8;
  --pro: #5b8dff;

  --font: "Inter", ui-sans-serif, system-ui, sans-serif;
  /* five steps */
  --step-small: 0.875rem;                               /* 14 */
  --step-body: 1.0625rem;                               /* 17 */
  --step-lead: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);  /* 20–24 */
  --step-head: clamp(2rem, 1.4rem + 2.2vw, 3rem);       /* 32–48 */
  --step-display: clamp(2.6rem, 1.2rem + 5vw, 4.75rem); /* 42–76 */

  --margin: clamp(1rem, 3vw, 2.5rem);
  --gutter: clamp(1rem, 2vw, 2rem);
  --section: clamp(6rem, 12vw, 12rem);
  --radius: 6px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 200ms;
  --t-reveal: 800ms;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--step-body); line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { font-weight: 600; text-wrap: balance; letter-spacing: -0.02em; line-height: 1.08; }
p { max-width: 62ch; text-wrap: pretty; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nums { font-variant-numeric: tabular-nums; }

.wrap { padding-inline: var(--margin); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.section { padding-block: calc(var(--section) / 2); }
.head { font-size: var(--step-head); }
.lead { font-size: var(--step-lead); line-height: 1.4; }
.small { font-size: var(--step-small); line-height: 1.5; }
.muted { color: var(--muted); }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; min-height: 3rem; padding: 0 1.4rem;
  background: var(--accent); color: var(--accent-ink); border-radius: var(--radius); text-decoration: none; font-weight: 600; white-space: nowrap;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease;
}
.button:active { transform: scale(0.97); }
.link { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.22em; text-decoration-thickness: 0.07em; transition: text-decoration-color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: var(--accent-hover); }
  .link:hover { text-decoration-color: currentColor; }
}

/* ---------- interface fragments (the product's own look; data-ui) ---------- */
[data-ui] { font-size: 14px; line-height: 1.4; color: #0f172a; text-align: left; }
[data-ui].ui-card, [data-ui] .ui-card { background: #fff; border: 1px solid #e5eaf2; border-radius: 12px; box-shadow: 0 1px 2px rgba(15, 31, 61, 0.05), 0 8px 24px -12px rgba(15, 31, 61, 0.25); }
[data-ui] .ui-muted { color: #64748b; }
[data-ui] .ui-subtle { color: #64748b; }
[data-ui] .ui-ro { display: inline-block; border-radius: 6px; background: #eef3ff; color: #1e4fd8; font-weight: 700; font-size: 12px; padding: 2px 7px; }
[data-ui] .ui-badge { display: inline-flex; align-items: center; gap: 4px; border-radius: 6px; padding: 2px 7px; font-size: 12px; font-weight: 500; box-shadow: inset 0 0 0 1px currentColor; white-space: nowrap; }
[data-ui] .b-green { background: #ecfdf5; color: #047857; }
[data-ui] .b-amber { background: #fffbeb; color: #b45309; }
[data-ui] .b-rose { background: #fff1f2; color: #be123c; }
[data-ui] .b-blue { background: #eff6ff; color: #1d4ed8; }
[data-ui] .b-slate { background: #f1f5f9; color: #475569; }
[data-ui] .ui-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 8px; font-weight: 600; font-size: 14px; background: #2f6bff; color: #fff; transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
[data-ui] .ui-btn:active { transform: scale(0.97); }
[data-ui] .ui-btn.ghost { background: #fff; color: #334155; border: 1px solid #cbd5e1; }
[data-ui] .ui-btn.green { background: #047857; }
@media (hover: hover) and (pointer: fine) {
  [data-ui] .ui-btn:hover { background: #1e4fd8; }
  [data-ui] .ui-btn.ghost:hover { background: #f8fafc; }
  [data-ui] .ui-btn.green:hover { background: #065f46; }
}
[data-ui] .ui-avatar { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 999px; background: #0f1f3d; color: #fff; font-size: 9px; font-weight: 700; }
[data-ui] .ui-row { display: flex; align-items: center; gap: 10px; }
[data-ui] .ui-sep { border-top: 1px solid #e5eaf2; }
[data-ui] input[type="checkbox"] { width: 18px; height: 18px; accent-color: #2f6bff; margin: 0; }

/* ---------- 1. hero: two tones of navy, the estimate on the right ---------- */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; color: var(--on-navy); position: relative; }
.hero__left { background: var(--navy-deep); display: flex; flex-direction: column; padding: 40px; }
.hero__right { background: var(--navy); display: grid; place-items: center; padding: 40px; position: relative; }
.hero__logo { width: 168px; }
.hero__copy { margin-top: auto; }
.hero h1 { font-size: clamp(2rem, 1.2rem + 2.4vw, 3.25rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.04; }
.hero__sentence { margin-top: 24px; font-size: 1.125rem; color: var(--on-navy-muted); max-width: 44ch; }
.hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.hero__price { color: var(--on-navy-muted); }
.hero__toplink { position: absolute; top: 40px; right: 40px; font-size: 15px; color: var(--on-navy); }

.approve { width: min(460px, 100%); padding: 20px; }
.approve__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.approve__shop { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.approve__shop img { width: 22px; height: 22px; border-radius: 5px; }
.approve__title { margin-top: 14px; font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.approve__photo { margin-top: 12px; height: 104px; border-radius: 10px; overflow: hidden; position: relative; background: #1f2937; }
.approve__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.approve__photo span { position: absolute; left: 10px; top: 10px; }
.approve__jobs { margin-top: 12px; display: grid; gap: 8px; }
.approve__job { /* taste-skill-ignore: inset ring is the product's own control border (inside data-ui) */ display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; box-shadow: inset 0 0 0 1px #e5eaf2; cursor: pointer; transition: box-shadow var(--t-hover) ease, background-color var(--t-hover) ease; }
.approve__job:has(input:checked) { /* taste-skill-ignore: product control border */ box-shadow: inset 0 0 0 1.5px #2f6bff; background: #f8faff; }
.approve__job strong { display: block; font-weight: 600; }
.approve__total { margin-top: 14px; display: flex; justify-content: space-between; align-items: baseline; }
.approve__total b { font-size: 22px; }
.approve__sign { margin-top: 12px; width: 100%; min-height: 44px; font-size: 15px; }
.approve__readout { margin-top: 10px; font-size: 13px; color: #64748b; min-height: 2.8em; }
.approve.is-done .approve__sign { background: #047857; }

/* ---------- 2. showcase: one RO in three states ---------- */
.states__title { grid-column: 4 / 10; margin-bottom: 96px; }
.states__row { display: contents; }
.states__word { grid-column: 1 / 4; justify-self: end; align-self: center; font-size: var(--step-lead); color: var(--muted); }
.states__card { grid-column: 4 / 10; margin-bottom: 56px; }
.rocard { width: 640px; max-width: 100%; padding: 16px 18px; }
.rocard__top { display: flex; justify-content: space-between; align-items: center; }
.rocard__name { margin-top: 10px; font-weight: 600; font-size: 15px; }
.rocard__tags { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.rocard__foot { margin-top: 12px; padding-top: 10px; display: flex; justify-content: space-between; align-items: center; }
.rocard__actions { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.rocard.is-hover { /* taste-skill-ignore: the product's hover ring (data-ui) */ box-shadow: 0 0 0 2px #2f6bff, 0 12px 32px -14px rgba(15, 31, 61, 0.35); }
.rocard__stage { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #334155; }
.rocard__stage i { width: 8px; height: 8px; border-radius: 99px; display: inline-block; }

/* ---------- 3. in the bay: photograph + the technician screen ---------- */
.bay { background: var(--navy); color: var(--on-navy); }
.bay__inner { align-items: center; }
.bay__photo { grid-column: 1 / 7; aspect-ratio: 4 / 5; overflow: clip; border-radius: var(--radius); }
.bay__photo img { width: 100%; height: 100%; object-fit: cover; }
.bay__text { grid-column: 8 / 13; }
.bay__text p { margin-top: 20px; color: var(--on-navy-muted); }
.bay__phone { margin-top: 40px; width: 300px; border-radius: 28px; overflow: hidden; background: var(--navy-step); padding: 8px; }
.bay__phone img { border-radius: 20px; }
.bay__phone img { width: 100%; }
.bay__list { margin-top: 28px; display: grid; gap: 10px; color: var(--on-navy); }
.bay__list li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--pro); margin-right: 12px; vertical-align: middle; }

/* ---------- 4. features: staggered fragment cells ---------- */
.cells__title { margin-bottom: 56px; }
.cells { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cell { background: var(--surface); border-radius: var(--radius); height: 430px; overflow: hidden; display: flex; flex-direction: column; }
.cell__text { padding: 28px; }
.cell__text h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
.cell__text p { margin-top: 10px; font-size: 15px; color: var(--muted); }
.cell__frag { flex: 1; position: relative; min-height: 0; }
.cell__frag > * { position: absolute; }
.cell .shot { inset: auto; border-radius: 10px; width: 760px; max-width: none; }

/* ---------- 5. how it works: drag through the stages ---------- */
.stages { display: grid; grid-template-columns: 1fr 1fr; min-height: 88svh; position: relative; }
.stages__left { background: var(--accent); color: #fff; padding: 64px var(--margin) 160px; }
.stages__right { background: var(--surface); display: grid; place-items: center; padding: 48px 32px 160px; }
.stages__clause { font-size: var(--step-display); font-weight: 700; letter-spacing: -0.035em; line-height: 1; max-width: 12ch; }
.stages__note { margin-top: 28px; font-size: var(--step-lead); max-width: 30ch; color: #e6edff; }
.stages__ctrl { position: absolute; left: calc(50% + 28px); right: 28px; bottom: 40px; }
.stages__ctrl input[type="range"] { width: 100%; -webkit-appearance: none; appearance: none; background: transparent; height: 32px; cursor: pointer; }
.stages__ctrl input[type="range"]::-webkit-slider-runnable-track { height: 8px; background: rgba(15, 23, 42, 0.18); border-radius: 0; }
.stages__ctrl input[type="range"]::-moz-range-track { height: 8px; background: rgba(15, 23, 42, 0.18); }
.stages__ctrl input[type="range"]::-moz-range-progress { height: 8px; background: var(--ink); }
.stages__ctrl input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 32px; height: 32px; margin-top: -12px; background: var(--navy); border: 3px solid #fff; border-radius: 2px; }
.stages__ctrl input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; background: var(--navy); border: 3px solid #fff; border-radius: 2px; }
.stages__names { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 10px; font-size: 1rem; color: var(--muted); }
.stages__names span:nth-child(2) { text-align: center; transform: translateX(-17%); }
.stages__names span:nth-child(3) { text-align: center; transform: translateX(17%); }
.stages__names span:last-child { text-align: right; }
.stages__names .is-on { color: var(--ink); font-weight: 600; }
.stages__left .stages__names { display: none; }
.stagecard { width: min(440px, 100%); padding: 18px; }
.stagecard__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.stagecard__title { font-size: 20px; font-weight: 700; }
.stagecard__events { margin-top: 14px; display: grid; gap: 10px; }
.stagecard__event { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: start; }
.stagecard__dot { width: 22px; height: 22px; border-radius: 99px; display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 700; }
.fade-swap { transition: opacity var(--t-ui) ease; }
.fade-swap.is-out { opacity: 0; }

/* ---------- 6. pricing: plan names, one live figure ---------- */
.plans { align-items: start; }
.plans__names { grid-column: 1 / 7; display: grid; gap: 4px; }
.plan-name { font-size: clamp(2.5rem, 1rem + 4.6vw, 5rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.1; text-align: left; color: #5b6577; display: flex; align-items: center; gap: 0.25em; transition: color var(--t-hover) ease; }
.plan-name::before { content: ""; width: 0.3em; height: 0.3em; border-radius: 99px; background: var(--accent); opacity: 0; transition: opacity var(--t-hover) ease; flex: none; }
.plan-name[aria-pressed="true"] { color: var(--ink); }
.plan-name[aria-pressed="true"]::before { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .plan-name:hover { color: var(--muted); } .plan-name[aria-pressed="true"]:hover { color: var(--ink); } }
.plans__stage { grid-column: 8 / 13; }
.plans__figure { display: flex; align-items: baseline; gap: 12px; }
.plans__figure b { font-size: clamp(3.5rem, 1.5rem + 6vw, 7.5rem); font-weight: 800; letter-spacing: -0.045em; line-height: 0.95; }
.plans__figure span { font-size: 1.125rem; color: var(--muted); }
.plans__annual { margin-top: 10px; color: var(--muted); }
.plans__desc { margin-top: 24px; font-size: 1.125rem; }
.plans__includes { margin-top: 18px; display: grid; gap: 8px; }
.plans__includes li { padding-left: 22px; position: relative; }
.plans__includes li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.plans__stage .button { margin-top: 28px; }
.plans__every { grid-column: 1 / 13; margin-top: 72px; background: var(--surface); border-radius: var(--radius); padding: 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.plans__every b { display: block; font-size: 1.0625rem; }
.plans__every span { display: block; margin-top: 4px; color: var(--muted); font-size: 15px; }

/* ---------- 7. FAQ: filled tiles ---------- */
.faq__head { grid-column: 1 / 5; align-self: start; position: sticky; top: 96px; }
.faq__head p { margin-top: 18px; color: var(--muted); }
.faq__list { grid-column: 5 / 13; display: grid; gap: 8px; }
.faq details { background: var(--surface); border-radius: var(--radius); transition: background-color var(--t-ui) ease, color var(--t-ui) ease; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 72px; padding: 18px 24px; font-size: 1.25rem; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { position: relative; width: 16px; height: 16px; flex: none; }
.faq .plus::before, .faq .plus::after { content: ""; position: absolute; left: 0; top: 6.5px; width: 16px; height: 3px; background: currentColor; transition: transform var(--t-ui) var(--ease-out); }
.faq .plus::after { transform: rotate(90deg); }
.faq details[open] { background: var(--accent); color: #fff; }
.faq details[open] .plus::after { transform: rotate(0deg); }
.faq details p { padding: 0 24px 24px; font-size: 1.0625rem; max-width: 52ch; }
@media (hover: hover) and (pointer: fine) { .faq details:not([open]) summary:hover { background: #dde4ef; border-radius: var(--radius); } }

/* ---------- 8. CTA: a sentence with a blank ---------- */
.cta { background: var(--navy-deep); color: #fff; }
.cta__grid { align-items: start; }
.cta__form { grid-column: 1 / 8; font-size: clamp(1.5rem, 1rem + 1.4vw, 2.25rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.5; max-width: 26ch; }
.cta__after { grid-column: 1 / 8; }
.cta__agenda { grid-column: 9 / 13; grid-row: 1 / 3; display: grid; gap: 18px; }
.cta__agenda b { display: block; font-size: 1.0625rem; }
.cta__agenda span { display: block; margin-top: 2px; color: var(--on-navy-muted); font-size: 15px; }
.cta__form input { width: 9em; height: 1.4em; padding: 0 0.3em; vertical-align: baseline; background: var(--navy-step); color: #fff; border: 0; border-radius: var(--radius); font-size: 1em; font-weight: 600; letter-spacing: inherit; }
.cta__form input::placeholder { color: #8ea2c6; }
.cta__form button { height: 1.4em; padding: 0 0.35em; background: var(--accent); color: #fff; border-radius: var(--radius); font-weight: 600; transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.cta__form button:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .cta__form button:hover { background: var(--accent-hover); } }
.cta__after { margin-top: 20px; color: var(--on-navy-muted); font-size: 1rem; }

/* ---------- 9. footer of tiles ---------- */
.foot { padding: 10px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; background: var(--bg); }
.tile { border-radius: var(--radius); padding: 24px; background: var(--surface); display: flex; flex-direction: column; min-height: 220px; }
.tile--statement { grid-column: 1 / 5; justify-content: space-between; }
.tile--statement p:first-child { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.tile--nav { grid-column: 5 / 8; }
.tile--nav ul { display: grid; gap: 6px; }
.tile--place { grid-column: 8 / 10; justify-content: space-between; }
.tile--mail { grid-column: 10 / 13; justify-content: flex-end; }
.tile--mail a { font-size: 1.25rem; font-weight: 600; }
.tile--word { grid-column: 1 / 9; min-height: 320px; background: var(--navy); position: relative; overflow: hidden; justify-content: center; align-items: center; }
.tile--word img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.22; mix-blend-mode: luminosity; }
.tile--word img.mark { position: relative; width: min(70%, 760px); }
.tile--go { grid-column: 9 / 13; min-height: 320px; background: var(--accent); color: #fff; text-decoration: none; justify-content: space-between; transition: background-color var(--t-hover) ease; }
.tile--go span { font-size: 1.75rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.tile--go svg { align-self: flex-end; width: 56px; height: 56px; transition: transform var(--t-hover) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .tile--go:hover { background: var(--accent-hover); } .tile--go:hover svg { transform: translateX(6px); } }
.credits { grid-column: 1 / 13; padding: 8px 14px 14px; color: var(--muted); font-size: 13px; }
.credits a { color: inherit; }

/* ---------- motion (content stays visible without JavaScript) ---------- */
.lines .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.lines [data-line] { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] { opacity: 0; transform: translateY(18px); animation: rise var(--t-reveal) var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms + 420ms); }
  .js .lines [data-line] { transform: translateY(105%); animation: line 900ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 110ms + 150ms); }
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 75ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .bay__photo img { animation: drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes line { to { transform: none; } }
@keyframes drift { from { transform: scale(1.12) translateY(-3%); } to { transform: scale(1.02) translateY(3%); } }

/* ---------- phone composition ---------- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__right { order: -1; min-height: 58svh; padding: 72px 16px 24px; }
  .hero__left { padding: 28px 20px 40px; }
  .hero__logo { position: absolute; top: 20px; left: 20px; width: 132px; z-index: 2; }
  .hero__toplink { top: 24px; right: 20px; }
  .hero__copy { margin-top: 0; }
  .hero h1 { font-size: clamp(1.9rem, 6.4vw + 0.5rem, 2.6rem); }

  .states__title, .states__word, .states__card { grid-column: 1 / -1; }
  .states__title { margin-bottom: 40px; }
  .states__card { overflow: visible; }
  .states__word { justify-self: start; font-size: 17px; margin-bottom: 10px; align-self: start; }
  .states__card { margin-bottom: 40px; }
  .states { display: flex; flex-direction: column; }
  .rocard { width: 100%; }
  .rocard__actions .ui-btn { flex: 1 1 auto; }
  .cell__frag > [data-ui] { left: 16px !important; right: 16px !important; width: auto !important; }

  .bay__photo, .bay__text { grid-column: 1 / -1; }
  .bay__text { margin-top: 40px; }
  .bay__phone { width: 260px; }

  .cells { grid-template-columns: 1fr; gap: 6px; }
  .cell { height: 420px; }

  .stages { grid-template-columns: 1fr; min-height: 0; }
  .stages__right { order: -1; min-height: 46svh; padding: 32px 16px 120px; }
  .stages__left { padding: 40px var(--margin) 48px; }
  .stages { display: flex; flex-direction: column; }
  .stages__ctrl { position: static; order: -1; padding: 8px 16px 24px; background: var(--surface); }
  .stages__right { order: -2; min-height: 0; padding: 32px 16px 16px; }
  .stages__clause { font-size: 9vw; }
  .stages__left .stages__names { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 24px; color: #dbe6ff; font-size: 15px; }
  .stages__left .stages__names span { transform: none; text-align: left; }
  .stages__left .stages__names .is-on { color: #fff; }
  .stages__ctrl .stages__names { display: none; }
  .stages__ctrl input[type="range"]::-webkit-slider-thumb { width: 40px; height: 40px; margin-top: -16px; }

  .plans__names, .plans__stage, .plans__every, .faq__head, .faq__list { grid-column: 1 / -1; }
  .plans__stage { position: static; margin-top: 32px; }
  .plans__every { grid-template-columns: 1fr 1fr; }
  .faq__head { position: static; margin-bottom: 32px; }
  .faq summary { font-size: 1.125rem; min-height: 64px; padding: 16px 20px; }

  .foot { grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; }
  .tile { padding: 20px; min-height: 160px; }
  .tile--word { grid-column: 1 / -1; order: -2; min-height: 160px; }
  .tile--go { grid-column: 1 / -1; order: -1; min-height: 160px; }
  .tile--nav, .tile--mail, .tile--place, .tile--statement { grid-column: span 1; }
  .credits { grid-column: 1 / -1; }
  .cta__form, .cta__after, .cta__agenda { grid-column: 1 / -1; }
  .cta__agenda { grid-row: auto; margin-top: 40px; }
  .cta__form { font-size: 1.5rem; }
  .tile--statement p:first-child { font-size: 1.125rem; }
}

/* ---------- inner pages ---------- */
.bar { background: var(--navy-deep); color: var(--on-navy); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px var(--margin); }
.bar img { width: 148px; }
.bar nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; }
.bar nav a[aria-current="page"] { color: var(--pro); }
.bar .button { min-height: 2.5rem; padding: 0 1rem; }
.pagehead { background: var(--navy-deep); color: var(--on-navy); padding: clamp(4rem, 8vw, 7rem) var(--margin) clamp(3rem, 6vw, 5rem); }
.pagehead h1 { font-size: var(--step-display); font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; max-width: 16ch; }
.pagehead p { margin-top: 24px; font-size: var(--step-lead); color: var(--on-navy-muted); max-width: 46ch; }
.pagehead .button { margin-top: 32px; }
.pagehead p.small { margin-top: 16px; font-size: 15px; }
.split { align-items: center; row-gap: 32px; }
.split__text { grid-column: 1 / 6; }
.split__text p { margin-top: 16px; }
.split__text ul { margin-top: 20px; display: grid; gap: 10px; }
.split__text li { padding-left: 22px; position: relative; }
.split__text li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.split__shot { grid-column: 6 / 13; border-radius: var(--radius); overflow: clip; background: var(--surface); }
.split__shot img { width: 100%; }
.split.flip .split__text { grid-column: 8 / 13; grid-row: 1; }
.split.flip .split__shot { grid-column: 1 / 8; grid-row: 1; }
.split .col-left { grid-column: 1 / 8; }
.split .col-right { grid-column: 8 / 13; }
.band { background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; font-size: 1rem; }
.compare th, .compare td { padding: 12px 14px; text-align: left; border-bottom: 1px solid #d6deea; vertical-align: top; }
.compare thead th { font-size: 1rem; font-weight: 600; position: sticky; top: 0; background: var(--bg); }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; width: 17%; }
.compare tbody th { font-weight: 400; }
.compare .group th { padding-top: 28px; font-weight: 600; border-bottom-color: var(--ink); }
.compare .yes { color: var(--accent-hover); font-weight: 700; }
.compare .no { color: #64748b; }
.tablewrap { overflow-x: auto; }
@media (max-width: 520px) { .compare { font-size: 14px; } .compare th, .compare td { padding: 10px 6px; } .compare thead th { font-size: 13px; } .compare td:not(:first-child), .compare th:not(:first-child) { width: 19%; } }
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.price { background: var(--surface); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.price.is-main { background: var(--navy); color: var(--on-navy); }
.price h2 { font-size: 1.5rem; }
.price .amount { margin-top: 18px; font-size: 3.5rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.price .amount span { font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.price.is-main .amount span, .price.is-main .per { color: var(--on-navy-muted); }
.price .per { margin-top: 8px; color: var(--muted); font-size: 15px; }
.price p.for { margin-top: 18px; }
.price .button { margin-top: auto; }
.price .spacer { flex: 1; min-height: 24px; }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.steps li { background: var(--surface); border-radius: var(--radius); padding: 28px; }
.steps h3 { font-size: 1.25rem; }
.steps p { margin-top: 10px; color: var(--muted); }
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.5rem; margin-top: 40px; }
.prose p, .prose ul { margin-top: 14px; }
.prose li { margin-top: 6px; }
.notice { background: #fff7e6; color: #7a4b00; border-radius: var(--radius); padding: 14px 18px; font-size: 15px; }
.formgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 760px; }
.formgrid label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.formgrid .wide { grid-column: 1 / -1; }
.formgrid input, .formgrid select, .formgrid textarea { min-height: 3rem; padding: 0.7rem 0.9rem; background: #fff; border: 1px solid #cbd5e1; border-radius: var(--radius); font-weight: 400; font-size: 1rem; }
.formgrid textarea { min-height: 7rem; }
.minifoot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 28px var(--margin); background: var(--navy-deep); color: var(--on-navy-muted); font-size: 15px; }
.minifoot nav { display: flex; flex-wrap: wrap; gap: 20px; }
@media (max-width: 860px) {
  .bar nav a:not(.button) { display: none; }
  .split__text, .split__shot, .split.flip .split__text, .split.flip .split__shot, .split .col-left, .split .col-right { grid-column: 1 / -1; grid-row: auto; }
  .prices, .steps { grid-template-columns: 1fr; }
  .formgrid { grid-template-columns: 1fr; }
}
.pagehead { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: center; row-gap: 40px; }
.pagehead > :not(figure) { grid-column: 1 / 7; }
.pagehead figure { grid-column: 7 / 13; grid-row: 1 / span 5; border-radius: var(--radius); overflow: clip; aspect-ratio: 16 / 10; }
.pagehead figure img { width: 100%; height: 100%; object-fit: cover; object-position: 20% 0; }
.pagehead--plain { display: block; }
@media (max-width: 860px) { .pagehead > :not(figure), .pagehead figure { grid-column: 1 / -1; grid-row: auto; } }
.pagehead .button { justify-self: start; }

/* ---------- help center ---------- */
[hidden] { display: none !important; }
.helpsearch { margin-top: 32px; max-width: 560px; }
.helpsearch input { width: 100%; min-height: 3.5rem; padding: 0 1.25rem; background: var(--surface-2); color: var(--ink); border: 0; border-radius: var(--radius); font-size: 1.0625rem; }
.helpsearch input::placeholder { color: #64748b; }
.help { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.help__toc { position: sticky; top: 24px; display: grid; font-size: 15px; }
.help__toc h2 { margin: 28px 0 6px; font-size: 1rem; font-weight: 600; color: var(--muted); }
.help__toc h2:first-child { margin-top: 0; }
.help__toc a { padding: 5px 0; text-decoration: none; color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .help__toc a:hover { color: var(--accent-hover); } }
.help__group + .help__group { margin-top: 56px; }
.help__grouptitle { margin-bottom: 16px; font-size: 1.25rem; color: var(--muted); }
.guide { display: grid; align-content: start; padding: clamp(24px, 3vw, 36px); background: var(--surface-2); border-radius: var(--radius); scroll-margin-top: 24px; }
.guide + .guide { margin-top: 8px; }
.guide__tag { font-size: 13px; font-weight: 600; color: var(--accent-hover); }
.guide h3 { margin-top: 6px; font-size: 1.5rem; }
.guide h3 + p { margin-top: 10px; color: var(--muted); }
.guide ol { counter-reset: step; margin-top: 20px; padding: 0; list-style: none; }
.guide ol li { counter-increment: step; position: relative; padding-left: 40px; }
.guide ol li + li { margin-top: 12px; }
.guide ol li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--surface); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.guide__roles { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin-top: 24px; padding: 18px 20px; background: var(--bg); border-radius: var(--radius); }
.guide__roles dt { font-weight: 600; }
.guide__roles dd { color: var(--muted); }
.guide__tip { margin-top: 20px; padding: 14px 18px; background: var(--bg); border-radius: var(--radius); font-size: 15px; color: var(--muted); }
.help__none { padding: 28px; background: var(--surface-2); border-radius: var(--radius); }
/* wide screens: the tip sits beside the steps */
@media (min-width: 1100px) {
  .guide { grid-template-columns: minmax(0, 62ch) minmax(200px, 1fr); column-gap: clamp(32px, 4vw, 64px); }
  .guide > * { grid-column: 1; }
  .guide > .guide__tip { grid-column: 2; grid-row: 1 / span 6; align-self: start; margin-top: 0; }
}
.helpcontact { padding-top: 0; }
.helpcontact p { margin-top: 16px; }
@media (max-width: 860px) {
  .help { grid-template-columns: 1fr; }
  .help__toc { display: none; }
  .guide__roles { grid-template-columns: 1fr; gap: 2px; }
  .guide__roles dd + dt { margin-top: 10px; }
}
.help__note { max-width: 760px; margin-bottom: 40px; }
.guide__shot { margin-top: 22px; border-radius: var(--radius); overflow: clip; background: var(--surface); }
.guide__shot img { width: 100%; }
.guide__shot--phone { max-width: 220px; border: 6px solid var(--navy-step); border-radius: 20px; }
.guide__shot--phone img { aspect-ratio: 9 / 14; object-fit: cover; object-position: top; }

/* keyboard: first Tab stop jumps past the navigation */
.skip { position: absolute; left: 12px; top: -48px; z-index: 50; padding: 10px 16px; background: var(--accent); color: var(--accent-ink); border-radius: var(--radius); font-weight: 600; }
.skip:focus { top: 12px; }

/* 404 and thank-you link lists */
.notfound { display: grid; gap: 12px; padding-left: 1.2em; font-size: var(--step-lead); }
/* phones: the demo button follows the thumb */
.mobile-cta { display: none; }
@media (max-width: 860px) {
  .mobile-cta { display: flex; position: fixed; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40; justify-content: center; box-shadow: 0 10px 30px rgba(9, 19, 39, 0.35); }
  body:has(.mobile-cta) { padding-bottom: 88px; }
}
.notfound a { font-weight: 600; color: var(--accent-hover); }
