/* ---------- Tokens ---------- */
:root {
  --ink: #0b0c10;
  --paper: #ffffff;
  --mist: #f4f5f7;
  --line: #e4e6eb;
  --muted: #5b6272;
  --faint: #9aa1b0;
  /* Signature colour: hi-vis lime. It is too light to read as text on white, so on light
     backgrounds it is only ever used as a fill behind dark text. */
  --accent: #c5f82a;
  --accent-deep: #a3d60f;
  --accent-soft: #f2fbd3;
  --mint: var(--accent); /* older name, kept so existing rules still work */
  --wrap: 1160px;
  --gutter: 24px;
  --sans: "Geist", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
i, b { font-style: normal; font-weight: inherit; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.section-dark :focus-visible, .savings-result :focus-visible { outline-color: var(--accent); }

h1, h2 { font-weight: 500; letter-spacing: -0.042em; line-height: 1.05; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 6.6vw, 5.3rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.025em; line-height: 1.25; }
/* "one place" sits on a lime highlighter stroke that wipes in from the left */
h1 em { position: relative; isolation: isolate; font-style: normal; white-space: nowrap; margin: 0 .1em; }
h1 em::before {
  content: ""; position: absolute; z-index: -1; inset: .17em -.14em .02em; /* top kept clear of the line above */
  border-radius: .16em; background: var(--accent);
  transform: rotate(-1.4deg); transform-origin: left center;
  animation: mark .7s .7s var(--ease) both;
}
@keyframes mark { from { transform: rotate(-1.4deg) scaleX(0); } }
/* The headline, sentence and buttons rise into place when the page opens */
.hero-copy h1 { animation: rise .9s var(--ease) both; }
.hero-copy .lead { animation: rise .9s .12s var(--ease) both; }
.hero-copy .hero-actions { animation: rise .9s .24s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }

.num { font-family: var(--mono); font-size: .78rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 24px;
  border-radius: 999px; border: 1px solid transparent;
  font-size: .98rem; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .2s, border-color .2s, box-shadow .25s;
}
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:hover { transform: translateY(-1px); }
.btn-small { height: 40px; padding: 0 18px; font-size: .92rem; }
.btn-dark { background: var(--ink); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 10px 24px -10px rgba(11, 12, 16, .55); }
.btn-dark:hover { background: var(--accent); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(11, 12, 16, .35); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { box-shadow: 0 0 0 5px rgba(255, 255, 255, .14); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.logo-mark { width: 26px; height: 26px; flex: none; }
.logo-mark circle { transition: transform .4s var(--ease); }
.logo:hover .logo-mark circle { transform: translate(-3px, 3px); }
.logo-word { font-size: 1.08rem; font-weight: 600; letter-spacing: -0.03em; }
.logo-word span { font-weight: 400; color: var(--muted); }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; padding: 0 16px; }
.header-pill {
  position: relative;
  max-width: 1112px; margin: 0 auto; height: 62px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 11px 0 20px;
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border: 1px solid rgba(11, 12, 16, .08);
  border-radius: 999px;
  transition: box-shadow .3s, background-color .3s;
}
.scrolled .header-pill { background: rgba(255, 255, 255, .92); box-shadow: 0 12px 32px -18px rgba(11, 12, 16, .35); }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a:not(.btn) { padding: 8px 14px; border-radius: 999px; font-size: .93rem; font-weight: 500; color: var(--muted); text-decoration: none; white-space: nowrap; transition: color .2s, background-color .2s; }
.site-nav a:not(.btn):hover { color: var(--ink); background: rgba(11, 12, 16, .05); }
.nav-cta { margin-left: 10px; }
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; padding: 0; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .25s var(--ease), top .25s var(--ease); }
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 22px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 176px 0 0; overflow-x: clip; }
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 860px; z-index: -1;
  background:
    radial-gradient(52% 46% at 50% 0%, rgba(197, 248, 42, .24), transparent 72%),
    radial-gradient(34% 34% at 88% 24%, rgba(197, 248, 42, .16), transparent 72%);
}
.hero-copy { text-align: center; }
.hero h1 { max-width: 12em; margin: 0 auto; }
.lead { max-width: 660px; margin: 28px auto 0; font-size: 1.22rem; line-height: 1.55; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 38px; }

/* ---------- Trades landing page: headline on the left, enquiry form on the right ---------- */
.hero-split { padding-top: 150px; }
.hero-split:has(+ .toon-section) { padding-bottom: 96px; } /* home page: room under the form before the cartoon */
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero-split .hero-copy { text-align: left; }
.hero-split h1 { max-width: none; margin: 0; font-size: clamp(2.1rem, 4.3vw, 3.7rem); }
.hero-split h1 em { margin-left: .14em; } /* lines the highlighter up with the left edge of the headline */
.hero-split .lead { max-width: 560px; margin: 26px 0 0; }
.hero-ticks { margin-top: 28px; animation: rise .9s .24s var(--ease) both; }
.hero-ticks li { display: flex; align-items: center; gap: 14px; padding: 8px 0; font-size: 1.05rem; font-weight: 500; }
.hero-ticks li::before, .enquire-tick {
  content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%230b0c10' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 58% no-repeat;
}

/* Enquiry form */
.enquire { position: relative; padding: 34px; background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 40px 80px -50px rgba(11, 12, 16, .5); scroll-margin-top: 110px; animation: rise .9s .18s var(--ease) both; }
.enquire h2 { font-size: 1.7rem; letter-spacing: -0.035em; }
.enquire-note { margin: 8px 0 20px; color: var(--muted); }
.field { display: block; margin-top: 14px; }
.field > span { display: block; margin-bottom: 6px; font-size: .88rem; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; height: 50px; padding: 0 14px;
  font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 13px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { height: auto; min-height: 84px; padding: 12px 14px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #c5cad6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px var(--accent); }
.field [aria-invalid="true"] { border-color: #d92d20; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-trap { position: absolute; left: -9999px; }
/* The "send me tips" tick box: a rounded lime box with a tick when chosen */
.field-check { display: flex; align-items: flex-start; gap: 12px; margin-top: 16px; font-size: .9rem; line-height: 1.45; color: var(--muted); cursor: pointer; }
.field-check input {
  flex: none; appearance: none; width: 22px; height: 22px; margin: 0; border: 1.5px solid #c5cad6; border-radius: 7px; background: #fff; cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
.field-check input:checked {
  border-color: var(--ink);
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%230b0c10' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 72% no-repeat;
}
.field-check input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.enquire .btn { width: 100%; height: 54px; margin-top: 22px; font-size: 1.02rem; cursor: pointer; font-family: inherit; }
.enquire .btn:disabled { opacity: .6; cursor: default; transform: none; }
.enquire-status { min-height: 1.5em; margin-top: 12px; font-size: .92rem; }
.enquire-status.error { color: #b42318; }
.enquire-small { margin-top: 4px; font-size: .8rem; color: var(--faint); }
.enquire-done { padding: 64px 12px; text-align: center; }
.enquire-done p { margin-top: 10px; color: var(--muted); }
.enquire-tick { display: inline-block; width: 64px; height: 64px; margin-bottom: 22px; }

/* ---------- Cartoon (the looping scene beside the headline) ----------
   Drawn as one SVG. script.js runs the 12-second loop; the rules here set
   how each part looks and the small always-on wobbles. Without animation
   the scene rests on the "before" frame. */
#savings { margin-top: 0; } /* the savings graph is its own banner, so it needs no gap above it */

/* A full-width band, edge to edge of the page. Its height is fixed, so on a wider screen the scene
   shows more room either side and script.js spreads the cards out to fill it. */
.toon { position: relative; height: clamp(360px, 30vw, 520px); background: var(--mist); overflow: hidden; }
.toon-scene { display: block; width: 100%; height: 100%; font-family: var(--sans); font-size: 14px; font-weight: 500; }
.toon-toggle {
  position: absolute; right: 20px; bottom: 16px; z-index: 1;
  display: none; place-items: center; width: 38px; height: 38px; padding: 0;
  border: 1px solid rgba(11, 12, 16, .1); border-radius: 50%;
  background: rgba(255, 255, 255, .85); color: var(--ink); cursor: pointer;
  transition: background-color .2s, transform .25s var(--ease);
}
.toon.playable .toon-toggle { display: grid; }
.toon-toggle:hover { background: #fff; transform: scale(1.06); }
.toon-toggle svg { width: 14px; height: 14px; fill: currentColor; }
.toon-toggle .icon-play, .toon.paused .toon-toggle .icon-pause { display: none; }
.toon.paused .toon-toggle .icon-play { display: block; }
.toon.paused .toon-scene * { animation-play-state: paused; }
.t-skin, .t-hand { fill: #fff; stroke: var(--ink); stroke-width: 3; }
.t-jumper { fill: var(--accent); stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
/* Arms are the same lime as the top. Each has a slightly wider dark copy underneath as its outline. */
.t-arm-edge { fill: none; stroke: var(--ink); stroke-width: 30; stroke-linecap: round; stroke-linejoin: round; }
.t-arm { fill: none; stroke: var(--accent); stroke-width: 24; stroke-linecap: round; stroke-linejoin: round; }
.t-line { fill: none; stroke: var(--ink); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.t-slab { fill: #fff; stroke: var(--ink); stroke-width: 2.5; }
.t-steam { fill: none; stroke: #aab1c2; stroke-width: 2.5; stroke-linecap: round; }
.t-puff circle { fill: #fff; stroke: #9aa1b0; stroke-width: 2; }
.t-note rect, .t-panel { fill: #fff; stroke: var(--line); stroke-width: 1.5; }
.t-note, #t-card, #t-badge { filter: drop-shadow(0 8px 12px rgba(11, 12, 16, .14)); }
.t-count { fill: #fff; font-size: 11.5px; font-weight: 600; text-anchor: middle; }
.t-strong { font-size: 15px; font-weight: 600; }
.t-tick circle { fill: var(--mint); }
.t-tick path { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.t-spark { fill: var(--ink); }
.t-stage { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-anchor: middle; }

.t-note, .t-slab, .t-puff, .t-tick, #t-card, #t-badge, .t-brow, #t-eyes, .t-spark, .t-jig, .t-bob, #t-sweat { transform-box: fill-box; transform-origin: center; }
.t-slab { transform-origin: 50% 100%; }
#t-upper { transform-box: fill-box; transform-origin: 50% 100%; }

/* Resting frame: everything from the calm half is hidden, the puffs are off, the brows are cross */
.t-act2, .t-puff { opacity: 0; }
#t-brow-l { transform: rotate(16deg); }
#t-brow-r { transform: rotate(-16deg); }

.t-jig { animation: t-jig .46s ease-in-out infinite alternate; }
.t-bob { animation: t-bob 3.4s ease-in-out infinite; }
.t-bob-late { animation-delay: -1.7s; }
.t-spark { animation: t-twinkle 1.6s ease-in-out infinite; }
.t-spark-b { animation-delay: -.5s; }
.t-spark-c { animation-delay: -1s; }
#t-sweat { animation: t-drip 1.3s ease-in infinite; }
.t-steam { animation: t-waft 2.6s ease-in-out infinite; }
@keyframes t-jig { from { transform: rotate(-1.5deg); } to { transform: rotate(1.5deg) translateY(-2px); } }
@keyframes t-bob { 50% { transform: translateY(-6px); } }
@keyframes t-twinkle { 50% { transform: scale(.35); opacity: .3; } }
@keyframes t-drip { from { transform: translateY(0); opacity: 1; } to { transform: translateY(24px); opacity: 0; } }
@keyframes t-waft { 50% { transform: translateY(-4px); opacity: .45; } }

/* ---------- Savings graph ---------- */
/* A full-width band split in two: sliders on a light half, results on a dark half. The colours run
   to the edges of the page; --savings-edge keeps the content lined up with the rest of the site.
   (Each half is 50% of the page, so 100% here means half the page width.) */
.savings {
  --savings-edge: max(var(--gutter), calc(100% - var(--wrap) / 2 + var(--gutter)));
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(11, 12, 16, .08); /* a fine line between the cartoon band and this one */
}
.savings-inputs { padding: 56px 72px 56px var(--savings-edge); background: var(--mist); }
.savings-inputs h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.savings-note { margin: 10px 0 24px; color: var(--muted); font-size: .98rem; }
.slider { display: block; }
.slider + .slider { margin-top: 16px; }
.slider > span { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; font-size: .95rem; font-weight: 500; }
.slider output { font-family: var(--mono); font-size: .95rem; font-weight: 500; color: var(--ink); background: var(--accent); padding: 1px 9px; border-radius: 999px; }
.slider input { display: block; width: 100%; height: 24px; margin: 8px 0 0; accent-color: var(--ink); cursor: pointer; }

.savings-result { position: relative; isolation: isolate; padding: 56px var(--savings-edge) 56px 72px; background: var(--ink); color: #fff; }
.savings-result::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 50% at 100% 0%, rgba(197, 248, 42, .16), transparent 70%); }
.graph + .graph { margin-top: 20px; }
.graph-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.graph-head p:first-child { font-size: 1.1rem; font-weight: 500; letter-spacing: -0.02em; }
.graph-head p:last-child { font-size: .9rem; color: #a9b0c0; }
.graph-head strong { font-weight: 500; color: var(--mint); font-variant-numeric: tabular-nums; }
.bar { display: grid; grid-template-columns: 44px 1fr 84px; align-items: center; gap: 12px; font-size: .86rem; color: #a9b0c0; }
.bar + .bar { margin-top: 10px; }
.track { height: 14px; border-radius: 999px; background: rgba(255, 255, 255, .07); }
.track i { display: block; height: 100%; min-width: 4px; border-radius: 999px; background: #6b7388; transition: width .45s var(--ease); }
/* Before the graph scrolls into view its bars sit at zero, then grow */
.savings.pre .track i { width: 0 !important; min-width: 0; transition: none; }
.savings:not(.pre) .track i { transition-duration: .9s; }
.savings.live .track i { transition-duration: .45s; }
.bar.after { color: #fff; }
.bar.after .track i { background: var(--mint); }
.bar b { text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
.total { margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); }
.total > p:first-child { color: #a9b0c0; font-size: .95rem; }
.total-figure { margin-top: 2px; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 500; letter-spacing: -0.05em; line-height: 1.05; color: var(--mint); font-variant-numeric: tabular-nums; }
.total-hours { margin-top: 10px; color: #d5d9e3; }
.total-hours strong { font-weight: 600; color: #fff; }
.savings-formula { margin-top: 26px; font-size: .78rem; line-height: 1.5; color: #7f879b; }

/* ---------- Software strip ---------- */
.tools { padding: 96px 0 76px; text-align: center; }
.tools-label { font-family: var(--mono); font-size: .76rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-bottom: 32px; }
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee + .marquee { margin-top: 22px; }
.marquee-track { display: flex; flex: none; gap: 56px; padding-right: 56px; animation: slide 60s linear infinite; }
.marquee-reverse .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { font-size: 1.3rem; font-weight: 500; letter-spacing: -0.03em; color: var(--faint); white-space: nowrap; }
@keyframes slide { to { transform: translateX(-100%); } }

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section-head { max-width: 720px; margin-bottom: 56px; }

/* What you get */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.benefits li { padding: 30px 28px 34px; border: 1px solid var(--line); border-radius: 24px; background: #fff; transition: transform .35s var(--ease), border-color .25s, box-shadow .35s var(--ease); }
.benefits li:hover { transform: translateY(-4px); border-color: #cfd3dc; box-shadow: 0 28px 50px -34px rgba(11, 12, 16, .4); }
.benefits svg { width: 44px; height: 44px; padding: 10px; border-radius: 13px; background: var(--accent-soft); color: var(--ink); }
.benefits h3 { margin-top: 44px; font-size: 1.3rem; font-weight: 500; letter-spacing: -0.03em; }
.benefits p { margin-top: 10px; color: var(--muted); font-size: .98rem; }

/* Dark banners: used on every second section */
.section-dark { position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.section-dark::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(40% 60% at 6% 0%, rgba(197, 248, 42, .17), transparent 70%), radial-gradient(34% 50% at 98% 100%, rgba(197, 248, 42, .09), transparent 70%);
}
.section-dark .benefits li { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.section-dark .benefits li:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .22); box-shadow: none; }
.section-dark .benefits svg { background: rgba(197, 248, 42, .12); color: var(--mint); }
.section-dark .benefits p { color: #a9b0c0; }

/* A soft light that follows the pointer across cards on dark banners (script.js sets --mx and --my) */
.section-dark .benefits li, .example { position: relative; overflow: hidden; }
.section-dark .benefits li::after, .example::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%), rgba(197, 248, 42, .16), transparent 70%);
}
.section-dark .benefits li:hover::after, .example:hover::after { opacity: 1; }

/* "The System is Yours!": four numbered lines running down the page, no supporting text */
.yours li {
  display: flex; align-items: center; gap: 28px; padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: clamp(1.45rem, 3vw, 2.4rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1.15;
}
.yours li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.yours span { flex: none; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: var(--accent); color: var(--ink); font-size: 1.5rem; font-weight: 600; letter-spacing: 0; }

/* Two-tone headings: the second half of the line is set in grey */
.progress-grid h2 span, .examples-head h2 span, #steps h2 span, #health h2 span { display: block; color: var(--faint); }

/* Business health check: a two-beat heartbeat line, then symptoms, diagnosis and treatment */
.pulse { margin: -8px 0 48px; }
.pulse svg { display: block; width: 100%; height: auto; overflow: visible; }
.pulse path { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.pulse-rest { stroke: rgba(197, 248, 42, .2); }
/* A bright stretch of the line that travels along the trace, over and over */
.pulse-live { stroke: var(--accent); stroke-dasharray: .3 .7; filter: drop-shadow(0 0 6px rgba(197, 248, 42, .85)); animation: pulse-run 3.4s linear infinite; }
@keyframes pulse-run { from { stroke-dashoffset: .3; } to { stroke-dashoffset: -.7; } }
/* Three clipboards: a dark board, a metal clip at the top and a sheet of paper */
.health { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; padding-top: 20px; }
.health > li { display: flex; }
.clip {
  position: relative; flex: 1; display: flex; padding: 14px; border-radius: 28px; background: #2b303d;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 34px 50px -30px rgba(0, 0, 0, .9);
  transform: rotate(-1.2deg); transition: transform .35s var(--ease);
}
.health > li:nth-child(2) .clip { transform: rotate(.9deg); }
.health > li:nth-child(3) .clip { transform: rotate(-.5deg); }
.health > li:hover .clip { transform: rotate(0deg) translateY(-5px); }
.clip::before {
  content: ""; position: absolute; z-index: 1; top: -18px; left: 50%; width: 128px; height: 44px; margin-left: -64px;
  border-radius: 14px 14px 10px 10px; background: linear-gradient(#f1f3f7, #a9b0c0); box-shadow: 0 4px 8px rgba(0, 0, 0, .35);
}
.clip::after { content: ""; position: absolute; z-index: 1; top: -8px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--ink); }
.clip-paper { position: relative; flex: 1; padding: 44px 24px 26px; border-radius: 16px; background: #fff; color: var(--ink); }
.health .clip-head { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1.5px dashed #aab1c2; font-family: var(--mono); font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.clip-paper h3 { margin: 16px 0 8px; font-size: 1.45rem; font-weight: 600; letter-spacing: -0.035em; color: var(--ink); }
.clip-paper h3 em { font-style: normal; font-weight: 700; margin-right: 4px; padding: 0 7px; border-radius: 8px; background: var(--accent); }
.clip-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px dashed #d5d9e2; font-size: 1.05rem; font-weight: 500; }
.clip-list li:last-child { border-bottom: 0; }
/* The ticked box beside each line: coral for symptoms, lime for the treatment */
.clip-list i { position: relative; flex: none; width: 22px; height: 22px; border-radius: 7px; background: #ff5a4d; }
.clip-list i::after { content: ""; position: absolute; left: 7.5px; top: 3.5px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.clip-good i { background: var(--accent); }
.clip-good i::after { border-color: var(--ink); }
.clip-readings li { display: grid; grid-template-columns: 1fr auto; gap: 7px 12px; padding: 10px 0; font-size: 1.02rem; font-weight: 500; }
.clip-readings b { font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #d93a2e; align-self: center; }
.clip-readings i { grid-column: 1 / -1; height: 10px; border-radius: 999px; background: linear-gradient(90deg, #ff5a4d var(--level), #e9ecf2 var(--level)); }
.health .clip-foot { margin-top: 12px; padding-top: 14px; border-top: 1px dashed #d5d9e2; font-size: .95rem; line-height: 1.5; color: var(--muted); }
.clip-foot b { display: inline-block; padding: 0 7px; border-radius: 7px; background: var(--accent); color: var(--ink); font-weight: 600; white-space: nowrap; }
.health .clip-stamp { position: absolute; right: 20px; bottom: 20px; padding: 5px 13px; border: 2.5px solid var(--ink); border-radius: 12px; background: var(--accent); color: var(--ink); font-family: var(--mono); font-size: .8rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; transform: rotate(-7deg); }
.clip-good { padding-bottom: 44px; }
/* The button under the clipboards that opens the 2-minute quiz */
.health-more { margin-top: 56px; text-align: center; }

/* What we do, step by step: a four-panel comic strip. Square panels with a hard offset shadow,
   a numbered tag on each corner, and the step's words underneath. */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.strip-panel {
  position: relative; border: 2.5px solid var(--ink); border-radius: 22px; background: #fff; box-shadow: 7px 7px 0 var(--ink);
  transform: rotate(-.8deg); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.strip li:nth-child(even) .strip-panel { transform: rotate(.7deg); }
.strip li:nth-child(2) .strip-panel { background: var(--mist); }
.strip li:nth-child(3) .strip-panel { background: var(--accent-soft); }
.strip li:hover .strip-panel { transform: rotate(0deg) translate(-3px, -3px); box-shadow: 10px 10px 0 var(--accent), 10px 10px 0 2.5px var(--ink); }
/* A patch of printed dots in the corner of each panel */
.strip-panel::after {
  content: ""; position: absolute; right: 0; bottom: 0; width: 84px; height: 70px; pointer-events: none; border-bottom-right-radius: 19px;
  background: radial-gradient(circle, rgba(11, 12, 16, .2) 1.2px, transparent 1.7px) 0 0 / 8px 8px;
  -webkit-mask-image: linear-gradient(135deg, transparent 35%, #000); mask-image: linear-gradient(135deg, transparent 35%, #000);
}
.strip-panel svg { display: block; width: 100%; height: auto; font-family: var(--sans); border-radius: 19px; }
.strip-no { position: absolute; z-index: 1; top: -13px; left: -11px; padding: 3px 9px; background: var(--accent); border: 2.5px solid var(--ink); border-radius: 999px; font-family: var(--mono); font-size: .78rem; font-weight: 500; letter-spacing: .06em; }
.strip h3 { margin-top: 28px; font-size: 1.5rem; font-weight: 500; letter-spacing: -0.035em; }
.strip p { margin-top: 6px; color: var(--muted); font-size: .98rem; }

/* Bits inside the drawings */
.k-win rect { fill: #fff; stroke: var(--ink); stroke-width: 2.5; }
.k-win .k-bar { fill: var(--ink); }
.k-win text { font-size: 13px; font-weight: 600; text-anchor: middle; }
.k-one { font-size: 17px; font-weight: 700; letter-spacing: .04em; text-anchor: middle; }
.k-note { font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .1em; }
.k-flow { stroke-dasharray: 5 6; animation: k-flow 1.2s linear infinite; }
.k-blink { animation: k-blink 1.5s ease-in-out infinite; }
.k-twinkle, .k-wiggle { transform-box: fill-box; transform-origin: center; }
.k-twinkle { animation: k-twinkle 2.6s ease-in-out infinite; }
.k-wiggle { animation: k-wiggle 2.2s ease-in-out infinite; }
@keyframes k-flow { to { stroke-dashoffset: -22; } }
@keyframes k-blink { 50% { opacity: .25; } }
@keyframes k-twinkle { 50% { transform: scale(.82) rotate(14deg); } }
@keyframes k-wiggle { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }

/* Admin over time: words on the left, a dark chart card on the right */
.progress-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
.progress-grid > div > p { max-width: 400px; margin-top: 18px; color: var(--muted); font-size: 1.1rem; }
.trend { position: relative; isolation: isolate; overflow: hidden; margin: 0; padding: 36px 36px 26px; border-radius: 28px; background: var(--ink); color: #fff; box-shadow: 0 40px 80px -50px rgba(11, 12, 16, .6); }
.trend::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 60% at 100% 0%, rgba(197, 248, 42, .16), transparent 70%); }
.trend-label { display: block; font-size: 1.08rem; font-weight: 500; }
.trend-value { display: block; margin-top: 2px; font-size: 3.6rem; font-weight: 400; letter-spacing: -0.05em; line-height: 1.1; }
.trend-value small { margin-left: 6px; font-size: .95rem; letter-spacing: 0; color: #a9b0c0; }
.trend-note { position: absolute; top: 36px; right: 36px; max-width: 250px; }
.trend-note p { margin: 0; padding: 12px 16px; max-width: none; border-radius: 14px; background: #fff; color: var(--ink); font-size: .92rem; line-height: 1.4; }
.trend-note span { display: flex; align-items: center; gap: 8px; margin-top: 9px; font-size: .82rem; color: #c5cad6; }
.trend-note svg { width: 16px; height: 16px; }
.trend-chart { display: block; width: 100%; height: auto; margin-top: 22px; font-size: 13px; font-weight: 500; }
.trend-chart text { fill: #fff; }
.trend-chart circle { fill: #fff; }
.trend-grid { fill: none; stroke: rgba(255, 255, 255, .09); }
.trend-base { fill: none; stroke: rgba(255, 255, 255, .3); stroke-dasharray: 3 5; }
.trend-before { fill: none; stroke: rgba(255, 255, 255, .42); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
/* The falling half of the line draws itself in lime when the chart scrolls into view */
.trend-after { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .trend-after { stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s .5s var(--ease); }
.js .trend.in .trend-after { stroke-dashoffset: 0; }
.trend-area { fill: rgba(197, 248, 42, .13); }
.trend-live { fill: var(--accent); stroke: var(--ink); stroke-width: 2; }
.trend-chart .trend-dim { fill: #a9b0c0; font-weight: 400; }
.trend-chart .trend-big { font-size: 17px; fill: var(--accent); }
.trend-foot { margin-top: 12px; font-size: .78rem; color: #7f879b; }

/* Worked examples: three figures on a line, each marked with a lime square */
.examples-head { max-width: none; text-align: center; }
.examples { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.examples::before { content: ""; position: absolute; top: 14px; left: 16.66%; right: 16.66%; height: 1px; background: linear-gradient(90deg, var(--accent), rgba(255, 255, 255, .28)); }
.examples > li { display: flex; }
.example {
  position: relative; display: flex; flex-direction: column; align-items: center; width: 100%;
  padding: 0 18px; text-align: center; font: inherit; color: #fff; cursor: pointer;
  border: 0; background: none; overflow: visible;
}
.example::after { display: none; }
.example::before {
  content: ""; width: 29px; height: 29px; border-radius: 5px; background: var(--accent);
  box-shadow: inset 0 0 0 10px var(--accent), inset 0 0 0 20px var(--ink);
  transition: transform .3s var(--ease);
}
.example:hover::before { transform: scale(1.18) rotate(8deg); }
.example > span { display: block; }
.example-tag { margin-top: 44px; font-family: var(--mono); font-size: .68rem; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; color: var(--accent); }
.example-figure { margin-top: 10px; font-size: clamp(2.8rem, 5vw, 4.4rem); font-weight: 400; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.example-label { margin-top: 10px; color: #a9b0c0; font-size: .95rem; }
.example-kind { order: 1; margin-top: 26px; font-size: 1.2rem; font-weight: 500; letter-spacing: -0.025em; }
.example-setup { order: 2; max-width: 300px; margin-top: 6px; color: #a9b0c0; font-size: .97rem; }
.example-stats { order: 3; margin-top: 14px; color: #a9b0c0; font-size: .88rem; }
.example-stats span { display: block; }
.example-stats b { font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.example-link { order: 4; margin-top: 20px; padding-bottom: 2px; font-size: .93rem; font-weight: 500; border-bottom: 1px solid rgba(197, 248, 42, .6); }
.example-link i { display: inline-block; margin-left: 4px; transition: transform .25s var(--ease); }
.example:hover .example-link i { transform: translateX(4px); }
.examples-note { max-width: 780px; margin: 56px auto 0; text-align: center; font-size: .84rem; line-height: 1.55; color: #7f879b; }

/* The four-step pitch: heading and button on the left, a paper docket on the right.
   Square corners and dashed rules on purpose, so it reads like an itemised quote. */
.pitch { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: center; }
.pitch h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.pitch-copy .btn { margin-top: 30px; }
.section-dark .pitch-copy .btn-dark { background: var(--accent); color: var(--ink); box-shadow: none; }
.section-dark .pitch-copy .btn-dark:hover { background: #fff; }

.docket-paper {
  --paper: #f1f3f6;
  position: relative; max-width: 540px; margin-left: auto; padding: 26px 30px 24px;
  background: var(--paper); color: var(--ink);
  transform: rotate(-1.3deg); box-shadow: 0 34px 60px -34px rgba(11, 12, 16, .55);
}
.section-dark .docket-paper { --paper: #fff; box-shadow: 0 34px 60px -30px rgba(0, 0, 0, .8); }
/* Torn edges along the top and bottom */
.docket-paper::before, .docket-paper::after { content: ""; position: absolute; left: 0; right: 0; height: 9px; background-size: 14px 9px; background-repeat: repeat-x; }
.docket-paper::before { bottom: 100%; background-image: linear-gradient(45deg, var(--paper) 25%, transparent 25%), linear-gradient(315deg, var(--paper) 25%, transparent 25%); background-position: -7px 100%; }
.docket-paper::after { top: 100%; background-image: linear-gradient(135deg, var(--paper) 25%, transparent 25%), linear-gradient(225deg, var(--paper) 25%, transparent 25%); background-position: -7px 0; }

.docket-head, .docket-items span, .docket-items b, .docket-total span { font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.docket-head { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1.5px dashed #aab1c2; font-size: .7rem; color: var(--muted); }
.docket-items li { display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; align-items: baseline; padding: 14px 0; border-bottom: 1px dashed #c5cad6; }
.docket-items span { font-size: .74rem; color: var(--faint); }
.docket-items h3 { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.02em; }
.docket-items p { margin-top: 1px; color: var(--muted); font-size: .92rem; line-height: 1.45; }
.docket-items b { font-size: .72rem; font-weight: 500; white-space: nowrap; }
.docket-mark { padding: 2px 7px; background: var(--accent); font-size: .86rem !important; }
.docket-total { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-top: 16px; }
.docket-total span { font-size: .72rem; color: var(--muted); }
.docket-total b { padding: 0 6px; font-size: 2.1rem; font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; background: linear-gradient(transparent 52%, var(--accent) 52%); }
.docket-bars { display: block; width: 46%; height: 26px; margin-top: 16px; opacity: .8; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 5px, var(--ink) 5px 6px, transparent 6px 10px, var(--ink) 10px 13px, transparent 13px 15px); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: start; }
details { background: #fff; border: 1px solid var(--line); border-radius: 18px; transition: border-color .25s; }
details + details { margin-top: 10px; }
details:hover, details[open] { border-color: #cfd3dc; }
summary { position: relative; cursor: pointer; list-style: none; padding: 21px 64px 21px 24px; font-size: 1.06rem; font-weight: 500; letter-spacing: -0.02em; }
summary::-webkit-details-marker { display: none; }
summary::before, summary::after { content: ""; position: absolute; right: 26px; top: 50%; width: 13px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
summary::after { transform: rotate(90deg); }
details[open] summary::after { transform: rotate(0deg); }
details p { padding: 0 64px 24px 24px; color: var(--muted); }
.section-dark details { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.section-dark details:hover, .section-dark details[open] { border-color: rgba(255, 255, 255, .26); }
.section-dark summary::before, .section-dark summary::after { background: var(--mint); }
.section-dark details p { color: #a9b0c0; }

/* CTA */
/* The closing banner is solid lime with dark text, and the two logo shapes drawn large behind the words */
.section-accent { position: relative; isolation: isolate; overflow: hidden; background: var(--accent); color: var(--ink); padding: 136px 0; }
.section-accent::before, .section-accent::after { content: ""; position: absolute; z-index: -1; }
.section-accent::before { left: -90px; bottom: -150px; width: 420px; height: 420px; border-radius: 96px; background: rgba(11, 12, 16, .1); }
.section-accent::after { right: -130px; top: -170px; width: 520px; height: 520px; border-radius: 50%; background: rgba(255, 255, 255, .4); }
.section-accent h2 { font-size: clamp(2.3rem, 5.2vw, 4.2rem); }
.section-accent .cta > p { color: rgba(11, 12, 16, .78); }
.section-accent .cta-email, .section-accent .cta-email:hover { color: var(--ink); text-decoration-color: rgba(11, 12, 16, .45); }
.section-accent .btn-dark:hover { background: #fff; }
.cta { text-align: center; }
/* Home page closing banner: words on the left, enquiry form on the right */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.contact-grid .cta { text-align: left; }
.contact-grid h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.contact-grid .cta > p { max-width: 460px; margin-left: 0; }
.contact-grid .cta-or { margin-top: 30px; font-size: 1rem; }
.contact-grid .enquire h2 { font-size: 1.7rem; }
.contact-grid .enquire { animation: none; }
.cta > p { max-width: 520px; margin: 20px auto 0; font-size: 1.15rem; color: #b6bccb; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 28px; margin-top: 38px; }
.cta-email { font-size: .98rem; color: #d5d9e3; text-underline-offset: 5px; text-decoration-color: rgba(255, 255, 255, .35); }
.cta-email:hover { text-decoration-color: #fff; }

/* Plain text pages (privacy policy) */
.legal { max-width: 800px; padding-top: 176px; padding-bottom: 112px; }
.legal h1 { font-size: clamp(2.3rem, 4.6vw, 3.5rem); }
.legal-date { margin: 14px 0 34px; font-family: var(--mono); font-size: .8rem; letter-spacing: .04em; color: var(--muted); }
.legal h2 { margin: 46px 0 12px; font-size: 1.5rem; letter-spacing: -0.03em; line-height: 1.2; }
.legal p, .legal li { color: #3a4050; }
.legal p + p, .legal ul + p { margin-top: 14px; }
.legal ul { margin-top: 12px; padding-left: 22px; list-style: disc; }
.legal li + li { margin-top: 8px; }
.legal li::marker { color: var(--accent-deep); }
.legal strong { font-weight: 600; color: var(--ink); }
.legal a { text-decoration-color: var(--accent-deep); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.legal a:hover { background: var(--accent); }

/* Guide pages: the plain text layout, plus numbered headings and a closing call to action */
.guide .legal-date { margin: 0 0 16px; text-transform: uppercase; letter-spacing: .09em; }
.guide-lead { margin-top: 24px; font-size: 1.22rem; line-height: 1.55; }
.guide h2 { display: flex; align-items: center; gap: 14px; }
.guide h2 span { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); font-size: 1.05rem; font-weight: 600; letter-spacing: 0; }
.guide-cta { margin-top: 56px; padding: 40px; border-radius: 26px; background: var(--accent); }
.guide-cta h2 { margin: 0 0 8px; font-size: 1.9rem; }
.guide-cta p { color: rgba(11, 12, 16, .8); }
.guide-cta .btn { margin-top: 24px; }
.guide-cta .btn-dark:hover { background: #fff; }

/* Grey banner (used by the admin-over-time chart) */
.section-mist { background: var(--mist); }

/* Savings: the button that carries the visitor's numbers into an enquiry */
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: #fff; }
.savings-cta { margin-top: 20px; }

/* Footer */
.site-footer { position: relative; overflow: hidden; padding: 40px 0 0; }
.site-footer .footer-word {
  margin: 30px 0 -0.2em; text-align: center; user-select: none; pointer-events: none;
  font-size: clamp(5rem, 23.5vw, 22rem); font-weight: 600; letter-spacing: -0.07em; line-height: .9;
  color: transparent; background: linear-gradient(#e3e6ee, rgba(227, 230, 238, .12) 88%); -webkit-background-clip: text; background-clip: text;
}
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.site-footer nav a { color: var(--muted); font-size: .93rem; text-decoration: none; transition: color .2s; }
.site-footer nav a:hover { color: var(--ink); }
.site-footer p { font-size: .88rem; color: var(--muted); }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
/* ---------- Business health check page (health-check.html) ----------
   A dark page: heading and heartbeat on the left, the clipboard on the right.
   health-check.js swaps what's on the clipboard for each screen. */
.page-dark { background: var(--ink); }
.page-dark .site-footer { background: #fff; }
.page-dark .header-pill, .page-dark.scrolled .header-pill { background: rgba(255, 255, 255, .97); } /* stays white over the dark page */
.hc { position: relative; isolation: isolate; min-height: 100vh; padding: 150px 0 110px; background: var(--ink); color: #fff; overflow: hidden; }
.hc::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(40% 50% at 4% 0%, rgba(197, 248, 42, .2), transparent 70%), radial-gradient(34% 50% at 100% 100%, rgba(197, 248, 42, .1), transparent 70%);
}
.hc-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 72px; align-items: start; }
.hc-side { position: sticky; top: 130px; padding-top: 20px; }
.hc h1 { font-size: clamp(2.3rem, 4.4vw, 3.8rem); }
.hc-score { display: block; margin-top: 10px; color: var(--accent); font-size: 1.9em; font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.hc-score small { margin-left: 4px; font-size: .34em; font-weight: 500; letter-spacing: -0.02em; color: #a9b0c0; }
.hc-lead { max-width: 500px; margin-top: 22px; font-size: 1.15rem; color: #b6bccb; }
.hc-pulse { margin-top: 44px; }
.hc-pulse svg { display: block; width: 100%; height: auto; overflow: visible; }
.hc-pulse path { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.hc-pulse-rest { stroke: rgba(197, 248, 42, .16); }
/* The bright line draws further along as each question is answered */
.hc-pulse-live { stroke: var(--accent); stroke-dasharray: 1 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgba(197, 248, 42, .85)); transition: stroke-dashoffset .6s var(--ease); }
.hc-hours { max-width: 500px; margin-top: 36px; padding: 22px 24px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 20px; background: rgba(255, 255, 255, .04); }
.hc-hours p { color: #c9ced9; }
.hc-hours b { color: #fff; font-weight: 600; }
.hc-hours a { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--accent); font-weight: 500; text-decoration: none; }
.hc-hours a svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.hc-hours a:hover svg { transform: translateX(3px); }

.hc-board { display: flex; padding-top: 18px; }
.hc .clip { transform: rotate(.6deg); }
.hc .clip-paper { padding: 48px 34px 30px; min-height: 520px; }
.hc .clip-head { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1.5px dashed #aab1c2; font-family: var(--mono); font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.hc-in { animation: hc-in .4s var(--ease) both; }
@keyframes hc-in { from { opacity: 0; transform: translateY(10px); } }
.hc-q { margin: 22px 0 6px; font-size: clamp(1.45rem, 2.4vw, 1.9rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.2; }
.hc-q:focus { outline: none; }
.hc-q-small { font-size: 1.3rem; }
.hc-hint { color: var(--muted); font-size: .98rem; }
.hc-small { margin-top: 12px; font-size: .84rem; color: var(--faint); }
.hc-small a { color: inherit; }
.hc-go { width: 100%; height: 54px; margin-top: 22px; font-family: inherit; font-size: 1.02rem; cursor: pointer; }
.hc-go:disabled { opacity: .6; cursor: default; transform: none; }

/* The four vital signs on the first screen */
.hc-signs { margin-top: 14px; }
.hc-signs li { display: flex; align-items: center; gap: 16px; padding: 13px 0; border-bottom: 1px dashed #d5d9e2; font-size: 1.1rem; font-weight: 500; }
.hc-signs span { font-family: var(--mono); font-size: .78rem; color: var(--faint); }

/* Answer buttons: a letter tag and the answer, filled lime once picked */
.hc-options { display: grid; gap: 10px; margin-top: 20px; }
.hc-option {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; text-align: left;
  font: inherit; font-size: 1.04rem; font-weight: 500; color: var(--ink); background: #fff;
  border: 1.5px solid #d5d9e2; border-radius: 14px; cursor: pointer;
  transition: border-color .15s, background-color .15s, transform .15s var(--ease);
}
.hc-option b { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--mist); font-family: var(--mono); font-size: .8rem; font-weight: 500; transition: background-color .15s; }
.hc-option:hover { border-color: var(--ink); transform: translateX(3px); }
.hc-option.picked { border-color: var(--ink); background: var(--accent-soft); }
.hc-option.picked b { background: var(--accent); }
.hc-back { margin-top: 18px; padding: 6px 0; border: 0; background: none; font: inherit; font-size: .92rem; color: var(--muted); cursor: pointer; }
.hc-back:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.hc form { margin-top: 6px; }

/* Results: readings with bars, the prescription, then the call-back form */
.hc-readings li { display: grid; grid-template-columns: 1fr auto; gap: 7px 12px; padding: 10px 0; font-size: 1.02rem; font-weight: 500; }
.hc-readings b { align-self: center; font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.hc-readings i { grid-column: 1 / -1; height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--tone) var(--level), #e9ecf2 var(--level)); }
.hc-readings .good { --tone: var(--accent-deep); }
.hc-readings .good b { color: #4d6b00; }
.hc-readings .watch { --tone: #ffb020; }
.hc-readings .watch b { color: #9a5b00; }
.hc-readings .bad { --tone: #ff5a4d; }
.hc-readings .bad b { color: #c2281c; }
.clip-paper .hc-rx-title { margin: 26px 0 4px; padding-top: 20px; border-top: 1.5px dashed #aab1c2; font-size: 1.3rem; }
.hc-rx { counter-reset: rx; }
.hc-rx li { padding: 10px 0; border-bottom: 1px dashed #d5d9e2; }
.hc-rx li:last-child { border-bottom: 0; }
.hc-rx b { display: block; font-size: 1.05rem; font-weight: 600; letter-spacing: -0.02em; }
.hc-rx span { display: block; margin-top: 2px; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.hc-call { margin-top: 18px; padding: 20px; border-radius: 18px; background: var(--accent-soft); }
.hc-call > p { font-size: .98rem; color: #3a4050; }
.hc-call > p b { color: var(--ink); font-weight: 600; }
.hc-call .field-row { margin-top: 2px; }
.hc-booked { display: flex; align-items: center; gap: 14px; }
.hc-booked .enquire-tick { width: 36px; height: 36px; margin: 0; }

@media (max-width: 900px) {
  .hc { padding: 120px 0 72px; }
  .hc-grid { grid-template-columns: 1fr; gap: 34px; }
  .hc-side { position: static; padding-top: 0; }
  .hc-pulse { margin-top: 28px; }
  .hc .clip-paper { padding: 44px 20px 24px; min-height: 0; }
}
@media (max-width: 640px) {
  .hc .field-row { grid-template-columns: 1fr; gap: 0; }
  /* Phones: a smaller heading so the clipboard and its first button sit higher up the screen */
  .hc { padding-top: 104px; }
  .hc h1 { font-size: 2.1rem; }
  .hc-lead { margin-top: 14px; font-size: 1rem; }
  .hc-pulse { margin-top: 18px; }
  .hc-grid { gap: 26px; }
}

/* ---------- AI projects page (ai-projects.html) ---------- */
.page-hero { padding-bottom: 40px; }
.page-hero h1 { max-width: 13em; font-size: clamp(2.5rem, 6vw, 4.6rem); }
#projects { padding-top: 72px; }
#projects h2 span, #phases h2 span, #safe h2 span { display: block; color: var(--faint); }

/* The eight projects: an itemised menu with dashed rules, two columns on a computer */
.menu { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; border-top: 1.5px solid var(--ink); }
.menu li { display: grid; grid-template-columns: 44px 1fr; gap: 6px 16px; padding: 26px 0 24px; border-bottom: 1px dashed #c5cad6; }
.menu-no { padding-top: 4px; font-family: var(--mono); font-size: .8rem; color: var(--faint); }
.menu h3 { font-size: 1.32rem; font-weight: 600; letter-spacing: -0.03em; }
.menu li p { margin-top: 6px; color: var(--muted); }
.menu .menu-meta { grid-column: 2; margin-top: 4px; font-family: var(--mono); font-size: .76rem; letter-spacing: .02em; color: var(--muted); }
.menu-meta b { margin-right: 6px; padding: 2px 7px; border-radius: 6px; background: var(--accent); color: var(--ink); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }

/* How a project runs: four steps on a line, like the worked examples */
.phases { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.phases::before { content: ""; position: absolute; top: 15px; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, var(--accent), rgba(255, 255, 255, .2)); }
.phases li { position: relative; padding-top: 52px; }
.phases li::before { content: ""; position: absolute; top: 6px; left: 0; width: 19px; height: 19px; border-radius: 6px; background: var(--accent); box-shadow: 0 0 0 6px var(--ink); }
.phase-tag { font-family: var(--mono); font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; color: var(--accent); }
.phases h3 { margin-top: 10px; font-size: 1.55rem; font-weight: 500; letter-spacing: -0.035em; }
.phases p { margin-top: 8px; color: #a9b0c0; }
.stat { display: grid; grid-template-columns: auto 1fr; gap: 12px 36px; align-items: center; margin-top: 88px; padding-top: 44px; border-top: 1px solid rgba(255, 255, 255, .14); }
.stat-figure { font-size: clamp(3.6rem, 8vw, 6.4rem); font-weight: 600; letter-spacing: -0.06em; line-height: 1; color: var(--accent); }
.stat-text { max-width: 640px; font-size: 1.2rem; line-height: 1.5; color: #d5d9e3; }
.stat-text small { display: block; margin-top: 10px; font-size: .82rem; color: #8a92a5; }
.stat-text a { color: inherit; }


/* After go-live: a short checklist beside the heading */
.pitch-lead { max-width: 440px; margin-top: 18px; font-size: 1.12rem; color: var(--muted); }
.care li { display: grid; grid-template-columns: 220px 1fr; gap: 6px 24px; padding: 18px 0; border-bottom: 1px dashed #c5cad6; }
.care li:first-child { border-top: 1.5px solid var(--ink); }
.care b { display: flex; align-items: center; gap: 12px; font-size: 1.08rem; font-weight: 600; letter-spacing: -0.02em; }
.care b::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 7px;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%230b0c10' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.care span { color: var(--muted); }

/* Safe AI rules: four columns with a heavy rule on top */
.rules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.rules li { padding-top: 22px; border-top: 3px solid var(--ink); }
.rules h3 { font-size: 1.22rem; font-weight: 600; letter-spacing: -0.03em; }
.rules p { margin-top: 10px; color: var(--muted); }
.rules a { color: inherit; text-decoration-color: var(--accent-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; }

@media (max-width: 1000px) {
  .rules { grid-template-columns: 1fr 1fr; }
  .phases { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .phases::before { display: none; }
}
@media (max-width: 900px) {
  .menu { grid-template-columns: 1fr; }
  .care li { grid-template-columns: 1fr; }
  .stat { grid-template-columns: 1fr; margin-top: 64px; }
}
@media (max-width: 640px) {
  .rules, .phases { grid-template-columns: 1fr; }
  .menu li { grid-template-columns: 34px 1fr; gap: 4px 10px; }
}

@media (max-width: 1000px) {
  .benefits { grid-template-columns: 1fr 1fr; }
  .strip { grid-template-columns: 1fr 1fr; gap: 44px 32px; }
  .about, .faq-grid { gap: 48px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 24px;
    box-shadow: 0 30px 60px -30px rgba(11, 12, 16, .4);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
  }
  /* The fade only plays when the menu opens. Closing is instant, so the menu never flashes
     up while a window is being resized across this width. */
  .header-pill.open .site-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s var(--ease); }
  .site-nav a:not(.btn) { padding: 13px 16px; font-size: 1rem; border-radius: 14px; }
  .nav-cta { margin: 8px 0 0; height: 48px; }

  .section { padding: 92px 0; }
  .savings { grid-template-columns: 1fr; }
  .savings-inputs, .savings-result { padding: 48px var(--gutter); }
  .about, .faq-grid { grid-template-columns: 1fr; }
  .hero-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .pitch { grid-template-columns: 1fr; gap: 48px; }
  .health { grid-template-columns: 1fr; gap: 44px; max-width: 460px; margin-inline: auto; }
  .docket-paper { margin: 0 auto; }
  .hero-split { padding-top: 128px; }
  .guide-cta { padding: 30px 24px; }
  .examples { grid-template-columns: 1fr; gap: 56px; }
  .examples::before { display: none; }
  .progress-grid { grid-template-columns: 1fr; gap: 40px; }
  .trend { padding: 26px 22px 22px; }
  .trend-note { position: static; max-width: none; margin-top: 18px; }
  .trend-chart { font-size: 17px; } /* the chart shrinks on a phone, so its labels are set larger to stay readable */
  .section-accent { padding: 104px 0; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .site-header { top: 10px; padding: 0 10px; }
  .header-pill { height: 56px; padding: 0 8px 0 16px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 36px; }
  .hero { padding-top: 128px; }
  .hero-split { padding-top: 112px; }
  .enquire { padding: 24px 20px; border-radius: 22px; }
  .strip { grid-template-columns: 1fr; gap: 40px; padding: 0 8px; }
  .docket-paper { padding: 22px 18px 20px; transform: rotate(-.6deg); }
  .docket-items li { grid-template-columns: 26px 1fr; }
  .docket-items b { grid-column: 2; justify-self: start; }
  .yours li { gap: 16px; padding: 22px 0; }
  .yours span { width: 44px; height: 44px; font-size: 1.15rem; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  /* On a phone the scene is cropped to its middle (script.js moves the cards in), so it stays readable */
  .toon { height: auto; aspect-ratio: 640 / 440; }
  .toon-toggle { right: 8px; bottom: 8px; width: 30px; height: 30px; }
  .toon-toggle svg { width: 11px; height: 11px; }
  .lead { font-size: 1.08rem; margin-top: 22px; }
  .hero-actions { margin-top: 30px; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .savings-inputs, .savings-result { padding: 48px var(--gutter); }
  .bar { grid-template-columns: 40px 1fr 76px; gap: 10px; }
  .tools { padding: 68px 0 52px; }  .marquee-track { gap: 36px; padding-right: 36px; }
  .marquee-track li { font-size: 1.08rem; }
  .benefits { grid-template-columns: 1fr; }
  .benefits h3 { margin-top: 28px; }
  summary { padding: 18px 54px 18px 20px; font-size: 1rem; }
  summary::before, summary::after { right: 20px; }
  details p { padding: 0 20px 20px; }
  .footer-row { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
