/* Aligners Consultancy — shared site styles.
   Layout: one 1180px column on cool clinical paper; dark "night" bands carry Plan Check.
   Single light look by design: the logo is royal blue on transparent and needs a light ground. */
:root {
  --paper: #f4f6fa;
  --surface: #ffffff;
  --ink: #0d1a33;
  --ink-2: #4a5670;
  --ink-3: #7a859c;
  --line: #dce2ec;
  --brand: #0b4aad;
  --brand-deep: #083381;
  --brand-tint: #e8effb;
  --night: #0a1530;
  --night-2: #12213f;
  --night-line: #233457;
  --night-ink: #e9eef8;
  --night-ink-2: #a3b0c9;
  --dot: #ff914d;
  --high: #e5484d;
  --medium: #f2a33a;
  --low: #7fa6e8;

  --display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --body: "Public Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.625rem;
  --step-3: clamp(1.9rem, 1.4rem + 1.8vw, 2.6rem);
  --step-4: clamp(2.4rem, 1.6rem + 3.2vw, 3.9rem);

  --wrap: 1180px;
  --gutter: clamp(18px, 4vw, 40px);
  --radius: 14px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--step-0)/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
/* Components set display:grid/flex, so hidden must win over them */
[hidden] { display: none !important; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-deep); }
:focus-visible { outline: 3px solid var(--dot); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.1; letter-spacing: -0.015em; text-wrap: balance; margin: 0; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-family: var(--body); font-weight: 650; letter-spacing: -0.005em; line-height: 1.3; }
p { margin: 0; }
.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 112px); }
.stack { display: grid; gap: 18px; }
.lede { font-size: var(--step-1); line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.muted { color: var(--ink-2); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 0.78rem/1 var(--body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand);
}
/* The logo's three orange dots, used as the eyebrow mark */
.eyebrow::before {
  content: ""; width: 26px; height: 6px; flex: none;
  background: radial-gradient(circle, var(--dot) 2.6px, transparent 3px) 0 0 / 10px 6px repeat-x;
}
.section-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  padding: 14px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 0.98rem/1 var(--body); text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: #fff; color: var(--night); }
.btn-light:hover { background: var(--dot); color: var(--night); }
.btn-outline-light { border-color: var(--night-line); color: var(--night-ink); }
.btn-outline-light:hover { border-color: var(--night-ink-2); color: #fff; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand img { height: 44px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.96rem;
}
.nav-links a:hover { background: var(--brand-tint); color: var(--brand); }
.nav-links a[aria-current="page"] { color: var(--brand); }
.chip-new {
  font: 700 0.62rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 6px; border-radius: 5px; background: var(--dot); color: var(--night);
}
.nav-cta { padding: 11px 18px; font-size: 0.92rem; }
.menu-btn { display: none; background: none; border: 1.5px solid var(--line); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; color: var(--ink); }
.menu-btn svg { margin: auto; }

@media (max-width: 1120px) {
  .menu-btn { display: grid; }
  .nav-cta { display: none; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 76px;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 20px; background: var(--paper); border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav-links .mobile-cta { display: block; margin-top: 16px; }
  .nav-links .mobile-cta a { justify-content: center; border: 0; border-radius: 999px; background: var(--brand); color: #fff; padding: 15px; }
}
@media (min-width: 1121px) { .nav-links .mobile-cta { display: none; } }

/* Hero (home) */
.hero { padding-block: clamp(40px, 6vw, 84px) clamp(56px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 em { font-style: italic; color: var(--brand); }
.hero-copy { display: grid; gap: 26px; }
.announce {
  justify-self: start; display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  color: var(--ink); text-decoration: none; font-size: 0.9rem; font-weight: 500;
}
.announce:hover { border-color: var(--brand); color: var(--brand); }
.trust-line { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; color: var(--ink-2); font-size: 0.95rem; }
.trust-line strong { color: var(--ink); font-weight: 700; }
.trust-line .sep { width: 1px; height: 18px; background: var(--line); }

/* Stage grid visual (shared by home + Plan Check) */
.grid-card {
  background: var(--night); color: var(--night-ink); border-radius: 20px; padding: clamp(18px, 2.4vw, 26px);
  box-shadow: 0 30px 60px -30px rgba(10, 21, 48, .55), 0 0 0 1px var(--night-line) inset;
  min-width: 0;
}
.grid-card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.grid-card-title { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.95rem; }
.grid-card-title .chip-new { font-size: 0.58rem; }
.tag-example { font: 500 0.72rem/1 var(--mono); color: var(--night-ink-2); border: 1px solid var(--night-line); padding: 5px 8px; border-radius: 6px; }
.sg-scroll { overflow-x: auto; margin-inline: -4px; padding-inline: 4px; }
.sg {
  display: grid; gap: 3px; min-width: 420px;
  font: 500 0.68rem/1 var(--mono); font-variant-numeric: tabular-nums;
}
.sg .lbl { color: var(--night-ink-2); display: grid; place-items: center; height: 22px; }
.sg .tooth { color: var(--night-ink); justify-content: start; place-items: center start; font-weight: 600; }
.sg .cell {
  height: 22px; border-radius: 4px; background: var(--night-2); position: relative; border: 0; padding: 0;
  display: grid; place-items: center; color: transparent; cursor: default;
  transition: background-color .25s, box-shadow .25s;
}
.sg .cell::after { content: ""; width: var(--m, 0px); height: var(--m, 0px); border-radius: 50%; background: #5d7bb3; }
.sg .cell.l::after { background: var(--low); }
.sg .cell.md { background: color-mix(in srgb, var(--medium) 26%, var(--night-2)); }
.sg .cell.md::after { background: var(--medium); }
.sg .cell.hi { background: color-mix(in srgb, var(--high) 30%, var(--night-2)); }
.sg .cell.hi::after { background: var(--high); }
.sg .cell.idle::after { display: none; }
.sg .cell.now { box-shadow: 0 0 0 1.5px #fff inset; }
.sg .cell.sel { box-shadow: 0 0 0 2px var(--dot) inset; }
.sg.interactive .cell:not(.idle) { cursor: pointer; }
.sg.interactive .cell:not(.idle):hover { box-shadow: 0 0 0 1.5px var(--night-ink-2) inset; }
.sg-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; font-size: 0.78rem; color: var(--night-ink-2); }
.sg-legend span { display: inline-flex; align-items: center; gap: 7px; }
.sg-legend i { width: 10px; height: 10px; border-radius: 50%; background: #5d7bb3; }
.sg-legend i.md { background: var(--medium); }
.sg-legend i.hi { background: var(--high); }
.readout {
  margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: var(--night-2); border: 1px solid var(--night-line);
  display: grid; gap: 6px; font-size: 0.9rem; min-height: 78px;
}
.readout .rk { font: 500 0.72rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--night-ink-2); }
.readout strong { color: #fff; font-weight: 600; }
.readout .v-hi { color: #ff8a8d; }
.readout .v-md { color: var(--medium); }

/* Standards strip */
.standards { border-block: 1px solid var(--line); background: var(--surface); }
.standards-row { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; padding-block: 26px; }
.standards-row p { color: var(--ink-2); font-size: 0.95rem; max-width: 24em; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.badges li {
  font: 600 0.82rem/1 var(--mono); letter-spacing: .04em; color: var(--brand-deep);
  padding: 10px 14px; border-radius: 8px; border: 1px solid var(--line); background: var(--paper);
}

/* Services */
.audiences { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.audience { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 3vw, 36px); display: grid; gap: 8px; align-content: start; }
.audience-head { display: grid; gap: 8px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.audience-head .for { font: 600 0.78rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.audience-head h3 { font-family: var(--display); font-weight: 500; font-size: var(--step-2); letter-spacing: -0.01em; }
.svc { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.svc:last-child { border-bottom: 0; padding-bottom: 0; }
.svc-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; }
.svc h4 { margin: 0 0 4px; font-size: 1.02rem; font-weight: 650; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.svc p { color: var(--ink-2); font-size: 0.97rem; }
.svc.featured .svc-icon { background: var(--dot); color: var(--night); }

/* Night band */
.night { background: var(--night); color: var(--night-ink); position: relative; overflow: hidden; }
.night::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--night-line) 1px, transparent 1px), linear-gradient(90deg, var(--night-line) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 60% at 80% 30%, #000 10%, transparent 70%);
}
.night > * { position: relative; }
.night h1, .night h2 { color: #fff; }
.night .lede, .night .muted { color: var(--night-ink-2); }
.night .eyebrow { color: var(--dot); }
.night a:not(.btn) { color: #fff; }
.pc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; color: var(--night-ink); }
.checks li svg { margin-top: 4px; color: var(--dot); }
.checks li span { color: var(--night-ink-2); }
.checks li b { color: #fff; font-weight: 600; }
.footnote { font-size: 0.82rem; color: var(--night-ink-2); max-width: 46em; }

/* Score card */
.score-card { background: var(--night-2); border: 1px solid var(--night-line); border-radius: 20px; padding: clamp(20px, 2.6vw, 28px); display: grid; gap: 20px; min-width: 0; }
.score-top { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.gauge { width: 112px; height: 112px; flex: none; }
.score-top .grade { font: 500 3.2rem/1 var(--display); color: #fff; }
.score-top .kv { display: grid; gap: 4px; }
.score-top .kv small { color: var(--night-ink-2); font-size: 0.82rem; }
.parts { display: grid; gap: 12px; }
.part { display: grid; grid-template-columns: 112px minmax(0, 1fr) 40px; align-items: center; gap: 12px; font-size: 0.86rem; color: var(--night-ink-2); }
.part .bar { height: 6px; border-radius: 4px; background: var(--night-line); overflow: hidden; }
.part .bar i { display: block; height: 100%; background: var(--night-ink); border-radius: 4px; }
.part .n { font-family: var(--mono); color: #fff; text-align: right; }
.findings { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.findings li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: baseline; font-size: 0.9rem; padding: 10px 12px; border-radius: 10px; background: var(--night); border: 1px solid var(--night-line); }
.sev { font: 600 0.66rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 4px 6px; border-radius: 4px; }
.sev.hi { background: color-mix(in srgb, var(--high) 25%, transparent); color: #ff9a9d; }
.sev.md { background: color-mix(in srgb, var(--medium) 22%, transparent); color: var(--medium); }
.sev.lo { background: color-mix(in srgb, var(--low) 20%, transparent); color: var(--low); }

/* Vetting + stats */
.vet-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.criteria { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.criterion { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.criterion:nth-child(odd) { border-right: 1px solid var(--line); }
.criterion:nth-child(even) { padding-left: 24px; padding-right: 0; }
.criterion p { color: var(--ink-2); font-size: 0.97rem; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 40px; }
.stat { display: grid; gap: 6px; padding-right: 20px; }
.stat + .stat { padding-left: 20px; border-left: 1px solid var(--line); }
.stat b { font: 500 clamp(2.2rem, 1.6rem + 2vw, 3.2rem)/1 var(--display); color: var(--brand); letter-spacing: -0.02em; }
.stat span { color: var(--ink-2); font-size: 0.92rem; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: grid; gap: 22px; align-content: space-between; }
.quote blockquote { margin: 0; font: 400 1.14rem/1.5 var(--display); color: var(--ink); }
.quote blockquote::before { content: "\201C"; display: block; font-size: 3rem; line-height: .6; color: var(--dot); margin-bottom: 10px; }
.who { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; }
.who .av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand); font-weight: 700; font-size: 0.86rem; flex: none; }
.who b { display: block; font-weight: 650; }
.who span { color: var(--ink-2); }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { display: grid; gap: 10px; align-content: start; padding-top: 22px; border-top: 2px solid var(--line); counter-increment: step; position: relative; }
.steps li::before { content: counter(step, decimal-leading-zero); font: 600 0.82rem/1 var(--mono); color: var(--brand); }
.steps li:first-child { border-top-color: var(--brand); }
.steps p { color: var(--ink-2); font-size: 0.96rem; }
.night .steps li { border-top-color: var(--night-line); }
.night .steps li:first-child { border-top-color: var(--dot); }
.night .steps li::before { color: var(--dot); }
.night .steps h3 { color: #fff; }
.night .steps p { color: var(--night-ink-2); }

/* Articles */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post { display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s; }
.post:hover { border-color: var(--brand); transform: translateY(-2px); color: var(--ink); }
.post-art { aspect-ratio: 16 / 9; max-width: 100%; background: var(--brand-tint); position: relative; overflow: hidden; }
.post-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.post-body { padding: 22px 24px 26px; display: grid; gap: 10px; align-content: start; }
.post-meta { font: 500 0.74rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.post h3 { font-family: var(--display); font-weight: 500; font-size: 1.32rem; line-height: 1.2; }
.post p { color: var(--ink-2); font-size: 0.95rem; }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 48px); }
.head-row .section-head { margin-bottom: 0; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-weight: 600; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 40px 24px 0; color: var(--ink-2); max-width: 62ch; }

/* CTA */
.cta-band { background: var(--brand); color: #fff; border-radius: 28px; padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d6e2f7; }
.cta-band .btn-light:hover { background: var(--dot); }
.contact-lines { display: grid; gap: 14px; justify-items: start; }
.contact-lines .line { display: grid; gap: 2px; }
.contact-lines .line small { font: 600 0.72rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: #b9cbee; }
.contact-lines .line a { color: #fff; font-size: 1.15rem; font-weight: 600; text-decoration: none; }
.contact-lines .line a:hover { text-decoration: underline; }

/* Footer */
.site-footer { padding-block: 64px 40px; border-top: 1px solid var(--line); margin-top: clamp(64px, 9vw, 112px); background: var(--surface); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-grid img { height: 46px; width: auto; margin-bottom: 16px; }
.foot-grid h4 { margin: 0 0 14px; font: 600 0.76rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid a { color: var(--ink); text-decoration: none; font-size: 0.95rem; }
.foot-grid a:hover { color: var(--brand); }
.foot-grid p { color: var(--ink-2); font-size: 0.95rem; max-width: 28em; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 0.86rem; }
.foot-base a { color: var(--ink-3); }

/* Plan Check page */
.pc-hero { padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 104px); }
.pc-hero .hero-copy { display: grid; gap: 24px; }
.product-mark { display: inline-flex; align-items: center; gap: 12px; font: 600 0.95rem/1 var(--body); color: #fff; }
.product-mark .pm-icon { width: 34px; height: 34px; border-radius: 9px; background: var(--dot); color: var(--night); display: grid; place-items: center; }
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.why-item { display: grid; gap: 12px; align-content: start; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.why-item .big { font: 500 2.6rem/1 var(--display); color: var(--brand); letter-spacing: -0.02em; }
.why-item p { color: var(--ink-2); font-size: 0.97rem; }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.review-item { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.review-item:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.review-item p { color: var(--ink-2); font-size: 0.97rem; }
.limits-wrap { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.table-scroll { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
table.limits { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 460px; }
.limits th, .limits td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.limits thead th { font: 600 0.74rem/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); background: var(--paper); }
.limits tbody tr:last-child td { border-bottom: 0; }
.limits td.num { font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.deliver { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.deliver-item { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 3vw, 32px); display: grid; gap: 14px; align-content: start; }
.deliver-item p { color: var(--ink-2); font-size: 0.97rem; }
.note-sample {
  font: 400 0.84rem/1.6 var(--mono); background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 18px; color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere;
}
.note-sample .k { color: var(--ink-3); }
.mini-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.mini-tags span { font: 500 0.78rem/1 var(--mono); padding: 7px 9px; border-radius: 6px; background: var(--brand-tint); color: var(--brand-deep); }
.tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.tier { border-radius: 22px; padding: clamp(26px, 3vw, 36px); display: grid; gap: 18px; align-content: start; border: 1px solid var(--line); background: var(--surface); }
.tier.full { background: var(--night); color: var(--night-ink); border-color: var(--night); }
.tier.full h3 { color: #fff; }
.tier .tier-for { font: 600 0.76rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.tier.full .tier-for { color: var(--dot); }
.tier h3 { font-family: var(--display); font-weight: 500; font-size: var(--step-2); }
.tier > p { color: var(--ink-2); }
.tier.full > p { color: var(--night-ink-2); }
.tier ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tier li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; font-size: 0.97rem; }
.tier li svg { margin-top: 5px; color: var(--brand); }
.tier.full li svg { color: var(--dot); }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.principle { display: grid; gap: 10px; align-content: start; }
.principle p { color: var(--ink-2); font-size: 0.97rem; }
.basis { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.basis span { font: 600 0.7rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 6px 8px; border-radius: 5px; border: 1px solid var(--line); color: var(--ink-2); }

/* Load-in: elements start visible and only slide a few pixels */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .16s; } .rise.d3 { animation-delay: .24s; }
  @keyframes rise { from { transform: translateY(10px); opacity: .001; } to { transform: none; opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Responsive */
@media (max-width: 1020px) {
  .hero-grid, .pc-grid, .vet-grid, .faq-grid, .limits-wrap, .cta-band { grid-template-columns: minmax(0, 1fr); }
  .quotes, .posts, .why { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-item:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .review-item:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .principles { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 760px) {
  .audiences, .deliver, .tiers { grid-template-columns: minmax(0, 1fr); }
  .criteria, .review-grid { grid-template-columns: minmax(0, 1fr); }
  .criterion, .criterion:nth-child(even), .review-item, .review-item:nth-child(even) { padding: 22px 0; border-left: 0; border-right: 0; }
  .criterion:nth-child(odd) { border-right: 0; }
  .stats { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .stat, .stat + .stat { padding: 0; border-left: 0; }
  .stat + .stat { padding-top: 18px; border-top: 1px solid var(--line); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .part { grid-template-columns: 96px minmax(0, 1fr) 34px; }
  .brand img { height: 38px; }
}

/* Certified standards band */
.std { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding-block: clamp(40px, 5vw, 64px); }
.std-head { display: grid; gap: 12px; align-content: start; }
.std-title { font-size: var(--step-2); }
.std-head p { color: var(--ink-2); font-size: 0.97rem; }
.cert-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cert { display: grid; gap: 14px; align-content: start; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); transition: border-color .2s, transform .2s; }
.cert:hover { border-color: var(--brand); transform: translateY(-2px); }
.cert-logo { height: 104px; border-radius: 12px; background: var(--paper); display: grid; place-items: center; }
.cert-logo img { width: 84px; height: 84px; object-fit: contain; }
.cert-logo img.ce { width: 92px; height: 84px; }
.cert-text { display: grid; gap: 3px; }
.cert-text b { font-size: 0.98rem; font-weight: 650; }
.cert-text span { font-size: 0.84rem; color: var(--ink-2); line-height: 1.4; }
@media (max-width: 1020px) { .std { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .cert-logo { height: 88px; } .cert-logo img { width: 68px; height: 68px; } .cert-logo img.ce { width: 76px; height: 70px; } }

/* How our limits are built */
.method { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.method-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; counter-reset: m; }
.method-list li { display: grid; gap: 6px; align-content: start; padding: 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.method-list b { font-weight: 650; }
.method-list span { color: var(--ink-2); font-size: 0.95rem; }
@media (max-width: 1020px) { .method { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .method-list { grid-template-columns: minmax(0, 1fr); } }

/* Hidden values in the sample lab note */
.redact { display: inline-block; color: transparent; background: var(--ink); border-radius: 4px; line-height: 1.1; padding: 0 2px; user-select: none; }

/* Testimonial portraits (illustrated placeholders) */
.who .av-img { width: 60px; height: 60px; border-radius: 50%; flex: none; background: var(--brand-tint); }

/* Plan Check screenshot showcase */
.showcase { display: grid; gap: 22px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab {
  font: 600 0.92rem/1 var(--body); padding: 11px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--night-line); background: transparent; color: var(--night-ink-2);
  transition: background-color .2s, color .2s, border-color .2s;
}
.tab:hover { color: #fff; border-color: var(--night-ink-2); }
.tab[aria-selected="true"] { background: #fff; color: var(--night); border-color: #fff; }
.shot { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: clamp(20px, 3vw, 40px); align-items: start; }
.shot-frame {
  border-radius: 16px; overflow: hidden; background: #11161f;
  box-shadow: 0 0 0 1px var(--night-line), 0 40px 80px -40px rgba(0, 0, 0, .7);
}
.shot-bar { display: flex; gap: 6px; padding: 10px 14px; background: #0c1119; border-bottom: 1px solid #1f2836; }
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2a3445; }
.shot-frame img { width: 100%; height: auto; }
.shot-frame.tall { max-height: 620px; overflow-y: auto; }
.shot figcaption { display: grid; gap: 12px; padding-top: 8px; }
.shot figcaption h3 { color: #fff; font-family: var(--display); font-weight: 500; font-size: var(--step-2); }
.shot figcaption p { color: var(--night-ink-2); }
.shot figcaption ul { margin: 0; padding-left: 18px; color: var(--night-ink-2); display: grid; gap: 6px; font-size: 0.95rem; }
.shot-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1020px) { .shot { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .shot-pair { grid-template-columns: minmax(0, 1fr); } }

/* Audit report callout */
.report-callout { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; padding: 18px 20px; border-radius: 14px; background: var(--night-2); border: 1px solid var(--night-line); }
.report-callout .doc { width: 44px; height: 54px; border-radius: 6px; background: #fff; position: relative; box-shadow: 4px 4px 0 var(--dot); }
.report-callout .doc::before { content: ""; position: absolute; inset: 12px 9px auto; height: 22px; background: repeating-linear-gradient(var(--line) 0 3px, transparent 3px 7px); }
.report-callout b { color: #fff; display: block; }
.report-callout span { color: var(--night-ink-2); font-size: 0.93rem; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-aside { display: grid; gap: 28px; }
.contact-card { display: grid; gap: 4px; padding: 20px 0; border-top: 1px solid var(--line); }
.contact-card small { font: 600 0.74rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.contact-card a { font-size: 1.15rem; font-weight: 600; text-decoration: none; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 3.4vw, 40px); }
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: 0.93rem; }
.field .opt { color: var(--ink-3); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--body); color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px;
  transition: border-color .2s, background-color .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--high); }
.topics { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.topic-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-opts { position: relative; }
.topic-opts input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.topic-opts label {
  font-weight: 500; font-size: 0.92rem; padding: 10px 14px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--line); background: var(--paper); transition: border-color .2s, background-color .2s, color .2s;
}
.topic-opts input:checked + label { border-color: var(--brand); background: var(--brand-tint); color: var(--brand-deep); }
.topic-opts input:focus-visible + label { outline: 3px solid var(--dot); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.86rem; color: var(--ink-3); }
.form-status { padding: 14px 16px; border-radius: 12px; font-size: 0.95rem; }
.form-status.ok { background: #e7f6ee; color: #145c36; border: 1px solid #b9e3cb; }
.form-status.err { background: #fdecec; color: #8a1f22; border: 1px solid #f3c2c3; }
@media (max-width: 1020px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .form-row { grid-template-columns: minmax(0, 1fr); } }

/* Blog index */
.blog-top { padding-top: clamp(40px, 6vw, 80px); }
.featured-post { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s; }
.featured-post:hover { border-color: var(--brand); transform: translateY(-2px); color: var(--ink); }
.featured-post .post-art { aspect-ratio: auto; min-height: 280px; }
.featured-body { padding: clamp(24px, 3.5vw, 44px); display: grid; gap: 14px; align-content: center; }
.featured-body h2 { font-size: var(--step-3); }
.featured-body p { color: var(--ink-2); }
.read-link { font-weight: 600; color: var(--brand); }
.posts-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1020px) { .featured-post { grid-template-columns: minmax(0, 1fr); } .featured-post .post-art { min-height: 0; aspect-ratio: 16 / 7; } }
@media (max-width: 760px) { .posts-2 { grid-template-columns: minmax(0, 1fr); } }

/* Article */
.article-wrap { padding-top: clamp(32px, 5vw, 64px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.88rem; color: var(--ink-3); margin-bottom: 28px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--brand); }
.article-head { display: grid; gap: 16px; max-width: 820px; margin-bottom: clamp(32px, 4vw, 48px); }
.article-head h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--ink-3); font-size: 0.92rem; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: clamp(32px, 5vw, 72px); align-items: start; }
.article-aside { position: sticky; top: calc(96px + env(safe-area-inset-top, 0px)); display: grid; gap: 16px; }
.aside-card { display: grid; gap: 12px; justify-items: start; padding: 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.aside-card h3 { font-family: var(--display); font-weight: 500; font-size: 1.4rem; }
.aside-card p { color: var(--ink-2); font-size: 0.95rem; }
.night-card { background: var(--night); border-color: var(--night); }
.night-card h3 { color: #fff; }
.night-card p { color: var(--night-ink-2); }
@media (max-width: 1020px) { .article-grid { grid-template-columns: minmax(0, 1fr); } .article-aside { position: static; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }

/* Long-form text */
.prose { max-width: 68ch; font-size: 1.08rem; line-height: 1.75; color: var(--ink); }
.prose > * + * { margin-top: 1.1em; }
.prose .lead { font-size: 1.25rem; line-height: 1.6; color: var(--ink-2); }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.95rem); margin-top: 2em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6em; }
.prose h2 + *, .prose h3 + * { margin-top: 0.6em; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: 0.5em; }
.prose li::marker { color: var(--brand); }
.prose a { font-weight: 500; }
.prose dl.facts { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: 12px 24px; padding: 22px 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.prose dl.facts dt { font: 600 0.78rem/1.6 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.prose dl.facts dd { margin: 0; color: var(--ink-2); font-size: 1rem; }
.prose ol.checklist { list-style: none; padding: 0; counter-reset: c; gap: 10px; }
.prose ol.checklist li { counter-increment: c; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: 1rem; }
.prose ol.checklist li::before { content: counter(c); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand); font: 600 0.85rem/1 var(--mono); }
.prose-legal { font-size: 1rem; }
.prose-legal h2 { font-size: 1.35rem; }
@media (max-width: 600px) { .prose dl.facts { grid-template-columns: minmax(0, 1fr); gap: 4px; } .prose dl.facts dd { margin-bottom: 10px; } }

/* A light section straight after a dark band always gets its full top spacing */
.night + .section { padding-top: clamp(64px, 9vw, 112px) !important; }

/* Scroll reveal. Only active once site.js adds .js-reveal, so content is never hidden
   without the script, and never for visitors who prefer reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
    transition-delay: var(--reveal-delay, 0ms);
  }
  .js-reveal .reveal.in { opacity: 1; transform: none; }
}

/* Inner page openers */
.page-top { padding-top: clamp(40px, 6vw, 80px); }
.page-top .section-head { margin-bottom: 28px; }
.text-link { justify-self: start; font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.text-link:hover { text-decoration: underline; }

/* Services page */
.svc-group { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.svc-group-head { display: grid; gap: 12px; position: sticky; top: calc(100px + env(safe-area-inset-top, 0px)); }
.svc-group-head .for { font: 600 0.78rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.svc-rows { display: grid; gap: 16px; }
.svc-row { display: grid; gap: 14px; padding: clamp(22px, 3vw, 30px); border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.svc-row.featured { border-color: color-mix(in srgb, var(--dot) 55%, var(--line)); }
.svc-row.featured .svc-icon { background: var(--dot); color: var(--night); }
.svc-row-title { display: flex; align-items: center; gap: 14px; }
.svc-row-title h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.svc-row-body { display: grid; gap: 14px; }
.svc-row-body p { color: var(--ink-2); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 26px; color: var(--ink); font-size: 0.97rem; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.45em; width: 12px; height: 7px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
@media (max-width: 1020px) { .svc-group { grid-template-columns: minmax(0, 1fr); } .svc-group-head { position: static; } }

/* About page */
.stats-card { margin-top: 0; padding: clamp(24px, 3vw, 36px); border-radius: 22px; background: var(--surface); border: 1px solid var(--line); grid-template-columns: minmax(0, 1fr); gap: 22px; align-self: center; }
.stats-card .stat, .stats-card .stat + .stat { padding: 0; border-left: 0; }
.stats-card .stat + .stat { padding-top: 22px; border-top: 1px solid var(--line); }
.criteria-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.criteria-4 .criterion, .criteria-4 .criterion:nth-child(even) { padding: 24px 24px 24px 0; border-right: 0; }
.criteria-4 .criterion + .criterion { padding-left: 24px; border-left: 1px solid var(--line); }
@media (max-width: 1020px) { .criteria-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .criteria-4 .criterion:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 760px) { .criteria-4 { grid-template-columns: minmax(0, 1fr); } .criteria-4 .criterion, .criteria-4 .criterion + .criterion { padding: 22px 0; border-left: 0; } }

/* Tools page */
.tool-card { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); border-radius: 24px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.tool-visual { background: var(--night); display: grid; place-items: center; padding: clamp(24px, 4vw, 48px); min-height: 280px; }
.tool-visual svg { width: 100%; max-width: 420px; height: auto; }
.tool-body { padding: clamp(26px, 4vw, 48px); display: grid; gap: 16px; align-content: center; }
.tool-body h2 { font-size: var(--step-3); }
.tool-body > p { color: var(--ink-2); }
@media (max-width: 1020px) { .tool-card { grid-template-columns: minmax(0, 1fr); } .tool-visual { min-height: 0; } }

/* Homepage tool strip */
.tool-strip { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 22px 26px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .2s, transform .2s; }
.tool-strip:hover { border-color: var(--brand); transform: translateY(-2px); color: var(--ink); }
.tool-strip-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--night); color: #fff; display: grid; place-items: center; }
.tool-strip-text { display: grid; gap: 4px; }
.tool-strip-text b { font-size: 1.1rem; font-weight: 650; }
.tool-strip-text > span:last-child { color: var(--ink-2); font-size: 0.95rem; }
.tool-strip-go { font-weight: 600; color: var(--brand); white-space: nowrap; }
@media (max-width: 760px) { .tool-strip { grid-template-columns: auto minmax(0, 1fr); } .tool-strip-go { grid-column: 2; } }

/* Menu labels and the header button never wrap onto two lines */
.nav-links a, .nav-cta { white-space: nowrap; }

/* Cookie banner */
.cookie-banner {
  position: fixed; z-index: 100; left: 16px; right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  max-width: 560px; margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center;
  padding: 18px 20px; border-radius: 18px; background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); box-shadow: 0 24px 60px -24px rgba(10, 21, 48, .45);
  font-size: 0.93rem; line-height: 1.5;
}
.cookie-banner p { color: var(--ink-2); }
.cookie-actions { display: flex; gap: 8px; }
.cookie-actions .btn { padding: 11px 16px; font-size: 0.9rem; }
@media (max-width: 600px) { .cookie-banner { grid-template-columns: minmax(0, 1fr); } .cookie-actions .btn { flex: 1; } }

/* Blog photos */
.post-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post:hover .post-art img, .featured-post:hover .post-art img { transform: scale(1.03); }
.article-hero { margin: 0 0 clamp(32px, 4vw, 48px); border-radius: 22px; overflow: hidden; background: var(--brand-tint); aspect-ratio: 16 / 9; max-width: 100%; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
