/* Albright Innovations
   One family stretched across its width axis: expanded Archivo for statements,
   condensed caps for labels. The logo's split "A" and its vertical bar are the
   recurring structure. Colors come only from the tokens below. */
:root {
  --bg: #FFFFFF;
  --surface: #F4F5F9;
  --cream: #F3F0E8;
  --ink: #15171C;
  --muted: #5A5850;
  --line: #DFE1E8;
  --accent: #2F4BD8;
  --accent-ink: #2F4BD8;  /* blue as text and links; Cream in dark mode, where blue on Ink is too dim */
  --accent-soft: #E3E7FA;
  --on-accent: #FFFFFF;
  --inv-bg: #15171C;
  --inv-ink: #F3F0E8;
  --inv-muted: #A8A49A;
  --inv-line: #2C2F38;
  --inv-accent: #2F4BD8;

  --font: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wide: 125%;
  --narrow: 70%;

  --t-label: 0.78rem;
  --t-small: 0.9rem;
  --t-body: 1.0625rem;
  --t-lead: 1.25rem;
  --t-h3: 1.375rem;
  --t-h2: clamp(2rem, 4.2vw, 3.25rem);
  --t-h1: clamp(2.5rem, 6.4vw, 5.4rem);

  --gutter: clamp(16px, 4vw, 44px);
  --section: clamp(72px, 11vw, 140px);
  --tap: 44px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #15171C;
    --surface: #1B1E25;
    --cream: #1B1E25;
    --ink: #F3F0E8;
    --muted: #A8A49A;
    --line: #2C2F38;
    --accent: #2F4BD8;
    --accent-ink: #F3F0E8;
    --accent-soft: #232A4A;
    --on-accent: #F3F0E8;  /* Cream on the blue fills: Ink on blue is too dim */
    --inv-bg: #0E1014;
    --inv-ink: #F3F0E8;
    --inv-muted: #A8A49A;
    --inv-line: #262932;
    --inv-accent: #2F4BD8;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #15171C;
  --surface: #1B1E25;
  --cream: #1B1E25;
  --ink: #F3F0E8;
  --muted: #A8A49A;
  --line: #2C2F38;
  --accent: #2F4BD8;
    --accent-ink: #F3F0E8;
  --accent-soft: #232A4A;
  --on-accent: #F3F0E8;  /* Cream on the blue fills: Ink on blue is too dim */
  --inv-bg: #0E1014;
  --inv-ink: #F3F0E8;
  --inv-muted: #A8A49A;
  --inv-line: #262932;
  --inv-accent: #2F4BD8;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, ol, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
a { color: inherit; }
img, svg { max-width: 100%; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; border-radius: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 50; padding: 10px 14px; background: var(--accent); color: var(--on-accent); text-decoration: none; }
.skip:focus { top: 8px; }

.wrap { max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
section { padding-block: var(--section); }

/* Type roles */
.label {
  font-stretch: var(--narrow);
  font-weight: 600;
  font-size: var(--t-label);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: 12px;
}
.label::before { content: ""; width: 4px; height: 1.1em; background: var(--accent); flex: none; }
h1, h2 {
  font-stretch: var(--wide);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.04;
  text-wrap: balance;
}
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); font-weight: 600; line-height: 1.25; letter-spacing: -0.005em; }
.lead { font-size: var(--t-lead); line-height: 1.55; color: var(--muted); max-width: 38em; }
.prose { max-width: 36em; display: grid; gap: 1.1em; }
.prose p { color: var(--muted); }
.prose strong { color: var(--ink); }
.hl { color: var(--accent-ink); }
/* A blue line down the left edge of every page; the header carries the one across. */
body::before { content: ""; position: fixed; left: 0; top: 0; bottom: 0; width: 4px; background: var(--accent); z-index: 30; pointer-events: none; transform-origin: top; animation: draw-y 1.1s cubic-bezier(.2,.8,.2,1) both; }
/* Key words in the opener: the brand blue in both light and dark mode (not the Cream that other
   blue text switches to in dark mode), a touch bolder. */
.hero .hl { color: var(--accent); font-weight: 800; }
@media (max-width: 760px) { body::before { width: 3px; } }
.head { display: grid; gap: 24px; align-content: start; }
.intro { display: grid; gap: 24px; margin-bottom: clamp(40px, 6vw, 72px); }
small { font-size: var(--t-small); color: var(--muted); }
.src { font-size: var(--t-small); color: var(--muted); }
.src a { color: var(--muted); text-decoration-color: var(--accent-ink); text-underline-offset: 3px; }
.src a:hover { color: var(--ink); }

/* Wordmark: the A and I always carry the accent */
.wordmark { font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; }
.wordmark b { font-weight: inherit; color: var(--accent-ink); }
.mark { display: block; }
.mark .half { fill: currentColor; }
.mark .bar { fill: var(--accent); }

/* Buttons: every one is at least 44px tall */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--tap);
  padding: 12px 24px;
  font: 600 var(--t-small) / 1.2 var(--font);
  font-stretch: 110%;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--accent); border-color: var(--accent-ink); color: var(--on-accent); }
.btn.primary:hover { filter: brightness(1.08); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn.small { padding: 9px 16px; min-height: 40px; }
.more { display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap); font-weight: 600; font-size: var(--t-small); color: var(--accent-ink); text-decoration: none; }
.more:hover .arrow { transform: translateX(3px); }
.more .arrow { transition: transform .2s; }

/* Header */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; background: var(--accent); transform-origin: left; animation: draw-x .9s cubic-bezier(.2,.8,.2,1) .15s both; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 0.92rem; min-height: var(--tap); }
.brand .mark { width: 26px; height: 26px; color: var(--ink); flex: none; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { text-decoration: none; font-size: var(--t-small); color: var(--muted); transition: color .2s; padding-block: 10px; }
.nav a:not(.btn):hover { color: var(--ink); }
.nav .btn { padding: 10px 18px; white-space: nowrap; }
@media (max-width: 1000px) { .nav { gap: 16px; } .nav a:not(.btn) { display: none; } }
@media (max-width: 860px) { .nav { display: none; } }

/* Phone and tablet menu: shown once the header links are hidden */
.menu { display: none; }
.menu summary {
  display: flex; align-items: center; gap: 10px; min-height: var(--tap); padding-inline: 4px;
  list-style: none; cursor: pointer; font-weight: 600; font-size: var(--t-small); color: var(--ink);
}
.menu summary::-webkit-details-marker { display: none; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 18px; height: 2px; background: var(--ink); transition: transform .2s, background .2s; }
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }
.menu[open] .menu-icon { background: transparent; }
.menu[open] .menu-icon::before { transform: translateY(6px) rotate(45deg); }
.menu[open] .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }
.menu-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  display: flex; flex-direction: column; padding: 8px 20px 20px;
  background: var(--bg); border-bottom: 1px solid var(--line);
}
.menu-panel a { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
.menu-panel a:last-child { border-bottom: 0; }
@media (max-width: 1000px) { .menu { display: block; } }
@media (min-width: 861px) and (max-width: 1000px) { .menu-panel { left: auto; width: 320px; } }
@media (max-width: 420px) { .top .wrap { gap: 12px; } .brand { gap: 10px; } .brand .wordmark { font-size: 0.74rem; letter-spacing: 0.1em; } }

/* Sticky bottom bar on phones */
.stickybar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  gap: 10px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.stickybar .btn { flex: 1; padding-inline: 10px; font-size: 0.84rem; white-space: nowrap; }
@media (max-width: 860px) {
  .stickybar { display: flex; }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
  /* The assistant's chat bubble (Stammer) pins itself 20px from the bottom with an inline style we can't
     override, so it is nudged up with a transform to sit above the sticky bar instead of on top of it. */
  #toggleChatwidget { transform: translateY(calc(-66px - env(safe-area-inset-bottom, 0px))) !important; }
}

/* Hero: the statement on the left, the time calculator on the right */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(56px, 7vw, 96px); position: relative; overflow: hidden; isolation: isolate; }
/* The mark, fixed in the middle of the screen behind every page: the page scrolls, the mark stays. */
/* z-index -1 puts it behind the page content, so anything with its own fill (cards, the dark band, the phone demo) covers it like a real background. */
.site-mark { position: fixed; left: 50%; top: 50%; width: min(110vh, 100vw); height: auto; aspect-ratio: 1; translate: -50% -50%; z-index: -1; color: var(--ink); opacity: .06; pointer-events: none; mix-blend-mode: multiply; }
.site-mark .bar { fill: var(--accent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .site-mark { mix-blend-mode: screen; opacity: .08; } }
:root[data-theme="dark"] .site-mark { mix-blend-mode: screen; opacity: .08; }
/* A band of blue light along the bottom, slowly shifting */
.hero-aurora { position: absolute; left: -10%; right: -10%; bottom: -14vh; height: 40vh; z-index: -1; filter: blur(30px); opacity: .75; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--accent-soft), var(--accent), var(--accent-soft), transparent); background-size: 200% 100%; border-radius: 50% 50% 0 0; animation: aurora 10s ease-in-out infinite alternate; }
@keyframes aurora { to { background-position: 100% 0; transform: translateY(-5vh) scaleX(1.1); } }
/* The word that changes: its own line, so the rest of the headline holds still */
.hero .rot { display: grid; color: var(--accent); font-weight: 800; }
.hero .rot > span { grid-area: 1 / 1; white-space: nowrap; opacity: 0; transform: translateY(.35em); animation: rot-word 12s infinite; }
.hero .rot > span:nth-child(2) { animation-delay: 3s; } .hero .rot > span:nth-child(3) { animation-delay: 6s; } .hero .rot > span:nth-child(4) { animation-delay: 9s; }
@keyframes rot-word { 0%, 22% { opacity: 1; transform: none; } 25%, 100% { opacity: 0; transform: translateY(-.35em); } 97% { transform: translateY(.35em); } }
@media (prefers-reduced-motion: reduce) { .hero-aurora { animation: none; } .hero .rot > span { animation: none; } .hero .rot > span:first-child { opacity: 1; transform: none; } }
@media (max-width: 760px) { .site-mark { width: 140vw; } .hero-aurora { height: 30vh; } }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 28px; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 4.4rem); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .note { font-size: var(--t-small); color: var(--muted); display: flex; align-items: center; gap: 10px; }
.hero .note::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.hero-mark { display: flex; align-items: center; gap: 14px; }
.hero-mark .mark { width: 44px; height: 44px; color: var(--ink); overflow: visible; }
.hero-mark .half.l { animation: in-l 1.1s cubic-bezier(.2,.7,.1,1) both; }
.hero-mark .half.r { animation: in-r 1.1s cubic-bezier(.2,.7,.1,1) both; }
.hero-mark .bar { transform-origin: 50% 100%; transform-box: fill-box; animation: rise 1.2s .15s cubic-bezier(.2,.7,.1,1) both; }
@keyframes in-l { from { transform: translateX(-26px); } to { transform: none; } }
@keyframes in-r { from { transform: translateX(26px); } to { transform: none; } }
@keyframes rise { from { transform: scaleY(.55); } to { transform: none; } }
.hero-mark span { font-stretch: var(--narrow); font-weight: 600; font-size: var(--t-label); letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Tools: calculators share one card */
.tool {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: clamp(20px, 3vw, 32px);
  display: grid; gap: 22px;
  scroll-margin-top: 90px;
}
.tool-head { display: grid; gap: 8px; }
.tool-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.tool-head p { color: var(--muted); }
.sliders { display: grid; gap: 14px; }
.slider { display: grid; gap: 6px; }
.slider-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.slider-row label { font-weight: 600; font-size: var(--t-small); }
.num { display: inline-flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; color: var(--muted); font-size: var(--t-small); }
.num input {
  width: 4.6em; min-height: 40px; padding: 6px 8px; text-align: right;
  font: 600 var(--t-body) / 1.2 var(--font); font-variant-numeric: tabular-nums;
  color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 2px;
}
.num input:focus { border-color: var(--accent-ink); outline: none; }
.num.money input { width: 5.4em; }
input[type="range"] {
  --p: 0%;
  width: 100%; height: var(--tap); margin: 0; padding: 0;
  background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 6px; border-radius: 3px;
  background: linear-gradient(to right, var(--accent) 0 var(--p), var(--line) var(--p) 100%);
}
input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--line); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--accent); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 24px; height: 24px; margin-top: -9px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--accent);
  box-shadow: 0 1px 4px rgba(21, 23, 28, .25);
}
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--bg); border: 3px solid var(--accent); box-shadow: 0 1px 4px rgba(21, 23, 28, .25); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
input[type="range"]:focus-visible::-moz-range-thumb { outline: 2px solid var(--accent-ink); outline-offset: 3px; }

.tool-out { display: grid; gap: 16px; border-top: 2px solid var(--ink); padding-top: 18px; }
.tool-out .title { font-stretch: var(--narrow); font-weight: 600; font-size: var(--t-label); letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
/* The dollar total gets its own full-width row so a big number never spills out of the box. */
.stat.big { grid-column: 1 / -1; }
.stat { display: grid; gap: 4px; align-content: start; }
.stat .k { font-stretch: var(--narrow); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.stat .v {
  font-stretch: var(--wide); font-weight: 600; letter-spacing: -0.02em; line-height: 1.05;
  font-size: clamp(1.5rem, 2.6vw, 2rem); font-variant-numeric: tabular-nums; display: block;
}
.stat.big .v { color: var(--accent-ink); font-size: clamp(2rem, 3.8vw, 2.9rem); overflow-wrap: anywhere; }
.equiv { font-size: var(--t-lead); line-height: 1.4; }
.bars { display: grid; gap: 8px; }
.bars li { display: grid; grid-template-columns: minmax(0, 11em) 1fr auto; gap: 10px; align-items: center; font-size: var(--t-small); }
.bars .track { height: 10px; background: var(--line); border-radius: 2px; overflow: hidden; }
.bars .fill { display: block; height: 100%; width: 0; background: var(--accent); transition: width .3s; }
.bars .n { font-variant-numeric: tabular-nums; color: var(--muted); min-width: 3.5em; text-align: right; }
.bench { font-size: var(--t-small); color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.bench a { color: var(--muted); text-decoration-color: var(--accent-ink); text-underline-offset: 3px; }
.tool .btn { justify-self: start; }
.how { border-top: 1px solid var(--line); padding-top: 10px; font-size: var(--t-small); color: var(--muted); }
.how summary { cursor: pointer; font-weight: 600; color: var(--ink); min-height: var(--tap); display: flex; align-items: center; gap: 8px; }
.how summary::marker { color: var(--accent-ink); }
.how p { margin-top: 8px; max-width: 48em; }
@media (max-width: 560px) {
  .bars li { grid-template-columns: minmax(0, 8em) 1fr auto; }
}

/* Sound familiar: expandable rows */
.familiar { border-top: 1px solid var(--line); }
.familiar .wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.rows { border-top: 1px solid var(--line); display: grid; }
.row { border-bottom: 1px solid var(--line); }
.row summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 28px 1fr 28px; gap: 14px; align-items: baseline;
  padding-block: 20px; font-size: var(--t-lead); line-height: 1.45;
}
.row summary::-webkit-details-marker { display: none; }
.row summary::before { content: ""; width: 14px; height: 2px; background: var(--accent); transform: translateY(-0.35em); }
.row summary::after { content: "+"; color: var(--accent-ink); font-weight: 400; font-size: 1.4em; line-height: 1; text-align: right; transition: transform .2s; }
.row[open] summary::after { content: "–"; }
.row-body { display: grid; gap: 12px; padding: 0 28px 24px 42px; }
.row-body p { color: var(--muted); max-width: 40em; }
.row-body .stat-line { color: var(--ink); border-left: 2px solid var(--accent); padding-left: 14px; }
.row-body .stat-line .src { display: block; }
.row-body .do { color: var(--ink); }
.row-body .do b { color: var(--accent-ink); font-weight: 600; }
@media (max-width: 860px) { .familiar .wrap { grid-template-columns: 1fr; } .row-body { padding-left: 42px; padding-right: 0; } }
@media (max-width: 480px) { .row summary { font-size: 1.08rem; grid-template-columns: 20px 1fr 24px; gap: 10px; } .row-body { padding-left: 30px; } }

/* Missed-call calculator: tool on the left, research on the right */
.calls { background: var(--surface); }
.calls .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.research { display: grid; gap: 24px; align-content: start; }
.research ul { display: grid; border-top: 1px solid var(--line); }
.research li { padding-block: 18px; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.research li b { font-stretch: var(--wide); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.01em; line-height: 1.3; }
.research li p { color: var(--muted); font-size: var(--t-small); }
@media (max-width: 900px) { .calls .wrap { grid-template-columns: 1fr; } }

/* First call to final invoice */
.flow-sec .wrap { display: grid; gap: clamp(32px, 5vw, 56px); }
.flow-head { display: grid; gap: 24px; }
.toggle { display: inline-flex; border: 1.5px solid var(--ink); border-radius: 2px; overflow: hidden; }
.toggle button { min-height: var(--tap); padding: 10px 22px; border: 0; background: transparent; cursor: pointer; font-weight: 600; font-size: var(--t-small); letter-spacing: 0.04em; }
.toggle button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.flow { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0; position: relative; counter-reset: step; }
.flow::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: var(--line); }
.flow li { display: grid; gap: 10px; align-content: start; padding-right: 18px; position: relative; }
.flow .dot { width: 24px; height: 24px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line); display: grid; place-items: center; position: relative; font-size: 0.72rem; font-weight: 600; font-variant-numeric: tabular-nums; transition: background .3s, border-color .3s, color .3s; }
.flow .dot::before { counter-increment: step; content: counter(step); }
.flow .step { font-weight: 600; line-height: 1.25; }
.flow .today, .flow .withus { font-size: var(--t-small); color: var(--muted); max-width: 20em; }
.flow .withus { color: var(--ink); }
.flow .mode { font-stretch: var(--narrow); font-weight: 600; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.flow[data-js] .mode { display: none; }
.flow[data-js][data-mode="today"] .withus { display: none; }
.flow[data-js][data-mode="withus"] .today { display: none; }
.flow[data-js][data-mode="today"] .dot { border-color: var(--muted); color: var(--muted); }
.flow[data-js][data-mode="today"] li.stall .dot { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.flow[data-js][data-mode="withus"] .dot { background: var(--accent); border-color: var(--accent-ink); color: var(--on-accent); transition-delay: calc(var(--i) * 90ms); }
.flow[data-js][data-mode="withus"] .withus { animation: fade .4s both; animation-delay: calc(var(--i) * 90ms); }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.flow-note { font-size: var(--t-small); color: var(--muted); max-width: 44em; }
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; gap: 22px; padding-left: 36px; }
  .flow::before { left: 11px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .flow li { padding-right: 0; }
  .flow .dot { position: absolute; left: -36px; top: 0; }
}

/* Services */
.services { background: var(--surface); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 2px minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); }
.split .spine { background: var(--accent); }
.col { display: grid; gap: 28px; align-content: start; }
.col-head { display: grid; gap: 6px; }
.col-head .kicker b { font-weight: inherit; color: var(--accent-ink); }
.col-head .kicker { font-stretch: var(--wide); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -0.02em; line-height: 1.1; }
.col-head p { color: var(--muted); }
.svc { display: grid; gap: 0; }
.svc li { padding-block: 22px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.svc li p { color: var(--muted); max-width: 32em; }
.svc h3 a { text-decoration: none; }
.svc h3 a:hover { color: var(--accent-ink); }
.svc .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.svc .tags span {
  font-stretch: var(--narrow); font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 4px 9px; border: 1px solid var(--line); border-radius: 2px; color: var(--muted);
}
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } .split .spine { height: 2px; width: 64px; } }

/* Operations checkup (quiz) */
.checkup .wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.quiz { background: var(--cream); border: 1px solid var(--line); border-radius: 2px; padding: clamp(20px, 3vw, 32px); display: grid; gap: 20px; scroll-margin-top: 90px; }
.progress { height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .3s; }
.quiz-count { font-stretch: var(--narrow); font-weight: 600; font-size: var(--t-label); letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.q { display: grid; gap: 14px; padding-block: 14px; border-top: 1px solid var(--line); }
.quiz[data-js] .q { border-top: 0; padding-block: 0; }
.quiz[data-js] .q[hidden] { display: none; }
.q legend { font-stretch: var(--wide); font-weight: 600; font-size: clamp(1.2rem, 2.2vw, 1.6rem); letter-spacing: -0.01em; line-height: 1.2; margin-bottom: 8px; }
.q .choices, .lead-form .choices { display: flex; flex-wrap: wrap; gap: 10px; }
.q .choices label, .lead-form .choices label {
  display: inline-flex; align-items: center; gap: 10px; min-height: var(--tap); padding: 10px 18px;
  border: 1.5px solid var(--ink); border-radius: 2px; cursor: pointer; font-weight: 600; font-size: var(--t-small);
  background: var(--bg);
}
.q .choices input, .lead-form .choices input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent-ink); }
.q .choices label:has(input:checked), .lead-form .choices label:has(input:checked) { background: var(--ink); color: var(--bg); }
.q .choices label:has(input:checked) input, .lead-form .choices label:has(input:checked) input { accent-color: var(--bg); }
.quiz-nav { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.quiz-result { display: grid; gap: 18px; border-top: 2px solid var(--ink); padding-top: 18px; }
.score { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.score .n { font-stretch: var(--wide); font-weight: 600; font-size: clamp(3rem, 7vw, 4.6rem); letter-spacing: -0.03em; line-height: 1; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.score .of { color: var(--muted); }
.score .tag { font-stretch: var(--wide); font-weight: 600; font-size: clamp(1.3rem, 2.4vw, 1.8rem); letter-spacing: -0.01em; }
.fixes { display: grid; gap: 0; border-top: 1px solid var(--line); }
.fixes li { padding-block: 14px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.fixes li::before { content: counter(fix); counter-increment: fix; font-stretch: var(--wide); font-weight: 600; color: var(--accent-ink); }
.fixes { counter-reset: fix; }
.fixes b { display: block; }
.fixes span { color: var(--muted); font-size: var(--t-small); }
@media (max-width: 860px) { .checkup .wrap { grid-template-columns: 1fr; } }

/* Outcomes */
.out-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); }
.out { display: grid; gap: 14px; align-content: start; padding-top: 26px; border-top: 2px solid var(--ink); }
.out .word { font-stretch: var(--wide); font-weight: 600; font-size: clamp(1.5rem, 2.4vw, 1.9rem); letter-spacing: -0.02em; line-height: 1.1; }
.out p { color: var(--muted); }
@media (max-width: 860px) { .out-grid { grid-template-columns: 1fr; } }

/* Clients */
.clients { background: var(--bg); border-top: 1px solid var(--line); }
.clients .wrap { display: grid; gap: clamp(40px, 6vw, 64px); }
.logo-wall { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.logo-wall li { display: grid; gap: 12px; align-content: start; min-width: 0; }
.logo-tile { --pad: clamp(12px, 1.8vw, 24px); background: var(--inv-bg); aspect-ratio: 4 / 3; width: 100%; position: relative; overflow: hidden; border-radius: 2px; transition: transform .25s; }
.logo-wall li:hover .logo-tile { transform: translateY(-2px); }
.logo-tile img { position: absolute; top: var(--pad); left: var(--pad); width: calc(100% - 2 * var(--pad)); height: calc(100% - 2 * var(--pad)); object-fit: contain; display: block; }
.logo-name { font-stretch: var(--narrow); font-weight: 600; font-size: var(--t-label); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 900px) {
  .logo-wall { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 14px; }
  .logo-wall li { flex: 0 0 calc(50% - 7px); }
  .logo-name { font-size: 0.7rem; letter-spacing: 0.14em; }
}

/* How we start (inverted band) */
.start { background: var(--inv-bg); color: var(--inv-ink); --accent: var(--inv-accent); --accent-ink: var(--inv-ink); --bg: var(--inv-bg); --ink: var(--inv-ink); --line: var(--inv-line); --muted: var(--inv-muted); }
.start .wrap { display: grid; gap: clamp(40px, 6vw, 64px); }
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--inv-line); border-bottom: 1px solid var(--inv-line); }
.door { display: grid; gap: 16px; align-content: start; padding: clamp(28px, 4vw, 44px) clamp(20px, 4vw, 56px) clamp(32px, 4vw, 48px) 0; }
.door + .door { padding-left: clamp(20px, 4vw, 56px); padding-right: 0; border-left: 1px solid var(--inv-line); }
.door-tag { font-stretch: var(--narrow); font-weight: 600; font-size: var(--t-label); letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-ink); }
.door h3 { font-stretch: var(--wide); font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.02em; line-height: 1.1; }
.door p { color: var(--inv-muted); max-width: 30em; }
.door .btn { justify-self: start; margin-top: 8px; color: var(--inv-ink); border-color: var(--inv-line); }
.door .btn:hover { color: var(--accent-ink); border-color: var(--accent-ink); }
.start .closing { font-size: var(--t-lead); color: var(--inv-ink); max-width: 36em; }
.door-full { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(20px, 4vw, 56px); padding: clamp(28px, 4vw, 44px); border: 1.5px solid var(--accent); border-radius: 2px; }
.door-full-head, .door-full-body { display: grid; gap: 16px; align-content: start; }
.door-full h3 { font-stretch: var(--wide); font-weight: 600; font-size: clamp(1.75rem, 3.2vw, 2.5rem); letter-spacing: -0.02em; line-height: 1.05; }
.door-full p { color: var(--inv-muted); max-width: 36em; }
.door-full .btn { justify-self: start; margin-top: 8px; color: var(--inv-bg); }
@media (max-width: 760px) {
  .door-full, .doors { grid-template-columns: 1fr; }
  .door, .door + .door { padding-left: 0; padding-right: 0; border-left: 0; }
  .door + .door { border-top: 1px solid var(--inv-line); }
}

/* Answers on the homepage */
.answers .wrap { display: grid; gap: clamp(32px, 5vw, 56px); }
.qa-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 64px); border-top: 1px solid var(--line); }
.qa { padding-block: 22px 18px; border-bottom: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.qa h3 { font-size: 1.2rem; }
.qa h3 a { text-decoration: none; }
.qa h3 a:hover { color: var(--accent-ink); }
.qa p { color: var(--muted); font-size: var(--t-small); }
@media (max-width: 760px) { .qa-grid { grid-template-columns: 1fr; } }

/* About */
.about .wrap { display: grid; gap: clamp(48px, 7vw, 88px); }
.about .top-row, .about-page .top-row, .lp-about .top-row { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-copy { display: grid; gap: 32px; }
.about .prose .intro-p, .about-page .prose .intro-p, .lp-about .prose .intro-p { color: var(--ink); font-size: var(--t-lead); line-height: 1.5; }
@media (min-width: 861px) { .portrait { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 100px); } }
.portrait { display: grid; gap: 16px; }
.portrait img { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; background: var(--surface); }
.portrait figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 1px solid var(--line); padding-top: 14px; }
.portrait .name { font-stretch: var(--wide); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.01em; }
.portrait .role { font-stretch: var(--narrow); font-weight: 600; font-size: var(--t-label); letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 860px) { .about .top-row, .about-page .top-row, .lp-about .top-row { grid-template-columns: 1fr; } .portrait { max-width: 260px; } .portrait .name { white-space: nowrap; } }

.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line); }
.timeline li { display: grid; gap: 10px; padding-right: 24px; position: relative; align-content: start; }
.timeline .dot { width: 15px; height: 15px; border: 2px solid var(--accent); background: var(--bg); border-radius: 50%; position: relative; }
.timeline li:last-child .dot { background: var(--accent); }
.timeline .when { font-stretch: var(--wide); font-weight: 600; font-size: 1.6rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; margin-top: 8px; }
.timeline .what { font-weight: 600; }
.timeline p { color: var(--muted); font-size: var(--t-small); max-width: 22em; }
.roles { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: var(--t-small); color: var(--muted); }
.roles span:not(.sep) { color: var(--ink); }
.roles .sep { color: var(--accent-ink); }
@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; gap: 28px; padding-left: 30px; }
  .timeline::before { left: 7px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .timeline .dot { position: absolute; left: -30px; top: 6px; }
  .timeline .when { margin-top: 0; }
}

/* Principles */
.principles { border-top: 1px solid var(--line); }
.principles .wrap { display: grid; gap: clamp(40px, 6vw, 64px); }
.p-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); }
.p-grid li { padding-block: 26px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.p-grid p { color: var(--muted); max-width: 32em; }
@media (max-width: 760px) { .p-grid { grid-template-columns: 1fr; } }

/* Contact */
.contact { background: var(--surface); }
.contact .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.reach { display: grid; gap: 18px; }
.reach .k { font-stretch: var(--narrow); font-weight: 600; font-size: var(--t-label); letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.email { font-stretch: 100%; font-weight: 500; font-size: clamp(1.05rem, 2vw, 1.35rem); text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 4px; overflow-wrap: anywhere; justify-self: start; }
.reach .row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.reach .aside { font-size: var(--t-small); color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; }
@media (max-width: 860px) { .contact .wrap { grid-template-columns: 1fr; } }

/* Chat panel */
.chat {
  width: min(560px, calc(100% - 24px)); max-width: none; max-height: min(760px, calc(100% - 24px));
  margin: auto; padding: 0; border: 1px solid var(--line); border-radius: 2px;
  background: var(--bg); color: var(--ink);
  display: grid; grid-template-rows: auto 1fr auto auto;
}
.chat:not([open]) { display: none; }
.chat::backdrop { background: rgba(21, 23, 28, .55); }
.chat-head { display: flex; justify-content: space-between; gap: 16px; align-items: start; padding: 22px 24px 16px; border-bottom: 1px solid var(--line); }
.chat-head h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-top: 8px; }
.chat-close { width: var(--tap); height: var(--tap); border: 1.5px solid var(--line); background: transparent; border-radius: 2px; cursor: pointer; font-size: 1.6rem; line-height: 1; flex: none; }
.chat-close:hover { border-color: var(--ink); }
.chat-log { overflow-y: auto; padding: 18px 24px; display: grid; gap: 12px; align-content: start; min-height: 240px; }
.msg { max-width: 88%; padding: 12px 16px; border-radius: 2px; font-size: var(--t-body); line-height: 1.5; }
.msg.us { background: var(--surface); justify-self: start; }
.msg.me { background: var(--accent); color: var(--on-accent); justify-self: end; }
.msg.note { background: transparent; color: var(--muted); font-size: var(--t-small); padding: 0; max-width: 100%; }
.msg a { color: inherit; }
.attach { display: flex; flex-wrap: wrap; gap: 8px; }
.attach span { font-stretch: var(--narrow); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 10px; border: 1px solid var(--accent); color: var(--accent-ink); border-radius: 2px; }
.chat-form { display: flex; gap: 10px; padding: 14px 24px; border-top: 1px solid var(--line); }
.chat-input { flex: 1; min-height: var(--tap); padding: 10px 14px; font: inherit; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 2px; min-width: 0; }
.chat-input:focus { border-color: var(--accent-ink); outline: none; }
.chat-foot { padding: 0 24px 18px; font-size: var(--t-small); color: var(--muted); }
.chat-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 640px) {
  .chat { width: 100%; height: 100%; max-height: 100%; margin: 0; border: 0; border-radius: 0; }
  .chat-head, .chat-log, .chat-form, .chat-foot { padding-inline: var(--gutter); }
}

/* Answer pages, About, How we work */
.answer, .page { padding-block: clamp(40px, 6vw, 72px) var(--section); }
.crumbs { font-size: var(--t-small); color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.answer-head { display: grid; gap: 20px; max-width: 42em; margin-bottom: clamp(32px, 5vw, 48px); }
.answer-head h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.direct { color: var(--ink); }
.updated { font-size: var(--t-small); color: var(--muted); }
.answer-body { max-width: 42em; }
.answer-body h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin-top: 0.6em; }
.answer-body h3 { margin-top: 0.4em; }
.answer-body ul, .answer-body ol { display: grid; gap: 8px; padding-left: 1.3em; color: var(--muted); }
.answer-body ul { list-style: disc; }
.answer-body ol { list-style: decimal; }
.answer-body li::marker { color: var(--accent-ink); }
.answer-body table { width: 100%; border-collapse: collapse; font-size: var(--t-small); }
.answer-body th, .answer-body td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.answer-body th { font-stretch: var(--narrow); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.answer-body td { color: var(--muted); }
.answer-body td:first-child { color: var(--ink); font-weight: 600; }
.answer-body .src { border-top: 1px solid var(--line); padding-top: 12px; }
.cta-box { margin-top: clamp(40px, 6vw, 64px); max-width: 42em; display: grid; gap: 14px; padding: clamp(24px, 4vw, 36px); background: var(--cream); border: 1px solid var(--line); border-radius: 2px; }
.cta-box h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }
.cta-box p { color: var(--muted); }
.cta-box .btn { justify-self: start; }
.more-answers { margin-top: clamp(40px, 6vw, 64px); display: grid; gap: 16px; }
.more-answers ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 48px); border-top: 1px solid var(--line); }
.more-answers li { padding-block: 12px; border-bottom: 1px solid var(--line); font-size: var(--t-small); }
.more-answers a { text-decoration: none; min-height: var(--tap); display: flex; align-items: center; }
.more-answers a:hover { color: var(--accent-ink); }
@media (max-width: 760px) { .more-answers ul { grid-template-columns: 1fr; } }
.page .wrap { display: grid; gap: clamp(40px, 6vw, 64px); }
.page .head h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.page .prose { max-width: 42em; }
.page .prose h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin-top: 0.6em; }
.page .prose ul, .page .prose ol { display: grid; gap: 8px; padding-left: 1.3em; color: var(--muted); }
.page .prose ul { list-style: disc; }
.page .prose ol { list-style: decimal; }
.page .prose li::marker { color: var(--accent-ink); }
.steps { display: grid; gap: 0; border-top: 1px solid var(--line); counter-reset: s; max-width: 42em; }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding-block: 22px; border-bottom: 1px solid var(--line); }
.steps li::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-stretch: var(--wide); font-weight: 600; font-size: 1.4rem; color: var(--accent-ink); line-height: 1.2; }
.steps b { display: block; font-size: 1.1rem; margin-bottom: 4px; }
.steps p { color: var(--muted); }

/* Footer */
footer { padding-block: 18px; border-top: 1px solid var(--line); }
/* One slim row: the mark, the page links, the copyright. Contact details live in the contact section and the chat panel. */
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.foot-row .foot-nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.foot-row .foot-nav a { min-height: 36px; }
@media (max-width: 760px) { .foot-row { justify-content: flex-start; } }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); }
.foot-brand { display: grid; gap: 14px; align-content: start; justify-items: start; }
footer .tag { font-stretch: var(--narrow); font-weight: 600; font-size: var(--t-label); letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }
.foot-areas { font-size: var(--t-small); color: var(--muted); max-width: 30em; }
.foot-nav { display: grid; gap: 2px; align-content: start; }
.foot-nav a { text-decoration: none; font-size: var(--t-small); color: var(--muted); min-height: 36px; display: flex; align-items: center; }
.foot-nav a:hover { color: var(--ink); }
.foot-reach { display: grid; gap: 14px; align-content: start; justify-items: start; }
.foot-end { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); }
footer small { color: var(--muted); font-size: var(--t-small); }
footer small a { color: var(--muted); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

/* Facebook links */
.fb { width: 20px; height: 20px; fill: currentColor; flex: none; }
.social { display: inline-flex; align-items: center; gap: 10px; justify-self: start; min-height: var(--tap); font-size: var(--t-small); font-weight: 600; color: var(--ink); text-decoration: none; transition: color .2s; }
.social .fb { color: var(--accent-ink); }
.social:hover { color: var(--accent-ink); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Homepage: link to the full Answers page */
.see-all { margin-top: 28px; }

/* Phones: short and to the point. The extras stay on larger screens and on their own pages. */
@media (max-width: 760px) {
  :root { --section: 52px; }
  .hero { padding-block: 28px 44px; }
  .hero-mark,
  .hero .note,
  .familiar .src,
  .tool .bars,
  .research li:nth-child(n+3),
  .flow-note,
  .svc .tags,
  .outcomes,
  .clients .lead,
  .start .closing,
  .principles { display: none; }
  .logo-wall li { flex-basis: calc(33.333% - 10px); }
  .logo-name { display: none; }
  .tool-head p { display: none; }
  .about .wrap { gap: 0; }
  #about .portrait { grid-template-columns: 96px 1fr; align-items: center; max-width: none; }
  #about .portrait figcaption { border-top: 0; padding-top: 0; flex-direction: column; gap: 4px; }
}

/* What we do page */
.wwd-jump { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 32px; max-width: 42em; }
.wwd-jump a { display: grid; gap: 4px; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 2px; text-decoration: none; font-stretch: var(--wide); font-weight: 700; font-size: 1.1rem; color: var(--ink); transition: border-color .2s; }
.wwd-jump a:hover { border-color: var(--accent-ink); }
.wwd-jump b, .wwd-side-head h2 b { font-weight: inherit; color: var(--accent-ink); }
.wwd-jump .wwd-jump-sub { font-stretch: var(--narrow); font-weight: 600; font-size: var(--t-label); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.wwd-side { display: grid; gap: 24px; padding: 0; scroll-margin-top: 90px; }
.wwd-side-head { display: grid; gap: 8px; max-width: 42em; }
.wwd-side-head h2 { font-stretch: var(--wide); font-weight: 700; letter-spacing: -0.02em; }
.wwd-side-head p { color: var(--muted); font-size: var(--t-lead); line-height: 1.5; }
.wwd-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); border-top: 2px solid var(--ink); }
.wwd { display: grid; gap: 14px; align-content: start; padding-block: 24px; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.wwd dl { display: grid; gap: 10px; }
.wwd dt { font-stretch: var(--narrow); font-weight: 600; font-size: var(--t-label); letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-ink); }
.wwd dd { color: var(--muted); margin: -6px 0 4px; }
.wwd dd a { color: var(--ink); text-decoration-color: var(--accent-ink); text-underline-offset: 3px; }
@media (max-width: 760px) { .wwd-list { grid-template-columns: 1fr; } .wwd-jump { grid-template-columns: 1fr; } }

/* Landing pages (/free-website, /operations, /contractors): one job per page, no menu.
   Everything here reuses the tokens and type roles above. */
.landing-top .wrap { justify-content: flex-start; }
.lp-hero .wrap { grid-template-columns: 1fr; }
.lp-hero .hero-copy { max-width: 46em; }
.lp-hero h1 { font-size: clamp(2.3rem, 5.6vw, 4.6rem); }
.lp-sec { padding-block: clamp(48px, 7vw, 96px); border-top: 1px solid var(--line); }
.lp-sec .wrap { display: grid; gap: clamp(28px, 4vw, 44px); }
.lp-sec .head, .lp-sec .prose { max-width: 42em; }
.lp-sec .prose p { font-size: var(--t-lead); line-height: 1.5; color: var(--ink); }
.lp-sec .steps { max-width: 42em; }
.lp-note { font-size: var(--t-lead); font-weight: 600; max-width: 42em; }
.lp-thin { padding-block: clamp(28px, 4vw, 44px); }
.lp-aside { font-size: var(--t-lead); color: var(--muted); }
.lp-aside a { color: var(--ink); font-weight: 600; text-decoration-color: var(--accent-ink); text-underline-offset: 3px; }
.lp-rows { display: grid; border-top: 1px solid var(--line); max-width: 42em; }
.lp-rows li { display: grid; grid-template-columns: 20px 1fr; gap: 14px; align-items: baseline; padding-block: 18px; border-bottom: 1px solid var(--line); font-size: var(--t-lead); line-height: 1.45; }
.lp-rows li::before { content: ""; width: 14px; height: 2px; background: var(--accent); transform: translateY(-0.35em); }
.lp-rows li a { display: block; margin-top: 6px; font-size: var(--t-small); color: var(--muted); text-decoration-color: var(--accent-ink); text-underline-offset: 3px; }
.lp-rows li a:hover { color: var(--ink); }
.lp-list { display: grid; border-top: 1px solid var(--line); max-width: 42em; }
.lp-list li { padding-block: 16px; border-bottom: 1px solid var(--line); color: var(--muted); }
.lp-list li b { color: var(--ink); }
.lp-list li a { color: var(--ink); text-decoration-color: var(--accent-ink); text-underline-offset: 3px; }
.lp-catch { border-top: 0; background: var(--inv-bg); color: var(--inv-ink); --accent: var(--inv-accent); --accent-ink: var(--inv-ink); --bg: var(--inv-bg); --ink: var(--inv-ink); --line: var(--inv-line); --muted: var(--inv-muted); }
.lp-catch .btn { color: var(--inv-ink); border-color: var(--inv-line); }
.lp-catch .btn:hover { color: var(--accent-ink); border-color: var(--accent-ink); }
.lp-tool .wrap { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.lp-tool .tool-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
@media (max-width: 900px) { .lp-tool .wrap { grid-template-columns: 1fr; } }

/* Video slot */
.video { display: grid; gap: 14px; max-width: 54em; }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: var(--inv-bg); border-radius: 2px; overflow: hidden; }
.video-frame img, .video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; border: 0; object-fit: cover; }
.video figcaption { font-size: var(--t-small); color: var(--muted); }

/* FAQ: real text on the page, and the same text goes into the FAQ schema */
.faq { display: grid; border-top: 1px solid var(--line); max-width: 42em; }
.faq dt { font-weight: 600; font-size: 1.15rem; line-height: 1.3; padding-top: 20px; }
.faq dd { margin: 8px 0 0; padding-bottom: 20px; border-bottom: 1px solid var(--line); color: var(--muted); }
.faq dd a { color: var(--ink); text-decoration-color: var(--accent-ink); text-underline-offset: 3px; }

/* The lead form */
.lead-form {
  background: var(--cream); border: 1px solid var(--line); border-radius: 2px;
  padding: clamp(20px, 3vw, 32px); display: grid; gap: 18px; max-width: 42em; scroll-margin-top: 90px;
}
.lead-form .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: var(--t-small); }
.field legend { margin-bottom: 8px; }
.field .help { font-size: var(--t-small); color: var(--muted); }
.field input, .field textarea {
  width: 100%; min-height: var(--tap); padding: 10px 14px; font: inherit; color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: 2px;
}
.field textarea { resize: vertical; line-height: 1.5; }
.field.big textarea { min-height: 140px; font-size: var(--t-body); }
.field input:focus, .field textarea:focus { border-color: var(--accent-ink); outline: none; }
.field input::placeholder { color: var(--muted); opacity: .8; }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--ink); }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: grid; gap: 12px; justify-items: start; margin-top: 6px; }
.form-after { font-size: var(--t-small); color: var(--muted); }
.form-status:empty { display: none; }
.form-status { display: grid; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.form-status p { color: var(--ink); }
.form-status .help { font-size: var(--t-small); color: var(--muted); }
.form-fallback { display: flex; flex-wrap: wrap; gap: 10px; }
.form-copy { white-space: pre-wrap; font: inherit; font-size: var(--t-small); color: var(--muted); background: var(--bg); border: 1px solid var(--line); padding: 12px; margin: 0; }
.form-foot { font-size: var(--t-small); color: var(--muted); overflow-wrap: anywhere; }
.form-foot a { color: var(--ink); text-decoration-color: var(--accent-ink); text-underline-offset: 3px; }
@media (max-width: 560px) { .lead-form .two { grid-template-columns: 1fr; } }

/* Example conversation (contractors) */
.demo { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(24px, 4vw, 48px); align-items: start; max-width: 60em; }
.convo { display: grid; gap: 10px; padding: clamp(16px, 2.5vw, 24px); background: var(--bg); border: 1px solid var(--line); border-radius: 2px; }
.convo-label { font-stretch: var(--narrow); font-weight: 600; font-size: var(--t-label); letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.convo .msg { font-size: var(--t-small); max-width: 90%; }
.lead-card { display: grid; gap: 12px; padding: clamp(16px, 2.5vw, 24px); border: 1.5px solid var(--accent); border-radius: 2px; background: var(--cream); }
.lead-card-line { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.lead-card-line span { font-size: var(--t-small); color: var(--muted); font-variant-numeric: tabular-nums; }
.lead-card ul { display: grid; gap: 6px; border-top: 1px solid var(--line); padding-top: 12px; color: var(--muted); font-size: var(--t-small); }
.lead-card ul b { color: var(--ink); }
@media (max-width: 760px) { .demo { grid-template-columns: 1fr; } }

/* Thank-you pages */
.thanks .head h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.booking { display: grid; gap: 8px; justify-items: start; max-width: 42em; padding: clamp(20px, 3vw, 28px); background: var(--cream); border: 1px solid var(--line); border-radius: 2px; }
.booking .help { font-size: var(--t-small); color: var(--muted); }

/* Landing footer and the sticky phone button */
.landing-foot { padding-block: 48px 32px; border-top: 1px solid var(--line); }
.landing-foot .foot-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; }
.landing-sticky { transition: transform .25s; }
.landing-sticky.is-hidden { transform: translateY(110%); }
@media (max-width: 760px) {
  .landing-foot .foot-grid { grid-template-columns: 1fr; }
  .lp-about .portrait { grid-template-columns: 96px 1fr; align-items: center; max-width: none; }
  .lp-about .portrait figcaption { border-top: 0; padding-top: 0; flex-direction: column; gap: 4px; }
}

/* Homepage: both calculators in one section */
.calcs { background: var(--surface); }
.combo-grid, .combo-out { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 4vw, 56px); align-items: start; }
.combo-col { display: grid; gap: 14px; align-content: start; }
.combo-col h3 { font-stretch: var(--narrow); font-weight: 600; font-size: var(--t-label); letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-ink); }
.combo-foot { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: 12px 24px; }
.combo-foot .how { border-top: 0; padding-top: 0; flex: 1 1 18em; max-width: 36em; }
@media (max-width: 760px) { .combo-grid, .combo-out { grid-template-columns: 1fr; } }

/* Opener animation: the 24/7 assistant taking a lead. Driven by js/tools.js; reads fine with no script. */
.opener-demo { display: grid; grid-template-columns: 100%; justify-items: center; gap: 14px; margin: 0; min-width: 0; }
.opener-demo figcaption { font-size: var(--t-small); color: var(--muted); text-align: center; max-width: 22em; }
.demo-phone { width: 290px; max-width: 100%; aspect-ratio: 9 / 18.5; padding: 10px; border-radius: 44px; background: var(--inv-bg); border: 1px solid var(--inv-line);
  box-shadow: 0 30px 60px -28px color-mix(in srgb, var(--ink) 55%, transparent); }
.demo-label { font-stretch: var(--narrow); font-weight: 600; font-size: var(--t-label); letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-ink); transition: opacity .3s; }
.demo-label.is-switching { opacity: 0; }
.demo-screen { position: relative; height: 100%; border-radius: 35px; overflow: hidden; background: var(--bg); transition: opacity .4s; }
.demo-chat { position: absolute; inset: 0; display: flex; flex-direction: column; transition: opacity .6s, transform .6s; }
.demo-screen.is-owner .demo-chat { opacity: 0; transform: scale(.94); }
.demo-owner { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; background: var(--inv-bg); color: var(--inv-ink); opacity: 0; transition: opacity .6s .2s; }
.demo-screen.is-owner .demo-owner { opacity: 1; }
.demo-owner .demo-status { align-self: stretch; color: var(--inv-ink); }
.demo-owner .demo-bars i { background: var(--inv-ink); }
.demo-date { margin-top: 34px; font-size: 0.85rem; color: var(--inv-muted); }
.demo-clock { font-stretch: var(--wide); font-weight: 600; font-size: 3.6rem; line-height: 1; letter-spacing: -0.02em; }
.demo-screen.is-fading { opacity: 0; }
.demo-status { display: flex; align-items: center; justify-content: space-between; padding: 10px 22px 4px; font-size: 0.78rem; font-weight: 600; color: var(--ink); }
.demo-island { width: 74px; height: 20px; border-radius: 12px; background: var(--inv-bg); }
.demo-bars { display: flex; align-items: flex-end; gap: 2px; height: 10px; }
.demo-bars i { width: 3px; background: var(--ink); border-radius: 1px; }
.demo-bars i:nth-child(1) { height: 4px; } .demo-bars i:nth-child(2) { height: 7px; } .demo-bars i:nth-child(3) { height: 10px; }
.demo-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--accent); color: var(--on-accent); }
.demo-av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: color-mix(in srgb, var(--on-accent) 22%, transparent); flex: none; }
.demo-who { display: grid; line-height: 1.2; }
.demo-who b { font-size: 0.9rem; }
.demo-who small { font-size: 0.72rem; color: inherit; opacity: .9; }
.demo-body { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 7px; padding: 12px; overflow: hidden; }
.demo-msg { max-width: 84%; padding: 8px 11px; border-radius: 14px; font-size: 0.8rem; line-height: 1.35; display: none; animation: demo-in .3s ease-out; }
.demo-msg.is-on { display: block; }
.demo-msg.bot { align-self: flex-start; background: var(--surface); color: var(--ink); border-bottom-left-radius: 4px; }
.demo-msg.me { align-self: flex-end; background: var(--accent); color: var(--on-accent); border-bottom-right-radius: 4px; }
.demo-dots { align-self: flex-start; display: none; gap: 4px; padding: 10px 12px; border-radius: 14px; background: var(--surface); }
.demo-dots.is-on { display: flex; }
.demo-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: demo-dot 1s infinite; }
.demo-dots i:nth-child(2) { animation-delay: .15s; } .demo-dots i:nth-child(3) { animation-delay: .3s; }
.demo-input { display: flex; align-items: center; gap: 8px; margin: 0 10px 14px; padding: 7px 8px 7px 14px; border: 1px solid var(--line); border-radius: 20px; }
.demo-field { flex: 1; min-width: 0; font-size: 0.8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-field.is-typing { color: var(--ink); }
.demo-field.is-typing::after { content: ""; display: inline-block; width: 1.5px; height: 1em; margin-left: 1px; vertical-align: -2px; background: var(--accent); animation: demo-caret 1s steps(1) infinite; }
.demo-send { width: 24px; height: 24px; border-radius: 50%; background: var(--accent); flex: none; transition: transform .15s; }
.demo-send.is-pressed { transform: scale(.82); }
.demo-alert { position: absolute; left: 8px; right: 8px; top: 172px; display: grid; gap: 2px; padding: 10px 12px; border-radius: 16px; font-size: 0.78rem; line-height: 1.3;
  background: var(--bg); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--ink) 45%, transparent);
  opacity: 0; transform: translateY(-24px) scale(.96); transition: transform .5s cubic-bezier(.2, 1.2, .4, 1), opacity .3s; }
.demo-alert.is-on { opacity: 1; transform: none; }
.demo-alert b { font-size: 0.85rem; }
.demo-alert-top { display: flex; align-items: center; gap: 6px; font-size: 0.68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.demo-alert-top span:last-child { margin-left: auto; text-transform: none; letter-spacing: 0; }
.demo-mail { width: 14px; height: 14px; border-radius: 4px; background: var(--accent); }
@keyframes demo-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes demo-dot { 0%, 60%, 100% { opacity: .4; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes demo-caret { 50% { opacity: 0; } }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .demo-phone { width: 240px; } }
@media (prefers-reduced-motion: reduce) { .demo-msg, .demo-alert, .demo-screen { animation: none; transition: none; } }

/* Motion. Entrances on load, reveals on scroll (js/tools.js adds .reveal and .is-in), and all of it off for reduced motion. */
@keyframes draw-x { from { transform: scaleX(0); } }
@keyframes draw-y { from { transform: scaleY(0); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(22px); } }
.hero .hero-copy > * { animation: rise-in .8s cubic-bezier(.2,.8,.2,1) both; }
.hero .hero-copy > :nth-child(1) { animation-delay: .05s; } .hero .hero-copy > :nth-child(2) { animation-delay: .15s; }
.hero .hero-copy > :nth-child(3) { animation-delay: .3s; } .hero .hero-copy > :nth-child(4) { animation-delay: .42s; } .hero .hero-copy > :nth-child(5) { animation-delay: .52s; }
.hero .opener-demo { animation: rise-in .9s cubic-bezier(.2,.8,.2,1) .35s both; }
html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--d, 0) * 90ms); }
html.js .reveal.is-in { opacity: 1; transform: none; }
html.js .reveal .label::before { transform: scaleY(0); transform-origin: top; transition: transform .5s cubic-bezier(.2,.8,.2,1) calc(var(--d, 0) * 90ms + .25s); }
html.js .reveal.is-in .label::before { transform: none; }
@media (prefers-reduced-motion: reduce) {
  body::before, .top::after, .hero .hero-copy > *, .hero .opener-demo { animation: none; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  html.js .reveal .label::before { transform: none; transition: none; }
}

/* Hidden setup guide at /help/assistant/ (not linked, not indexed) */
.guide-page .wrap { gap: clamp(28px, 4vw, 44px); }
.guide-toc { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.guide-toc a { display: inline-flex; align-items: center; min-height: 40px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: var(--t-small); border-bottom: 1px solid var(--line); }
.guide-toc a:hover { border-bottom-color: var(--accent); }
.guide section { padding-bottom: 28px; margin-bottom: 8px; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.guide section:last-child { border-bottom: 0; }
.guide h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin: 0 0 14px; }
.guide h3 { font-size: 1.05rem; font-weight: 700; margin: 26px 0 8px; }
.guide .table-wrap { overflow-x: auto; margin: 14px 0; }
.guide table th, .guide table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.guide table th { font-stretch: 70%; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; color: var(--muted); }
.guide pre { background: var(--surface); padding: 18px; border-radius: 2px; overflow-x: auto; font-size: .85rem; line-height: 1.55; white-space: pre-wrap; word-break: break-word; }
.guide code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.guide-note { border-left: 3px solid var(--accent); padding: 12px 16px; background: var(--surface); }
.guide-help { border-top: 1px solid var(--line); padding-top: 28px; display: grid; gap: 12px; justify-items: start; }
.guide-help h2 { font-size: 1.4rem; margin: 0; }

/* Price page */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 2.6vw, 30px); background: var(--bg); border: 1px solid var(--line); border-radius: 2px; }
/* Name, price and trial line are centred, like the cards in the app; the name stays on one line. */
.plan h2 { font-size: clamp(1.1rem, 1.5vw, 1.35rem); margin: 0; text-align: center; white-space: nowrap; }
.plan-price { display: flex; align-items: baseline; justify-content: center; gap: 4px; margin: 0; }
.plan-from { margin: 0 0 -10px; color: var(--muted); font-weight: 600; font-size: var(--t-small); text-align: center; }
.plan-price .amt { font-stretch: 125%; font-weight: 800; font-size: 2.2rem; letter-spacing: -.02em; }
.plan-price .per { color: var(--muted); font-size: var(--t-small); }
.plan-trial { margin: -6px 0 0; color: var(--accent-ink); font-weight: 600; font-size: var(--t-small); text-align: center; }
.plan-fee { margin: -6px 0 0; color: var(--muted); font-weight: 600; font-size: var(--t-small); text-align: center; }
.plan-desc { margin: 0; color: var(--muted); font-size: var(--t-small); }
.plan-specs, .plan-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: var(--t-small); }
.plan-specs { padding-block: 12px; border-block: 1px solid var(--line); font-weight: 600; }
.plan-list li { position: relative; padding-left: 24px; color: var(--muted); }
.plan-list li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 6px; height: 10px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
/* The whole card is clickable: the button's link is stretched over the card. Hover lifts the card a touch. */
.plan-btn { margin-top: auto; justify-self: stretch; text-align: center; }
.plan-btn::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
/* Nothing moves on hover: a card or button that shifts under the pointer makes the cursor flicker at the edges. */
.plan { cursor: pointer; transition: border-color .2s; }
.plan:hover { border-color: var(--accent); }
.plan-btn:hover { transform: none; }
.plan:hover .plan-btn:not(.primary) { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.plan-featured { border-color: var(--accent); }
.plan-badge { position: absolute; top: -12px; left: 50%; translate: -50%; white-space: nowrap; padding: 5px 10px; background: var(--accent); color: var(--on-accent); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; border-radius: 2px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* Price page: consultation strip above the plans. Kept thin so the plans show on the first screen. */
.pricing-page .wrap { gap: 28px; }
.pricing-page .crumbs { margin-bottom: 20px; }
.pricing-page .head { gap: 12px; }
.pricing-page .head h1 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.pricing-page .head .lead { font-size: var(--t-body); max-width: 48em; }
.price-next { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; margin: 0; padding: 18px 22px; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 2px; background: var(--surface); }
.price-next > div { flex: 1 1 34em; max-width: 52em; display: grid; gap: 4px; }
.price-next p { margin: 0; color: var(--muted); font-size: var(--t-small); }
.price-next .price-next-h { color: var(--ink); font-size: clamp(1.35rem, 2.3vw, 1.8rem); font-weight: 700; letter-spacing: -.015em; line-height: 1.2; margin: 0 0 4px; }
.price-next .btn { flex: none; }
.nav a:not(.btn) { white-space: nowrap; }
.logo-link { display: block; } .logo-link:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Live booking calendar in the contact section */
.contact .wrap { grid-template-columns: minmax(0, 1fr); }
.booking { display: grid; gap: 12px; margin-top: 8px; }
.booking-note { margin: 0; color: var(--muted); }
.booking-frame { width: 100%; height: 720px; border: 1px solid var(--line); border-radius: 2px; background: var(--bg); }
.booking-open { margin: 0; font-size: var(--t-small); }
.booking-open a { color: var(--accent-ink); font-weight: 600; }
@media (max-width: 600px) { .booking-frame { height: 640px; } }

/* Byline on answer pages, the Answers hub heading, and the 404 page */
.byline { margin: -10px 0 0; color: var(--muted); font-size: var(--t-small); }
.byline a { color: inherit; text-decoration-color: var(--accent-ink); text-underline-offset: 3px; }
.page .qa-h { font-size: 1.25rem; margin: -12px 0 -20px; }
.notfound-links { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-weight: 600; }
.notfound-links a { color: var(--accent-ink); }
.logo-tile picture { display: contents; }
