/* SEO on Demand — design system v2
   "Teknisk kontrolrum på papir": near-white broadsheet ground, hairline
   rails, one dark monitor band, one drenched indigo close. Committed
   indigo-violet accent. Type: Aspekta (headings only) + Inter (body) +
   Spline Sans Mono (data only). All pairs WCAG AA-verified. */

@font-face {
  font-family: "Aspekta Variable";
  src: url("../fonts/AspektaVF.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Ground + surfaces */
  --bg: oklch(0.985 0.002 275);
  --bg-soft: oklch(0.965 0.005 275);
  --card: oklch(1 0 0);
  --line: oklch(0.87 0.01 275);
  --line-strong: oklch(0.78 0.012 275);

  /* Ink */
  --ink: oklch(0.17 0.015 275);
  --muted: oklch(0.45 0.02 275);

  /* Brand */
  --primary: oklch(0.48 0.2 275);          /* accent text, links: 6.7:1 on bg */
  --primary-deep: oklch(0.38 0.16 275);    /* fills; white text 10.6:1 */
  --primary-soft: oklch(0.48 0.2 275 / 0.09);
  --band-sec: oklch(0.9 0.04 275);         /* secondary text on indigo fill: 7.8:1 */

  /* Dark monitor band */
  --dark: oklch(0.16 0.02 275);
  --dark-ink: oklch(0.96 0.005 275);
  --dark-muted: oklch(0.72 0.015 275);
  --dark-line: oklch(0.3 0.02 275);
  --dark-accent: oklch(0.75 0.13 275);

  /* Data deltas */
  --pos: oklch(0.47 0.14 152);
  --neg: oklch(0.52 0.19 25);
  --pos-dark: oklch(0.8 0.15 152);
  --neg-dark: oklch(0.7 0.16 25);

  /* Chart hairlines (lighter than UI hairlines) */
  --chart-grid: oklch(0.93 0.006 275);

  /* Type */
  --font-display: "Aspekta Variable", system-ui, -apple-system, sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "Spline Sans Mono", ui-monospace, "SF Mono", monospace;

  /* Rhythm */
  --max-w: 1200px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-card: 0 1px 2px oklch(0.17 0.015 275 / 0.05),
                 0 12px 32px -8px oklch(0.17 0.015 275 / 0.09);
  --shadow-float: 0 2px 4px oklch(0.17 0.015 275 / 0.05),
                  0 32px 72px -16px oklch(0.17 0.015 275 / 0.16);

  /* Motion */
  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);

  /* z-scale */
  --z-nav: 10;
  --z-skip: 20;
}

/* ---------- Reset & base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

.nowrap { white-space: nowrap; }

h1, h2, h3 { margin: 0 0 1rem; text-wrap: balance; font-family: var(--font-display); }
h1 {
  font-size: clamp(2.4rem, 6.5vw, 4.4rem);
  font-weight: 500; line-height: 1.02; letter-spacing: -0.03em;
}
h2 {
  font-size: clamp(1.85rem, 3.8vw, 2.9rem);
  font-weight: 500; line-height: 1.06; letter-spacing: -0.025em;
}
h3 { font-size: 1.22rem; font-weight: 500; line-height: 1.2; }

p { margin: 0 0 1rem; max-width: 66ch; text-wrap: pretty; }
.lede {
  font-size: clamp(1.08rem, 1.6vw, 1.26rem);
  line-height: 1.55; color: var(--muted);
}

a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--primary-deep); color: white; }

.wrap {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4.5vw, 3rem);
}

.skip-link {
  position: fixed; top: -100%; left: 1rem; z-index: var(--z-skip);
  background: var(--primary-deep); color: white; padding: 0.6rem 1rem;
  border-radius: var(--radius); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: white; }

/* Mono data label — the one recurring "this is data" voice */
.tag {
  display: inline-block;
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--primary);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.95rem 1.7rem;
  border-radius: 99px;
  font-weight: 700; font-size: 1.02rem; line-height: 1.2;
  text-decoration: none;
  transition: transform 0.45s var(--ease-out),
              background-color 0.2s ease, border-color 0.2s ease,
              box-shadow 0.45s var(--ease-out);
}
.btn-primary {
  background: var(--primary-deep); color: white;
  box-shadow: 0 1px 2px oklch(0.38 0.16 275 / 0.3),
              0 8px 24px -6px oklch(0.38 0.16 275 / 0.45);
}
.btn-primary:hover {
  background: var(--primary); color: white;
  transform: translateY(-2px);
  box-shadow: 0 2px 4px oklch(0.38 0.16 275 / 0.3),
              0 14px 32px -6px oklch(0.38 0.16 275 / 0.5);
}
.btn-ghost { color: var(--ink); border: 1px solid var(--line-strong); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-invert { background: white; color: var(--primary-deep); }
.btn-invert:hover { background: var(--band-sec); color: var(--primary-deep); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) {
  .btn, .btn:hover { transition: background-color 0.2s ease; transform: none; }
}

/* ---------- Nav ---------- */

.nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: oklch(0.985 0.002 275 / 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding-block: 1rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  color: var(--ink); text-decoration: none;
  font-weight: 800; font-size: 1.12rem; letter-spacing: -0.015em;
}
.brand svg { display: block; }
.nav-links { display: flex; align-items: center; gap: 1.9rem; }
.nav-links a:not(.btn) {
  color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.97rem;
}
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav .btn { padding: 0.6rem 1.2rem; font-size: 0.95rem; }
@media (max-width: 760px) {
  .nav-links a:not(.btn) { display: none; }
}
@media (max-width: 480px) {
  .nav-inner { gap: 0.75rem; }
  .brand { font-size: 1rem; gap: 0.45rem; }
  .brand svg { width: 19px; height: 19px; }
  .nav .btn { padding: 0.55rem 0.9rem; font-size: 0.88rem; }
}

/* ---------- Sections ---------- */

.section { padding-block: clamp(5.5rem, 12vw, 10rem); }
.section-head { max-width: 50rem; margin-bottom: clamp(2.75rem, 6vw, 4.5rem); }
.section-head p { color: var(--muted); font-size: clamp(1.02rem, 1.5vw, 1.15rem); }
.rule-top { border-top: 1px solid var(--line); }

/* ---------- Hero ---------- */

.hero {
  padding-block: clamp(4.5rem, 9vw, 7.5rem) clamp(4.5rem, 9vw, 7.5rem);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr);
  gap: clamp(3.5rem, 7vw, 5rem);
  align-items: center;
}
.hero-copy {
  width: 100%; max-width: 54rem; min-width: 0;
  margin-inline: auto; text-align: center;
}
.hero-copy .lede { margin: 1.6rem auto 0; max-width: 42rem; }
.hero h1 em { font-style: normal; color: var(--primary-deep); }
.hero-ctas {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.9rem; margin-top: 2.4rem;
}
.hero-note { margin: 1.6rem auto 0; color: var(--muted); font-size: 0.95rem; }
.hero-note strong { color: var(--ink); font-weight: 700; }
.hero-points {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.5rem 1.6rem;
  margin: 2rem auto 0; padding: 0; list-style: none;
  font-family: var(--font-mono); font-size: 0.8rem; font-weight: 500;
  color: var(--muted);
}
.hero-points li { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-points li::before { content: "✓"; color: var(--pos); font-weight: 600; }

/* ---------- Stat strip ---------- */

.stats { padding-block: clamp(2.2rem, 5vw, 3.5rem); }
.stat-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin: 0; padding: 0; list-style: none;
}
.stat { text-align: center; }
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 500; letter-spacing: -0.02em; line-height: 1.1;
  color: var(--primary-deep);
}
.stat span {
  display: block; margin-top: 0.35rem;
  font-family: var(--font-mono); font-size: 0.8rem; font-weight: 500;
  color: var(--muted);
}
.stat + .stat { border-left: 1px solid var(--line); }
@media (max-width: 700px) {
  .stat-strip { grid-template-columns: 1fr; gap: 1.4rem; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); padding-top: 1.4rem; }
}

/* Hero load choreography: a self-playing CSS animation, never gated on a
   class toggle or script load. If CSS renders, the hero ends visible. */
.hero [data-seq] {
  animation: hero-in 0.9s var(--ease-out) both;
  animation-delay: var(--seq-delay, 0s);
}
@keyframes hero-in {
  from { opacity: 0; translate: 0 26px; filter: blur(10px); }
  to   { opacity: 1; translate: 0 0;    filter: blur(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero [data-seq] { animation: none; }
}

/* Hero stage: a layered collage of product artifacts, centered below the
   copy. Narrow screens: report on top, the two cards pulled up beneath it.
   Wide screens: a bento — report left, chart card rising above the top
   edge on the right, live card dropping below the bottom edge. Overlaps
   are sized to cover card padding only, never data. */
.hero-stage {
  position: relative; width: 100%; max-width: 680px; margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
  gap: 1.1rem;
  align-items: start;
}
.hero .report { text-align: left; grid-column: 1 / -1; }
.hero-stage .chart-card {
  grid-column: 1; grid-row: 2;
  margin: -1.6rem 0 0 clamp(0rem, 1.5vw, 0.9rem);
}
.hero-stage .live-card {
  grid-column: 2; grid-row: 2;
  margin: 1.4rem clamp(0rem, 1.5vw, 0.9rem) 0 0;
}
@media (max-width: 560px) {
  .hero-stage { grid-template-columns: 1fr; }
  .hero-stage .chart-card { grid-column: 1; grid-row: 2; margin: -1.1rem 0.8rem 0; }
  .hero-stage .live-card { grid-column: 1; grid-row: 3; margin: 1rem 0.8rem 0; }
}
@media (min-width: 900px) {
  .hero-stage {
    max-width: 880px;
    grid-template-columns: minmax(0, 1.72fr) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    gap: 1.25rem;
    padding-block: 1.75rem;
  }
  .hero .report { grid-column: 1; grid-row: 1 / span 2; }
  .hero-stage .chart-card {
    grid-column: 2; grid-row: 1;
    margin: -1.75rem 0 0 -2.25rem;
  }
  .hero-stage .live-card {
    grid-column: 2; grid-row: 2; align-self: end;
    margin: 0 0 -1.75rem -2.25rem;
  }
}

/* ---------- Chart card (trend artifact) ---------- */

.chart-card {
  position: relative; z-index: 2;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  overflow: hidden;
  margin: 0;
}
.cc-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 0.5rem 1rem;
  padding: 0.9rem 1.1rem 0.45rem;
  font-family: var(--font-mono); font-size: 0.73rem; color: var(--muted);
}
.cc-q {
  font-weight: 600; color: var(--ink);
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cc-tag { flex-shrink: 0; }
.cc-svg { display: block; width: 100%; height: auto; padding: 0.2rem 0.4rem 0; }
.cc-grid { stroke: var(--chart-grid); }
.cc-goal { stroke: var(--line-strong); }
.cc-t { font-family: var(--font-mono); font-size: 8.5px; fill: var(--muted); letter-spacing: 0.03em; }
.cc-t-goal { fill: var(--primary); font-weight: 600; }
.cc-line { stroke: var(--primary); stroke-width: 2.4; stroke-linecap: round; }
.cc-dot { fill: var(--primary); }
.cc-pulse {
  fill: none; stroke: var(--primary); stroke-width: 2; opacity: 0;
  transform-box: fill-box; transform-origin: 50% 50%;
}
.cc-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 0.5rem 1rem;
  padding: 0.6rem 1.1rem 0.85rem;
  margin-top: 0.35rem;
  border-top: 1px solid var(--chart-grid);
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted);
}
.cc-foot strong { color: var(--ink); font-weight: 600; }
.cc-delta { display: inline-block; color: var(--pos); font-weight: 600; white-space: nowrap; margin-left: 0.35rem; }

/* ---------- Live card (published artifact) ---------- */

.live-card {
  position: relative; z-index: 2;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  padding: 1rem 1.2rem 1.05rem;
}
.lc-head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; margin-bottom: 0.65rem;
}
.lc-badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: oklch(0.47 0.14 152 / 0.13); color: var(--pos);
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600;
  padding: 0.22rem 0.7rem; border-radius: 99px;
}
.lc-tag { font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); }
.lc-title { margin: 0 0 0.3rem; font-weight: 700; font-size: 1.02rem; letter-spacing: -0.01em; }
.lc-meta {
  margin: 0; font-family: var(--font-mono); font-size: 0.74rem; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Gentle float on the two small cards; charts stay put */
@media (prefers-reduced-motion: no-preference) {
  .hero-stage .chart-card { animation: floaty 6s ease-in-out 1.6s infinite alternate; }
  .hero-stage .live-card { animation: floaty 7s ease-in-out 2.4s infinite alternate; }
  .cc-pulse { animation: cc-pulse 2.8s ease-out 2.4s infinite; }
}
@keyframes floaty { from { transform: translateY(0); } to { transform: translateY(-6px); } }
@keyframes cc-pulse {
  0% { transform: scale(1); opacity: 0.5; }
  70%, 100% { transform: scale(2.7); opacity: 0; }
}

/* ---------- The report artifact ---------- */

/* Window chrome shared by the app-like cards: three muted dots + a title */
.win-dots { display: inline-flex; gap: 5px; flex-shrink: 0; }
.win-dots i {
  width: 8px; height: 8px; border-radius: 50%;
  background: oklch(0.89 0.012 275);
  border: 1px solid oklch(0.82 0.012 275);
}
.ui-title {
  flex: 1; min-width: 0;
  font-family: var(--font-sans); font-size: 0.84rem; font-weight: 600;
  letter-spacing: -0.005em; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.report {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-float);
  margin: 0;
}
.report-head {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.95rem 1.4rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted);
}
.report-rows { padding: 0.4rem 0; }
.report-row {
  display: grid; grid-template-columns: 1fr auto;
  gap: 0.3rem 1.25rem;
  padding: 1rem 1.4rem;
}
.report-row + .report-row { border-top: 1px solid oklch(0.93 0.006 275); }
.report-q { font-family: var(--font-mono); font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.report-meta { font-size: 0.85rem; color: var(--muted); grid-column: 1; }
.report-delta {
  grid-column: 2; grid-row: 1 / span 2; align-self: center;
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 600;
  color: var(--pos); white-space: nowrap;
  background: oklch(0.47 0.14 152 / 0.12);
  padding: 0.22rem 0.68rem; border-radius: 99px;
}
.report-delta.is-action { color: var(--primary); background: var(--primary-soft); }
.report-foot {
  padding: 1rem 1.4rem;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  font-family: var(--font-mono); font-size: 0.82rem; color: var(--muted);
}
.report-foot strong { color: var(--pos); font-weight: 600; }

/* ---------- The monthly loop ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line-strong);
  padding: 0; margin: 0; list-style: none;
}
.step { padding-top: 1.6rem; position: relative; display: flex; flex-direction: column; }
.step::before {
  content: "";
  position: absolute; top: -1px; left: 0;
  width: 2.2rem; border-top: 3px solid var(--primary-deep);
}
.step-n {
  display: block; margin-bottom: 1.1rem;
  font-family: var(--font-mono); font-weight: 600;
  font-size: clamp(1.7rem, 2.7vw, 2.3rem); line-height: 1;
  color: var(--primary-deep);
}
.step-n small {
  display: block; margin-top: 0.5rem;
  font-size: 0.78rem; letter-spacing: 0.02em; color: var(--primary);
}
/* Step cards: each step's visual sits BELOW the step's text and reads as a
   short, ambient slice of the real product UI — real component anatomy
   (headers, rows, chips, avatars, buttons) but deliberately light on literal
   copy. Bottom-aligned across the row via the auto top margin. Resting state
   (no JS / reduced motion) is the finished card. */
.step-card {
  min-height: 92px; max-width: 340px;
  margin: auto 0 0;
  display: flex; flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

/* Shared panel anatomy: header bar, footer bar, status chips */
.stp-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.6rem;
  padding: 0.6rem 0.85rem;
  border-bottom: 1px solid var(--chart-grid);
  font-size: 0.68rem; font-weight: 700; color: var(--ink);
  letter-spacing: -0.005em; line-height: 1.3;
}
.stp-head > span:first-child {
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.stp-tag {
  flex-shrink: 0;
  font-family: var(--font-mono); font-size: 0.6rem; font-weight: 600;
  color: var(--muted);
}
.stp-foot {
  margin-top: auto;
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  border-top: 1px solid var(--chart-grid);
  background: var(--bg-soft);
  font-size: 0.62rem; font-weight: 500; color: var(--muted);
  white-space: nowrap; overflow: hidden;
}
.stp-foot svg { flex-shrink: 0; }
.stp-chip {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 0.28rem;
  font-size: 0.6rem; font-weight: 700; line-height: 1.4;
  padding: 0.16rem 0.55rem; border-radius: 99px;
}
.stp-chip.is-ok { background: oklch(0.47 0.14 152 / 0.13); color: var(--pos); }
.stp-chip.is-draft { background: var(--primary-soft); color: var(--primary); }

/* 01 — data sources: a settings panel with two connected integrations */
.stp-row {
  display: flex; align-items: center; gap: 0.55rem;
  padding: 0.6rem 0.85rem;
}
.stp-row + .stp-row { border-top: 1px solid var(--chart-grid); }
.stp-ic {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 7px;
  background: var(--card); border: 1px solid var(--line);
}
.stp-ic svg { width: 13px; height: 13px; display: block; }
.stp-ic--agent { border: 0; background: none; }
.stp-ic--agent svg { width: 24px; height: 24px; }
.stp-name {
  flex: 1; min-width: 0;
  font-size: 0.72rem; font-weight: 600; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* 02 — the opportunity list, sorted by potential (bars carry the meaning) */
.stp-trow {
  display: flex; flex-direction: column; gap: 0.36rem;
  padding: 0.52rem 0.85rem 0.56rem;
  border-top: 1px solid var(--chart-grid);
}
.stp-trow.is-top { background: var(--primary-soft); }
.stp-q {
  font-family: var(--font-mono); font-size: 0.62rem; font-weight: 600;
  color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.stp-trow.is-top .stp-q { color: var(--ink); }
.stp-bar {
  height: 4px; border-radius: 3px;
  background: var(--chart-grid); overflow: hidden;
}
.stp-trow.is-top .stp-bar { background: oklch(0.48 0.2 275 / 0.15); }
.stp-bar i {
  display: block; height: 100%; width: var(--w);
  border-radius: 3px; background: var(--primary);
  transform-origin: left center;
}
.stp-bar i.is-rest { background: var(--line-strong); }

/* 03 — the humans behind the work: two team avatars */
.step-card--review {
  align-items: center; justify-content: center;
  gap: 0.8rem; padding: 1.25rem 0.85rem;
}
.stp-avatars { display: flex; }
.stp-avatar {
  position: relative; width: 54px; height: 54px; border-radius: 50%;
  background: var(--bg-soft);
  box-shadow: 0 0 0 3px var(--card), 0 4px 12px -4px oklch(0.17 0.015 275 / 0.4);
}
.stp-avatar + .stp-avatar { margin-left: -15px; }
.stp-avatar img {
  width: 54px; height: 54px; border-radius: 50%;
  object-fit: cover; display: block;
}
.stp-avatar--online::after {
  content: ""; position: absolute; right: 1px; bottom: 1px;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--pos); box-shadow: 0 0 0 2.5px var(--card);
}
.stp-review-cap {
  font-size: 0.68rem; font-weight: 600; color: var(--muted);
  letter-spacing: 0.01em;
}

/* 04 — approval list + the one click */
.stp-item {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.42rem 0.85rem;
  font-size: 0.64rem; font-weight: 600; color: var(--ink);
}
.stp-item + .stp-item { border-top: 1px solid var(--chart-grid); }
.stp-item--more { color: var(--muted); font-weight: 500; }
.stp-it { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stp-tick {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--pos); color: white;
}
.stp-approve {
  position: relative; margin-top: auto;
  display: flex; justify-content: center;
  padding: 0.55rem 0 0.7rem;
  border-top: 1px solid var(--chart-grid);
}
.stp-btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--primary-deep); color: white;
  border-radius: 99px; padding: 0.42rem 1rem;
  font-size: 0.74rem; font-weight: 700;
  box-shadow: 0 6px 16px -6px oklch(0.38 0.16 275 / 0.55);
}
.stp-btn::after {
  content: ""; position: absolute; inset: -2px;
  border-radius: 99px; border: 2px solid var(--primary);
  opacity: 0;
}
.stp-cursor { position: absolute; right: 16%; bottom: 2px; width: 13px; height: auto; color: var(--ink); }

@media (prefers-reduced-motion: no-preference) {
  .step.is-in .stp-chip.is-ok,
  .step.is-in .stp-tick {
    animation: sv-pop 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.5) both;
    animation-delay: calc(var(--pop, 0) * 0.22s + 0.5s);
  }
  .step.is-in .stp-bar i {
    animation: stp-fill 0.7s var(--ease-out) both;
    animation-delay: calc(var(--i) * 0.14s + 0.35s);
  }
  .step.is-in .stp-avatar {
    animation: stp-rise 0.55s var(--ease-out) both;
    animation-delay: calc(var(--pop, 0) * 0.12s + 0.4s);
  }
  .step.is-in .stp-cursor { animation: stc-cursor 4s ease-in-out 0.5s infinite; }
  .step.is-in .stp-btn { animation: stc-press 4s ease-in-out 0.5s infinite; }
  .step.is-in .stp-btn::after { animation: stc-ripple 4s ease-in-out 0.5s infinite; }
}
@keyframes stp-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes stp-rise { from { opacity: 0; translate: 0 6px; } to { opacity: 1; translate: 0 0; } }
@keyframes stc-cursor {
  0% { transform: translate(20px, 16px); opacity: 0; }
  14% { opacity: 1; }
  36% { transform: translate(0, 0); }
  44% { transform: translate(0, 0) scale(0.88); }
  52% { transform: translate(0, 0) scale(1); }
  86% { opacity: 1; transform: translate(0, 0); }
  100% { transform: translate(20px, 16px); opacity: 0; }
}
@keyframes stc-press { 0%, 36% { transform: scale(1); } 44% { transform: scale(0.955); } 52%, 100% { transform: scale(1); } }
@keyframes stc-ripple {
  0%, 44% { transform: scale(0.9); opacity: 0; }
  50% { opacity: 0.55; }
  74% { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}

/* Keyframes shared with the dark-band signal diagrams */
@keyframes sv-bar-rise { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes sv-pop { 0% { transform: scale(0); } 60% { transform: scale(1.18); } 100% { transform: scale(1); } }
.step h3 { margin-bottom: 0.5rem; font-size: 1.14rem; }
.step p { color: var(--muted); font-size: 0.95rem; margin: 0 0 1.4rem; }
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  .steps { grid-template-columns: 1fr; gap: 2.25rem; }
  .step-card { max-width: none; }
}
.steps-loop {
  display: flex; align-items: center; gap: 1.25rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  font-family: var(--font-mono); font-size: 0.88rem; font-weight: 600;
  color: var(--primary);
}
.steps-loop::before {
  content: "";
  flex: 1; max-width: 16rem;
  border-top: 1px solid var(--line-strong);
}

/* ---------- Dark monitor band: the data engine ---------- */

.section-dark {
  background: var(--dark);
  color: var(--dark-ink);
}
.section-dark .section-head h2 { color: var(--dark-ink); }
.section-dark .section-head p { color: var(--dark-muted); }
.engine-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 62rem;
}
@media (max-width: 640px) { .engine-grid { grid-template-columns: 1fr; } }
.signal {
  background: oklch(0.195 0.02 275);
  border: 1px solid oklch(0.285 0.02 275);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem 1.5rem;
}
.signal-tag {
  display: block; margin-bottom: 0.6rem;
  font-family: var(--font-mono); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--dark-accent);
}
.signal h3 { font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--dark-ink); }
.signal p { color: var(--dark-muted); font-size: 0.97rem; margin: 0; }

/* Signal mini-visuals: one small animated diagram per data signal, plus a
   one-line mono readout of the real numbers behind it.
   Resting state (no JS / reduced motion) is the finished drawing. */
.signal-viz { margin: 0.4rem 0 1.1rem; }
.szv-read {
  margin-top: 0.7rem;
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500;
  color: var(--dark-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.szv-read .up { color: var(--pos-dark); font-weight: 600; }
.szv-read .down { color: var(--neg-dark); font-weight: 600; }
.szv-read .acc { color: var(--dark-accent); font-weight: 600; }
.szv {
  display: block; width: 100%; max-width: 200px; height: auto;
  stroke-linecap: round; stroke-linejoin: round;
  overflow: visible;
}
.szv text { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.03em; }
.szv-t { fill: var(--dark-accent); }
.szv-t-muted { fill: var(--dark-muted); }
.szv-rail, .szv-ticks line, .szv-base { stroke: var(--dark-line); stroke-width: 2; }
.szv-bound, .szv-mark { stroke: var(--dark-muted); stroke-width: 1.6; }

/* 1 — position ladder: the dot crosses onto side 1 */
.szv-trail { stroke: var(--dark-accent); stroke-width: 2.4; stroke-dasharray: 100; stroke-dashoffset: 0; }
.szv-dot { fill: var(--pos-dark); transform: translateX(-74px); }

/* 2 — clicks jump after a title rewrite */
.szv-bar { fill: var(--dark-line); }
.szv-bar--up { fill: var(--pos-dark); }

/* 3 — a missing page between two existing ones */
.szv-page rect, .szv-page line { stroke: var(--dark-muted); stroke-width: 1.8; }
.szv-gap-r { stroke: var(--dark-accent); stroke-width: 1.8; }
.szv-plus { stroke: var(--dark-accent); stroke-width: 2.2; }

/* 4 — movers: one line up, one line down */
.szv-up, .szv-up-tip { stroke: var(--pos-dark); stroke-width: 2.4; }
.szv-down, .szv-down-tip { stroke: var(--neg-dark); stroke-width: 2.4; }
.szv-up, .szv-down { stroke-dasharray: 100; stroke-dashoffset: 0; }

@media (prefers-reduced-motion: no-preference) {
  .szv-bar, .szv-plus { transform-box: fill-box; }
  .szv-bar { transform-origin: 50% 100%; }
  .szv-plus { transform-origin: 50% 50%; }

  .signal.is-in .szv-dot { animation: szv-slide 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s both; }
  .signal.is-in .szv-trail { animation: szv-draw 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s both; }

  .signal.is-in .szv-bar {
    animation: sv-bar-rise 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
    animation-delay: calc(var(--i) * 0.1s + 0.35s);
  }

  .signal.is-in .szv-gap-r { animation: szv-march 1.4s linear infinite; }
  .signal.is-in .szv-plus { animation: sv-pop 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.5) 0.6s both; }

  .signal.is-in .szv-up { animation: szv-draw 0.8s ease-out 0.4s both; }
  .signal.is-in .szv-down { animation: szv-draw 0.8s ease-out 0.7s both; }
  .signal.is-in .szv-up-tip { animation: szv-fade 0.3s ease-out 1s both; }
  .signal.is-in .szv-down-tip { animation: szv-fade 0.3s ease-out 1.3s both; }
}
@keyframes szv-slide { from { transform: translateX(0); } to { transform: translateX(-74px); } }
@keyframes szv-draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes szv-march { to { stroke-dashoffset: -14; } }
@keyframes szv-fade { from { opacity: 0; } to { opacity: 1; } }
.engine-note {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.3rem;
  border-top: 1px solid var(--dark-line);
  color: var(--dark-muted); font-size: 0.98rem;
  max-width: 56ch;
}
.engine-note strong { color: var(--dark-ink); font-weight: 700; }

/* ---------- Deliverables ledger ---------- */

.deliver-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.25rem, 4.5vw, 4rem);
  align-items: start;
}
@media (max-width: 940px) { .deliver-grid { grid-template-columns: 1fr; } }

.ledger { border-top: 1px solid var(--line-strong); margin: 0; }
.ledger-row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 0.5rem 3rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.25s ease;
}
.ledger-row dt { font-weight: 800; font-size: clamp(1.08rem, 1.6vw, 1.26rem); letter-spacing: -0.015em; }
.ledger-row dd { margin: 0; color: var(--muted); font-size: 0.98rem; }
@media (max-width: 720px) { .ledger-row { grid-template-columns: 1fr; gap: 0.4rem; } }
@media (min-width: 941px) {
  .deliver-grid .ledger-row { grid-template-columns: 1fr; gap: 0.4rem; }
}

/* ---------- Delivery status card ---------- */

.status-card {
  position: sticky; top: 6.5rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
@media (max-width: 940px) { .status-card { position: static; } }
.sc-head {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.9rem 1.3rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted);
}
.sc-rows { list-style: none; margin: 0; padding: 0.3rem 0; }
.sc-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem 1rem; align-items: center;
  padding: 0.95rem 1.3rem;
}
.sc-row + .sc-row { border-top: 1px solid var(--chart-grid); }
.sc-title { grid-column: 1; font-weight: 600; font-size: 0.93rem; letter-spacing: -0.005em; }
.sc-meter { grid-column: 1; display: flex; gap: 4px; }
.sc-meter i {
  width: 26px; height: 5px; border-radius: 3px;
  background: oklch(0.91 0.008 275);
}
.sc-meter i.on { background: var(--primary); }
.sc-chip {
  grid-column: 2; grid-row: 1 / span 2; justify-self: end;
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600;
  padding: 0.26rem 0.75rem; border-radius: 99px; white-space: nowrap;
}
.sc-chip.is-live { background: var(--pos); color: white; }
.sc-chip.is-pub { background: oklch(0.47 0.14 152 / 0.13); color: var(--pos); }
.sc-chip.is-ok { background: var(--primary-soft); color: var(--primary); }
.sc-chip.is-wait { background: var(--primary-deep); color: white; }
.sc-foot {
  margin: 0;
  padding: 0.95rem 1.3rem 1.05rem;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  font-size: 0.87rem; color: var(--muted);
}
.sc-foot strong { color: var(--ink); font-weight: 700; }

/* Meter segments sweep in when the card scrolls into view */
@media (prefers-reduced-motion: no-preference) {
  .js .status-card .sc-meter i.on {
    transform: scaleX(0); transform-origin: left center;
    transition: transform 0.45s var(--ease-out);
  }
  .js .status-card.is-in .sc-meter i.on { transform: scaleX(1); }
  .js .status-card.is-in .sc-meter i.on:nth-child(1) { transition-delay: calc(var(--d, 0) * 0.14s + 0.25s); }
  .js .status-card.is-in .sc-meter i.on:nth-child(2) { transition-delay: calc(var(--d, 0) * 0.14s + 0.35s); }
  .js .status-card.is-in .sc-meter i.on:nth-child(3) { transition-delay: calc(var(--d, 0) * 0.14s + 0.45s); }
  .js .status-card.is-in .sc-meter i.on:nth-child(4) { transition-delay: calc(var(--d, 0) * 0.14s + 0.55s); }
}

/* ---------- Inline CTA ---------- */

.inline-cta {
  margin-top: clamp(2.75rem, 5.5vw, 4.5rem);
  background: var(--primary-soft);
  border: 1px solid oklch(0.48 0.2 275 / 0.18);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.2rem) clamp(1.6rem, 3.5vw, 2.5rem);
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 1.25rem 2.5rem;
}
.inline-cta-h { margin: 0 0 0.3rem; font-weight: 800; font-size: 1.16rem; letter-spacing: -0.01em; }
.inline-cta-p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.inline-cta .btn { flex-shrink: 0; }

/* ---------- Comparison matrix (iconified) ----------
   Featured "us" column = continuous indigo panel; alternatives get
   honest ✓/✗ chips. Rows are wrapped in .cmp-row (display: contents
   on desktop so the grid stays one aligned unit; cards on mobile). */

.cmp {
  display: grid;
  grid-template-columns: 1.3fr 1.25fr 1fr 1fr 1fr;
  column-gap: clamp(0.4rem, 1.2vw, 0.9rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.cmp-row { display: contents; }

.cmp-h {
  align-self: end;
  padding: 0 0.9rem 1.2rem;
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--muted); text-align: center;
}
.cmp-dim {
  padding: 1.05rem 0.9rem 1.05rem 0;
  border-top: 1px solid var(--line);
  font-weight: 700; font-size: 1rem; line-height: 1.35;
  display: flex; align-items: center;
}
.cmp-cell {
  padding: 1.05rem 0.9rem;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  color: var(--muted); font-size: 0.93rem; line-height: 1.4;
}

/* The featured column: one continuous indigo panel */
.cmp-us {
  background: var(--primary-deep);
  color: white;
  border-top: 0;
  font-weight: 600;
}
.cmp-top {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  display: flex; align-items: center;
  flex-direction: column; gap: 0.15rem;
  padding: 1.3rem 0.9rem 1.1rem;
  font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em;
  text-align: center;
}
.cmp-badge {
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.02em; color: var(--band-sec);
}
.cmp-bot {
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  flex-direction: column; gap: 0.9rem;
  padding: 1.4rem 0.9rem 1.6rem;
}

/* Highlighted row (tidsforbrug), à la the inspiration's tinted band */
.cmp-hl .cmp-dim, .cmp-hl .cmp-cell:not(.cmp-us) { background: var(--bg-soft); }

/* Closing hairline under the last row */
.cmp-last .cmp-dim, .cmp-last .cmp-cell:not(.cmp-us) { border-bottom: 1px solid var(--line); }

/* ✓ / ✗ chips */
.ic {
  width: 30px; height: 30px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ic svg { display: block; }
.ic-yes { background: oklch(0.47 0.14 152 / 0.14); color: var(--pos); }
.ic-no { background: oklch(0.45 0.02 275 / 0.09); color: var(--muted); }
.cmp-us .ic-yes { background: white; color: var(--primary-deep); }

.cmp-label { display: none; }
.cmp-foot { margin-top: 2rem; color: var(--muted); font-size: 0.98rem; }

.btn-sm { padding: 0.55rem 1.15rem; font-size: 0.9rem; }

@media (max-width: 860px) {
  .cmp { display: block; }
  .cmp-head { display: none; }
  .cmp-row:not(.cmp-head) {
    display: block;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--card);
    box-shadow: var(--shadow-card);
    padding: 1.4rem;
    margin-bottom: 1rem;
  }
  .cmp-dim { border-top: 0; padding: 0 0 0.9rem; font-size: 1.12rem; }
  .cmp-cell {
    border-top: 0;
    padding: 0.55rem 0;
    justify-content: space-between; text-align: left;
    gap: 1rem;
  }
  .cmp-us {
    border-radius: 12px;
    padding: 0.7rem 1rem;
    margin-bottom: 0.35rem;
  }
  .cmp-top { display: none; }
  .cmp-bot {
    display: flex; flex-direction: column; align-items: flex-start;
    gap: 0.7rem; padding: 1rem;
  }
  .cmp-bot .btn { align-self: stretch; }
  .cmp-hl .cmp-dim, .cmp-hl .cmp-cell:not(.cmp-us) { background: transparent; }
  .cmp-label {
    display: block;
    font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600;
    color: var(--muted);
  }
  .cmp-us .cmp-label { color: var(--band-sec); }
}

/* Screen-reader-only text (icon cell meaning) */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ---------- Pricing ---------- */

.pricing-tabs { border: 0; padding: 0; margin: 0 0 3rem; }
.pricing-tab-list {
  display: flex; gap: 0.3rem;
  width: fit-content;
  margin-inline: auto;
  padding: 0.3rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 99px;
  margin-bottom: 2.5rem;
}
.pricing-tab {
  cursor: pointer; user-select: none;
  padding: 0.55rem 1.3rem;
  border-radius: 99px;
  font-weight: 600; font-size: 0.92rem;
  color: var(--muted);
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.pricing-tab:hover { color: var(--ink); }
#pricing-monthly:checked ~ .pricing-tab-list label[for="pricing-monthly"],
#pricing-once:checked ~ .pricing-tab-list label[for="pricing-once"] {
  background: var(--primary-deep); color: white;
}
#pricing-monthly:focus-visible ~ .pricing-tab-list label[for="pricing-monthly"],
#pricing-once:focus-visible ~ .pricing-tab-list label[for="pricing-once"] {
  outline: 2px solid var(--primary); outline-offset: 2px;
}
.pricing-panel { display: none; }
#pricing-monthly:checked ~ .pricing-panel-monthly,
#pricing-once:checked ~ .pricing-panel-once {
  display: block;
}

.tiers {
  display: grid; gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  align-items: start;
}
.tier {
  display: flex; flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.1rem 1.9rem;
  box-shadow: var(--shadow-card);
}
.tier.is-featured {
  background: var(--primary-deep);
  border-color: var(--primary-deep);
  color: white;
  position: relative;
  box-shadow: var(--shadow-float);
}
.tier-badge {
  position: absolute; top: -0.85rem; left: 1.9rem;
  background: white; color: var(--primary-deep);
  border: 1px solid var(--line);
  font-size: 0.78rem; font-weight: 700;
  padding: 0.28rem 0.8rem; border-radius: 99px;
}
.tier h3 { margin-bottom: 0.2rem; font-size: 1.14rem; }
.tier-price {
  font-size: clamp(1.9rem, 2.6vw, 2.3rem);
  font-weight: 800; letter-spacing: -0.03em;
  margin: 0.35rem 0 0.1rem;
}
.tier-price span { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.tier.is-featured .tier-price span { color: var(--band-sec); }
.tier-for { color: var(--muted); font-size: 0.96rem; margin-bottom: 1.5rem; }
.tier.is-featured .tier-for { color: var(--band-sec); }
.tier ul { list-style: none; margin: 0 0 1.9rem; padding: 0; display: grid; gap: 0.65rem; flex-grow: 1; }
.tier li { padding-left: 1.5rem; position: relative; font-size: 0.96rem; white-space: nowrap; }
.tier li::before {
  content: "→"; position: absolute; left: 0;
  color: var(--primary); font-family: var(--font-mono); font-size: 0.85rem;
}
.tier.is-featured li::before { color: var(--dark-accent); }

.pricing-notes {
  margin-top: 3rem;
  display: grid; gap: 0.5rem;
  color: var(--muted); font-size: 0.99rem;
}
.pricing-notes strong { color: var(--ink); font-weight: 700; }

/* ---------- FAQ ---------- */

.faq { max-width: 50rem; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem;
  padding: 1.5rem 0;
  font-weight: 700; font-size: clamp(1.04rem, 1.5vw, 1.18rem); letter-spacing: -0.01em;
}
.faq summary:hover { color: var(--primary-deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-mono); font-weight: 600; font-size: 1.3rem;
  color: var(--primary); flex-shrink: 0;
  transition: transform 0.4s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }
.faq details p { color: var(--muted); padding-bottom: 1.5rem; margin: 0; max-width: 60ch; }

/* ---------- Final CTA: drenched indigo ---------- */

.cta-band {
  background: var(--primary-deep);
  color: white;
  text-align: center;
  padding-block: clamp(6rem, 13vw, 10.5rem);
}
.cta-band h2 {
  color: white;
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  max-width: 20ch; margin-inline: auto;
}
.cta-band .lede { color: var(--band-sec); margin-inline: auto; max-width: 40rem; }
.cta-band .hero-ctas { justify-content: center; }
.cta-band .hero-note { color: var(--band-sec); }
.cta-band .hero-note a { color: white; }
.cta-band .hero-note a:hover { color: var(--band-sec); }
.book-embed {
  min-height: 100px;
  max-width: 56rem;
  margin: 2.4rem auto 0;
  text-align: left;
}
.book-embed #my-cal-inline-30min { height: auto !important; }

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding-block: 2.75rem;
  color: var(--muted); font-size: 0.93rem;
}
.footer-inner {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 1rem 2rem;
}
.footer a { color: var(--muted); }
.footer a:hover { color: var(--ink); }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; }

/* ---------- Legal pages ---------- */

.legal { padding-block: clamp(3.5rem, 7vw, 6rem); }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.legal-updated { color: var(--muted); font-size: 0.95rem; margin-bottom: 3rem; }
.legal article { max-width: 70ch; }
.legal h2 { font-size: 1.32rem; margin-top: 2.75rem; letter-spacing: -0.015em; }
.legal ul { color: var(--ink); padding-left: 1.25rem; }
.legal li { margin-bottom: 0.4rem; }
.placeholder {
  background: var(--primary-soft); color: var(--primary);
  padding: 0 0.3em; border-radius: 4px;
  font-family: var(--font-mono); font-size: 0.9em;
}

/* ---------- Scroll reveals (progressive enhancement) ----------
   Content fully visible without JS; .js gate pre-hides only when
   the observer will run. */

.js [data-reveal] {
  opacity: 0;
  translate: 0 22px;
  transition: opacity 0.85s var(--ease-out), translate 0.85s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
.js [data-reveal].is-in { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; translate: none; transition: none; }
}
