/* OneStepWise landing — one system, dealt by taste-skill:
   palette cobalt-on-sand (two-tone: cobalt ink on warm sand, one cobalt band),
   type Mona Sans + Geist Mono, radius soft, hero "collage".
   Order: fonts, tokens, base, layout, buttons, header, hero, sections, pricing
   band, FAQ, enquiry, footer, documents, motion, print.
   CSP: style-src/font-src 'self' — no external fonts, no inline styles. */

@font-face {
  font-family: "Mona Sans";
  src: url("fonts/MonaSans-Variable.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Dealt palette (start.mjs css, cobalt-on-sand) */
  --p-bg: #e6dbc7; --p-surface: #ddd0b9; --p-ink: #062b8a; --p-muted: #3253a4;
  --p-inv-bg: #062b8a; --p-inv-surface: #153a90; --p-inv-ink: #e6dbc7; --p-inv-muted: #b9c0d6;

  --bg: var(--p-bg);
  --bg-alt: var(--p-surface);
  --ink: var(--p-ink);
  --muted: var(--p-muted);
  --paper: #f5efe3;              /* windows, panels and fields: the sand lifted toward white */
  --line: rgba(6, 43, 138, 0.16);
  --line-strong: rgba(6, 43, 138, 0.34);
  --tint: rgba(6, 43, 138, 0.07);
  --action: var(--p-ink);
  --action-ink: var(--p-bg);
  --focus: var(--p-ink);

  /* Type (Mona Sans, a little wide for headlines) */
  --font-display: "Mona Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-text: "Mona Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --display-weight: 500;
  --display-tracking: -0.03em;
  --display-tracking-xl: -0.04em;
  --display-stretch: 104%;

  /* Radius (soft) */
  --r-lg: 20px; --r-md: 12px; --r-sm: 8px; --r-btn: 10px;

  /* Rhythm */
  --container: 80rem;
  --gutter: clamp(1.5rem, 5.5vw, 5rem);
  --padt: 7.5rem;
  --padb: 6rem;
  --header-h: 4.5rem;

  /* Motion tokens (taste-skill motion.md) */
  --m-in: 140ms; --m-out: 200ms; --m-press: 90ms;
  --m-ease: cubic-bezier(.2, .8, .2, 1);
}
@media (max-width: 40rem) {
  :root { --padt: 5.5rem; --padb: 4rem; --header-h: 3.75rem; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 {
  margin: 0; color: var(--ink);
  font-family: var(--font-display); font-weight: var(--display-weight);
  font-stretch: var(--display-stretch); letter-spacing: var(--display-tracking);
}
h1, h2 { text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.35rem + 3.7vw, 4rem); line-height: 1.02; letter-spacing: var(--display-tracking-xl); }
h2 { font-size: clamp(1.9rem, 1.35rem + 1.6vw, 2.625rem); line-height: 1.08; }
h3 { font-size: 1.1875rem; line-height: 1.3; letter-spacing: -0.015em; font-weight: 560; font-stretch: 100%; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
strong { font-weight: 600; }
a {
  color: var(--ink);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em;
  text-decoration-color: var(--line-strong);
  transition: text-decoration-color var(--m-out) var(--m-ease);
}
a:hover { text-decoration-color: currentColor; transition-duration: var(--m-in); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--ink); color: var(--bg); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -5rem; z-index: 100;
  padding: 0.6rem 1rem; background: var(--action); color: var(--action-ink);
  border-radius: var(--r-sm); text-decoration: none; font-weight: 550;
}
.skip-link:focus { top: 0.75rem; }

/* ---------- Layout ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--padt) var(--padb); position: relative; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 44rem; margin-bottom: 3rem; }
.section-lede { margin-top: 1.1rem; font-size: 1.125rem; line-height: 1.55; color: var(--ink); max-width: 38rem; }
@media (max-width: 40rem) { .section-head { margin-bottom: 2rem; } }

/* ---------- Buttons and tags ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 2.75rem; padding: 0.55rem 1.4rem;
  border-radius: var(--r-btn); border: 1px solid var(--action);
  font: inherit; font-size: 1rem; font-weight: 550; letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform var(--m-out) var(--m-ease), background-color var(--m-out) var(--m-ease), color var(--m-out) var(--m-ease), border-color var(--m-out) var(--m-ease);
}
.button-primary { background: var(--action); color: var(--action-ink); }
.button-primary:hover { color: var(--action-ink); }
.button-secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.button-secondary:hover { color: var(--ink); }
.button-small { min-height: 2.5rem; padding: 0.4rem 1.05rem; font-size: 0.9375rem; }
.button-block { width: 100%; }
.button:disabled { opacity: 0.7; cursor: progress; transform: none; }
@media (hover: hover) and (pointer: fine) {
  .button:hover { transform: translateY(-1px); transition-duration: var(--m-in); }
  .button-primary:hover { background: color-mix(in srgb, var(--action) 86%, #000); }
  .button-secondary:hover { background: var(--tint); border-color: var(--ink); }
}
.button:active { transform: translateY(1px); transition-duration: var(--m-press); }
.button .ext-icon { width: 0.9em; height: 0.9em; flex: none; }

.tag {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.2rem 0.65rem; border-radius: 999px;
  font-size: 0.8125rem; font-weight: 500; line-height: 1.5;
  border: 1px solid var(--line-strong); color: var(--ink); background: transparent;
}
.tag-warn { border-style: dashed; }
.tag-muted { color: var(--muted); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.wordmark { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); }
.wordmark-logo { height: 46px; width: auto; max-width: 150px; object-fit: contain; }
@media (max-width: 40rem) { .wordmark-logo { height: 38px; } }
.nav-list { display: flex; align-items: center; gap: 0.25rem; list-style: none; }
.nav-list a:not(.button) {
  position: relative; display: inline-block; padding: 0.5rem 0.7rem;
  color: var(--ink); font-size: 0.9375rem; font-weight: 500; text-decoration: none; white-space: nowrap;
}
.nav-list a:not(.button)::after {
  content: ""; position: absolute; left: 0.7rem; right: 0.7rem; bottom: 0.3rem; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform var(--m-out) var(--m-ease);
}
.nav-list a:not(.button):hover::after { transform: scaleX(1); transform-origin: left; transition-duration: var(--m-in); }
.nav-list a[aria-current="true"]::after { transform: scaleX(1); height: 2px; }
.nav-cta { margin-left: 0.75rem; }
.header-cta { display: none; }

.nav-toggle {
  display: none; align-items: center; gap: 0.5rem;
  min-height: 2.75rem; padding: 0.4rem 0.9rem;
  border: 1px solid var(--line-strong); border-radius: var(--r-btn);
  background: transparent; color: var(--ink); font: inherit; font-weight: 550; cursor: pointer;
}
.nav-toggle-icon { display: inline-flex; flex-direction: column; gap: 4px; width: 18px; }
.nav-toggle-icon span { display: block; height: 1.5px; background: currentColor; transition: transform 0.2s var(--m-ease), opacity 0.2s var(--m-ease); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 63.99rem) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute; left: 0; right: 0; top: 100%; display: none;
    height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
    overflow-y: auto; background: var(--bg); border-top: 1px solid var(--line);
  }
  .primary-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem var(--gutter) 1.5rem; }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-list a:not(.button) { display: flex; align-items: center; min-height: 3.5rem; padding: 0; font-size: 1.125rem; }
  .nav-list a:not(.button)::after { left: 0; right: auto; width: 2rem; bottom: 0.85rem; }
  .nav-cta { margin: 1.25rem 0 0; border-bottom: 0 !important; }
  .nav-cta .button { width: 100%; min-height: 3rem; }
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .primary-nav { display: block; position: static; height: auto; border: 0; background: transparent; }
  html:not(.js) .header-inner { flex-wrap: wrap; }
}
@media (min-width: 40.01rem) and (max-width: 63.99rem) {
  .header-cta { display: inline-flex; margin-left: auto; }
}

/* ---------- Hero (collage) ---------- */
.hero {
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2.5rem, 5vw, 4rem);
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 64rem) {
  .hero-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; }
  .hero-copy { grid-column: 1 / span 5; padding-top: 0.5rem; }
  .hero-art { grid-column: 7 / span 6; }
}
.hero-copy h1 { max-width: 12ch; }
.lede { margin-top: 1.5rem; font-size: 1.25rem; line-height: 1.5; max-width: 30rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; }
.hero-proof { margin-top: 1.5rem; font-size: 0.9375rem; color: var(--muted); }

/* The lit panel: sand lifted toward a soft sky, one light, then the product. */
.hero-art {
  position: relative; min-width: 0;
  height: clamp(28rem, calc(100svh - var(--header-h) - 9rem), 44rem);
  border-radius: var(--r-lg); overflow: hidden;
  background:
    radial-gradient(75% 60% at 20% 10%, #f3eee4 0%, transparent 70%),
    radial-gradient(70% 60% at 95% 100%, #c9d3ea 0%, transparent 70%),
    #dfe3ea;
}
/* Honesty label: the hero shows a fabricated Hub view, marked as not live. */
.mock-note {
  position: absolute; left: 50%; top: 0.9rem; transform: translateX(-50%); z-index: 3; margin: 0;
  font-family: var(--font-mono); font-size: 0.6875rem; line-height: 1.4; white-space: nowrap;
  color: #4f5b7a; background: rgba(251, 248, 242, 0.88); border: 1px solid rgba(6, 43, 138, 0.14);
  border-radius: 999px; padding: 0.12rem 0.65rem;
}
.app-window {
  position: absolute; left: 4rem; top: 4rem; right: -1.75rem; bottom: -2rem;
  border-radius: 14px; overflow: hidden;
  background: #fbf8f2;
  border: 1px solid rgba(6, 43, 138, 0.14);
  box-shadow: 0 1px 2px rgba(6, 25, 80, 0.08), 0 24px 48px -28px rgba(6, 25, 80, 0.35);
  color: #0c1b45;
}
.app-chrome {
  position: relative; display: flex; align-items: center; justify-content: center;
  height: 2.5rem; padding: 0 1rem; border-bottom: 1px solid rgba(6, 43, 138, 0.1); background: #f3eee4;
}
.sim-dots { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); display: inline-flex; gap: 0.4rem; }
.sim-dots span { width: 0.625rem; height: 0.625rem; border-radius: 50%; background: rgba(6, 43, 138, 0.18); }
.app-url {
  width: min(17rem, 100% - 8rem); padding: 0.1rem 0.75rem; border-radius: 6px;
  background: #fbf8f2; border: 1px solid rgba(6, 43, 138, 0.1);
  font-family: var(--font-mono); font-size: 0.8125rem; color: #4f5b7a; text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.app-body { display: grid; grid-template-columns: 7.75rem minmax(0, 1fr); height: calc(100% - 2.5rem); }
.app-rail { list-style: none; padding: 1.4rem 0.6rem 1rem 1.1rem; display: grid; gap: 0.15rem; align-content: start; }
.app-rail li { padding: 0.4rem 0; font-size: 0.875rem; font-weight: 500; color: #4f5b7a; }
.app-rail li.is-on { color: #0c1b45; font-weight: 600; }
.app-main { padding: 1.4rem 3rem 1.4rem 1.6rem; min-width: 0; }
.app-title { display: flex; align-items: baseline; gap: 0.75rem; font-size: 1.25rem; font-weight: 560; letter-spacing: -0.02em; }
.app-title span { font-size: 0.875rem; font-weight: 500; color: #4f5b7a; letter-spacing: 0; }
.app-rows { list-style: none; margin-top: 1rem; border-top: 1px solid rgba(6, 43, 138, 0.1); }
.app-rows li {
  display: grid; grid-template-columns: 2.25rem minmax(0, 1fr) auto; align-items: center; gap: 0.75rem;
  min-height: 3.25rem; border-bottom: 1px solid rgba(6, 43, 138, 0.1); font-size: 0.9375rem;
}
.row-title { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-owner { display: none; }

.pri {
  display: inline-flex; justify-content: center; font-family: var(--font-mono);
  font-size: 0.75rem; font-weight: 600; line-height: 1.6; padding: 0 0.4rem; border-radius: 6px; flex: none;
}
.pri-1 { background: var(--ink); color: var(--bg); }
.pri-2 { border: 1px solid var(--line-strong); color: var(--ink); }
.chip {
  justify-self: start; display: inline-flex; align-items: center; padding: 0.1rem 0.6rem; border-radius: 999px;
  font-size: 0.8125rem; font-weight: 500; white-space: nowrap;
  border: 1px solid rgba(6, 43, 138, 0.22); color: #0c1b45;
}
.chip-review { background: rgba(6, 43, 138, 0.08); border-color: transparent; }
.chip-done { background: var(--ink); border-color: var(--ink); color: var(--bg); }

/* The result card over the window's lower-left corner: the hero's one loop. */
.recheck-card {
  position: absolute; left: 5rem; bottom: 2rem; width: 19rem; z-index: 2;
  padding: 1rem 1.1rem 1.1rem; border-radius: var(--r-md);
  background: #fbf8f2; border: 1px solid rgba(6, 43, 138, 0.16);
  box-shadow: 0 1px 2px rgba(6, 25, 80, 0.1), 0 16px 32px -18px rgba(6, 25, 80, 0.4);
  color: #0c1b45;
}
.recheck-row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; min-height: 2rem; }
.recheck-label { font-size: 0.8125rem; font-weight: 500; color: #4f5b7a; }
.recheck-state {
  margin-top: 0.35rem; display: flex; align-items: center; gap: 0.55rem;
  font-size: 1rem; font-weight: 560; letter-spacing: -0.01em; min-height: 1.6em;
}
.recheck-state::before {
  content: ""; flex: none; width: 1rem; height: 1rem; border-radius: 50%;
  background: var(--ink) center / 0.65rem no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23e6dbc7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.recheck[data-tone="wait"] .recheck-state::before { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(6, 43, 138, 0.35); }
.recheck[data-tone="run"] .recheck-state::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); }
.recheck-bar { margin-top: 0.8rem; height: 3px; border-radius: 999px; background: rgba(6, 43, 138, 0.12); overflow: hidden; }
.recheck-bar > span { display: block; height: 100%; width: 100%; background: var(--ink); transform-origin: left; transform: scaleX(1); }
.loop-pause {
  flex: none; width: 2rem; height: 2rem; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 0; background: var(--ink); color: var(--bg); cursor: pointer; padding: 0;
  transition: transform var(--m-out) var(--m-ease);
}
.loop-pause:hover { transform: translateY(-1px); }
.loop-pause svg { width: 0.75rem; height: 0.75rem; fill: currentColor; }
.loop-pause .i-play { display: none; }
.recheck[data-paused="true"] .loop-pause .i-pause { display: none; }
.recheck[data-paused="true"] .loop-pause .i-play { display: inline; }

@media (max-width: 63.99rem) {
  .hero { min-height: 0; }
  .hero-copy h1 { max-width: 14ch; }
  .hero-art { height: 26rem; }
}
@media (max-width: 40rem) {
  .hero { padding-block: 2.25rem 3rem; }
  .hero-grid { gap: 2rem; }
  .hero-copy h1 { font-size: clamp(2.3rem, 10.5vw, 2.75rem); }
  .lede { font-size: 1.0625rem; margin-top: 1.1rem; }
  .hero-actions { margin-top: 1.6rem; }
  .hero-actions .button { width: 100%; min-height: 3rem; }
  .hero-art { height: auto; padding: 1rem 0 1rem 1rem; }
  .app-window { position: relative; inset: auto; margin-right: -1rem; }
  .app-body { height: auto; }
  .app-rows li:nth-child(n+3) { display: none; }
  .app-body { grid-template-columns: 1fr; }
  .app-rail, .row-owner, .recheck-card { display: none; }
  .app-main { padding: 1rem 2rem 1rem 1rem; }
  .app-rows li { grid-template-columns: 2.25rem minmax(0, 1fr) auto; }
}

/* ---------- Lists: rules, no bullets ---------- */
.rule-list { list-style: none; border-top: 1px solid var(--line); }
.rule-list li { padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 40rem) {
  .two-col { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2.5rem; border-top: 0; }
  .two-col li:nth-child(-n+2) { border-top: 1px solid var(--line); }
}
.fine { margin-top: 1.5rem; font-size: 0.9375rem; line-height: 1.55; color: var(--ink); max-width: 40rem; }
.fine strong { color: var(--ink); }

/* ---------- Fit ---------- */
.fit-grid { display: grid; gap: 3rem; }
@media (min-width: 48rem) { .fit-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem 4rem; } }
.fit-col h3 { margin-bottom: 1rem; }

/* ---------- The three parts of the work ---------- */
.work-grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 64rem) {
  .work-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; }
  .work-copy { grid-column: 1 / span 6; }
  .work-visual { grid-column: 8 / span 5; position: relative; }
}
.work-meta { margin-top: 0.75rem; font-size: 0.9375rem; font-weight: 500; color: var(--muted); }
.work .section-lede { margin-bottom: 1.75rem; }
.work .rule-list li { font-size: 1rem; }

.panel {
  padding: 1.5rem; border-radius: var(--r-md);
  background: var(--paper); border: 1px solid var(--line);
  color: #0c1b45;
}
.panel-title { margin-bottom: 1.1rem; font-family: var(--font-mono); font-size: 0.8125rem; color: #4f5b7a; }
.rubric { display: grid; gap: 1rem; }
.rubric-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0.4rem 1rem; }
.rubric-name { font-size: 0.9375rem; font-weight: 500; }
.rubric-score { font-family: var(--font-mono); font-size: 0.875rem; }
.rubric-bar { grid-column: 1 / -1; height: 6px; border-radius: 999px; background: rgba(6, 43, 138, 0.1); overflow: hidden; }
.rubric-bar > span { display: block; height: 100%; border-radius: inherit; background: var(--ink); }
.rubric-low .rubric-bar > span { background: rgba(6, 43, 138, 0.42); }
.rubric-bar > span.f1 { width: 88%; }
.rubric-bar > span.f2 { width: 62%; }
.rubric-bar > span.f3 { width: 38%; }
.rubric-bar > span.f4 { width: 26%; }
.rubric-bar > span.f5 { width: 72%; }

.diff { display: grid; gap: 0.35rem; font-family: var(--font-mono); font-size: 0.875rem; line-height: 1.6; }
.diff span { display: block; padding: 0.3rem 0.6rem; border-radius: 6px; }
.diff .del { color: #4f5b7a; text-decoration: line-through; text-decoration-color: rgba(6, 43, 138, 0.45); }
.diff .add { background: rgba(6, 43, 138, 0.08); }

.ledger { list-style: none; border-top: 1px solid rgba(6, 43, 138, 0.12); }
.ledger li {
  display: grid; grid-template-columns: 2.25rem minmax(0, 1fr) auto; align-items: center; gap: 0.75rem;
  min-height: 3.1rem; border-bottom: 1px solid rgba(6, 43, 138, 0.12); font-size: 0.9375rem; font-weight: 500;
}

/* ---------- Process ---------- */
.timeline { list-style: none; border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: 1rem; padding-block: 1.75rem; border-bottom: 1px solid var(--line); }
.step-marker { font-family: var(--font-display); font-stretch: var(--display-stretch); font-size: 1.75rem; font-weight: 500; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.step-body { display: grid; gap: 0.5rem 2.5rem; }
@media (min-width: 64rem) {
  .step-body { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
  .step-body h3, .step-body .step-when { grid-column: 1; }
  .step-body > p:not(.step-when) { grid-column: 2; }
  .step-body h3 { grid-row: 1; }
  .step-body .step-when { grid-row: 2; }
  .step-body > p:not(.step-when):not(.approval) { grid-row: 1 / span 2; }
}
.step-when { font-size: 0.9375rem; color: var(--muted); }
.approval { font-size: 1rem; }

/* ---------- Pricing: the brand band ---------- */
.section-band { background: var(--p-inv-bg); color: var(--p-inv-ink); }
.section-band h2, .section-band h3, .section-band .section-lede { color: var(--p-inv-ink); }
.section-band .rule-list, .section-band .rule-list li, .section-band .two-col li:nth-child(-n+2) { border-color: rgba(230, 219, 199, 0.22); }
.section-band :focus-visible { outline-color: var(--p-inv-ink); }
.pricing-grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 64rem) { .pricing-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: 4rem; } }
.price-card { padding: 2rem; border-radius: var(--r-lg); background: var(--paper); color: var(--ink); }
.price-card .tag { border-color: var(--line-strong); color: var(--ink); }
.section-band .price-card :focus-visible { outline-color: var(--ink); }
.price-main { margin-top: 1.25rem; display: flex; align-items: baseline; gap: 0.35rem; flex-wrap: wrap; }
.price-amount {
  font-family: var(--font-display); font-stretch: var(--display-stretch);
  font-size: clamp(1.9rem, 1.35rem + 1.6vw, 2.625rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.price-unit, .price-sub, .price-fine { color: var(--ink); }
.price-sub { margin-top: 0.6rem; }
.price-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.price-total-label { font-weight: 500; }
.price-total-amount { font-size: 1.375rem; font-weight: 560; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.price-card .button { margin-top: 1.5rem; min-height: 3rem; }
.price-fine { margin-top: 1rem; font-size: 0.9375rem; }
.pricing-details h3 { margin-bottom: 0.75rem; }
.pricing-details .rule-list + h3 { margin-top: 2.5rem; }
.band-note { color: var(--p-inv-ink); max-width: 40rem; }

/* ---------- FAQ: every answer open ---------- */
.faq-grid { display: grid; gap: 0 4rem; }
@media (min-width: 56rem) { .faq-grid { grid-template-columns: 1fr 1fr; } }
.faq-item { padding-block: 1.6rem; border-top: 1px solid var(--line); }
.faq-item p { margin-top: 0.6rem; font-size: 1rem; }

/* ---------- Enquiry ---------- */
.enquire-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 64rem) {
  .enquire-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; }
  .enquire-grid > .section-head { grid-column: 1 / span 5; margin-bottom: 0; }
  .enquire-form-col { grid-column: 7 / span 6; }
}
.notice { margin-top: 1.5rem; font-size: 0.9375rem; line-height: 1.55; color: var(--ink); }
.booking-panel { padding: 1.5rem; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line); margin-bottom: 1.5rem; }
.booking-kicker { font-size: 0.875rem; font-weight: 500; color: var(--muted); }
.booking-text { margin-top: 0.35rem; }
.booking-panel .button { margin-top: 1rem; }
.booking-embed { margin-top: 1rem; }
.booking-iframe { width: 100%; min-height: 40rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; }
.or-divider { display: flex; align-items: center; gap: 1rem; margin: 0 0 1.5rem; color: var(--muted); font-size: 0.9375rem; }
.or-divider::before, .or-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.enquiry-form { padding: clamp(1.25rem, 4vw, 2rem); border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); }
.form-grid { display: grid; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.field label { font-size: 0.875rem; font-weight: 500; }
.req { color: var(--muted); }
input[type="text"], input[type="url"], input[type="email"], select, textarea {
  width: 100%; min-height: 3rem; padding: 0.65rem 0.9rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: #fffdf9; border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  transition: border-color var(--m-in) var(--m-ease), box-shadow var(--m-in) var(--m-ease);
}
input::placeholder, textarea::placeholder { color: rgba(50, 83, 164, 0.7); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(6, 43, 138, 0.14); }
[aria-invalid="true"] { border-color: #a32a12; }
.hint { font-size: 0.875rem; color: var(--ink); }
.field-error { font-size: 0.875rem; font-weight: 500; color: #a32a12; }
.form-actions { margin-top: 1.5rem; }
.form-actions .button { min-height: 3rem; }
@media (max-width: 40rem) { .form-actions .button { width: 100%; } }
.form-status { margin-top: 1rem; min-height: 1.5em; font-size: 0.9375rem; }
#enquiry-submit.is-sending::before {
  content: ""; width: 0.85rem; height: 0.85rem; border-radius: 50%;
  border: 2px solid rgba(230, 219, 199, 0.4); border-top-color: var(--action-ink);
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.enquiry-success { padding: clamp(1.25rem, 4vw, 2rem); border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line-strong); }
.enquiry-success > p { margin-top: 0.6rem; }
.privacy-note { margin-top: 1.25rem; font-size: 0.875rem; color: var(--ink); }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { padding-block: 4.5rem 2rem; background: var(--bg); }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 40rem) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 70rem) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 3rem; } }
.footer-grid > * { min-width: 0; }
.footer-tagline { margin-top: 1rem; max-width: 30ch; color: var(--ink); }
.footer-heading { margin-bottom: 0.75rem; font-size: 0.875rem; font-weight: 500; color: var(--muted); }
.footer-nav ul { list-style: none; }
.footer-nav a, .footer-company > a { display: flex; align-items: center; min-height: 44px; text-decoration: none; overflow-wrap: anywhere; }
.footer-nav a:hover, .footer-company > a:hover { text-decoration: underline; text-decoration-color: currentColor; }
.footer-company p { margin-bottom: 0.4rem; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--muted); }
.details-list { margin: 0; display: grid; gap: 0.6rem; }
.details-list div { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; font-size: 0.9375rem; }
.details-list dt { color: var(--muted); }
.details-list dd { margin: 0; }
@media (max-width: 30rem) { .details-list div { grid-template-columns: 1fr; gap: 0.1rem; } }

/* ---------- Documents (privacy, sample report, enquiry response) ---------- */
.document-page { max-width: 48rem; padding-block: 3rem 4rem; }
.document-page h1 { font-size: clamp(2.1rem, 6vw, 3rem); }
.document-page h2 { margin-top: 2.25rem; font-size: 1.375rem; }
.document-page p, .document-page li { margin-top: 0.75rem; }
.document-page ul { padding-left: 1.25rem; }
.document-page .document-nav { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-bottom: 2.5rem; }
.document-page .tag { margin-bottom: 1rem; }
.fit-card { margin-top: 1.75rem; padding: 1.75rem; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); }
.example-details { display: grid; margin: 1rem 0 0; border-top: 1px solid var(--line); }
.example-details div { display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: 1rem; padding-block: 0.85rem; border-bottom: 1px solid var(--line); }
.example-details dt { font-size: 0.9375rem; font-weight: 500; color: var(--muted); }
.example-details dd { margin: 0; }
@media (max-width: 40rem) { .example-details div { grid-template-columns: 1fr; gap: 0.2rem; } }
.enquiry-response { max-width: 42rem; margin: 4rem auto; padding: 1.5rem; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .loop-pause { display: none !important; }
}

/* ---------- Print ---------- */
@media print {
  body, .section-alt, .section-band { background: #fff; color: #000; }
  .site-header, .skip-link, .enquiry-form, .booking-embed, .hero-art, .work-visual { display: none !important; }
  .section { padding-block: 1.5rem; }
  .hero { min-height: 0; }
  h1, h2, h3, .section-band h2, .section-band h3, .section-band .section-lede { color: #000; }
  .price-card { background: #fff; border: 1px solid #000; color: #000; }
  .price-unit, .price-sub, .price-fine, .band-note { color: #222; }
  a { color: inherit; }
}
