/* Surer AI website
   Layout idea: a warm, centred editorial site. Off-white paper, Charcoal ink, Sage as the one accent.
   Signature: the sage thread. Fine lines run behind every page title and react when the pointer
   crosses them; the same line carries the customer journey graph and the hand-drawn underline.
   Violet and Indigo appear only in the supplied logo and the tagline. Brand Guidelines v1.1; one theme by choice. */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/Inter-Regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/Inter-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/Inter-Bold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: italic; font-display: swap; src: url("../fonts/Inter-BoldItalic.woff2") format("woff2"); }
@font-face { font-family: "Lora"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/Lora-Italic.woff2") format("woff2"); }

:root {
  /* brand colours */
  --charcoal: #1B1D23;
  --off-white: #F6F4EE;
  --sage: #A8C6AC;
  --violet: #9B8CE6;
  --indigo: #2B1F5C;
  --sage-tint: #D7E6D3;
  --hairline: #D5D4D0;
  --white: #FFFFFF;
  --error: #A4281B; /* functional, outside the brand palette: form errors only */

  --font-sans: "Inter", Arial, Helvetica, sans-serif;
  --font-serif: "Lora", Georgia, serif;

  --t-fine: 0.875rem;
  --t-small: 0.9375rem;
  --t-body: 1.0625rem;
  --t-lede: 1.1875rem;
  --t-h3: 1.25rem;
  --t-h2: clamp(1.875rem, 1.2rem + 2.4vw, 2.75rem);
  --t-h1: clamp(2.5rem, 1.2rem + 5vw, 4.5rem);
  --t-page: clamp(2.375rem, 1.4rem + 3.8vw, 3.75rem);

  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(64px, 8vw, 112px);
  --radius-card: 18px;
  --radius-control: 10px;
  --shadow-card: 0 1px 2px rgba(27, 29, 35, 0.06), 0 14px 32px -14px rgba(27, 29, 35, 0.2);

  --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
  --ease-out-quart: cubic-bezier(0.165, 0.84, 0.44, 1);
  --ease-in-out: cubic-bezier(0.645, 0.045, 0.355, 1);

  /* contextual roles: light field defaults */
  --fg: var(--charcoal);
  --heading: var(--charcoal);
  --muted: rgba(27, 29, 35, 0.72);
  --link: var(--charcoal);
  --focus: var(--charcoal);
  --rule: var(--hairline);
  --mark: var(--sage);
  --btn-bg: var(--charcoal);
  --btn-fg: var(--off-white);
  --btn-border: var(--charcoal);
  --btn-bg-hover: var(--sage);
  --btn-fg-hover: var(--charcoal);
  --btn-tint: var(--sage-tint);

  color-scheme: light;
}

.section-sage-tint { --rule: rgba(27, 29, 35, 0.2); --mark: var(--charcoal); --btn-tint: var(--white); }
.section-sage { --muted: rgba(27, 29, 35, 0.82); --rule: rgba(27, 29, 35, 0.3); --mark: var(--charcoal); --btn-bg-hover: var(--off-white); --btn-tint: rgba(246, 244, 238, 0.5); }
.section-night, .price-retainer, .site-footer {
  --fg: var(--off-white); --heading: var(--off-white); --muted: rgba(246, 244, 238, 0.74);
  --link: var(--sage); --focus: var(--sage); --rule: rgba(246, 244, 238, 0.2); --mark: var(--sage);
  --btn-bg: var(--sage); --btn-fg: var(--charcoal); --btn-border: var(--sage);
  --btn-bg-hover: var(--off-white); --btn-fg-hover: var(--charcoal); --btn-tint: rgba(168, 198, 172, 0.16);
  color: var(--fg);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--off-white); color: var(--fg);
  font: 400 var(--t-body)/1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: rgba(168, 198, 172, 0.35); overflow-wrap: break-word;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, blockquote, fieldset, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { color: var(--heading); text-wrap: balance; }
h1:focus { outline: none; }
p { text-wrap: pretty; }
a, button, input, select, textarea, label, summary { touch-action: manipulation; }
strong { font-weight: 600; }
a { color: var(--link); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
@media (hover: hover) and (pointer: fine) {
  a:hover { text-decoration-thickness: 3px; text-decoration-color: var(--sage); }
  .section-sage a:hover, .section-sage-tint a:hover { text-decoration-color: currentColor; }
}

.wrap { width: min(100% - 2 * var(--gutter), 1160px); margin-inline: auto; }
.wrap.narrow { width: min(100% - 2 * var(--gutter), 760px); }
.centred { text-align: center; }
.centred > * { margin-inline: auto; }
.nb { white-space: nowrap; }
.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 100; padding: 10px 16px; border-radius: var(--radius-control);
  background: var(--charcoal); color: var(--off-white); text-decoration: none; transform: translateY(-200%);
}
.skip-link:focus-visible { transform: none; outline-color: var(--sage); }

/* ---------- type ---------- */
h2 { font: 600 var(--t-h2)/1.12 var(--font-sans); letter-spacing: -0.02em; }
h3 { font: 600 var(--t-h3)/1.3 var(--font-sans); letter-spacing: -0.01em; }
.lede { font-size: var(--t-lede); line-height: 1.5; max-width: 34em; }
.fine { font-size: var(--t-fine); line-height: 1.55; color: var(--muted); }
/* the human voice: Lora italic, used for asides and statements */
.kicker { font: italic 400 1.25rem/1.3 var(--font-serif); color: var(--muted); }
.section-night .kicker { color: var(--sage); }

.tagline { font-size: 1.25rem; line-height: 1.3; } /* styling fixed by the brand guide */
.tagline-q { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--charcoal); }
.tagline-a { font-family: var(--font-sans); font-style: italic; font-weight: 700; color: var(--indigo); white-space: nowrap; }
.site-footer .tagline-q { color: var(--off-white); }
.site-footer .tagline-a { color: var(--violet); }

.marks { display: grid; gap: 8px; text-align: left; }
.marks li { position: relative; padding-left: 28px; }
.marks li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 16px; height: 3px; border-radius: 3px; background: var(--mark); }
.marks-quiet { color: var(--muted); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; }
.statement-light, .statement-dark { font: italic 400 clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem)/1.45 var(--font-serif); padding-left: 22px; border-left: 3px solid var(--sage); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border: 2px solid var(--btn-border); border-radius: var(--radius-control);
  font: 600 1rem/1.2 var(--font-sans); text-decoration: none; cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 120ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn-secondary { background: transparent; color: var(--fg); }
.btn-small { min-height: 44px; padding: 9px 16px; font-size: var(--t-small); }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--btn-bg-hover); color: var(--btn-fg-hover); }
  .btn-secondary:hover { background: var(--btn-tint); }
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.centred .hero-actions, .centred-actions { justify-content: center; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; background: rgba(246, 244, 238, 0.94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline); transition: background-color 200ms ease, border-color 200ms ease;
}
.js .site-header:not(.is-solid) { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.header-row { display: flex; align-items: center; gap: 24px; height: 68px; transition: height 200ms var(--ease-out); }
.js .site-header:not(.is-solid) .header-row { height: 108px; }
.brand { display: block; flex: none; border-radius: 6px; }
.brand .brand-full { display: none; }
.js .site-header:not(.is-solid) .brand .brand-mark { display: none; }
.js .site-header:not(.is-solid) .brand .brand-full { display: block; }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; align-items: center; gap: 26px; }
.site-nav ul a { display: inline-flex; align-items: center; min-height: 44px; color: var(--fg); font-size: var(--t-small); text-decoration: none; }
.site-nav ul a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--sage); text-decoration-thickness: 3px; text-underline-offset: 7px; }
@media (hover: hover) and (pointer: fine) {
  .site-nav ul a:hover { text-decoration: underline; text-decoration-color: var(--sage); text-decoration-thickness: 3px; text-underline-offset: 7px; }
}
.menu-toggle {
  display: none; margin-left: auto; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px;
  background: transparent; border: 2px solid var(--charcoal); border-radius: var(--radius-control);
  color: var(--fg); font: 600 var(--t-small)/1 var(--font-sans); cursor: pointer;
}
.menu-toggle-bars, .menu-toggle-bars::before { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 200ms var(--ease-in-out); }
.menu-toggle-bars { position: relative; transform: translateY(-3px); }
.menu-toggle-bars::before { content: ""; position: absolute; left: 0; top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars { transform: translateY(0) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: translateY(-6px) rotate(-90deg); }

@media (max-width: 1099px) {
  .js .menu-toggle { display: inline-flex; }
  .js .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 16px;
    padding: 8px var(--gutter) 24px; background: var(--off-white); border-bottom: 1px solid var(--hairline);
    box-shadow: 0 24px 32px -24px rgba(27, 29, 35, 0.25); max-height: calc(100dvh - 68px); overflow-y: auto; overscroll-behavior: contain;
  }
  .js .site-header.is-open .site-nav { display: flex; }
  .js .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .js .site-nav ul a { display: flex; min-height: 52px; border-bottom: 1px solid var(--hairline); font-size: 1.0625rem; }
  html:not(.js) .header-row { height: auto; flex-wrap: wrap; padding-block: 8px; }
  html:not(.js) .site-nav, html:not(.js) .site-nav ul { flex-wrap: wrap; gap: 4px 18px; }
}
@keyframes panel-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (max-width: 1099px) and (prefers-reduced-motion: no-preference) { .js .site-header.is-open .site-nav { animation: panel-in 200ms var(--ease-out) both; } }
@media (max-width: 479px) {
  .header-row { gap: 12px; }
  .menu-toggle { width: 48px; padding: 8px; justify-content: center; }
  .menu-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (max-width: 351px) { /* below the horizontal logo's 240px minimum, use the monogram */
  .js .site-header:not(.is-solid) .brand .brand-full { display: none; }
  .js .site-header:not(.is-solid) .brand .brand-mark { display: block; }
  .js .site-header:not(.is-solid) .header-row { height: 76px; }
}

/* ---------- pages ---------- */
.js .page[hidden] { display: none; }
@keyframes page-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) { .js .page.is-entering { animation: page-in 320ms var(--ease-out) both; } }
html:not(.js) .page + .page { border-top: 1px solid var(--hairline); }

/* ---------- threads (pointer-reactive lines behind page titles) ---------- */
.threads-host { position: relative; isolation: isolate; overflow: hidden; }
.threads { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

/* ---------- hero ---------- */
.hero { padding: calc(108px + clamp(28px, 5vw, 64px)) 0 clamp(72px, 9vw, 120px); text-align: center; }
.hero-inner > * { margin-inline: auto; }
.hero h1 { margin-top: 20px; max-width: 12.5em; font: 600 var(--t-h1)/1.05 var(--font-sans); letter-spacing: -0.03em; }
/* one word in the human voice, underlined by hand */
.hand { position: relative; display: inline-block; font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; padding-inline: 0.04em; }
.hand svg { position: absolute; left: -2%; bottom: -0.12em; width: 104%; height: 0.36em; overflow: visible; }
.hand path { fill: none; stroke: var(--sage); stroke-width: 5; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.hand path + path { stroke-width: 3; opacity: 0.7; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .hand path { animation: draw 700ms var(--ease-out-quart) 350ms both; }
  .hand path + path { animation-delay: 800ms; animation-duration: 500ms; }
}
.hero-lede { margin-top: 26px; max-width: 34em; font-size: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem); line-height: 1.5; }
.hero .hero-actions { margin-top: 34px; justify-content: center; }
.hero-facts { margin-top: clamp(48px, 6vw, 72px); max-width: 860px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 40px; }
.hero-facts dt { font-weight: 600; font-size: 1.125rem; }
.hero-facts dd { margin-top: 4px; font-size: var(--t-small); line-height: 1.45; color: var(--muted); }
@media (max-width: 640px) {
  .hero { padding-top: calc(108px + 20px); padding-bottom: 120px; }
  .hero-facts { grid-template-columns: 1fr; gap: 18px; max-width: 320px; }
  .hero .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- page head ---------- */
.page-head { padding: calc(108px + clamp(28px, 5vw, 56px)) 0 clamp(48px, 6vw, 80px); }
.page-head h1 { font: 600 var(--t-page)/1.08 var(--font-sans); letter-spacing: -0.028em; }
.page-head .lede { margin-top: 20px; }

/* ---------- sections ---------- */
.section { padding-block: var(--section); }
.section-tight { padding-top: 0; }
.section-white { background: var(--white); }
.section-sage-tint { background: var(--sage-tint); }
.section-sage { background: var(--sage); }
.section-night { background: var(--charcoal); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.centred { justify-items: center; }
.section .narrow.centred { display: grid; gap: 20px; justify-items: center; }
.centred-link, .centred-note { text-align: center; margin-top: 36px; }
.centred-note { margin-inline: auto; max-width: 40em; }

/* ---------- home: scenes ---------- */
.scenes { width: 100%; margin-block: 12px; }
.scenes li { padding: 20px 0; border-top: 1px solid var(--rule); font: italic 400 clamp(1.3125rem, 1.05rem + 1.2vw, 1.875rem)/1.3 var(--font-serif); }
.scenes li:last-child { border-bottom: 1px solid var(--rule); }

/* ---------- home: three steps ---------- */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; position: relative; }
.trio::before { content: ""; position: absolute; left: 16.66%; right: 16.66%; top: 22px; height: 3px; border-radius: 3px; background: var(--sage); }
.trio li { display: grid; gap: 10px; justify-items: center; text-align: center; padding-inline: clamp(12px, 2.5vw, 32px); }
.trio-num, .step-num { position: relative; display: grid; place-items: center; width: 46px; height: 46px; background: var(--sage); border: 4px solid var(--off-white); border-radius: 50%; font: 700 1rem/1 var(--font-sans); font-variant-numeric: tabular-nums; }
.trio p { font-size: var(--t-small); line-height: 1.6; max-width: 26em; }
@media (max-width: 760px) {
  .trio { grid-template-columns: 1fr; gap: 32px; }
  .trio::before { display: none; }
}

/* ---------- home: services index ---------- */
.index { max-width: 920px; margin-inline: auto; border-bottom: 1px solid var(--hairline); }
.index li { border-top: 1px solid var(--hairline); }
.index a {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 28px; gap: 8px 32px; align-items: baseline;
  padding: 22px 16px; color: var(--charcoal); text-decoration: none; font-weight: 400; border-radius: 12px;
  transition: background-color 180ms ease;
}
.index-name { font: 600 clamp(1.25rem, 1rem + 1vw, 1.75rem)/1.2 var(--font-sans); letter-spacing: -0.015em; }
.index-note { font-size: var(--t-small); line-height: 1.5; color: var(--muted); }
.index a::after { content: "\2192"; font-size: 1.375rem; line-height: 1; justify-self: end; transition: transform 180ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .index a:hover { background: var(--sage-tint); }
  .index a:hover::after { transform: translateX(6px); }
}
@media (max-width: 640px) { .index a { grid-template-columns: minmax(0, 1fr) 28px; padding-inline: 4px; } .index-note { grid-column: 1; grid-row: 2; } .index a::after { grid-row: 1; grid-column: 2; } }

/* ---------- home: journey doors ---------- */
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 920px; margin-inline: auto; }
.door {
  display: grid; gap: 6px; padding: 32px; background: var(--white); border: 2px solid var(--charcoal); border-radius: var(--radius-card);
  color: var(--charcoal); text-decoration: none; font-weight: 400; text-align: left;
  transition: background-color 180ms ease, transform 180ms var(--ease-out);
}
.door-label { font-size: var(--t-small); color: var(--muted); }
.door-name { font: 600 1.5rem/1.2 var(--font-sans); letter-spacing: -0.015em; }
.door-quote { margin-top: 14px; font: italic 400 1.1875rem/1.4 var(--font-serif); }
.door-go { margin-top: 18px; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
@media (hover: hover) and (pointer: fine) { .door:hover { background: var(--sage-tint); transform: translateY(-3px); } }
@media (max-width: 720px) { .doors { grid-template-columns: 1fr; } }

/* ---------- services ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.feature-copy { display: grid; gap: 18px; justify-items: start; }
.feature-copy h2 { max-width: 16em; }
.feature-steps { counter-reset: fs; border-top: 1px solid var(--rule); }
.feature-steps li { counter-increment: fs; position: relative; padding: 16px 0 16px 44px; border-bottom: 1px solid var(--rule); font-size: var(--t-small); line-height: 1.55; color: var(--muted); }
.feature-steps li strong { color: var(--off-white); }
.feature-steps li::before { content: counter(fs); position: absolute; left: 0; top: 14px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--sage); color: var(--charcoal); font: 700 0.8125rem/1 var(--font-sans); }

.svc-list { border-bottom: 1px solid var(--hairline); }
.svc { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 16px clamp(24px, 6vw, 88px); padding: clamp(28px, 4vw, 44px) 0; border-top: 1px solid var(--hairline); scroll-margin-top: 88px; }
.svc header { display: grid; gap: 8px; align-content: start; }
.svc h3 { font: 600 clamp(1.375rem, 1.1rem + 1vw, 1.875rem)/1.15 var(--font-sans); letter-spacing: -0.02em; }
.svc-price { font-size: var(--t-small); line-height: 1.5; color: var(--muted); max-width: 22em; }
.svc > div { display: grid; gap: 16px; align-content: start; }
.callout { display: grid; gap: 8px; margin-top: 8px; padding: 22px 24px; background: var(--sage-tint); border-left: 4px solid var(--sage); border-radius: 0 12px 12px 0; }
.callout-date { font: 700 0.8125rem/1.3 var(--font-sans); letter-spacing: 0.09em; text-transform: uppercase; }
.callout .fine { color: var(--charcoal); }

/* ---------- how it works ---------- */
.how-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.steps { display: grid; }
.step { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); padding-bottom: 44px; }
.step:last-child { padding-bottom: 0; }
.step::before { content: ""; position: absolute; left: 21px; top: 46px; bottom: 0; width: 3px; background: var(--sage); }
.step:last-child::before { display: none; }
.step-body { display: grid; gap: 12px; padding-top: 6px; }
.step-body h2 { font: 600 1.5rem/1.25 var(--font-sans); letter-spacing: -0.015em; }
.step-body p { max-width: 36em; }
.report { position: sticky; top: 100px; background: var(--white); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 32px; overflow: hidden; }
.report::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--sage); }
.report-kicker { font: italic 400 1.0625rem/1.3 var(--font-serif); color: var(--muted); }
.report h2 { margin-top: 6px; font: 600 var(--t-h3)/1.3 var(--font-sans); letter-spacing: -0.01em; }
.report-list { counter-reset: report; margin: 20px 0 20px; }
.report-list li { counter-increment: report; position: relative; padding: 14px 0 14px 36px; border-top: 1px solid var(--hairline); font-size: var(--t-small); line-height: 1.5; }
.report-list li:last-child { border-bottom: 1px solid var(--hairline); }
.report-list li::before { content: counter(report); position: absolute; left: 0; top: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }

.faq-list { border-bottom: 1px solid var(--hairline); }
.faq-list details { border-top: 1px solid var(--hairline); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; padding: 16px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.125rem; line-height: 1.35; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-right: 6px; border-right: 2px solid var(--charcoal); border-bottom: 2px solid var(--charcoal); transform: translateY(-3px) rotate(45deg); transition: transform 200ms var(--ease-in-out); }
.faq-list details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq-list details[open] summary { text-decoration: underline; text-decoration-color: var(--sage); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.faq-list details p { padding: 0 40px 24px 0; max-width: 40em; }
@media (prefers-reduced-motion: no-preference) {
  @supports (interpolate-size: allow-keywords) {
    .faq-list { interpolate-size: allow-keywords; }
    .faq-list details::details-content { block-size: 0; overflow: clip; transition: block-size 240ms var(--ease-out), content-visibility 240ms allow-discrete; }
    .faq-list details[open]::details-content { block-size: auto; }
  }
}

/* ---------- pricing ---------- */
.size-switch { margin-top: 32px; display: grid; justify-items: center; }
.size-switch legend { padding: 0; margin: 0 auto 10px; font-weight: 600; font-size: var(--t-small); }
.segmented { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; background: var(--white); border: 1px solid rgba(27, 29, 35, 0.5); border-radius: 12px; }
.segmented input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.segmented label { position: relative; z-index: 1; display: grid; place-items: center; min-width: 116px; min-height: 44px; padding: 8px 18px; border-radius: 9px; font-weight: 600; font-variant-numeric: tabular-nums; cursor: pointer; }
.segmented input:focus-visible + label { outline: 2px solid var(--focus); outline-offset: 3px; }
.segmented-thumb { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); background: var(--sage); border-radius: 9px; transition: transform 250ms var(--ease-in-out); }
#size-large:checked ~ .segmented-thumb { transform: translateX(100%); }
.pricing:has(#size-small:checked) [data-size="large"], .pricing:has(#size-large:checked) [data-size="small"] { display: none; }
@keyframes swap { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) { .pricing [data-size] { animation: swap 220ms ease-out both; } }

.price-grid { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr) minmax(0, 1.1fr); gap: 20px; align-items: start; }
.price { display: grid; gap: 14px; align-content: start; padding: 32px; border-radius: var(--radius-card); }
.price > div { display: grid; gap: 14px; }
.price h2 { font: 600 var(--t-h3)/1.3 var(--font-sans); letter-spacing: -0.01em; }
.price h3 { margin-top: 10px; font: 700 0.8125rem/1.3 var(--font-sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.price-audit { background: var(--sage-tint); --mark: var(--charcoal); --rule: rgba(27, 29, 35, 0.2); }
.price-build { background: var(--white); box-shadow: var(--shadow-card); }
.price-retainer { background: var(--charcoal); }
.price-step { font: italic 400 1.0625rem/1.3 var(--font-serif); color: var(--muted); }
.price-retainer .price-step { color: var(--sage); }
.price-figure { font: 600 2rem/1.15 var(--font-sans); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--heading); }
.price-figure .per { font-size: 1rem; font-weight: 400; letter-spacing: 0; color: var(--muted); white-space: nowrap; }
.price-note { margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--rule); font-size: var(--t-fine); line-height: 1.55; color: var(--muted); }
.packages { display: grid; }
.packages li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding: 14px 0; border-top: 1px solid var(--hairline); }
.package-name, .package-price { font-weight: 600; font-variant-numeric: tabular-nums; }
.package-scope { grid-column: 1 / -1; font-size: var(--t-small); line-height: 1.5; color: var(--muted); }

.payback { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(40px, 7vw, 104px); align-items: center; }
.payback-copy { display: grid; gap: 20px; justify-items: start; }
.payback-copy > p { max-width: 36em; }
.statement { padding-left: 24px; border-left: 3px solid var(--sage); }
.statement p { font: italic 400 clamp(1.3125rem, 1.1rem + 0.9vw, 1.625rem)/1.4 var(--font-serif); max-width: 24em; }
.timeline { position: relative; display: grid; gap: 34px; padding-left: 40px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 10px; bottom: 34px; width: 2px; background: var(--sage); border-radius: 2px; }
.timeline li { position: relative; display: grid; gap: 2px; }
.timeline li::before { content: ""; position: absolute; left: -40px; top: 4px; width: 18px; height: 18px; border: 2px solid var(--sage); border-radius: 50%; background: var(--charcoal); }
.timeline li:last-child::before { background: var(--sage); }
.timeline-when { font: 700 0.75rem/1.3 var(--font-sans); letter-spacing: 0.09em; text-transform: uppercase; color: var(--sage); }
.timeline-what { font-weight: 600; font-size: 1.125rem; }

/* ---------- journeys ---------- */
.persona-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 760px; margin: 0 auto clamp(32px, 4vw, 48px); }
html:not(.js) .persona-tabs { display: none; }
.persona-tabs button {
  min-height: 60px; padding: 12px 18px; background: var(--white); border: 2px solid var(--charcoal); border-radius: var(--radius-control);
  font: 600 1rem/1.25 var(--font-sans); color: var(--charcoal); cursor: pointer; transition: background-color 150ms ease, transform 120ms var(--ease-out);
}
.persona-tabs button[aria-selected="true"] { background: var(--sage); }
.persona-tabs button:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .persona-tabs button[aria-selected="false"]:hover { background: var(--sage-tint); } }

.journey[hidden] { display: none; }
html:not(.js) .journey + .journey { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--hairline); }
.persona { display: grid; gap: 12px; justify-items: center; text-align: center; max-width: 720px; margin: 0 auto 28px; }
.persona h2 { font: 600 1.5rem/1.25 var(--font-sans); letter-spacing: -0.015em; }
.persona-turn { font: italic 400 1.1875rem/1.45 var(--font-serif); }

.graph { position: relative; margin-top: 8px; touch-action: pan-y; }
.graph svg { width: 100%; height: auto; overflow: visible; }
.graph .g-grid { stroke: var(--hairline); stroke-width: 1; stroke-dasharray: 2 5; }
.graph .g-area { fill: var(--sage-tint); opacity: 0.75; }
.graph .g-line { fill: none; stroke: var(--charcoal); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.graph .g-guide { stroke: var(--charcoal); stroke-width: 1; stroke-dasharray: 3 4; opacity: 0; vector-effect: non-scaling-stroke; transition: opacity 150ms ease; }
.graph.is-hover .g-guide { opacity: 0.45; }
.graph .g-node { fill: var(--sage); stroke: var(--charcoal); stroke-width: 2; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; transition: transform 200ms var(--ease-out), fill 150ms ease; cursor: pointer; }
.graph .g-node.is-active { fill: var(--charcoal); transform: scale(1.45); }
.graph .g-mot { fill: none; stroke: var(--sage); stroke-width: 3; vector-effect: non-scaling-stroke; }
.graph-axis { position: absolute; left: 0; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); pointer-events: none; }
.graph-axis.top { top: 6%; } .graph-axis.bottom { bottom: 8%; left: auto; right: 0; }
.graph-feel {
  position: absolute; transform: translate(-50%, calc(-100% - 20px)); padding: 6px 12px; white-space: nowrap; pointer-events: none;
  background: var(--charcoal); color: var(--off-white); border-radius: 999px; font: italic 400 1rem/1.2 var(--font-serif);
  transition: left 260ms var(--ease-out), top 260ms var(--ease-out);
}
@media (prefers-reduced-motion: reduce) { .graph-feel, .graph .g-node { transition: none; } }
@keyframes draw-line { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: no-preference) { .graph.is-drawing .g-line { stroke-dasharray: 1; animation: draw-line 900ms var(--ease-out) both; } .graph.is-drawing .g-area { animation: swap 900ms ease-out both; } }

.phase-tabs { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); margin-top: 6px; }
.phase-tabs button {
  display: grid; gap: 4px; justify-items: center; align-content: start; min-height: 64px; padding: 10px 4px;
  background: none; border: 0; border-top: 3px solid var(--hairline); border-radius: 0; cursor: pointer;
  font: 600 0.8125rem/1.25 var(--font-sans); color: var(--muted); text-align: center; transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease;
}
.phase-tabs .n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--white); border: 1.5px solid var(--charcoal); color: var(--charcoal); font-size: 0.8125rem; font-variant-numeric: tabular-nums; }
.phase-tabs button[aria-selected="true"] { color: var(--charcoal); border-top-color: var(--charcoal); background: var(--sage-tint); }
.phase-tabs button[aria-selected="true"] .n { background: var(--charcoal); color: var(--off-white); }
.phase-tabs button:focus-visible { outline-offset: -3px; }
.phase-tabs .star { font-size: 0.6875rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--charcoal); background: var(--sage); padding: 1px 6px; border-radius: 999px; }
@media (max-width: 860px) { .phase-tabs .t { display: none; } .phase-tabs .star { font-size: 0; padding: 0; width: 8px; height: 8px; } .phase-tabs button { min-height: 56px; } }

.phases { margin-top: 28px; }
html:not(.js) .phases { counter-reset: ph; display: grid; gap: 32px; }
.js .phase { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 24px clamp(24px, 5vw, 72px); align-items: start; padding: clamp(24px, 4vw, 40px); background: var(--white); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.js .phase[hidden] { display: none; }
.phase-head { display: grid; gap: 12px; justify-items: start; align-content: start; }
.phase-count { font-size: var(--t-small); color: var(--muted); font-variant-numeric: tabular-nums; }
.phase h3 { font: 600 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.15 var(--font-sans); letter-spacing: -0.02em; }
.phase-badge { display: inline-block; padding: 4px 12px; background: var(--sage); border-radius: 999px; font-size: var(--t-fine); font-weight: 600; }
.phase-quote { font: italic 400 clamp(1.25rem, 1.05rem + 0.9vw, 1.625rem)/1.35 var(--font-serif); padding-left: 20px; border-left: 3px solid var(--sage); }
.phase-nav { display: flex; gap: 10px; margin-top: 8px; }
.phase dl { display: grid; gap: 18px; }
.phase dt { font: 700 0.8125rem/1.3 var(--font-sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.phase dd { margin-top: 4px; }
.js .phase .thinking { display: none; }
.phase .we { padding: 16px 18px; background: var(--sage-tint); border-radius: 12px; }
.phase .we dt { color: var(--charcoal); }
@media (prefers-reduced-motion: no-preference) { .js .phase:not([hidden]) { animation: swap 240ms ease-out both; } }
.journey-note { max-width: 44em; margin: 28px auto 0; text-align: center; }
@media (max-width: 860px) { .js .phase { grid-template-columns: minmax(0, 1fr); } }

.table-scroll { overflow-x: auto; border-radius: 12px; }

/* the whole path: a loop of eight steps. A plain list by default; a drawn loop on wide screens with JavaScript */
.loop { position: relative; max-width: 560px; margin-inline: auto; }
.loop-art { display: none; }
.loop-steps { position: relative; display: grid; gap: 6px; }
.loop-steps::before { content: ""; position: absolute; left: 21px; top: 24px; bottom: 24px; width: 6px; border-radius: 6px; background: var(--sage); }
.loop-step { position: relative; display: grid; }
.loop-node { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: center; width: 100%; min-height: 56px; padding: 4px 0; background: none; border: 0; color: var(--charcoal); text-align: left; font: inherit; cursor: pointer; }
.loop-dot { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--white); border: 2px solid var(--charcoal); font: 700 1rem/1 var(--font-sans); font-variant-numeric: tabular-nums; transition: background-color 180ms ease, color 180ms ease, transform 220ms var(--ease-out), box-shadow 220ms ease; }
.is-mot .loop-dot { background: var(--sage); box-shadow: 0 0 0 4px var(--white), 0 0 0 6px var(--sage); }
.loop-node[aria-expanded="true"] .loop-dot { background: var(--charcoal); color: var(--off-white); transform: scale(1.12); }
.loop-label { display: grid; gap: 3px; }
.loop-name { font: 600 1.125rem/1.25 var(--font-sans); letter-spacing: -0.01em; }
.loop-mot { justify-self: start; padding: 2px 10px; background: var(--sage); border-radius: 999px; font-size: 0.75rem; font-weight: 600; }
.loop-sub { font: italic 400 0.9375rem/1.35 var(--font-serif); color: var(--muted); }
.loop-detail { display: grid; gap: 8px; padding: 4px 0 18px 64px; }
.js .loop-detail[hidden] { display: none; }
.loop-count { font: italic 400 1rem/1.3 var(--font-serif); color: var(--muted); }
.loop-title { display: none; font: 600 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.15 var(--font-sans); letter-spacing: -0.02em; }
.loop-get { padding: 10px 14px; background: var(--sage-tint); border-radius: 10px; font-size: var(--t-small); line-height: 1.5; }
.loop-return { margin-top: 18px; padding-left: 64px; font: italic 400 1.0625rem/1.4 var(--font-serif); color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .loop-node:hover .loop-dot { transform: scale(1.12); } }
@media (prefers-reduced-motion: no-preference) { .js .loop-detail:not([hidden]) { animation: swap 260ms ease-out both; } }

@media (min-width: 1000px) {
  .js .loop { max-width: 1120px; aspect-ratio: 1000 / 560; container-type: inline-size; }
  .js .loop-art { display: block; position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
  .js .loop-steps { position: static; display: block; }
  .js .loop-steps::before, .js .loop-return { display: none; }
  .js .loop-step { position: static; display: block; }
  .js .loop-node { position: absolute; left: var(--x); top: var(--y); display: block; width: 48px; min-height: 0; height: 48px; padding: 0; transform: translate(-50%, -50%); border-radius: 50%; }
  .js .loop-label { position: absolute; left: 50%; width: 150px; width: 13.6cqw; transform: translateX(-50%); justify-items: center; text-align: center; }
  .js .loop-name { font-size: clamp(0.875rem, 1.5cqw, 1.125rem); }
  .js .loop-sub { font-size: clamp(0.8125rem, 1.3cqw, 0.9375rem); }
  .js .loop-mot { font-size: clamp(0.6875rem, 1.05cqw, 0.75rem); white-space: nowrap; }
  .js .loop-top .loop-label { bottom: calc(100% + 16px); }
  .js .loop-bottom .loop-label { top: calc(100% + 16px); }
  .js .loop-mot { justify-self: center; }
  .js .loop-detail { position: absolute; left: 30%; right: 30%; top: 30%; bottom: 30%; padding: 0; align-content: center; justify-items: center; text-align: center; }
  .js .loop-detail { font-size: clamp(0.9375rem, 1.55cqw, 1.0625rem); line-height: 1.5; gap: clamp(4px, 0.7cqw, 8px); }
  .js .loop-title { display: block; font-size: clamp(1.375rem, 2.9cqw, 2rem); }
  .js .loop-get { font-size: clamp(0.8125rem, 1.4cqw, 0.9375rem); }
  .js .loop-detail > p:not([class]) { max-width: 24em; }
  .js .loop-get { max-width: 26em; }
  .loop-base, .loop-main, .loop-back, .loop-progress { fill: none; stroke-linecap: round; }
  .loop-base { stroke: var(--sage-tint); stroke-width: 16; }
  .loop-main { stroke: var(--sage); stroke-width: 16; }
  .loop-back { stroke: var(--charcoal); stroke-width: 2; stroke-dasharray: 1 9; }
  .loop-progress { stroke: var(--charcoal); stroke-width: 3; stroke-dasharray: 0 1886; }
  .loop-back-label { font: italic 400 19px var(--font-serif); fill: var(--charcoal); }
  .loop-traveller .halo { fill: var(--sage); opacity: 0.45; }
}
@media (min-width: 1000px) and (prefers-reduced-motion: no-preference) {
  .js .loop.is-drawing .loop-main { stroke-dasharray: 1383; animation: loop-draw 1200ms var(--ease-out) both; }
  @keyframes loop-draw { from { stroke-dashoffset: 1383; } to { stroke-dashoffset: 0; } }
}
.scroll-hint { display: none; margin-bottom: 10px; text-align: center; font-size: var(--t-fine); color: var(--muted); }
@media (max-width: 800px) { .scroll-hint { display: block; } }

.blueprint { width: 100%; min-width: 720px; border-collapse: collapse; font-size: var(--t-small); line-height: 1.5; text-align: left; }
.blueprint th, .blueprint td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.blueprint thead th { font: 700 0.8125rem/1.3 var(--font-sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--charcoal); }
.blueprint tbody th { font-weight: 600; white-space: nowrap; }
.blueprint td:nth-child(3) { background: linear-gradient(var(--sage-tint), var(--sage-tint)) padding-box; padding-left: 16px; }
.centred-actions { margin-top: 40px; }

/* ---------- about and policy ---------- */
.prose { display: grid; gap: 18px; }
.prose h2 { margin-top: 28px; font: 600 1.625rem/1.2 var(--font-sans); letter-spacing: -0.02em; }
.prose > h2:first-child { margin-top: 0; }
.prose .hero-actions { margin-top: 20px; }
.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.principle { display: grid; gap: 10px; align-content: start; padding-top: 20px; border-top: 3px solid var(--sage); }
.principle h3 { font-size: 1.125rem; }
.principle p { font-size: var(--t-small); line-height: 1.6; }
.details { border-top: 1px solid var(--hairline); }
.details > div { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 4px 20px; padding: 12px 0; border-bottom: 1px solid var(--hairline); }
.details dt { font-weight: 600; }
.policy cite { font-style: italic; }

/* ---------- request form ---------- */
.request { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.request-form { --btn-tint: var(--sage-tint); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; padding: clamp(24px, 4vw, 40px); background: var(--white); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.field { display: grid; gap: 8px; align-content: start; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field > label:not(.choice), .field legend { padding: 0; font-weight: 600; font-size: var(--t-small); }
.choice-group legend { margin-bottom: 8px; }
.optional { margin-left: 6px; font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; background: var(--white); color: var(--charcoal);
  border: 1px solid rgba(27, 29, 35, 0.5); border-radius: var(--radius-control); font: 400 1rem/1.4 var(--font-sans);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--charcoal) 50%), linear-gradient(135deg, var(--charcoal) 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 14px) 21px; background-size: 6px 6px; background-repeat: no-repeat; }
.field input::placeholder, .field textarea::placeholder { color: rgba(27, 29, 35, 0.64); opacity: 1; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--charcoal); outline-offset: 1px; border-radius: var(--radius-control); box-shadow: 0 0 0 5px var(--sage-tint); }
.field [aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 1px var(--error); }
.field-help { font-size: var(--t-fine); line-height: 1.5; color: var(--muted); }
.field-error { font-size: var(--t-fine); line-height: 1.45; font-weight: 600; color: var(--error); }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.checks { display: grid; gap: 10px; justify-items: start; }
.choice { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 9px 16px 9px 12px; border: 1px solid var(--hairline); border-radius: var(--radius-control); cursor: pointer; font-size: 1rem; font-weight: 400; transition: background-color 150ms ease, border-color 150ms ease; }
.choice input { width: 20px; height: 20px; margin: 0; accent-color: var(--charcoal); flex: none; }
.choice:has(input:checked) { background: var(--sage-tint); border-color: var(--charcoal); }
.choice:has(input:focus-visible) { outline: 2px solid var(--charcoal); outline-offset: 2px; }
.choice input:focus-visible { outline: none; }
@media (hover: hover) and (pointer: fine) { .choice:hover { border-color: rgba(27, 29, 35, 0.5); } }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 6px; }
.form-actions .fine { flex: 1 1 220px; }
.spinner { display: none; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; }
.is-sending .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: no-preference) { .is-sending .spinner { animation: spin 700ms linear infinite; } }
.form-status:empty { display: none; }
.status-card { display: grid; gap: 12px; justify-items: start; padding: 22px 24px; background: var(--sage-tint); border-left: 4px solid var(--sage); border-radius: 0 12px 12px 0; }
.status-card h3 { font-size: 1.125rem; }
.status-card pre { width: 100%; margin: 0; padding: 16px; background: var(--white); border-radius: 8px; font: 400 0.875rem/1.55 var(--font-sans); white-space: pre-wrap; overflow-wrap: anywhere; }
.status-card .btn-secondary { --btn-tint: var(--white); }
.status-card .btn-primary { --btn-bg-hover: var(--white); }
.next { display: grid; gap: 16px; padding-top: 8px; }
.next-contact { font-size: var(--t-small); }
.next h2 { font: 600 1.5rem/1.25 var(--font-sans); letter-spacing: -0.015em; }
.next-list { counter-reset: nx; display: grid; gap: 0; border-top: 1px solid var(--hairline); }
.next-list li { counter-increment: nx; position: relative; padding: 16px 0 16px 44px; border-bottom: 1px solid var(--hairline); }
.next-list li::before { content: counter(nx); position: absolute; left: 0; top: 14px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--sage); font: 700 0.8125rem/1 var(--font-sans); }

/* ---------- footer ---------- */
.site-footer { background: var(--charcoal); padding-block: clamp(56px, 7vw, 88px) 40px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 40px clamp(32px, 7vw, 104px); }
.footer-brand { display: grid; gap: 20px; justify-items: start; align-content: start; }
.footer-nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--off-white); font-size: var(--t-small); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .footer-nav a:hover { color: var(--sage); text-decoration: underline; } }
.footer-fine { grid-column: 1 / -1; display: grid; gap: 6px; padding-top: 28px; border-top: 1px solid var(--rule); font-size: var(--t-fine); color: var(--muted); }
.footer-contact { display: flex; flex-wrap: wrap; gap: 4px 24px; font-size: var(--t-small); }
.footer-contact a { display: inline-flex; align-items: center; min-height: 44px; color: var(--off-white); }
@media (hover: hover) and (pointer: fine) { .footer-contact a:hover { color: var(--sage); } }
.thanks { min-height: 62vh; display: grid; align-content: center; }
.thanks .hero-actions { margin-top: 32px; justify-content: center; }

/* ---------- helpers ---------- */
html:not(.js) .js-only { display: none; }
.js .nojs-only { display: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* ---------- ink: a pen line that draws itself under buttons and navigation ---------- */
:root { --ink-line: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 8' preserveAspectRatio='none'%3E%3Cpath d='M1.5 5 C 16 1.8, 30 7, 49 3.8 S 83 2, 98.5 4.6' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); }
.btn, .footer-nav a { position: relative; }
.btn::after, .footer-nav a::after {
  content: ""; position: absolute; left: 22px; right: 22px; bottom: 7px; height: 6px; background: currentColor; pointer-events: none;
  -webkit-mask: var(--ink-line) center / 100% 100% no-repeat; mask: var(--ink-line) center / 100% 100% no-repeat;
  clip-path: inset(0 100% 0 0);
}
.btn-small::after { left: 16px; right: 16px; bottom: 5px; }
.footer-nav a::after { left: 0; right: 0; bottom: 6px; background: var(--sage); }
.btn:focus-visible::after, .footer-nav a:focus-visible::after { clip-path: inset(0); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover::after, .footer-nav a:hover::after { clip-path: inset(0); }
  .footer-nav a:hover { text-decoration: none; }
}
@media (min-width: 1100px) {
  .site-nav ul a { position: relative; }
  .site-nav ul a::after {
    content: ""; position: absolute; left: -2px; right: -2px; bottom: 4px; height: 7px; background: var(--sage); pointer-events: none;
    -webkit-mask: var(--ink-line) center / 100% 100% no-repeat; mask: var(--ink-line) center / 100% 100% no-repeat;
    clip-path: inset(0 100% 0 0);
  }
  .site-nav ul a[aria-current="page"], .site-nav ul a:hover { text-decoration: none; }
  .site-nav ul a[aria-current="page"]::after, .site-nav ul a:focus-visible::after { clip-path: inset(0); }
}
@media (min-width: 1100px) and (hover: hover) and (pointer: fine) { .site-nav ul a:hover::after { clip-path: inset(0); } }
@media (prefers-reduced-motion: no-preference) {
  .btn::after, .footer-nav a::after, .site-nav ul a::after { transition: clip-path 300ms var(--ease-out); }
}

/* ---------- home: a week that clears ---------- */
.week-wrap { display: grid; gap: 20px; justify-items: center; }
.week { width: 100%; display: grid; gap: 22px; justify-items: center; margin-block: 12px; }
.week-days { width: 100%; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; text-align: left; }
.day {
  display: grid; grid-template-rows: auto 1fr; gap: 12px; min-height: 236px; padding: 14px 10px 10px; border-radius: 14px;
  background: var(--white) repeating-linear-gradient(to bottom, transparent 0 37px, rgba(27, 29, 35, 0.07) 37px 38px);
}
.day-rest { background-color: rgba(255, 255, 255, 0.5); }
.day-name { padding-left: 2px; font: 600 var(--t-small)/1 var(--font-sans); }
.day-name abbr { text-decoration: none; }
.day-rest .day-name { font: italic 400 1.0625rem/1 var(--font-serif); }
.job {
  position: relative; align-self: end; display: grid; gap: 10px; justify-items: start; width: 100%; padding: 12px 10px; margin: 0;
  border: 1.5px solid var(--charcoal); border-radius: 10px; background: var(--off-white); color: var(--charcoal);
  font: 400 0.875rem/1.35 var(--font-sans); text-align: left;
  transition: background-color 180ms ease, border-color 180ms ease, transform 120ms var(--ease-out);
}
button.job { cursor: pointer; }
button.job:active { transform: scale(0.97); }
.job-text { position: relative; display: block; transition: color 180ms ease; }
.job-time { padding: 3px 8px; margin-left: -8px; white-space: nowrap; border-radius: 999px; font-weight: 600; font-size: 0.8125rem; font-variant-numeric: tabular-nums; transition: background-color 180ms ease; }
.job-strike { position: absolute; left: -3px; top: 0; width: calc(100% + 6px); height: 100%; overflow: visible; pointer-events: none; }
.job-strike { clip-path: inset(-6px 100% -6px -6px); }
.job-strike path { fill: none; stroke: var(--charcoal); stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.job[aria-pressed="true"] { background: transparent; border-color: rgba(27, 29, 35, 0.35); border-style: dashed; }
.job[aria-pressed="true"] .job-text { color: rgba(27, 29, 35, 0.62); }
.job[aria-pressed="true"] .job-time { background: var(--sage); margin-left: 0; }
.job[aria-pressed="true"] .job-strike { clip-path: inset(-6px); }
@media (hover: hover) and (pointer: fine) { button.job[aria-pressed="false"]:hover { background: var(--sage-tint); } }
@media (prefers-reduced-motion: no-preference) { .job-strike { transition: clip-path 340ms var(--ease-out); } }
.week-total { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; }
.week-figure { font-size: var(--t-lede); }
.week-figure strong { margin-right: 6px; font: 600 clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem)/1.1 var(--font-sans); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.week .fine { max-width: 36em; }
@media (max-width: 1099px) {
  .week-days { max-width: 560px; grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .day { grid-template-rows: auto; grid-template-columns: 44px minmax(0, 1fr); align-items: center; min-height: 0; padding: 8px 8px 8px 14px; background-image: none; }
  .job { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .job-time { margin-left: 0; }
}

/* ---------- services: the ISO/IEC 42001 wheel ---------- */
.step-hold { display: block; margin-top: 4px; color: var(--sage); }
.step-hold-label { font-weight: 600; }
.js .feature-steps.is-wheeled { display: none; }
.wheel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; justify-items: center; }
.wheel-ring { position: relative; width: min(100% - 44px, 348px); aspect-ratio: 1; margin: 22px; }
.wheel-art { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transform: rotate(-90deg); }
.wheel-base { fill: none; stroke: var(--rule); stroke-width: 1.5; }
.wheel-progress { fill: none; stroke: var(--sage); stroke-width: 4; stroke-linecap: round; }
.wheel-nodes { position: absolute; inset: 0; }
.wheel-node {
  position: absolute; left: var(--x); top: var(--y); width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 0;
  border: 1.5px solid rgba(246, 244, 238, 0.55); border-radius: 50%; background: var(--charcoal); color: var(--off-white);
  font: 600 1rem/1 var(--font-sans); font-variant-numeric: tabular-nums; cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms var(--ease-out);
}
.wheel-node.is-done { border-color: var(--sage); color: var(--sage); }
.wheel-node[aria-selected="true"] { background: var(--sage); border-color: var(--sage); color: var(--charcoal); transform: scale(1.2); }
.wheel-centre { position: absolute; inset: 24%; display: grid; place-content: center; justify-items: center; gap: 4px; pointer-events: none; }
.wheel-big { font: 600 clamp(4.5rem, 3rem + 5vw, 6rem)/0.9 var(--font-sans); letter-spacing: -0.04em; color: var(--sage); font-variant-numeric: tabular-nums; }
.wheel-of { font: italic 400 1.1875rem/1.2 var(--font-serif); color: var(--muted); }
.wheel-panel { display: grid; gap: 10px; align-content: start; width: 100%; max-width: 30em; min-height: 12.5em; text-align: center; }
.wheel-panel h3 { font: 600 1.375rem/1.25 var(--font-sans); letter-spacing: -0.015em; color: var(--off-white); }
.wheel-text { color: var(--muted); }
.wheel-hold { color: var(--off-white); }
.wheel-hold-label { font: italic 400 1.0625rem/1 var(--font-serif); color: var(--sage); }
@media (prefers-reduced-motion: no-preference) {
  .wheel-progress { transition: stroke-dashoffset 420ms var(--ease-in-out); }
  .wheel-panel.is-swapping { animation: swap 240ms ease-out both; }
}

/* ---------- pricing: time estimator ---------- */
.estimator { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.estimator-copy { display: grid; gap: 24px; }
.estimator-copy h2 { max-width: 12em; }
.slider { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: baseline; }
.slider label { font-weight: 600; }
.slider output { font-weight: 600; font-variant-numeric: tabular-nums; }
.slider input { grid-column: 1 / -1; width: 100%; height: 44px; margin: 0; accent-color: var(--charcoal); cursor: pointer; }
.estimator-result { display: grid; gap: 14px; justify-items: start; }
.estimator-figure { font-size: var(--t-lede); }
.estimator-figure strong { margin-right: 8px; font: 600 clamp(3.25rem, 2rem + 5vw, 5rem)/0.95 var(--font-sans); letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.estimator-days { font-weight: 600; }
.year { width: 100%; display: grid; grid-template-rows: repeat(5, auto); grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 3px; margin-top: 6px; }
.year span { aspect-ratio: 1; border-radius: 50%; background: var(--sage-tint); transition: background-color 140ms ease; }
.year span.on { background: var(--charcoal); }
.year-key { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: var(--t-fine); color: var(--muted); }
.year-key span { display: inline-flex; align-items: center; gap: 8px; }
.year-key i { width: 10px; height: 10px; border-radius: 50%; background: var(--sage-tint); }
.year-key i.on { background: var(--charcoal); }
.estimator-result .btn { margin-top: 6px; }

/* ---------- self-check ---------- */
.check { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.check-list { border-top: 1px solid var(--hairline); }
.check-list > li { padding: 28px 0; border-bottom: 1px solid var(--hairline); }
.check-q { position: relative; display: grid; gap: 12px; min-width: 0; margin: 0; padding: 0 0 0 46px; border: 0; }
.check-q legend { padding: 0; font: 600 var(--t-h3)/1.3 var(--font-sans); letter-spacing: -0.012em; }
.check-num { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--sage); font: 700 0.875rem/1 var(--font-sans); }
.check-q .choice { background: var(--white); }
.check-q .choice:has(input:checked) { background: var(--sage-tint); }
.check-fix { font-size: var(--t-small); color: var(--muted); }
.js .check-fix { display: none; }
.check-result { position: sticky; top: 96px; display: grid; gap: 16px; justify-items: start; padding: clamp(24px, 3.5vw, 36px); background: var(--white); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.check-result h2 { font: 600 1.5rem/1.25 var(--font-sans); letter-spacing: -0.015em; }
.check-gauge { width: 100%; height: auto; overflow: visible; }
.check-gauge path { fill: none; stroke: rgba(27, 29, 35, 0.3); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1 7; }
.check-gauge path.is-yes { stroke: var(--sage); stroke-width: 5; stroke-dasharray: none; }
.check-gauge path.is-unsure, .check-gauge path.is-no { stroke: var(--charcoal); stroke-dasharray: none; }
.check-progress { color: var(--muted); }
.check-score { display: flex; align-items: baseline; gap: 10px; font: italic 400 1.375rem/1 var(--font-serif); color: var(--muted); }
.check-score strong { font: 600 4.5rem/0.9 var(--font-sans); letter-spacing: -0.04em; color: var(--charcoal); font-variant-numeric: tabular-nums; }
.check-verdict, .check-fixes { display: grid; gap: 12px; justify-items: start; width: 100%; }
.check-verdict h3 { font: 600 1.625rem/1.2 var(--font-sans); letter-spacing: -0.02em; }
.check-fixes h3 { margin-top: 6px; font-size: 1.0625rem; }
.check-gaps { width: 100%; border-bottom: 1px solid var(--hairline); }
.check-gaps li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--hairline); }
.check-gaps p { grid-column: 1 / -1; font-size: var(--t-small); color: var(--muted); }
.gap-state { padding: 2px 9px; border-radius: 999px; background: var(--sage-tint); font-size: 0.8125rem; font-weight: 600; white-space: nowrap; }
.check-result .hero-actions .btn { --btn-tint: var(--sage-tint); }
.check [hidden] { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1023px) {
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-audit { grid-column: 1 / -1; }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .how-grid, .payback, .request, .feature, .estimator, .check { grid-template-columns: minmax(0, 1fr); }
  .check-result { position: static; }
  .svc { grid-template-columns: minmax(0, 1fr); }
  .report { position: relative; top: auto; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 719px) {
  .price-grid { grid-template-columns: minmax(0, 1fr); }
  .request-form { grid-template-columns: minmax(0, 1fr); }
  .step { grid-template-columns: 58px minmax(0, 1fr); }
  .price, .report, .door { padding: 24px; }
  .faq-list details p { padding-right: 0; }
  .persona-tabs { grid-template-columns: minmax(0, 1fr); }
  .details > div { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 519px) {
  .principles { grid-template-columns: minmax(0, 1fr); }
  .packages li { grid-template-columns: minmax(0, 1fr); }
}
@media print {
  .site-header, .menu-toggle, .hero-actions, .request-form, .threads { display: none; }
  .section-night, .section-sage, .site-footer { background: none; color: #000; }
  .js .page[hidden] { display: block; }
}
