/* =====================================================================
   HAIZION: ONE STYLESHEET FOR EVERY PAGE
   Look: warm cream ground with soft colour glows in the hero (after
   todiagram.com), navy panels and orange accents (after fynza.com), pastel cards with an ink border and a hard offset
   shadow (after todiagram.com), a floating glass header (after the
   Makau Foods site). Colours and sizes are set once in :root below.
   ===================================================================== */

/* ---------- Font: Archivo (SIL Open Font Licence, file in /assets/fonts) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations"),
       url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

/* ---------- Colours, type and spacing ---------- */
:root {
  /* Ground and ink (fynza: light grey, slate, navy, orange) */
  --ground: #FCFAF6;      /* page background: todiagram's warm cream */
  --paper: #FFFFFF;       /* white cards and app screens */
  --ink: #16181D;         /* text, borders and hard shadows */
  --slate: #42536F;       /* captions and small print (6.5:1 on the ground) */
  --navy: #1A2E7A;       /* big panels and selected choices */
  --orange: #FF6633;      /* the one action colour: fills, lines, the wash (never behind white text) */
  --orange-text: #B8431F; /* orange for small text (4.6:1 or better on every card colour) */
  --orange-big: #BD3609;  /* orange for large headline words (3:1 or better) */
  --line: rgba(22, 24, 29, 0.16);

  /* Card colours (todiagram: peach, mint, lavender; plus a pale blue) */
  --peach: #FFE8CD;
  --mint: #D1F5E4;
  --lavender: #E5DBFC;
  --sky: #DCE6FF;
  --green: #1F9D45;

  --font: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --step-h1: clamp(2.5rem, 1.3rem + 3.1vw, 3.875rem);
  --step-h2: clamp(2rem, 1.5rem + 2.2vw, 3.25rem);
  --step-h3: 1.5rem;
  --step-body: 1.125rem;
  --step-small: 0.9375rem;
  --step-label: 0.875rem;

  --s1: 0.25rem; --s2: 0.5rem; --s3: 0.75rem; --s4: 1rem; --s5: 1.5rem;
  --s6: 2rem; --s7: 3rem; --s8: 4rem; --s9: 6rem;

  --gutter: 1.25rem;
  --max: 64rem;
  --radius-card: 20px;
  --shadow-card: 4px 4px 0 var(--ink);   /* 6px from tablet width up */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; scrollbar-color: var(--navy) var(--ground); }
body {
  margin: 0;
  background-color: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-body);
  line-height: 1.55;
  caret-color: var(--orange-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--navy); color: #fff; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
button, input { font: inherit; color: inherit; }
.num { font-variant-numeric: tabular-nums lining-nums; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

h1, h2, h3, h4 { font-weight: 800; color: var(--ink); text-wrap: balance; }
h1 { font-size: var(--step-h1); font-stretch: 72%; line-height: 1.0; letter-spacing: -0.01em; }
h2 { font-size: var(--step-h2); font-stretch: 75%; line-height: 1.04; letter-spacing: -0.005em; }
h3 { font-size: var(--step-h3); font-stretch: 85%; font-weight: 750; line-height: 1.2; }
h4 { font-size: 1.1875rem; font-stretch: 85%; font-weight: 750; line-height: 1.25; }
p, li, dd { text-wrap: pretty; }
.accent { color: var(--orange-big); }

:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible { outline-color: #fff; }

.skip { position: absolute; left: var(--s4); top: -4rem; z-index: 100; background: var(--paper); color: var(--ink); padding: var(--s3) var(--s4); font-weight: 650; border: 1px solid var(--ink); border-radius: 999px; }
.skip:focus { top: var(--s4); }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--read > * { max-width: 46rem; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.only-wide, .only-laptop { display: none; }
.btn.only-wide { display: none; }

/* ---------- Glass header: a floating pill that blurs what scrolls beneath it ---------- */
.glass { position: fixed; top: 0.75rem; left: 0.75rem; right: 0.75rem; z-index: 50; pointer-events: none; }
.glass__pill {
  pointer-events: auto; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
  padding: 0.375rem 0.5rem 0.375rem 1.25rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: blur(24px) saturate(1.5); backdrop-filter: blur(24px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 20px 45px rgba(22, 24, 29, 0.10);
  transition: background-color 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}
.glass.is-scrolled .glass__pill { background: rgba(255, 255, 255, 0.84); border-color: rgba(22, 24, 29, 0.10); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass__pill, .glass.is-scrolled .glass__pill { background: rgba(255, 255, 255, 0.96); }
}
.brand { display: inline-flex; align-items: center; gap: var(--s2); color: var(--ink); text-decoration: none; min-height: 2.75rem; }
.brand__mark { height: 1.9rem; width: auto; flex: none; }
.brand--logo { min-width: 2.75rem; justify-content: center; }
.brand--logo .brand__mark { height: 2.25rem; }
.brand__name { font-weight: 750; font-stretch: 90%; letter-spacing: 0.14em; text-transform: uppercase; font-size: 1.0625rem; }
.glass__nav { display: none; align-items: center; gap: var(--s1); }
.glass__nav a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 var(--s4); border-radius: 999px; color: var(--ink); font-size: 0.9375rem; font-weight: 600; text-decoration: none; transition: background-color 200ms ease; }
.glass__nav a:hover { background: rgba(22, 24, 29, 0.07); }
.glass__actions { display: flex; align-items: center; gap: var(--s2); }
.pill-link { display: inline-flex; align-items: center; gap: var(--s2); min-height: 2.75rem; padding: 0 var(--s4); border: 1px solid rgba(22, 24, 29, 0.3); border-radius: 999px; color: var(--ink); font-size: 0.9375rem; font-weight: 650; text-decoration: none; transition: background-color 200ms ease, border-color 200ms ease; }
.pill-link:hover { background: rgba(255, 255, 255, 0.7); border-color: var(--ink); }

/* ---------- Buttons, chips, tags ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 3.5rem; padding: 0 var(--s4);
  background: var(--orange); color: var(--ink); border: 1px solid var(--ink); border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 1.0625rem; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; touch-action: manipulation;
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.btn:hover { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.btn[disabled] { opacity: 0.55; cursor: progress; }
.btn--block { width: 100%; }
.btn--small { min-height: 2.75rem; padding: 0 var(--s4); font-size: 0.9375rem; box-shadow: 2px 2px 0 var(--ink); }
.btn .icon { width: 1.1em; height: 1.1em; }

.btn-ink, .btn-line {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 2.75rem; padding: 0 var(--s4); border: 1px solid var(--ink); border-radius: 999px;
  font-size: 0.9375rem; font-weight: 650; text-decoration: none; cursor: pointer; touch-action: manipulation;
  transition: background-color 150ms ease, transform 120ms ease;
}
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--navy); }
.btn-line { background: var(--paper); color: var(--ink); }
.btn-line:hover { background: var(--sky); }
.btn-ink:active, .btn-line:active { transform: translateY(1px); }

.link-btn { display: inline-flex; align-items: center; gap: var(--s2); min-height: 2.75rem; padding: 0; background: none; border: 0; color: var(--navy); font-weight: 650; cursor: pointer; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.link-btn:hover { text-decoration-thickness: 2px; }

.chip {
  display: inline-flex; align-items: center; gap: 0.4rem; align-self: flex-start;
  padding: 0.15rem 0.7rem 0.15rem 0.55rem; background: var(--paper); border: 1px solid var(--ink); border-radius: 999px; box-shadow: 2px 2px 0 var(--ink);
  font-family: var(--mono); font-size: 0.8125rem; font-weight: 600; line-height: 1.6; color: var(--ink);
}
.chip__dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--orange); }
.card--mint .chip__dot { background: var(--green); }
.card--lavender .chip__dot { background: #7C5CE0; }
.card--sky .chip__dot { background: var(--navy); }
.card--white .chip__dot { background: var(--navy); }

.tag, .badge {
  display: inline-flex; align-items: center; padding: 0.1rem 0.6rem; background: var(--paper); border: 1px solid var(--ink); border-radius: 999px;
  font-size: 0.8125rem; font-weight: 650; letter-spacing: 0.05em; text-transform: uppercase; line-height: 1.5; white-space: nowrap; color: var(--ink);
}
.badge--wait { background: var(--peach); }
.badge--approved { background: var(--mint); }
.badge--handed { background: var(--sky); }
.badge--unsure { background: var(--paper); border-style: dashed; }

/* ---------- Sections ---------- */
.sec { padding-block: var(--s8); }
.sec > .wrap > h2 { max-width: 26ch; }
.lede { margin-top: var(--s4); max-width: 60ch; }
.caption { margin-top: var(--s3); font-size: var(--step-small); color: var(--slate); }
.reassure { margin-top: var(--s3); font-size: var(--step-small); color: var(--slate); }

/* ---------- Cards: pastel fill, ink border, hard offset shadow ---------- */
.card {
  display: flex; flex-direction: column; gap: var(--s3);
  padding: var(--s5); background: var(--paper); border: 1px solid var(--ink); border-radius: var(--radius-card); box-shadow: var(--shadow-card);
  min-width: 0;
}
.card--peach { background: var(--peach); }
.card--mint { background: var(--mint); }
.card--lavender { background: var(--lavender); }
.card--sky { background: var(--sky); }
.card--white { background: var(--paper); }
.card p { font-size: 1.0625rem; line-height: 1.5; }
.card h3 { margin-top: var(--s1); }
.card__head { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s2); }
.card__today { color: #2f3e57; }
.card__line { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s2); }
.card__line--fix { margin-top: var(--s1); padding: var(--s3); background: var(--paper); border: 1.5px dashed var(--ink); border-radius: 14px; }
.card__line--fix > p { color: var(--ink); font-weight: 500; }
.mini { display: inline-flex; padding: 0 0.6rem; border: 1px solid var(--ink); border-radius: 999px; background: var(--paper); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; line-height: 1.6; color: var(--ink); }
.mini--fix { background: #D43C0D; color: #fff; } /* orange with white text (4.7:1, the nearest orange that keeps white readable) */
.card__extra { font-size: var(--step-small) !important; color: var(--slate); }
.cards { display: grid; gap: var(--s5); margin-top: var(--s6); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: 6.75rem; padding-bottom: var(--s8); }
.hero::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: calc(100% + 5rem); pointer-events: none; z-index: -1;
  background:
    radial-gradient(34rem 26rem at 96% 2%, rgba(255, 150, 80, 0.55), rgba(255, 150, 80, 0) 72%),
    radial-gradient(28rem 26rem at 0% 90%, rgba(110, 226, 168, 0.50), rgba(110, 226, 168, 0) 72%);
  -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent);
}
.hero__grid { display: grid; gap: var(--s7); }
.hero h1 { max-width: 16ch; }
.hero__badge { display: inline-block; margin-bottom: var(--s4); padding: 0.3rem 0.85rem; background: var(--paper); border: 1px solid var(--ink); border-radius: 999px; box-shadow: 2px 2px 0 var(--ink); font-size: 0.8125rem; font-weight: 650; line-height: 1.4; color: var(--ink); }
.hero__badge + h1 { max-width: 24ch; font-size: clamp(2rem, 1.3rem + 2vw, 2.875rem); line-height: 1.04; }
.hero__sub { margin-top: var(--s4); max-width: 46ch; }
.next-step { margin-top: var(--s5); padding: var(--s3); background: rgba(255, 255, 255, 0.75); border: 1px solid var(--ink); border-radius: var(--radius-card); box-shadow: 3px 3px 0 var(--ink); }
.next-step__label { display: block; margin-bottom: var(--s2); font-size: var(--step-label); font-weight: 650; font-stretch: 85%; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate); }
.next-step .btn { width: 100%; }
.link-down { display: inline-flex; align-items: center; gap: var(--s2); min-height: 2.75rem; margin-top: var(--s2); font-weight: 650; }
.software { margin-top: var(--s4); text-align: center; font-size: var(--step-small); color: var(--slate); max-width: 40rem; margin-inline: auto; }

/* ---------- Device: a phone on narrow screens, a laptop from 1024 px ---------- */
.device { max-width: 19.5rem; margin-inline: auto; }
.device__frame { position: relative; background: var(--ink); padding: 0.625rem; border-radius: 46px; box-shadow: 0 40px 70px -35px rgba(22, 24, 29, 0.55); }
.device__cam { position: absolute; z-index: 6; top: 1.25rem; left: 50%; width: 5.5rem; height: 1.625rem; transform: translateX(-50%); background: var(--ink); border-radius: 999px; }
.device__screen { position: relative; background: var(--paper); border-radius: 36px; overflow: hidden; container-type: inline-size; }
.device__screen::after { content: ""; position: absolute; z-index: 5; bottom: 0.5rem; left: 50%; width: 6rem; height: 4px; transform: translateX(-50%); border-radius: 99px; background: rgba(22, 24, 29, 0.55); }
.device__base { display: none; }
.device__hint { margin-top: var(--s4); text-align: center; font-size: var(--step-small); color: var(--slate); }

.app { display: flex; flex-direction: column; background: #F7F7F8; }
.app__bar { display: flex; align-items: center; gap: var(--s2); padding: 3.1rem var(--s4) var(--s2); background: var(--paper); border-bottom: 1px solid var(--line); }
.app__dots { display: none; gap: 6px; }
.app__dots i { width: 10px; height: 10px; border-radius: 50%; background: #FF6B5E; }
.app__dots i:nth-child(2) { background: #FFC23D; }
.app__dots i:nth-child(3) { background: #2DD16B; }
.app__title { flex: 1; min-width: 0; font-size: 0.75rem; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app__bar .tag { font-size: 0.6875rem; padding: 0 0.45rem; letter-spacing: 0.03em; }
.app__body { padding: var(--s3) var(--s3) 1.75rem; }
.app__side { margin-top: var(--s4); }
.try__more { display: flex; flex-wrap: wrap; gap: 0 var(--s5); margin-top: var(--s1); }

/* the sample job (the same look in the laptop, the phone, and the standalone "not sure" card) */
.app-card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; font-size: 0.875rem; }
.app-card.card { padding: 0; border-color: var(--ink); gap: 0; border-radius: var(--radius-card); }
.app-card__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: 0.75rem var(--s4); border-bottom: 1px solid var(--line); }
.app-card__title { font-weight: 750; font-size: 0.9375rem; }
.dno { color: var(--orange-text); font-family: var(--mono); font-weight: 600; margin-right: 0.3rem; font-size: 0.8125rem; }
.app-card__business { padding: var(--s2) var(--s4); border-bottom: 1px solid var(--line); font-weight: 650; }
.fields__row { display: grid; grid-template-columns: 6.25rem 1fr; border-bottom: 1px solid var(--line); }
.fields__row dt { padding: 0.6rem var(--s2) 0.6rem var(--s4); color: var(--slate); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; line-height: 1.6; }
.fields__row dd { padding: 0.5rem var(--s4) 0.5rem 0; line-height: 1.45; font-size: 0.9375rem; }
.fields__row dd textarea { width: 100%; min-height: 4.25rem; padding: var(--s2); border: 1px solid var(--ink); border-radius: 10px; font: inherit; line-height: 1.45; background: #fff; resize: vertical; }
.app-card__status { padding: 0.6rem var(--s4); border-bottom: 1px solid var(--line); font-weight: 600; line-height: 1.45; font-size: 0.9375rem; }
.app-card__status .label { color: var(--slate); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; margin-right: var(--s2); }
.app-card__actions { display: flex; flex-wrap: wrap; gap: var(--s2); padding: var(--s3) var(--s4); }
.app-card__actions > * { flex: 1 1 auto; }
.app-card__stub { display: flex; justify-content: space-between; gap: var(--s3); padding: 0.55rem var(--s4); border-top: 2px dashed var(--line); background: rgba(22, 24, 29, 0.03); font-family: var(--mono); font-size: 0.75rem; color: var(--slate); }
.app-card__stub .num { white-space: nowrap; }
.app-card__stub-text { font-family: var(--font); font-weight: 650; letter-spacing: 0.05em; text-transform: uppercase; }
.app-card--unsure .fields__row:last-child { border-bottom: 0; }
.app-card[data-state="approved"] .app-card__status { background: var(--mint); }
.app-card[data-state="handed"] .app-card__status { background: var(--sky); }
.app-card[data-state="unsure"] .app-card__status { background: var(--peach); }

/* the log beside (or under) the sample job */
.side__title { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate); padding-bottom: var(--s1); border-bottom: 1px solid var(--line); }
.minilog__list li { display: grid; grid-template-columns: 3rem 1fr; gap: 0 var(--s2); padding: 0.5rem 0; border-bottom: 1px solid var(--line); font-size: 0.8125rem; line-height: 1.4; }
.minilog__list .num { font-family: var(--mono); color: var(--navy); padding-top: 0.05em; }
.minilog__status { grid-column: 2; color: var(--slate); font-size: 0.75rem; font-weight: 600; }
.minilog__list li.is-new { animation: newrow 1400ms var(--ease-out); }
@keyframes newrow { 0% { background: var(--peach); transform: translateY(-8px); opacity: 0; } 25% { transform: none; opacity: 1; } 100% { background: transparent; } }

/* Page B's sample check */
.checklist__row { display: grid; grid-template-columns: 1fr auto; gap: var(--s1) var(--s3); align-items: start; padding: 0.65rem var(--s4); border-bottom: 1px solid var(--line); }
.checklist__row dt { line-height: 1.45; font-size: 0.9375rem; }
.checklist__row dd { display: contents; }
.checklist__note { grid-column: 1 / -1; font-size: 0.8125rem; color: var(--slate); }
.result { grid-column: 2; grid-row: 1; justify-self: end; padding: 0 0.55rem; border: 1px solid var(--ink); border-radius: 999px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.6; }
.result--pass { background: var(--mint); }
.result--fix { background: var(--peach); border-style: dashed; }

/* ---------- The "You" cursor (laptops with a mouse only) ---------- */
.you { display: none; position: absolute; z-index: 7; left: 0; top: 0; pointer-events: none; opacity: 0; will-change: transform; transition: opacity 160ms ease; }
.you__arrow { filter: drop-shadow(0 2px 3px rgba(22, 24, 29, 0.3)); }
.you__label { position: absolute; left: 1rem; top: 1.15rem; padding: 0.1rem 0.65rem; background: var(--ink); color: #fff; border-radius: 999px; font-size: 0.8125rem; font-weight: 650; line-height: 1.5; white-space: nowrap; }
.you.is-tap { display: block; opacity: 1; animation: tap 900ms var(--ease-out) forwards; }
@keyframes tap { 0% { opacity: 0; scale: 0.7; } 15% { opacity: 1; scale: 1; } 100% { opacity: 0; scale: 1; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 5px 7px; } }

/* ---------- Where the hours go / services / steps ---------- */
.prices { display: grid; gap: var(--s5); margin-top: var(--s6); }
.price { gap: var(--s3); }
.price__name { color: var(--ink); font-size: 1.1875rem; font-stretch: 85%; }
.price__amount { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s2); }
.price__amount .num { font-size: clamp(2.5rem, 2.2rem + 0.8vw, 2.875rem); font-weight: 800; font-stretch: 72%; line-height: 1; letter-spacing: -0.01em; }
.price__note { font-size: 1rem; color: var(--slate); }
.price__limits { margin-top: auto; padding: var(--s3); background: var(--paper); border: 1.5px dashed var(--ink); border-radius: 14px; font-size: var(--step-small) !important; }
.price-note { margin-top: var(--s6); font-weight: 650; }
.price__credit { font-weight: 650; color: var(--navy); font-size: var(--step-small) !important; }
.price__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); font-weight: 650; }
.price__list { display: grid; gap: var(--s2); justify-items: start; }
.price__list ul { display: grid; gap: var(--s2); padding-left: 1.1rem; list-style: disc; }
.price__list li { font-size: 1rem; line-height: 1.45; }
.final__sub { margin-top: var(--s4); font-size: 1.375rem; font-weight: 700; font-stretch: 85%; line-height: 1.2; }
.proof__single { max-width: 40rem; }
.facts h4 { font-size: 1.1875rem; }
.offer__plus { margin-top: var(--s5); font-weight: 600; }

.helpers { margin-top: var(--s8); }
.helpers__explainer { margin-top: var(--s2); max-width: 58ch; }
.helpers__grid { display: grid; gap: var(--s5); margin-top: var(--s5); }
.helper__name { font-size: 1.25rem; }
.helper__plain { font-weight: 650; color: var(--navy); font-size: var(--step-small) !important; }

.steps { display: grid; gap: var(--s5); margin-top: var(--s6); }
.step h3 { font-size: 1.3125rem; }

/* ---------- Proof ---------- */
.proof__block { margin-top: var(--s8); }
.proof__block > h3 { margin-bottom: var(--s4); }
.table-card { background: var(--paper); border: 1px solid var(--ink); border-radius: var(--radius-card); box-shadow: var(--shadow-card); overflow: hidden; }
.log, .checks { width: 100%; border-collapse: collapse; font-size: var(--step-small); }
.log th, .checks thead th { text-align: left; padding: var(--s3); background: var(--sky); border-bottom: 1px solid var(--ink); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.log td { padding: var(--s3); border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.4; }
.log td:first-child { font-family: var(--mono); font-size: 0.875rem; color: var(--navy); white-space: nowrap; }
.log tr:last-child td { border-bottom: 0; }
.log tr.is-new td { animation: newcell 1400ms var(--ease-out); }
@keyframes newcell { 0% { background: var(--peach); } 100% { background: transparent; } }
.log tr.is-unsure td:last-child { font-weight: 700; }
.checks tbody th { text-align: left; vertical-align: top; padding: var(--s3); border-bottom: 1px solid var(--line); font-weight: 700; white-space: nowrap; }
.checks td { padding: var(--s3); border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.5; }
.checks td a { white-space: nowrap; }
.checks tr:last-child th, .checks tr:last-child td { border-bottom: 0; }

.unsure__grid { display: grid; gap: var(--s6); }
.unsure__text { max-width: 46ch; font-size: 1.25rem; line-height: 1.45; font-weight: 500; }

.scenes { display: grid; gap: var(--s5); }
.scene__title { font-size: 1.1875rem; }
.scene__text { font-size: 1rem !important; }
.scene__sample { margin-top: auto; padding: var(--s3); background: var(--paper); border: 1.5px dashed var(--ink); border-radius: 14px; display: grid; gap: var(--s2); justify-items: start; }
.scene__sample p { font-size: 0.9375rem !important; }
.scene .tag { white-space: normal; max-width: 100%; }
.scene .caption { margin-top: 0; }
.demo-video video { width: 100%; height: auto; border: 1px solid var(--ink); border-radius: var(--radius-card); background: var(--ink); box-shadow: var(--shadow-card); }

.facts { display: grid; gap: var(--s5); }
.facts p { font-size: 1.0625rem; }
.facts a { display: inline-block; margin-top: var(--s2); font-size: var(--step-small); }
.facts__after { margin-top: var(--s5); font-weight: 650; max-width: 60ch; }
.proof__pair { display: grid; gap: var(--s5); margin-top: var(--s8); align-items: start; }
.nots li { display: grid; grid-template-columns: 1.5rem 1fr; gap: var(--s3); padding: var(--s3) 0; border-bottom: 1px solid rgba(22, 24, 29, 0.2); }
.nots li:last-child { border-bottom: 0; }
.nots .icon { color: var(--orange-text); width: 1.4rem; height: 1.4rem; margin-top: 0.1rem; }
.proof__who p + p { margin-top: var(--s1); }

/* ---------- Questions ---------- */
.faq { margin-top: var(--s6); display: grid; gap: var(--s3); }
.faq__item { background: var(--paper); border: 1px solid var(--ink); border-radius: 16px; overflow: hidden; transition: box-shadow 200ms ease; }
.faq__item[open] { box-shadow: 4px 4px 0 var(--ink); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); min-height: 3.5rem; padding: var(--s3) var(--s4); cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__q { font-size: 1.1875rem; font-stretch: 90%; font-weight: 700; }
.faq__icon { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; flex: none; border: 1px solid var(--ink); border-radius: 50%; background: var(--mint); transition: transform 200ms var(--ease-out); }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--peach); }
.faq__a { padding: 0 var(--s4) var(--s5); max-width: 62ch; }

/* ---------- Why it's safe to try: the navy panel ---------- */
.sec--panel { padding-block: var(--s4); }
.panel {
  padding: var(--s7) var(--s5); border-radius: 28px; background-color: var(--navy);
  color: #fff;
}
.panel h2 { color: #fff; max-width: 20ch; }
.ticks { margin-top: var(--s6); display: grid; gap: var(--s3) var(--s6); }
.ticks li { display: grid; grid-template-columns: 2rem 1fr; gap: var(--s3); align-items: center; padding: var(--s3) var(--s4) var(--s3) var(--s3); background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 999px; font-size: 1.125rem; font-weight: 550; line-height: 1.35; }
.ticks__box { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--orange); color: var(--ink); }
.ticks__box .icon { width: 1.15rem; height: 1.15rem; }

/* ---------- Final call to action and the form ---------- */
.sec--final { padding-bottom: var(--s9); }
.final__grid { display: grid; gap: var(--s7); }
.final__copy .reassure { margin-top: var(--s4); }
.card--form { padding: 0; background: var(--paper); box-shadow: var(--shadow-card); gap: 0; }
.form__inner { padding: var(--s5) var(--s4); }
.fstep { border: 0; margin: 0; padding: 0; min-width: 0; }
.fstep__legend { padding: 0 0 var(--s3); margin-bottom: var(--s4); width: 100%; border-bottom: 1px solid var(--line); color: var(--slate); font-size: var(--step-label); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.fstep__legend:focus { outline: none; }
.field { margin-bottom: var(--s5); }
.field label { display: block; font-weight: 650; margin-bottom: var(--s2); }
.field__help { margin: calc(-1 * var(--s1)) 0 var(--s2); font-size: var(--step-small); color: var(--slate); }
.field input { width: 100%; min-height: 3.25rem; padding: 0 var(--s4); border: 1px solid var(--ink); border-radius: 14px; background: #F7F7F8; font-size: 1.125rem; }
.field input:focus-visible { outline-offset: 1px; background: #fff; }
.field input[aria-invalid="true"] { border-color: var(--orange-text); border-width: 2px; }
.field__error { margin-top: var(--s2); color: var(--orange-text); font-size: var(--step-small); font-weight: 700; }
.optional { font-weight: 400; color: var(--slate); }

.choices { border: 0; padding: 0; margin: 0 0 var(--s5); min-width: 0; }
.choices legend { font-weight: 650; margin-bottom: var(--s2); padding: 0; }
.choices__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: var(--s2); }
.choice { position: relative; display: flex; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { flex: 1; display: flex; align-items: center; min-height: 2.875rem; padding: var(--s2) var(--s3); border: 1px solid var(--ink); border-radius: 14px; background: #F7F7F8; font-size: 1rem; line-height: 1.25; cursor: pointer; transition: background-color 150ms ease; }
.choice input:checked + span { background: var(--navy); color: #fff; font-weight: 650; }
.choice input:focus-visible + span { outline: 3px solid var(--navy); outline-offset: 2px; }
.choice:hover span { background: var(--sky); }
.choice:hover input:checked + span { background: var(--ink); }
.choices[aria-invalid="true"] .choice span { border-color: var(--orange-text); }
.choices__note { margin-top: var(--s3); padding: var(--s3); background: var(--peach); border: 1px solid var(--ink); border-radius: 14px; font-size: var(--step-small); }

.consent { margin: var(--s5) 0; padding: var(--s4); border: 1.5px dashed var(--ink); border-radius: 14px; }
.consent__box { display: grid; grid-template-columns: 1.75rem 1fr; gap: var(--s3); align-items: start; cursor: pointer; font-size: 1rem; }
.consent__box input { width: 1.5rem; height: 1.5rem; margin: 0.05rem 0 0; accent-color: var(--navy); cursor: pointer; }
.consent__link { display: inline-flex; min-height: 2.75rem; align-items: center; margin-left: 2.5rem; font-size: var(--step-small); }
.form-actions { display: grid; gap: var(--s2); justify-items: start; }
.form-status { margin-top: var(--s3); font-weight: 650; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--orange-text); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.js .fstep[hidden] { display: none; }
.js .fstep.is-entering { animation: fadein 160ms ease-out both; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #fff; padding-block: var(--s7); border-radius: 28px 28px 0 0; }
.footer__inner { display: grid; gap: var(--s5); }
.footer__logo { display: inline-block; }
.footer__logo img { height: 2.9rem; width: auto; }
.footer__brand p { margin-top: var(--s2); max-width: 40ch; color: rgba(255, 255, 255, 0.86); font-size: var(--step-small); }
.footer__links { display: flex; flex-wrap: wrap; gap: 0 var(--s5); }
.footer__links a { color: #fff; display: inline-flex; align-items: center; min-height: 2.75rem; }
.footer__small { font-size: 0.875rem; color: rgba(255, 255, 255, 0.78); }

/* ---------- Supporting pages (thank you, privacy, data use, not found) ---------- */
.sec--single { padding-top: 7rem; }
.wrap--narrow > * { max-width: 36rem; }
.note { padding: 0; margin-bottom: var(--s6); gap: 0; }
.note__inner { padding: var(--s6) var(--s5); }
.note__title { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); font-stretch: 75%; line-height: 1.05; }
.note__lead { margin-top: var(--s3); font-size: 1.25rem !important; font-weight: 600; }
.note__booking { margin-top: var(--s5); padding-top: var(--s5); border-top: 1.5px dashed var(--ink); display: grid; gap: var(--s4); justify-items: start; }
.note__h2 { margin-top: var(--s6); font-size: var(--step-h3); font-stretch: 85%; }
.note__small { margin-top: var(--s5); font-size: var(--step-small) !important; color: var(--slate); }

.doc h1 { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem); font-stretch: 75%; line-height: 1.04; }
.doc__updated { margin-top: var(--s2); font-size: var(--step-small); color: var(--slate); }
.doc__part { margin-top: var(--s7); padding-top: var(--s4); border-top: 1px solid var(--ink); }
.doc__part h2 { font-size: var(--step-h3); font-stretch: 85%; line-height: 1.2; margin-bottom: var(--s3); }
.doc__part p + p, .doc__part ul + p { margin-top: var(--s3); }
.doc__list { margin-top: var(--s3); }
.doc__list li { position: relative; padding: var(--s2) 0 var(--s2) var(--s5); border-bottom: 1px solid var(--line); }
.doc__list li::before { content: ""; position: absolute; left: 0.25rem; top: 1.05em; width: 0.5rem; height: 0.5rem; background: var(--orange); border: 1px solid var(--ink); border-radius: 50%; }
.draft-banner { margin-bottom: var(--s5); padding: var(--s3) var(--s4); background: var(--peach); border: 1px solid var(--ink); border-radius: 14px; box-shadow: 3px 3px 0 var(--ink); }
.notfound__links { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }

/* =====================================================================
   WIDER SCREENS
   ===================================================================== */
@media (min-width: 40rem) {
  :root { --gutter: 2rem; --shadow-card: 6px 6px 0 var(--ink); }
  .cards--2, .scenes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .helpers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel { padding: var(--s8) var(--s7); }
  .glass__nav { display: flex; }
}

@media (min-width: 48rem) {
  .footer__logo img { height: 3.6rem; }
  .only-wide, .btn.only-wide { display: inline-flex; }
  .only-narrow { display: none; }
  .glass { top: 1.25rem; left: 1.5rem; right: 1.5rem; }
  .prices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .prices--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .proof__pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .unsure__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: var(--s7); }
  .scenes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 64rem) {
  .sec { padding-block: var(--s9); }
  .hero { padding-top: 9rem; padding-bottom: var(--s9); }
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 31rem); gap: var(--s7); align-items: center; }
  .next-step { display: inline-block; }
  .btn { padding: 0 var(--s5); font-size: 1.125rem; }
  .next-step .btn { width: auto; min-width: 22rem; }
  .cards--2 { gap: var(--s6); }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s6); }
  .step { position: relative; }
  .step:not(:last-child)::after { content: ""; position: absolute; top: 2.4rem; right: calc(-1 * var(--s6) - 1px); width: var(--s6); border-top: 2px dashed var(--ink); }
  .helpers__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s6); }
  .helpers__grid .helper { grid-column: span 2; }
  .helpers__grid .helper:nth-child(n+4) { grid-column: span 3; }
  .scenes { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s6); }
  .scenes .scene { grid-column: span 2; }
  .scenes .scene:nth-child(n+4) { grid-column: span 3; }
  .final__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--s8); align-items: start; }
  .final__copy { position: sticky; top: 7rem; }
  .form-actions { grid-template-columns: auto auto; align-items: center; justify-content: start; column-gap: var(--s5); }
  .form-actions .btn--block { width: auto; }
  .ticks { column-gap: var(--s6); }

  /* the phone becomes a laptop */
  .only-laptop { display: inline; }
  .only-phone { display: none; }
  .device { max-width: 31rem; }
  .device__frame { background: #1B1D23; padding: 0.75rem; border-radius: 30px; box-shadow: 0 0 0 1px rgba(22, 24, 29, 0.14), 0 40px 80px -40px rgba(60, 40, 10, 0.45), 0 2px 0 0 rgba(22, 24, 29, 0.08); }
  .device__cam { top: 0.3rem; width: 0.375rem; height: 0.375rem; background: #3A3D46; border-radius: 50%; }
  .device__screen { border-radius: 18px; }
  .device__screen::after { display: none; }
  .device__hint { margin-top: var(--s5); }
  .app__bar { padding: 0.5rem var(--s3); }
  .app__side { display: none; }
  .app__body { padding: var(--s2); }
  .device .app-card__head { padding: 0.5rem var(--s3); }
  .device .fields__row { grid-template-columns: 5.75rem 1fr; }
  .device .fields__row dt { padding: 0.45rem var(--s1) 0.45rem var(--s3); font-size: 0.6875rem; }
  .device .fields__row dd { padding: 0.4rem var(--s3) 0.4rem 0; font-size: 0.8125rem; }
  .device .app-card__status { padding: 0.45rem var(--s3); font-size: 0.8125rem; }
  .device .app-card__actions { padding: var(--s2) var(--s3); gap: 6px; }
  .device .app-card__actions .btn-ink, .device .app-card__actions .btn-line { min-height: 2.5rem; padding: 0 0.7rem; font-size: 0.8125rem; }
  .device .app-card__stub { padding: 0.4rem var(--s3); }
  .device .checklist__row { padding: 0.45rem var(--s3); }
  .device .checklist__row dt { font-size: 0.8125rem; }
  .device .app-card__business { padding: 0.35rem var(--s3); font-size: 0.8125rem; }
}

/* inside a wide laptop screen the log sits beside the sample job */
@container (min-width: 34rem) {
  .app__body--split { display: grid; grid-template-columns: minmax(0, 1fr) 10.5rem; gap: var(--s3); align-items: start; }
  .app-card__actions .btn-ink, .app-card__actions .btn-line { padding: 0 0.8rem; font-size: 0.875rem; }
  .app__body--split .app__side { order: 2; margin-top: 0; }
}

/* the mouse pointer becomes "You" while it is over the laptop screen */
@media (min-width: 64rem) and (hover: hover) and (pointer: fine) {
  .you { display: block; }
  .you.is-parked { opacity: 1; }
  .you.is-parked .you__arrow, .you.is-parked .you__label { animation: bob 2.4s ease-in-out infinite; }
  .device__screen.has-you, .device__screen.has-you * { cursor: none !important; }
  .device__screen.has-you .you { opacity: 1; }
}

/* On phones the log and checks tables become stacked entries (same order, no sideways scrolling) */
@media (max-width: 39.99rem) {
  .log thead, .checks thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .log, .log tbody, .log tr, .log td, .checks, .checks tbody, .checks tr, .checks th, .checks td { display: block; }
  .log tr { display: grid; grid-template-columns: auto 1fr; gap: 0 var(--s3); padding: var(--s3); border-bottom: 1px solid var(--line); }
  .log tr:last-child { border-bottom: 0; }
  .log td { padding: 0; border: 0; }
  .log td:nth-child(1) { grid-row: 1; }
  .log td:nth-child(2) { grid-row: 1; font-weight: 650; }
  .log td:nth-child(3) { grid-column: 1 / -1; margin-top: var(--s1); }
  .log td:nth-child(4)::before { content: "Approved by: "; color: var(--slate); }
  .log td:nth-child(4), .log td:nth-child(5) { grid-column: 1 / -1; font-size: 0.875rem; }
  .log td:nth-child(5) { font-weight: 650; color: var(--navy); }
  .checks tr { padding: var(--s3); border-bottom: 1px solid var(--line); }
  .checks tr:last-child { border-bottom: 0; }
  .checks tbody th, .checks td { padding: 0; border: 0; white-space: normal; }
  .checks td { margin-top: var(--s1); }
}

/* ---------- Centred page (Page B): no mockup, headings and calls to action centred ---------- */
.page-centered .hero__grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.page-centered .hero h1 { max-width: 20ch; margin-inline: auto; font-size: clamp(2.25rem, 1.4rem + 2.8vw, 3.5rem); }
.page-centered .hero__sub { margin-inline: auto; max-width: 56ch; }
.page-centered .next-step { max-width: 100%; }
.page-centered .hero .reassure { max-width: 46ch; margin-inline: auto; }
.page-centered .sec > .wrap > h2, .page-centered .panel h2 { margin-inline: auto; text-align: center; }
.page-centered .sec > .wrap > .lede { margin-inline: auto; text-align: center; }
.page-centered .final__grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.page-centered .final__copy { position: static; max-width: 46rem; }
.page-centered .final__copy h2 { margin-inline: auto; max-width: 22ch; }
.page-centered .final__copy .lede { margin-inline: auto; }
.page-centered .final__form { width: 100%; max-width: 42rem; text-align: left; }

/* Respect the "reduce motion" setting: every change happens instantly */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
