/* PBACopywriting site styles.
   Shape rule (one radius system): sign panels, cards, buttons, inputs and images use 6px corners.
   Station rings are the only circles. Nothing else is pill-shaped. */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 100% 125%;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Doto";
  src: url("fonts/doto-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: light dark;
  --ground: #f5f7fa;
  --panel: #ffffff;
  --panel-2: #eef2f7;
  --ink: #0f172a;
  --ink-2: #334155;
  --ink-3: #475569;
  --line: #2563eb;          /* route line, strokes, links */
  --line-fill: #2563eb;     /* filled surfaces that carry white text */
  --line-fill-hover: #1d4ed8;
  --line-tint: #dbe6fd;
  --frame: #0f172a;
  --rule: #d5dce6;
  --readout: #0b1222;
  --readout-label: #cbd5e1;
  --led: #ffb627;
  --danger: #b42318;
  --night: #0f172a;         /* the final call band */
  --night-ink: #f5f7fa;
  --night-ink-2: #cbd5e1;
  --shadow: 0 10px 30px -12px rgb(15 23 42 / .25);
  --shadow-lift: 0 18px 40px -18px rgb(15 23 42 / .35);

  --radius: 6px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
  --header-h: 68px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in: cubic-bezier(.55, 0, 1, .45);
  --fast: 160ms;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-led: "Doto", "Archivo", monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #0b1120;
    --panel: #111a2e;
    --panel-2: #17223a;
    --ink: #e8edf5;
    --ink-2: #b6c2d4;
    --ink-3: #94a3b8;
    --line: #4f86f7;
    --line-fill: #2f6ae6;
    --line-fill-hover: #2a62d8;
    --line-tint: #16284f;
    --frame: #e8edf5;
    --rule: #24324d;
    --readout: #060b16;
    --danger: #f97066;
    --night: #0e1a33;
    --shadow: 0 10px 30px -12px rgb(0 0 0 / .6);
    --shadow-lift: 0 18px 40px -18px rgb(0 0 0 / .7);
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
#book, #step2, #book-title { scroll-margin-top: 96px; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-color: var(--ink-3) var(--panel-2);
  interpolate-size: allow-keywords;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink-2);
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 400;
  font-stretch: 100%;
  line-height: 1.6;
  caret-color: var(--line);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

::selection { background: var(--line-fill); color: #fff; }

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -0.02em;
  line-height: 1.06;
  text-wrap: balance;
}

h1 { font-size: clamp(2.2rem, 1.2rem + 2vw, 2.6rem); font-stretch: 104%; line-height: 1.04; }
h2 { font-size: clamp(1.6rem, 1rem + 1.2vw, 2rem); }
h3 { font-size: clamp(1.25rem, 1rem + .6vw, 1.5rem); line-height: 1.12; }
h4 { font-size: 1.2rem; line-height: 1.15; }

p { margin: 0; max-width: 65ch; text-wrap: pretty; }

a {
  color: var(--line);
  text-decoration-thickness: 1.5px;
  text-underline-offset: .2em;
}
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--line);
  outline-offset: 2px;
  border-radius: 2px;
}

button { font: inherit; color: inherit; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.vh {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.num { font-variant-numeric: tabular-nums; }

.icon { width: 1.1em; height: 1.1em; flex: none; fill: currentColor; }

.skip {
  position: absolute;
  left: 16px; top: 12px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--line-fill);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius);
  text-decoration: none;
  transform: translateY(-160%);
}
.skip:focus-visible { transform: none; outline-color: var(--frame); }

.fill-in {
  display: inline-block;
  padding: 0 6px;
  outline: 2px dashed var(--danger);
  outline-offset: 2px;
  color: var(--ink);
  font-weight: 700;
  background: color-mix(in srgb, var(--danger) 8%, transparent);
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  font-stretch: 104%;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--fast) ease-out, border-color var(--fast) ease-out, color var(--fast) ease-out, transform 120ms ease-out;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn .icon { transition: transform 200ms var(--ease-out); }
.btn:hover .icon-go { transform: translateX(3px); }

.btn-primary { background: var(--line-fill); color: #fff; }
.btn-primary:hover { background: var(--line-fill-hover); }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--frame); }
.btn-outline:hover { background: var(--panel-2); }

.btn-sm { min-height: 44px; padding: 0 16px; font-size: .95rem; }
.btn-block { display: flex; width: 100%; }

.btn[disabled], .btn[aria-disabled="true"] { cursor: not-allowed; }
.btn-primary[disabled] { background: var(--line-fill-hover); cursor: progress; }

.text-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  background: none;
  border: 0;
  color: var(--line);
  font-weight: 700;
  font-size: .95rem;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: .22em;
  cursor: pointer;
}
.text-btn:hover { text-decoration-thickness: 2px; }

/* ---------- Header ---------- */
.top-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 8px; pointer-events: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow 200ms ease-out;
}
.site-header.is-stuck { box-shadow: 0 10px 28px -20px rgb(15 23 42 / .45); }

.header-row {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  font-stretch: 108%;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand img { width: 32px; height: 32px; border-radius: 4px; }
.brand-accent { color: var(--line); }

.site-nav { margin-left: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 26px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--fast) ease-out;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 2px;
  background: var(--line);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms var(--ease-out);
}
.nav-links a:hover { color: var(--line); }
.nav-links a:hover::after { transform: scaleX(1); }

.header-cta { flex: none; }

.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 2px solid var(--frame);
  border-radius: var(--radius);
  color: var(--ink);
  cursor: pointer;
}
.menu-btn .icon { width: 22px; height: 22px; }
.menu-btn .icon-close { display: none; }
.menu-btn[aria-expanded="true"] .icon-open { display: none; }
.menu-btn[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1060px) and (min-width: 900px) {
  .nav-links { gap: 14px; }
  .nav-links a { font-size: .9rem; }
  .brand { font-size: 1.02rem; }
  .header-cta { padding: 0 14px; font-size: .92rem; }
}

@media (max-width: 899.98px) {
  .header-row { gap: 10px; }
  .site-nav { margin-left: 0; order: 3; }
  .header-cta { margin-left: auto; min-height: 44px; padding: 0 14px; font-size: .9rem; }
  .js .menu-btn { display: inline-flex; }
  .nav-links { display: none; }
  .js .site-header.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 8px var(--gutter) 16px;
    background: var(--panel);
    border-bottom: 2px solid var(--frame);
    box-shadow: var(--shadow);
  }
  .js .site-header.menu-open .nav-links li + li { border-top: 1px solid var(--rule); }
  .js .site-header.menu-open .nav-links a { min-height: 52px; font-size: 1.05rem; }
  .js .site-header.menu-open .nav-links a::after { display: none; }
}

@media (max-width: 899.98px) and (prefers-reduced-motion: no-preference) {
  .js .site-header.menu-open .nav-links {
    transition: opacity var(--fast) ease-out, transform var(--fast) var(--ease-out);
    @starting-style { opacity: 0; transform: translateY(-6px); }
  }
}

@media (max-width: 519.98px) {
  .brand-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { font-size: 1.125rem; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(36px, 7vh, 96px) clamp(56px, 8vw, 104px); }
.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
  align-items: center;
}
.hero-copy { grid-column: 1 / span 7; display: grid; gap: 22px; }
.hero-copy p { font-size: 1.2rem; max-width: 40ch; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.route-card { grid-column: 8 / span 5; justify-self: end; width: min(100%, 460px); }
@media (max-width: 899.98px) {
  .hero-copy, .route-card { grid-column: 1 / -1; }
  .route-card { justify-self: start; }
}

.route-card {
  background: var(--panel);
  border: 2px solid var(--frame);
  border-radius: var(--radius);
  padding: clamp(22px, 2.4vw, 32px);
  box-shadow: var(--shadow);
}

.rc-line {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
}
.rc-line::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 12px;
  bottom: 12px;
  width: 8px;
  margin-left: -4px;
  background: var(--line);
  border-radius: 1px;
  transform-origin: top;
}
.rc-stop {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 26px;
  color: var(--ink);
  font-weight: 700;
  font-stretch: 104%;
  font-size: 1.06rem;
  line-height: 1.2;
}
.rc-ring {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--panel);
  border: 4px solid var(--line);
}
.rc-stop.is-interchange .rc-ring {
  box-shadow: 0 0 0 3px var(--panel), 0 0 0 6px var(--frame);
}
.rc-stop.is-interchange { font-weight: 800; }

.timetable {
  margin: 24px 0 0;
  padding: 18px 0 0;
  border-top: 2px solid var(--frame);
  display: grid;
  gap: 8px;
}
.tt-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.tt-row dt {
  flex: 1;
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
}
.tt-row dt::after {
  content: "";
  flex: 1;
  min-width: 16px;
  border-bottom: 2px dotted var(--ink-3);
  transform: translateY(-4px);
}
.tt-row dd { margin: 0; font-weight: 800; font-stretch: 106%; white-space: nowrap; }

@media (prefers-reduced-motion: no-preference) {
  .rc-line::before { animation: rc-draw 900ms var(--ease-out) 150ms both; }
  .rc-ring { animation: ring-pop 450ms var(--ease-out) both; animation-delay: calc(300ms + var(--i, 0) * 140ms); }
  .rc-label { animation: label-in 500ms var(--ease-out) both; animation-delay: calc(340ms + var(--i, 0) * 140ms); }
  .timetable { animation: label-in 600ms var(--ease-out) 1100ms both; }
}
@keyframes rc-draw { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes ring-pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes label-in { from { opacity: 0; transform: translateX(-8px); filter: blur(4px); } to { opacity: 1; transform: none; filter: blur(0); } }

/* Phones: both price lines above the stations. Kept after the base and motion rules so it wins. */
@media (max-width: 519.98px) {
  .route-card { display: flex; flex-direction: column; }
  .route-card .timetable { order: -1; margin: 0 0 18px; padding: 0 0 16px; border-top: 0; border-bottom: 2px solid var(--frame); }
  .route-card .rc-line { padding-top: 16px; }
  .route-card .rc-line::before { top: 28px; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 519.98px) {
  .route-card .timetable { animation-delay: 150ms; }
}

/* ---------- What we do: line band ---------- */
.band {
  overflow-x: clip;
  background: var(--line-fill);
  color: #fff;
}
.band h2, .band h3, .band p { color: #fff; }
.band :focus-visible { outline-color: #fff; }
.band .section-head p { max-width: 58ch; }

.band-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  margin: 0;
  padding: 44px 0 0;
  list-style: none;
}
.band-line::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 9px;
  height: 6px;
  background: #fff;
  border-radius: 1px;
}
.band-stop { position: relative; display: grid; gap: 10px; align-content: start; }
.band-stop::before {
  content: "";
  position: absolute;
  top: -44px;
  left: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--line-fill);
  border: 5px solid #fff;
}
.band-stop p { font-size: 1rem; }

@media (max-width: 899.98px) {
  .band-line { grid-template-columns: 1fr; padding: 0 0 0 48px; gap: 32px; }
  .band-line::before { left: 9px; right: auto; top: 0; bottom: 0; width: 6px; height: auto; }
  .band-stop::before { top: 2px; left: -48px; }
}

/* ---------- How we do it: the route ---------- */
.process { background: var(--ground); overflow-x: clip; }

.route { position: relative; }
.route-stops { position: relative; margin: 0; padding: 0; list-style: none; }
.route-track {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 6px;
  margin-left: -3px;
  background: var(--rule);
  border-radius: 1px;
}
.route-fill {
  position: absolute;
  inset: 0;
  background: var(--line);
  border-radius: 1px;
  transform-origin: top;
}

.stop {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr);
  align-items: center;
  padding-block: clamp(28px, 4vw, 52px);
}
.stop-ring {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--panel);
  border: 5px solid var(--line);
  box-shadow: 0 0 0 6px var(--ground);
  color: var(--ink);
  font-weight: 800;
  font-stretch: 110%;
  font-size: 1.3rem;
  font-variant-numeric: tabular-nums;
}
.stop:last-child .stop-ring { box-shadow: 0 0 0 4px var(--panel), 0 0 0 8px var(--frame), 0 0 0 14px var(--ground); }

.stop-card {
  grid-row: 1;
  display: grid;
  gap: 12px;
  padding: clamp(22px, 2.4vw, 32px);
  background: var(--panel);
  border: 2px solid var(--frame);
  border-radius: var(--radius);
}
.stop-card p { font-size: 1rem; }
.stop-img { grid-row: 1; margin: 0; }
.stop-img figcaption { margin-top: 8px; font-size: .8rem; color: var(--ink-3); line-height: 1.4; }
.stop-img img {
  width: 100%;
  border: 2px solid var(--frame);
  border-radius: var(--radius);
  background: var(--panel-2);
}

.stop.is-left .stop-card { grid-column: 1; margin: 0 12px 0 0; }
.stop.is-left .stop-img { grid-column: 3; margin: 0 0 0 12px; }
.stop.is-right .stop-card { grid-column: 3; margin: 0 0 0 12px; }
.stop.is-right .stop-img { grid-column: 1; margin: 0 12px 0 0; }

@media (max-width: 899.98px) {
  .route-track { left: 22px; }
  .stop {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 0 40px 64px;
  }
  .stop:last-child { padding-bottom: 0; }
  .stop-ring {
    position: absolute;
    left: 0;
    top: 0;
    width: 44px;
    height: 44px;
    border-width: 4px;
    font-size: 1rem;
    box-shadow: 0 0 0 5px var(--ground);
    grid-column: auto;
    grid-row: auto;
  }
  .stop:last-child .stop-ring { box-shadow: 0 0 0 3px var(--panel), 0 0 0 6px var(--frame), 0 0 0 10px var(--ground); }
  .stop.is-left .stop-card, .stop.is-right .stop-card,
  .stop.is-left .stop-img, .stop.is-right .stop-img { grid-column: 1; grid-row: auto; margin: 0; }
}

/* Scroll-driven fill (Chrome, Edge, Safari 26+). The track itself is the view timeline. */
@media (prefers-reduced-motion: no-preference) {
  .js-anim .route-fill { transform: scaleY(0); transition: transform 1.6s var(--ease-out); }
  .js-anim .route.is-drawn .route-fill { transform: scaleY(1); }

  @supports (animation-timeline: view()) {
    .route-track { view-timeline: --route block; }
    .route-fill {
      transition: none;
      animation: route-fill linear both;
      animation-timeline: --route;
      animation-range: cover 45vh cover calc(100% - 45vh);
    }
  }

  .js-anim .stop-ring {
    transition: transform 450ms var(--ease-out), opacity 300ms ease-out;
  }
  .js-anim .stop:not(.is-in) .stop-ring { transform: scale(.6); opacity: 0; transition-duration: 200ms; }
  .js-anim .stop.is-in .stop-ring { transition-delay: 120ms; }

  .js-anim .stop-card {
    transition: transform 600ms var(--ease-out), opacity 600ms var(--ease-out), filter 600ms var(--ease-out);
  }
  .js-anim .stop.is-left:not(.is-in) .stop-card { transform: translateX(-40px); opacity: 0; filter: blur(6px); }
  .js-anim .stop.is-right:not(.is-in) .stop-card { transform: translateX(40px); opacity: 0; filter: blur(6px); }
  .js-anim .stop:not(.is-in) .stop-img { opacity: .35; }
  .js-anim .stop-img { transition: opacity 700ms var(--ease-out); }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 899.98px) {
  .js-anim .stop.is-left:not(.is-in) .stop-card,
  .js-anim .stop.is-right:not(.is-in) .stop-card { transform: translateX(32px); }
}
@keyframes route-fill { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* ---------- Prices: the service store ---------- */
.store-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}
.catalogue { grid-column: 1 / span 8; display: grid; gap: clamp(48px, 6vw, 72px); }
.summary { grid-column: 9 / span 4; }

.group { display: grid; gap: 20px; }
.group-head { display: grid; gap: 8px; }
.group-head p { font-size: 1rem; }

.items { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.items-plans { grid-template-columns: repeat(auto-fit, minmax(225px, 1fr)); }
@media (min-width: 640px) and (max-width: 1199.98px) {
  .items-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .items-plans [data-item="premium"] { grid-column: 1 / -1; }
  .items-plans [data-item="premium"] .ticks { display: block; columns: 2 240px; column-gap: 28px; }
  .items-plans [data-item="premium"] .ticks li { break-inside: avoid; margin-bottom: 8px; }
}
@media (max-width: 639.98px) {
  .items-plans { grid-template-columns: minmax(0, 1fr); }
}
.items-care { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.items-one { grid-template-columns: 1fr; }

.item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  background: var(--panel);
  border: 2px solid var(--frame);
  border-radius: var(--radius);
  transition: background-color var(--fast) ease-out, border-color var(--fast) ease-out;
}
.item-head { display: grid; gap: 6px; padding-right: 36px; }
.item-name { font-size: 1.3rem; }
.item-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 6px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.item-price .amt { font-size: 1.9rem; font-weight: 800; font-stretch: 108%; letter-spacing: -0.02em; line-height: 1.05; }
.item-price .unit { font-size: .95rem; font-weight: 600; color: var(--ink-2); }
.item-price-note { font-size: .9rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.item-price .was { font-size: 1.1rem; font-weight: 600; color: var(--ink-3); margin-right: 8px; font-variant-numeric: tabular-nums; }
.item-discount { font-size: .85rem; font-weight: 700; color: var(--line); margin: 2px 0 0; }
.item-discount[hidden], .item-price .was[hidden] { display: none; }
.item-sum { font-size: 1rem; color: var(--ink-2); }
.item-inc { font-size: .8rem; font-weight: 700; font-stretch: 100%; color: var(--ink); letter-spacing: .01em; margin: 4px 0 -4px; }
.item-note { font-size: .9rem; color: var(--ink-3); }

.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ticks li {
  position: relative;
  padding-left: 24px;
  font-size: .95rem;
  line-height: 1.45;
  color: var(--ink-2);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .38em;
  width: 11px;
  height: 6px;
  border-left: 2.5px solid var(--line);
  border-bottom: 2.5px solid var(--line);
  transform: rotate(-45deg);
}

.more { border-top: 1px solid var(--rule); padding-top: 4px; }
.more summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--line);
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  list-style: none;
}
.more summary::-webkit-details-marker { display: none; }
.more summary .icon { transition: transform 200ms var(--ease-out); }
.item.is-picked .more summary { color: var(--ink); }
.more[open] summary .icon { transform: rotate(180deg); }
.more .ticks { padding: 4px 0 6px; }

.item-foot { margin-top: auto; display: grid; gap: 10px; padding-top: 4px; }
.item-reason {
  display: none;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}
.item-add {
  width: 100%;
  background: var(--panel);
  color: var(--ink);
  border-color: var(--frame);
}
.item-add:hover { background: var(--panel-2); }
.item-add .icon-check { display: none; }

.item-tick {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: var(--radius);
  background: var(--line-fill);
  color: #fff;
  opacity: 0;
  transform: scale(.8);
  transition: opacity var(--fast) ease-out, transform var(--fast) var(--ease-out);
}
.item-tick .icon { width: 18px; height: 18px; }

.item.is-picked { background: var(--line-tint); border-color: var(--line); }

.item.is-picked .item-tick { opacity: 1; transform: none; }
.item.is-picked .item-add { background: var(--line-fill); border-color: var(--line-fill); color: #fff; }
.item.is-picked .item-add:hover { background: var(--line-fill-hover); }
.item.is-picked .item-add .icon-check { display: block; }

.item.is-blocked > :not(.item-foot, .item-tick),
.item.is-blocked .item-add { opacity: .55; }
.item.is-blocked .item-reason { display: block; }
.item.is-blocked .item-add { cursor: not-allowed; }
.item.is-blocked .item-add:hover { background: var(--panel); }
.item.is-blocked .item-add:active { transform: none; }

/* Nested option inside the Fix */
.sub-opt {
  display: grid;
  gap: 4px;
  padding: 14px 0 0;
  border: 0;
  border-top: 1px solid var(--rule);
  border-radius: 0;
}
.sub-opt label {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 2px 12px;
  min-height: 44px;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}
.sub-opt label .num { grid-column: 2; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.sub-opt p { font-size: .92rem; padding-left: 36px; }
.sub-opt.is-off { opacity: .55; }
.sub-opt.is-off label { cursor: not-allowed; }

.check {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin: 0;
  border: 2px solid var(--frame);
  border-radius: 4px;
  background: var(--panel);
  cursor: inherit;
}
.check::after {
  content: "";
  width: 10px;
  height: 5px;
  border-left: 2.5px solid #fff;
  border-bottom: 2.5px solid #fff;
  transform: translateY(-1px) rotate(-45deg) scale(.6);
  opacity: 0;
  transition: opacity 120ms ease-out, transform 120ms ease-out;
}
.check:checked { background: var(--line-fill); border-color: var(--line-fill); }
.check:checked::after { opacity: 1; transform: translateY(-1px) rotate(-45deg); }
.check:disabled { cursor: not-allowed; }

.fix-layout { display: grid; gap: 14px 28px; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.fix-layout > .fix-main { display: grid; gap: 14px; align-content: start; }
.fix-layout > .fix-side { display: grid; gap: 14px; align-content: start; }
@media (max-width: 720px) { .fix-layout { grid-template-columns: 1fr; } }

/* Summary panel */
.summary {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 16px;
  padding: 22px;
  background: var(--panel);
  border: 2px solid var(--frame);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
@media (min-width: 900px) {
  .summary {
    grid-template-columns: minmax(0, 1fr);
    max-height: calc(100vh - 104px);
    max-height: calc(100dvh - 104px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}
.summary > *, .readout, .ro-row, .sum-list li > * { min-width: 0; }
html:not(.js) .summary, html:not(.js) .item-foot, html:not(.js) .sub-opt input { display: none; }

.sum-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sum-title { font-size: 1.35rem; }
.sum-title:focus { outline: none; }
.sum-toggle { display: none; }
.sum-body, .sum-foot { display: grid; gap: 12px; }
.sum-list { margin: 0; padding: 0; list-style: none; display: grid; }
.sum-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.3;
}
.sum-list .sum-price { font-variant-numeric: tabular-nums; color: var(--ink-2); font-weight: 600; font-size: .9rem; text-align: right; }
.sum-remove {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: -6px -10px -6px 0;
  background: none;
  border: 0;
  border-radius: var(--radius);
  color: var(--ink-3);
  cursor: pointer;
}
.sum-remove .icon { width: 16px; height: 16px; }
.sum-remove:hover { color: var(--danger); background: var(--panel-2); }
.sum-empty { font-size: .95rem; color: var(--ink-2); }
.sum-notice:empty { display: none; }
.sum-notice {
  padding: 10px 12px;
  background: var(--panel-2);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.4;
}
.sum-note { font-size: .88rem; color: var(--ink-3); line-height: 1.45; }
.sum-reset { justify-self: start; }

.readout {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  background: var(--readout);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .06);
}
.ro-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
@media (min-width: 900px) and (max-width: 1199.98px) {
  .summary .ro-row { flex-direction: column; align-items: flex-start; gap: 2px; }
  .summary .ro-val { font-size: 1.5rem; }
  .summary .sum-list li { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name rm" "price rm"; row-gap: 2px; }
  .summary .sum-list .sum-name { grid-area: name; }
  .summary .sum-list .sum-price { grid-area: price; text-align: left; }
  .summary .sum-list .sum-remove { grid-area: rm; }
}
.ro-label {
  color: var(--readout-label);
  font-size: .8rem;
  font-weight: 700;
  font-stretch: 100%;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ro-val {
  display: inline-block;
  color: var(--led);
  font-family: var(--font-led);
  font-weight: 700;
  font-size: 1.9rem;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Mobile: the summary becomes a fixed bottom bar */
@media (max-width: 899.98px) {
  .catalogue, .summary { grid-column: 1 / -1; }
  .js .summary {
    position: fixed;
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "notice notice"
      "readout toggle"
      "cta cta";
    gap: 8px 10px;
    max-height: 85vh;
    max-height: 85dvh;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    border-width: 2px 0 0;
    border-radius: 0;
    box-shadow: 0 -12px 30px -14px rgb(15 23 42 / .35);
    transform: translateY(110%);
    visibility: hidden;
    transition: transform 220ms var(--ease-out), visibility 0s linear 220ms;
  }
  .js.bar-on .summary { transform: none; visibility: visible; transition: transform 220ms var(--ease-out), visibility 0s; }
  .js .summary .sum-top { grid-area: top; display: none; }
  .js .summary .sum-body { grid-area: body; display: none; }
  .js .summary .sum-foot { grid-area: foot; display: none; }
  .js .summary .sum-notice { grid-area: notice; }
  .js .summary .readout { grid-area: readout; grid-template-columns: 1fr 1fr; gap: 4px 12px; padding: 8px 12px; }
  .js .summary .ro-row { flex-direction: column; align-items: flex-start; gap: 0; }
  .js .summary .ro-label { font-size: .68rem; }
  .js .summary .ro-val { font-size: 1.2rem; }
  .js .summary .sum-cta { grid-area: cta; }
  .js .summary .sum-toggle {
    grid-area: toggle;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 0 12px;
    background: var(--panel);
    border: 2px solid var(--frame);
    border-radius: var(--radius);
    color: var(--ink);
    font-weight: 700;
    font-size: .9rem;
    cursor: pointer;
  }
  .js .summary .sum-toggle .icon { transform: rotate(180deg); transition: transform 180ms var(--ease-out); }
  .js .summary.is-open .sum-toggle .icon { transform: none; }

  .js .summary.is-open {
    grid-template-areas:
      "top top"
      "body body"
      "foot foot"
      "notice notice"
      "readout toggle"
      "cta cta";
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .js .summary.is-open .sum-top,
  .js .summary.is-open .sum-body,
  .js .summary.is-open .sum-foot { display: grid; }
  .js .summary.is-open .sum-top { display: flex; }

  .js.bar-on body { padding-bottom: var(--bar-h, 132px); }
}

@media (prefers-reduced-motion: reduce) {
  .js .summary, .js.bar-on .summary { transition: none; }
}

/* ---------- Book a call ---------- */
.book { background: var(--panel-2); border-top: 2px solid var(--frame); }
.book[hidden] { display: none; }
.book-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.book-intro { grid-column: 1 / span 4; display: grid; gap: 18px; position: sticky; top: 96px; }
.book-main { grid-column: 5 / span 8; }
@media (max-width: 899.98px) {
  .book-intro, .book-main { grid-column: 1 / -1; position: static; }
}
.book-intro h2:focus { outline: none; }

.picks-box {
  display: grid;
  gap: 12px;
  padding: 18px;
  background: var(--panel);
  border: 2px solid var(--frame);
  border-radius: var(--radius);
}
.picks-box h3 { font-size: 1.1rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li {
  padding: 6px 10px;
  background: var(--line-tint);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.3;
}
.picks-box .readout { padding: 12px 14px; }
.picks-box .ro-val { font-size: 1.4rem; }

.form-panel {
  padding: clamp(22px, 3vw, 36px);
  background: var(--panel);
  border: 2px solid var(--frame);
  border-radius: var(--radius);
}
.form { display: grid; gap: 22px; }
.form-row { display: grid; gap: 22px; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

.field { display: grid; gap: 6px; align-content: start; }
.field label, .field .label {
  color: var(--ink);
  font-weight: 700;
  font-size: 1rem;
}
.field .help { font-size: .9rem; color: var(--ink-3); line-height: 1.4; }
.field input, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  background: var(--panel);
  border: 2px solid var(--ink-3);
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color var(--fast) ease-out;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--line); outline-offset: 2px; border-color: var(--line); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.err {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  color: var(--danger);
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.4;
}
.err:empty { display: none; }

.consent-row { display: grid; gap: 6px; }
.consent-row label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink);
  font-size: .98rem;
  line-height: 1.5;
  cursor: pointer;
}
.consent-row .check { margin-top: 1px; }

.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions { display: grid; gap: 12px; }
.form-actions .btn { justify-self: start; min-width: 220px; }
@media (max-width: 640px) { .form-actions .btn { justify-self: stretch; } }

.send-error {
  display: grid;
  gap: 12px;
  padding: 14px 16px;
  border: 2px solid var(--danger);
  border-radius: var(--radius);
  color: var(--ink);
  font-weight: 600;
}
.send-error[hidden] { display: none; }

.step2 { display: grid; gap: 18px; }
.step2:focus { outline: none; }
.step2[hidden] { display: none; }
.success-line { color: var(--ink); font-weight: 700; font-size: 1.15rem; }
.booked-line { padding: 12px 14px; background: var(--line-tint); border: 2px solid var(--line); border-radius: var(--radius); color: var(--ink); font-weight: 700; }
.booked-line[hidden] { display: none; }
.cal-embed { min-width: 280px; height: 700px; border: 2px solid var(--frame); border-radius: var(--radius); overflow: hidden; background: #fff; }
.cal-embed[hidden] { display: none; }
@media (max-width: 899.98px) { .cal-embed { height: 1000px; } }
.cal-fallback { display: grid; gap: 14px; padding: 0; border: 0; }
.cal-fallback[hidden] { display: none; }
.cal-fallback .actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Who we help: destination board ---------- */
.board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(28px, 5vw, 72px);
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 2px solid var(--frame);
}
.board li {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 28px 0 32px;
  border-top: 2px solid var(--frame);
}
.board h3 {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: clamp(1.25rem, 1rem + .6vw, 1.5rem);
}
.board h3::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: .16em;
  border-radius: 50%;
  background: var(--panel);
  border: 5px solid var(--line);
}
@media (max-width: 760px) {
  .board { grid-template-columns: 1fr; }
}

/* ---------- Why PBAC ---------- */
.why { background: var(--panel-2); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.why-grid h2 { grid-column: 1 / span 5; }
.why-body { grid-column: 7 / span 6; display: grid; gap: 20px; }
.why-body p { font-size: 1.15rem; color: var(--ink-2); }
@media (max-width: 899.98px) {
  .why-grid h2, .why-body { grid-column: 1 / -1; }
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; border-bottom: 2px solid var(--frame); }
.faq-item { border-top: 2px solid var(--frame); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 18px 0;
  color: var(--ink);
  font-weight: 700;
  font-stretch: 104%;
  font-size: 1.12rem;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--line); }
.faq-chev {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 2px solid var(--frame);
  border-radius: 50%;
  color: var(--ink);
  transition: transform 220ms var(--ease-out), background-color var(--fast) ease-out;
}
.faq-chev .icon { width: 16px; height: 16px; }
.faq-item[open] .faq-chev { transform: rotate(180deg); background: var(--line-fill); border-color: var(--line-fill); color: #fff; }
.faq-a { padding: 0 48px 24px 0; }
.faq-a p { font-size: 1.05rem; }

@supports (interpolate-size: allow-keywords) {
  @media (prefers-reduced-motion: no-preference) {
    .faq-item::details-content {
      block-size: 0;
      overflow: clip;
      transition: block-size 300ms var(--ease-out), content-visibility 300ms allow-discrete;
    }
    .faq-item[open]::details-content { block-size: auto; }
  }
}

/* ---------- Final call band ---------- */
.final { background: var(--night); color: var(--night-ink); }
.final h2 { color: var(--night-ink); }
.final p { color: var(--night-ink-2); font-size: 1.15rem; }
.final p a { color: var(--night-ink); }
.final-inner { display: grid; gap: 20px; }
.final-route {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 20px;
}
.final-route::before {
  content: "";
  flex: 1;
  height: 8px;
  background: var(--line);
  border-radius: 1px;
}
.final-ring {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--night);
  border: 5px solid var(--line);
  box-shadow: 0 0 0 4px var(--night), 0 0 0 7px var(--night-ink);
  margin: 0 28px 0 0;
}
.final-route .btn { flex: none; }
.final :focus-visible { outline-color: var(--night-ink); }
@media (max-width: 560px) {
  .final-route { flex-wrap: wrap; gap: 20px 0; }
  .final-route::before { flex-basis: calc(100% - 58px); }
  .final-route .btn { flex-basis: 100%; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--panel);
  border-top: 2px solid var(--frame);
  padding-block: clamp(48px, 7vw, 80px) 32px;
  font-size: .95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr));
  gap: 32px clamp(20px, 3vw, 40px);
}
.footer-brand { display: grid; gap: 14px; align-content: start; }
.footer-brand p { max-width: 36ch; font-size: .95rem; }
.footer-col h2 {
  font-size: .8rem;
  font-weight: 700;
  font-stretch: 100%;
  letter-spacing: .02em;
  color: var(--ink);
  margin-bottom: 10px;
}
.footer-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.footer-col a, .footer-col .text-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink-2);
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
}
.footer-col .text-btn { padding: 0; text-decoration: none; }
.footer-col a:hover, .footer-col .text-btn:hover { color: var(--line); text-decoration: underline; }
.footer-col .mail { word-break: break-all; }
.footer-legal {
  display: grid;
  gap: 8px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  color: var(--ink-3);
  font-size: .9rem;
}
.footer-legal p { max-width: none; }
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Cookie banner ---------- */
.cc {
  position: fixed;
  left: 16px;
  bottom: calc(16px + var(--cc-lift, 0px));
  z-index: 60;
  width: min(420px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px - var(--cc-lift, 0px));
  overflow-y: auto;
  display: grid;
  gap: 14px;
  padding: 20px;
  background: var(--panel);
  color: var(--ink-2);
  border: 2px solid var(--frame);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  font-size: .95rem;
}
.cc[hidden] { display: none; }
.js.bar-on .cc { --cc-lift: var(--bar-h, 0px); }
.cc-text { font-size: .95rem; line-height: 1.5; }
.cc-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.cc-actions .btn { width: 100%; padding: 0 16px; white-space: nowrap; }
.cc-link { justify-self: start; }
.cc-settings { display: grid; gap: 12px; padding-top: 12px; border-top: 1px solid var(--rule); }
.cc-settings[hidden] { display: none; }
.cc-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: start; }
.cc-row-title { color: var(--ink); font-weight: 700; }
.cc-row-title span { font-weight: 500; color: var(--ink-3); }
.cc-row p { font-size: .9rem; }
.cc-row-desc { color: var(--ink-3); }

.switch {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  flex: none;
  width: 48px;
  height: 28px;
  margin: 2px 0 0;
  border: 2px solid var(--frame);
  border-radius: var(--radius);
  background: var(--panel-2);
  cursor: pointer;
}
.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 3px;
  background: var(--ink-3);
  transition: transform var(--fast) var(--ease-out), background-color var(--fast) ease-out;
}
.switch:checked { background: var(--line-fill); border-color: var(--line-fill); }
.switch:checked::after { transform: translateX(20px); background: #fff; }
.switch:disabled { cursor: not-allowed; opacity: .7; }

@media (prefers-reduced-motion: no-preference) {
  .cc.is-entering { animation: cc-in 320ms var(--ease-out) both; }
  .cc.is-leaving { animation: cc-out 180ms var(--ease-in) both; }
}
@media (prefers-reduced-motion: reduce) {
  .cc.is-entering { animation: cc-fade 1ms both; }
}
@keyframes cc-in { from { opacity: 0; transform: translateY(16px); filter: blur(4px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes cc-out { to { opacity: 0; transform: translateY(8px); } }
@keyframes cc-fade { from { opacity: 1; } to { opacity: 1; } }

/* ---------- Legal and utility pages ---------- */
.doc { padding-block: clamp(48px, 7vw, 88px) var(--section); }
.doc-inner { max-width: 760px; }
.doc h1 { font-size: clamp(2.1rem, 1.2rem + 2.6vw, 3rem); margin-bottom: 12px; }
.doc .updated { color: var(--ink-3); font-size: .95rem; font-variant-numeric: tabular-nums; margin-bottom: 28px; }
.doc h2 { font-size: clamp(1.45rem, 1.1rem + 1vw, 1.9rem); margin: 56px 0 14px; scroll-margin-top: 96px; }
.doc h3 { font-size: 1.2rem; margin: 32px 0 10px; scroll-margin-top: 96px; }
.doc p { margin: 0 0 14px; }
.doc ul { margin: 0 0 16px; padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc li::marker { color: var(--line); }
.doc strong { color: var(--ink); }
.doc hr { border: 0; border-top: 1px solid var(--rule); margin: 40px 0; }

.toc {
  margin: 8px 0 12px;
  padding: 20px 22px;
  background: var(--panel);
  border: 2px solid var(--frame);
  border-radius: var(--radius);
}
.toc h2 { font-size: 1.1rem; margin: 0 0 10px; }
.toc ol { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 2px; }
.toc ol ol { margin: 4px 0 8px; padding-left: 0; list-style: none; columns: 2 220px; column-gap: 24px; display: block; }
.toc li { margin: 0; padding: 3px 0; break-inside: avoid; }
.toc a { font-size: .95rem; }

.table-wrap { overflow-x: auto; margin: 8px 0 20px; border: 2px solid var(--frame); border-radius: var(--radius); background: var(--panel); }
.doc table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.doc th, .doc td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
.doc th { color: var(--ink); font-weight: 700; background: var(--panel-2); }
.doc tr:last-child td { border-bottom: 0; }

.simple { min-height: 60vh; display: grid; align-content: center; }
.simple-inner { display: grid; gap: 20px; max-width: 640px; }
.simple-inner .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Shared page parts (inner pages) ---------- */
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
@media (max-width: 899.98px) {
  .js .site-header.menu-open .nav-links a[aria-current="page"] { color: var(--line); font-weight: 800; }
}

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--line);
  font-weight: 700;
  font-stretch: 104%;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: .22em;
}
.more-link .icon { transition: transform 200ms var(--ease-out); }
.more-link:hover { text-decoration-thickness: 2px; }
.more-link:hover .icon { transform: translateX(3px); }
.band .more-link, .final .more-link { color: #fff; }
.final .more-link { color: var(--night-ink); }
.section-foot { margin-top: clamp(28px, 4vw, 44px); }

.page-head {
  padding-block: clamp(44px, 7vw, 88px) clamp(36px, 5vw, 56px);
  border-bottom: 2px solid var(--frame);
}
.page-head-inner { display: grid; gap: 18px; }
.page-head p { font-size: 1.2rem; max-width: 56ch; }

/* ---------- Home: short process route ---------- */
.mini-route {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.mini-route::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 10%;
  right: 10%;
  height: 6px;
  background: var(--line);
  border-radius: 1px;
  transform-origin: left;
}
.mini-stop {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 14px;
  padding: 0 8px;
  text-align: center;
  color: var(--ink);
  font-weight: 700;
  font-stretch: 104%;
  line-height: 1.25;
}
.mini-ring {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ground);
  border: 5px solid var(--line);
}
.mini-stop:last-child .mini-ring { box-shadow: 0 0 0 3px var(--ground), 0 0 0 6px var(--frame); }
.process-teaser { max-width: 65ch; font-size: 1.125rem; margin-bottom: clamp(32px, 5vw, 52px); }

@media (max-width: 899.98px) {
  .mini-route { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .mini-route::before { top: 12px; bottom: 12px; left: 9px; right: auto; width: 6px; height: auto; transform-origin: top; }
  .mini-stop { grid-template-columns: 24px minmax(0, 1fr); justify-items: start; align-items: center; gap: 16px; padding: 0; text-align: left; }
}

@media (prefers-reduced-motion: no-preference) {
  .mini-route.will-draw::before { transition: transform 900ms var(--ease-out); }
  .mini-route.will-draw:not(.is-drawn)::before { transform: scaleX(0); }
  .mini-route.will-draw .mini-ring { transition: transform 450ms var(--ease-out), opacity 300ms ease-out; transition-delay: calc(200ms + var(--i, 0) * 120ms); }
  .mini-route.will-draw:not(.is-drawn) .mini-ring { transform: scale(.6); opacity: 0; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 899.98px) {
  .mini-route.will-draw:not(.is-drawn)::before { transform: scaleY(0); }
}

/* ---------- Services page: line index + service sections ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  timeline-scope: --svc;
}
.line-index { grid-column: 1 / span 3; position: sticky; top: 100px; }
.svc-content { grid-column: 4 / span 9; display: grid; gap: clamp(56px, 8vw, 96px); min-width: 0; }

.li-wrap { position: relative; }
.li-list { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.li-track {
  position: absolute;
  left: 9px;
  top: 22px;
  bottom: 22px;
  width: 6px;
  background: var(--rule);
  border-radius: 1px;
}
.li-fill {
  position: absolute;
  inset: 0;
  background: var(--line);
  border-radius: 1px;
  transform-origin: top;
  transform: scaleY(var(--li-progress, 0));
  transition: transform 400ms var(--ease-out);
}
.li-stop { position: relative; }
.li-stop a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  color: var(--ink-2);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}
.li-stop a:hover { color: var(--line); }
.li-ring {
  position: relative;
  z-index: 1;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--panel);
  border: 5px solid var(--rule);
  transition: border-color var(--fast) ease-out, background-color var(--fast) ease-out;
}
.li-stop.is-passed .li-ring { border-color: var(--line); }
.li-stop.is-active .li-ring { border-color: var(--panel); background: var(--line); box-shadow: 0 0 0 3px var(--line); }
.li-stop.is-active a { color: var(--ink); font-weight: 800; }

@supports (animation-timeline: view()) and (timeline-scope: --svc) {
  @media (prefers-reduced-motion: no-preference) {
    .svc-content { view-timeline: --svc block; }
    .li-fill {
      transition: none;
      animation: route-fill linear both;
      animation-timeline: --svc;
      animation-range: contain 0% contain 100%;
    }
  }
}

.svc-sec {
  display: grid;
  gap: 18px;
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 2px solid var(--frame);
  scroll-margin-top: 96px;
  min-width: 0;
}
.svc-sec:first-child { border-top: 0; padding-top: 0; }
.svc-lead { font-size: 1.125rem; }
.svc-sub { display: grid; gap: 16px; margin-top: 8px; }
.svc-sub > h3 { font-size: 1.3rem; }
.svc-label {
  margin-top: 6px;
  font-size: .95rem;
  font-weight: 700;
  font-stretch: 100%;
  line-height: 1.25;
  letter-spacing: 0;
}
.svc-sub.is-label { gap: 10px; }
.svc-sub > h3.svc-label { font-size: .95rem; }
.price-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 6px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
}
.price-line dt {
  flex: 1 1 auto;
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 70px;
  color: var(--ink-2);
  font-weight: 600;
}
.price-line dt::after {
  content: "";
  flex: 1;
  min-width: 20px;
  border-bottom: 2px dotted var(--ink-3);
  transform: translateY(-4px);
}
.price-line dd {
  flex: 0 1 auto;
  max-width: 72%;
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  font-stretch: 104%;
  text-align: left;
  font-variant-numeric: tabular-nums;
}
.svc-sec .items { margin-top: 4px; }

@media (max-width: 899.98px) {
  .svc-grid { display: block; }
  .line-index {
    position: sticky;
    top: var(--header-h);
    z-index: 20;
    margin: 0 calc(var(--gutter) * -1) 32px;
    padding: 10px var(--gutter);
    background: color-mix(in srgb, var(--ground) 94%, transparent);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--rule);
  }
  .li-track { display: none; }
  .li-list { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
  .li-list::-webkit-scrollbar { display: none; }
  .li-stop { flex: none; }
  .li-stop a {
    gap: 8px;
    padding: 0 12px;
    background: var(--panel);
    border: 2px solid var(--frame);
    border-radius: 4px;
    font-size: .92rem;
    white-space: nowrap;
  }
  .li-ring { width: 14px; height: 14px; border-width: 3px; }
  .li-stop.is-active a { background: var(--line-tint); border-color: var(--line); }
  .li-stop.is-active .li-ring { box-shadow: 0 0 0 2px var(--line); }
  .svc-sec { scroll-margin-top: 150px; }
  .price-line { flex-direction: column; align-items: flex-start; gap: 4px; }
  .price-line dt::after { display: none; }
  .price-line dd { max-width: none; text-align: left; }
}

/* ---------- How it works: after you book ---------- */
.stages {
  position: relative;
  display: grid;
  gap: 40px;
  max-width: 820px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.stages::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 14px;
  bottom: 14px;
  width: 6px;
  background: var(--line);
  border-radius: 1px;
}
.stage { position: relative; display: grid; gap: 12px; padding-left: 52px; }
.stage::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--panel-2);
  border: 5px solid var(--line);
}
.stage:last-child::before { box-shadow: 0 0 0 3px var(--panel-2), 0 0 0 6px var(--frame); }
.after-book { background: var(--panel-2); }
.after-book .stage::before { background: var(--panel-2); }

/* ---------- Who we help page ---------- */
.types { display: grid; gap: clamp(56px, 8vw, 88px); max-width: 820px; }
.type { display: grid; gap: 14px; padding-top: clamp(24px, 3vw, 32px); border-top: 2px solid var(--frame); scroll-margin-top: 96px; }
.type:first-child { border-top: 0; padding-top: 0; }
.ring-h { display: flex; align-items: flex-start; gap: 14px; }
.ring-h::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: .16em;
  border-radius: 50%;
  background: var(--panel);
  border: 5px solid var(--line);
}
.type h3 { font-size: 1.05rem; font-stretch: 108%; letter-spacing: -0.01em; margin-top: 8px; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chip-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  background: var(--panel);
  border: 2px solid var(--frame);
  border-radius: 4px;
  color: var(--ink);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color var(--fast) ease-out, border-color var(--fast) ease-out, color var(--fast) ease-out;
}
.chip-link:hover { background: var(--panel-2); border-color: var(--line); color: var(--line); }

.fit { background: var(--panel-2); }
.fit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 64px); align-items: start; }
.fit-col { display: grid; gap: 14px; align-content: start; }
.fit-col h2 { font-size: clamp(1.25rem, 1rem + .6vw, 1.5rem); line-height: 1.12; }
@media (max-width: 760px) { .fit-grid { grid-template-columns: minmax(0, 1fr); } }

.plain-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.plain-list li { position: relative; padding-left: 20px; font-size: .95rem; line-height: 1.45; }
.plain-list li::before { content: ""; position: absolute; left: 3px; top: .55em; width: 6px; height: 6px; background: var(--frame); }

/* ---------- FAQ page ---------- */
.faq-index { margin-bottom: clamp(40px, 6vw, 64px); }
.faq-groups { display: grid; gap: clamp(56px, 7vw, 80px); }
.faq-group { display: grid; gap: 18px; scroll-margin-top: 96px; }

/* ---------- Reduced motion: global safety net ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
  .route-fill, .li-fill { transform: none !important; animation: none !important; }
  .mini-route::before { transform: none !important; }
  .mini-ring { transform: none !important; opacity: 1 !important; }
}

@media print {
  .site-header, .cc, .summary, .skip { display: none !important; }
}
