/**
 * OTTO — Palette C · grøn + dæmpet terrakotta × DM Sans hele vejen
 * Felt 03 valgt (2026-10-07 21:47). Brand READY → Otto SAMPLE → Web CF-draft → www-ja.
 *
 * Acceptance: «Straight info · klar kan/gør · hvordan afregnes — ingen dekorativ wood.»
 *
 * LOAD ORDER (thin override — does nothing on its own):
 *   1. ottos-auto-clean-b2b-info-v1/tokens-www-no-wood.css   (Style C plate — unchanged)
 *   2. assets/phone-hero.css on www                          (v4B hero — unchanged)
 *   3. THIS FILE                                              (last)
 *
 * What it does — and nothing else:
 *   A. Adds terracotta signal tokens + a11y-safe green text token.
 *   B. Sets DM Sans for headings (drops Instrument Serif as heading font). Body is already DM Sans.
 *   C. Points the in-phone «Kun dig» marker at --phone-only-you (inside .phone-hero / .lp-phone-scope only).
 *   D. Two NEW opt-in classes (.chip-signal, .signal-mark). No existing selector is restyled except B + C.
 * Paper/cream/surface/ink/green/btn-soft/nav/sections/forms: untouched (still from tokens-www-no-wood.css).
 *
 * WCAG 2.x contrast (computed, sRGB relative luminance; AA = 4.5:1 text, 3:1 large text / UI):
 *   --accent-signal-text #9c4a2c on cream   #f4efe6 ........ 5.35:1  AA  (passes — no shade change needed)
 *   --accent-signal-text #9c4a2c on paper   #faf7f2 ........ 5.73:1  AA
 *   --accent-signal-text #9c4a2c on surface #ffffff ........ 6.12:1  AA
 *   --accent-signal-text #9c4a2c on chip tint (.14) / cream  4.70:1  AA  (chip = tint over cream; .16 would be 4.59 — kept .14 for margin)
 *   --accent-signal-text #9c4a2c on chip tint (.14) / paper  5.01:1  AA
 *   --accent-signal-text #9c4a2c on chip tint (.14) / white  5.32:1  AA
 *   --ink #1a1612 on --accent-signal #c97b5a (solid) ....... 5.54:1  AA  (if text ever sits on solid terracotta: ink only)
 *   #ffffff on --accent-signal #c97b5a ..................... 3.25:1  FAIL for body text → never white text on terracotta
 *   --accent-signal #c97b5a as UI mark on cream ............ 2.84:1  < 3:1 → decorative only; always paired with a text label
 *   --phone-only-you #e39a78 on bubble --wa-in #202c33 ..... 6.23:1  AA  (bar + «Kun dig» text)
 *   --phone-only-you #e39a78 on badge tint (.12) / #202c33 . 5.06:1  AA  (v1 used .18 → 4.48:1 FAIL; tint lowered to .12)
 *   --phone-only-you #e39a78 on cream #f4efe6 .............. 2.00:1  FAIL → phone-only token, never on the page plate
 *   --green-text #00785e on cream / paper .................. 4.76 / 5.11:1  AA  (links, small green text)
 *   --green #00a884 on paper (as text) ..................... 2.83:1  FAIL → green as TEXT must use --green-text
 *   --cta-ink #0b141a on --green #00a884 (btn-soft) ........ 6.14:1  AA  (unchanged)
 *   --ink #1a1612 on paper / cream ......................... 16.83 / 15.71:1  AA  (H1, body)
 *   --muted #6b6560 on paper / cream ....................... 5.38 / 5.02:1  AA  (lede)
 *
 * Locks: Style C no-wood · no grain · no Ken Burns · no navy #0b0d10 · no teal glow · btn-soft 10px no glow ·
 *        Soft-claim · Autobot PARK · LI/Meta HOLD · Calendly OUT · OTTO name only · Brand does not ship www.
 */

/* ============================================================
   A. Tokens (additive)
   ============================================================ */
:root {
  /* Terracotta = SIGNAL only (decision / afregning). Never a surface, band, gradient or hero fill. */
  --accent-signal: #c97b5a;                       /* small marks: dot, 2–3px bar, chip tint base */
  --accent-signal-text: #9c4a2c;                  /* terracotta TEXT on paper / cream / surface */
  --accent-signal-tint: rgba(201, 123, 90, 0.14); /* chip fill only (on paper/cream/surface) */

  /* In-phone «Kun dig» (device UI on dark WA panels) */
  --phone-only-you: #e39a78;
  --phone-only-you-dim: rgba(227, 154, 120, 0.12);

  /* Green stays the action colour. Green as TEXT (links, small labels) needs the darker step. */
  --green-text: #00785e;

  /* Type — DM Sans hele vejen (DM Sans is already self-hosted on www: 0 new font files) */
  --font-heading: var(--font-page-sans, "DM Sans", system-ui, sans-serif);
  --h1-weight: 700;
  --h1-size: clamp(2rem, 3.6vw, 2.75rem);
  --h1-size-mobile: 1.95rem;
  --h1-line: 1.06;
  --h1-track: -0.035em;
  --h2-weight: 700;
  --h2-track: -0.025em;
}

/* ============================================================
   B. Headings → DM Sans (drop Instrument Serif as heading font)
   ============================================================ */
:root {
  --font-page-serif: var(--font-heading); /* legacy name now resolves to DM Sans */
}
.phone-hero,
.v4b-story,
.lp-phone-scope {
  --font-page-serif: var(--font-heading); /* www scopes redefine this var locally — re-point it */
}
h1,
h2,
h3,
.serif,
.phone-hero h1,
.hero h1,
.hub-hero h1 {
  font-family: var(--font-heading);
}
.serif {
  font-style: normal; /* no synthetic DM Sans italic */
  font-weight: inherit;
  color: inherit;
}
.phone-hero h1,
.hero h1 {
  font-style: normal;
  font-weight: var(--h1-weight);
  font-size: var(--h1-size);
  line-height: var(--h1-line);
  letter-spacing: var(--h1-track);
}
@media (max-width: 899px) {
  .phone-hero h1,
  .hero h1 {
    font-size: var(--h1-size-mobile);
    line-height: 1.08;
  }
}

/* ============================================================
   C. In-phone «Kun dig» → palette C (device scope only)
   ============================================================ */
.phone-hero,
.lp-phone-scope {
  --amber: var(--phone-only-you);       /* www phone-hero.css: .msg.ask bar + badge text use --amber */
  --ask: var(--phone-only-you);         /* living phone: phone-chrome.css */
  --ask-dim: var(--phone-only-you-dim);
}
.phone-hero .msg.ask .bubble {
  box-shadow: 0 0 0 1px var(--phone-only-you-dim), 0 1px 0.5px rgba(0, 0, 0, 0.18);
}
.phone-hero .msg.ask .badge {
  background: var(--phone-only-you-dim);
  color: var(--phone-only-you);
}

/* ============================================================
   D. Opt-in signal classes (new — nothing existing uses them)
   ============================================================ */
/* The «Hvordan afregnes det?» chip. One per viewport, max. */
.chip-signal {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent-signal-tint);
  color: var(--accent-signal-text);
  font-family: var(--font-page-sans);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: none;
}
.chip-signal:hover {
  border-color: rgba(156, 74, 44, 0.35);
}
.chip-signal:focus-visible {
  outline: 2px solid var(--accent-signal-text);
  outline-offset: 2px;
}
/* Small decision marker next to a text label (never alone, never larger than 8px). */
.signal-mark {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-signal);
  box-shadow: none;
  vertical-align: middle;
}
