/* DealQube.com
   Layout concept: a deal sheet. Left-aligned editorial text beside working "product sheets"
   (pipeline board, extracted-field sheet, critical-date list) built from the same parts the
   product uses. Royal blue carries structure, emerald marks the action and the live state. */
/* DealQube.com, rebranded to the DealQube logo: black structure, DealQube red for action, white space.
   One typeface, Inter Tight, in different weights. Layout concept unchanged: a deal sheet, left-aligned
   editorial text beside working product sheets built from the parts the product uses. */
:root {
  --ink: #141414;          /* body text */
  --ink-soft: #5b5753;     /* secondary text */
  --brand: #111111;        /* DealQube black: structure */
  --brand-strong: #000000;
  --accent: #e5000f;       /* DealQube red: action and emphasis */
  --accent-strong: #b8000c;
  --accent-tint: #fdebec;
  --go: var(--accent); --go-strong: var(--accent-strong); --go-tint: var(--accent-tint);
  --accent-text: #d0000e;  /* red for text: meets WCAG AA on every light background */
  --btn-bg: #e5000f; --btn-hover: #b8000c;
  --ok: #0f7352;           /* semantic: found, synced, available */
  --ok-tint: #e3f2eb;
  --paper: #f7f6f5;
  --sheet: #ffffff;
  --band: #f0eeec;
  --line: #e2dedb;
  --line-strong: #c9c4c0;
  --warn: #a35b00;
  --warn-tint: #fff1dc;
  --cta-bg: #111111;
  --on-brand: #ffffff;
  --on-brand-soft: #cfcbc8;
  --focus: #e5000f;
  --shadow: 0 1px 2px rgba(17, 17, 17, .06), 0 8px 24px rgba(17, 17, 17, .08);

  --display: "Inter Tight", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --body: "Inter Tight", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.1875rem;
  --step-2: 1.5rem;
  --step-3: 2.125rem;
  --step-4: clamp(2.375rem, 1.6rem + 2.8vw, 3.75rem);

  --radius: 10px;
  --radius-sm: 6px;
  --measure: 66ch;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #f2f0ee; --ink-soft: #ada7a2; --brand: #f2f0ee; --brand-strong: #ffffff;
    --accent: #ff3b3b; --accent-strong: #ff6b6b; --accent-tint: #3a1416;
    --ok: #3fbf8a; --ok-tint: #12352a; --accent-text: #ff6b6b; --btn-bg: #d6000e; --btn-hover: #b0000c;
    --paper: #121212; --sheet: #1b1a19; --band: #171615; --line: #2e2b29; --line-strong: #46413d;
    --warn: #f0b45a; --warn-tint: #3a2a10; --cta-bg: #000000; --on-brand: #ffffff; --on-brand-soft: #cfcbc8; --focus: #ff5a5a;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #f2f0ee; --ink-soft: #ada7a2; --brand: #f2f0ee; --brand-strong: #ffffff;
  --accent: #ff3b3b; --accent-strong: #ff6b6b; --accent-tint: #3a1416;
  --ok: #3fbf8a; --ok-tint: #12352a; --accent-text: #ff6b6b; --btn-bg: #d6000e; --btn-hover: #b0000c;
  --paper: #121212; --sheet: #1b1a19; --band: #171615; --line: #2e2b29; --line-strong: #46413d;
  --warn: #f0b45a; --warn-tint: #3a2a10; --cta-bg: #000000; --on-brand: #ffffff; --on-brand-soft: #cfcbc8; --focus: #ff5a5a;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: var(--step-0); line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--sheet);
}
img, svg { max-width: 100%; }
a { color: var(--brand); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--go-strong); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.15; text-wrap: balance; margin: 0; letter-spacing: -.01em; }
h1 { font-size: var(--step-4); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
h2 { font-size: var(--step-3); font-weight: 700; letter-spacing: -.02em; }
h3 { font-size: var(--step-1); font-weight: 600; letter-spacing: 0; }
p { margin: 0; }
.prose > * + * { margin-top: 1em; }
.prose { max-width: var(--measure); }
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: .4em; }
.lead { font-size: var(--step-1); color: var(--ink-soft); max-width: 60ch; }
.muted { color: var(--ink-soft); }
.small { font-size: var(--step--1); }
.num { font-variant-numeric: tabular-nums; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--sheet); padding: 8px 12px; z-index: 100; }
.skip:focus { left: max(16px, env(safe-area-inset-left, 0px)); }

.wrap {
  width: 100%; max-width: 1180px; margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--sheet) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; padding-block: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand img { display: block; height: 36px; width: auto; }
.logo-dark { display: none !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-light { display: none !important; } :root:not([data-theme="light"]) .logo-dark { display: block !important; } }
:root[data-theme="dark"] .logo-light { display: none !important; }
:root[data-theme="dark"] .logo-dark { display: block !important; }
.foot-brand .brand img { height: 58px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--ink); font-size: .95rem; font-weight: 500; padding: 8px 10px; border-radius: var(--radius-sm); }
.nav a:hover { background: var(--band); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--brand); box-shadow: inset 0 -2px 0 var(--go); border-radius: 0; }
.nav .btn { margin-left: 10px; }
.nav a.btn-go, .nav a.btn-go:hover { color: #fff; background: var(--btn-bg); }
.nav a.btn-go:hover { background: var(--btn-hover); }

.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line-strong); color: var(--ink); border-radius: var(--radius-sm); padding: 8px 12px; font: inherit; font-weight: 500; cursor: pointer; }
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--sheet); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 8px max(20px, env(safe-area-inset-right, 0px)) 16px max(20px, env(safe-area-inset-left, 0px)); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--go); padding-left: 12px; }
  .nav .btn { margin: 12px 0 0; text-align: center; justify-content: center; border-bottom: 0; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--body); font-weight: 600; font-size: .98rem;
  padding: 12px 20px; border-radius: 8px; text-decoration: none; border: 1px solid transparent; cursor: pointer; line-height: 1.2;
}
.btn-go { background: var(--btn-bg); color: #fff; }
.btn-go:hover { background: var(--btn-hover); color: #fff; }
.btn-line { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-line:hover { border-color: var(--brand); color: var(--brand); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
section { padding-block: clamp(56px, 7vw, 96px); }
.band { background: var(--band); }
.section-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: 40px; }
.kicker { font-family: var(--display); font-weight: 700; color: var(--accent-text); font-size: 1rem; }
.t-red { color: var(--accent-text); }

/* Hero */
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(48px, 6vw, 88px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 5vw, 56px); }
.hero-text { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px clamp(32px, 5vw, 64px); align-items: end; }
.hero-text > :first-child { grid-column: 1 / -1; }
.hero h1 { margin-top: 0; max-width: 17ch; }
.hero .lead { margin-top: 0; }
.hero .btn-row { margin-top: 24px; }
@media (max-width: 860px) { .hero-text { grid-template-columns: minmax(0, 1fr); } }
.tagline { font-family: var(--display); font-weight: 700; font-size: 1.1rem; color: var(--ink); letter-spacing: -.01em; display: inline-flex; gap: 10px; align-items: center; }
.tagline::before { content: ""; width: 18px; height: 2px; background: var(--go); }
.hero-note { margin-top: 18px; font-size: var(--step--1); color: var(--ink-soft); }

.page-hero { padding-block: clamp(40px, 6vw, 72px) clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line); background: var(--sheet); }
.page-hero h1 { margin-top: 10px; max-width: 26ch; }
.page-hero .lead { margin-top: 18px; }
.crumbs { font-size: var(--step--1); color: var(--ink-soft); }
.crumbs a { color: var(--ink-soft); }

/* Product sheets (the illustrations) */
.sheet { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); min-width: 0; }
.sheet-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: .85rem; color: var(--ink-soft); }
.sheet-bar strong { color: var(--ink); font-weight: 600; font-family: var(--display); font-size: .95rem; }
.sample { font-size: .75rem; padding: 2px 8px; border-radius: 99px; background: var(--band); color: var(--ink-soft); white-space: nowrap; }
.sheet-body { padding: 16px; }

/* Pipeline board */
.board-scroll { overflow-x: auto; }
.board { display: grid; grid-template-columns: repeat(5, minmax(150px, 1fr)); gap: 10px; padding: 14px; min-width: 760px; }
.col-head { display: flex; justify-content: space-between; font-size: .8rem; font-weight: 600; color: var(--ink-soft); padding: 2px 4px 8px; border-bottom: 2px solid var(--line); margin-bottom: 8px; }
.col-head span:last-child { font-variant-numeric: tabular-nums; }
.col { display: flex; flex-direction: column; gap: 8px; }
.deal { border: 1px solid var(--line); border-radius: 8px; padding: 10px; background: var(--paper); display: grid; gap: 6px; font-size: .78rem; }
.deal-name { font-weight: 600; color: var(--ink); font-size: .82rem; line-height: 1.3; }
.deal dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 2px 8px; }
.deal dt { color: var(--ink-soft); }
.deal dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); }
.date-chip { justify-self: start; font-size: .72rem; padding: 2px 8px; border-radius: 99px; background: var(--warn-tint); color: var(--warn); font-weight: 600; }
.date-chip.ok { background: var(--ok-tint); color: var(--ok); }
.deal.new { border-color: var(--go); box-shadow: 0 0 0 3px color-mix(in srgb, var(--go) 18%, transparent); }
.deal.new .new-label { font-size: .7rem; color: var(--go-strong); font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .deal.new { animation: land 900ms 400ms cubic-bezier(.2,.8,.2,1) both; }
  @keyframes land { from { transform: translateY(-14px); box-shadow: 0 0 0 0 transparent; } to { transform: none; } }
}

/* Email to fields */
.intake { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 720px) { .intake { grid-template-columns: minmax(0, 1fr); } }
.mail { font-size: .85rem; display: grid; gap: 8px; }
.mail-meta { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; color: var(--ink-soft); }
.mail-meta b { color: var(--ink); font-weight: 500; }
.mail-body { border-top: 1px solid var(--line); padding-top: 10px; color: var(--ink); }
.attach { display: inline-flex; gap: 6px; align-items: center; font-size: .8rem; border: 1px solid var(--line); border-radius: 6px; padding: 4px 8px; background: var(--paper); }
.fields { width: 100%; border-collapse: collapse; font-size: .84rem; }
.fields th, .fields td { text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.fields th { color: var(--ink-soft); font-weight: 500; width: 46%; }
.fields td { font-variant-numeric: tabular-nums; }
.conf { display: inline-block; margin-left: 6px; font-size: .7rem; padding: 1px 6px; border-radius: 99px; background: var(--ok-tint); color: var(--ok); font-weight: 600; }
.conf.check { background: var(--warn-tint); color: var(--warn); }

/* Split feature rows */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.split + .split { margin-top: clamp(56px, 7vw, 96px); }
.split.flip > :first-child { order: 2; }
@media (max-width: 900px) { .split, .split.flip { grid-template-columns: minmax(0, 1fr); } .split.flip > :first-child { order: 0; } }
.split h2 { margin-top: 8px; }
.split .prose { margin-top: 16px; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 8px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }

/* Steps (a real sequence) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 3px solid var(--brand); padding-top: 14px; display: grid; gap: 6px; align-content: start; }
.steps li::before { content: counter(step); font-family: var(--display); font-weight: 800; color: var(--accent-text); font-size: 1.15rem; }
.steps h3 { font-size: 1.05rem; }
.steps p { font-size: .93rem; color: var(--ink-soft); }
.steps.four { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 28px; }
@media (max-width: 960px) { .steps, .steps.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps, .steps.four { grid-template-columns: minmax(0, 1fr); } }

/* Feature grid */
.grid { display: grid; gap: 28px 32px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid, .grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid, .grid.two { grid-template-columns: minmax(0, 1fr); } }
.feat { display: grid; gap: 8px; align-content: start; padding-top: 16px; border-top: 1px solid var(--line-strong); }
.feat p { color: var(--ink-soft); font-size: .97rem; }
.feat a { font-weight: 500; font-size: .95rem; }

/* Critical dates list */
.dates { list-style: none; margin: 0; padding: 0; }
.dates li { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 16px; border-bottom: 1px solid var(--line); font-size: .88rem; }
.dates li:last-child { border-bottom: 0; }
.dates time { font-variant-numeric: tabular-nums; color: var(--ink-soft); font-size: .82rem; }
.dates .what { font-weight: 500; }
.dates .what small { display: block; font-weight: 400; color: var(--ink-soft); font-size: .8rem; }
.sync { font-size: .72rem; padding: 2px 8px; border-radius: 99px; border: 1px solid var(--line-strong); color: var(--ink-soft); white-space: nowrap; }
.sync.on { border-color: transparent; background: var(--ok-tint); color: var(--ok); font-weight: 600; }

/* Competitor rate table */
.table-scroll { overflow-x: auto; }
.rates { width: 100%; border-collapse: collapse; font-size: .85rem; min-width: 440px; }
.rates th, .rates td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: right; font-variant-numeric: tabular-nums; }
.rates th:first-child, .rates td:first-child { text-align: left; }
.rates thead th { color: var(--ink-soft); font-weight: 500; font-size: .8rem; }
.rates tr.subject td { font-weight: 600; background: var(--go-tint); }
.below { color: var(--warn); font-weight: 600; }

/* Map sketch */
.map { position: relative; aspect-ratio: 16 / 10; max-width: 100%; background:
  linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 40px 40px,
  linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 40px 40px, var(--paper); border-radius: 0 0 var(--radius) var(--radius); overflow: hidden; }
.map .ring { position: absolute; left: 50%; top: 50%; border: 1.5px dashed var(--brand); border-radius: 50%; transform: translate(-50%, -50%); opacity: .55; }
.map .ring.r1 { width: 34%; aspect-ratio: 1; }
.map .ring.r3 { width: 70%; aspect-ratio: 1; }
.map .ring.r5 { width: 104%; aspect-ratio: 1; }
.pin { position: absolute; transform: translate(-50%, -50%); display: grid; place-items: center; gap: 4px; font-size: .7rem; color: var(--ink); white-space: nowrap; }
.pin i { display: block; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--sheet); box-shadow: 0 0 0 1px var(--line-strong); }
.pin.subject i { width: 18px; height: 18px; background: var(--go); }
.pin.comp i { background: var(--warn); }
.pin.owned i { background: var(--brand); }
.pin.deal i { background: var(--sheet); box-shadow: 0 0 0 2px var(--brand); }
.pin span { background: var(--sheet); padding: 1px 6px; border-radius: 4px; border: 1px solid var(--line); }
.legend { display: flex; flex-wrap: wrap; gap: 14px; padding: 12px 16px; font-size: .78rem; color: var(--ink-soft); border-top: 1px solid var(--line); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }

/* Integrations */
.int-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .int-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .int-grid { grid-template-columns: minmax(0, 1fr); } }
.int { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 10px; align-content: start; }
.int-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.int h3 { font-size: 1.1rem; }
.int p { font-size: .94rem; color: var(--ink-soft); }
.status { font-size: .72rem; font-weight: 600; padding: 3px 9px; border-radius: 99px; white-space: nowrap; }
.status.live { background: var(--ok-tint); color: var(--ok); }
.status.next { background: var(--band); color: var(--ink-soft); border: 1px solid var(--line); }

/* Comparison table */
.compare { width: 100%; border-collapse: collapse; min-width: 820px; font-size: .9rem; background: var(--sheet); }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { font-family: var(--display); font-weight: 700; font-size: 1rem; background: var(--band); position: sticky; top: 0; }
.compare tbody th { font-weight: 600; width: 20%; color: var(--ink); }
.compare td.us { background: color-mix(in srgb, var(--go-tint) 60%, var(--sheet)); }
.compare-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
@media (max-width: 960px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; } }
.plan { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); min-width: 0; }
.plan.featured { border: 2px solid var(--accent); }
.plan-badge { align-self: flex-start; font-size: .75rem; font-weight: 700; color: #fff; background: var(--btn-bg); padding: 3px 10px; border-radius: 99px; }
.plan h3 { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; }
.plan-for { color: var(--ink-soft); font-size: .95rem; }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price .amount { font-family: var(--display); font-weight: 800; font-size: 2.9rem; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.price .per { color: var(--ink-soft); font-size: .88rem; max-width: 17ch; line-height: 1.3; }
.price-alt { font-size: .88rem; color: var(--ink-soft); margin-top: -6px; }
.plan .btn { justify-content: center; }
.plan-includes { font-weight: 600; font-size: .92rem; margin-top: 4px; }
.plan .ticks { margin: 0; font-size: .94rem; }
.plan-tag { justify-self: start; align-self: flex-start; display: inline-block; font-size: .74rem; font-weight: 600; padding: 2px 9px; border-radius: 99px; border: 1px solid var(--line-strong); color: var(--ink-soft); background: var(--sheet); }
.compare.tiers { min-width: 640px; }
.compare.tiers td { text-align: center; vertical-align: middle; }
.compare.tiers tbody th { width: 46%; font-weight: 500; }
.compare.tiers tr.group th { background: var(--band); font-family: var(--display); font-weight: 700; color: var(--ink); padding-top: 18px; }
.yes { color: var(--ok); font-weight: 700; font-size: 1.05rem; }
.no { color: var(--ink-soft); }

/* FAQ */
.faq { display: grid; gap: 0; max-width: 820px; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; font-family: var(--display); font-weight: 600; font-size: 1.1rem; padding: 16px 40px 16px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 1.5rem; font-weight: 400; color: var(--accent-text); }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 0 18px; color: var(--ink-soft); max-width: 70ch; }
.faq .answer > * + * { margin-top: .8em; }

/* Glossary */
.glossary-index { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.glossary-index a { font-size: .85rem; padding: 4px 10px; border: 1px solid var(--line-strong); border-radius: 99px; text-decoration: none; color: var(--ink); background: var(--sheet); }
.glossary-index a:hover { border-color: var(--go); color: var(--go-strong); }
.terms { display: grid; gap: 0; max-width: 860px; }
.term { padding: 24px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; }
.term dt { font-family: var(--display); font-weight: 600; font-size: 1.1rem; }
.term dt small { display: block; font-family: var(--body); font-weight: 400; font-size: .82rem; color: var(--ink-soft); margin-top: 4px; }
.term dd { margin: 0; color: var(--ink); }
.term dd p + p { margin-top: .7em; }
.term .in-dq { font-size: .9rem; color: var(--ink-soft); }
@media (max-width: 700px) { .term { grid-template-columns: minmax(0, 1fr); gap: 8px; } }

/* Callout and CTA */
.callout { border-left: 3px solid var(--go); background: var(--sheet); padding: 18px 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; max-width: var(--measure); }
.cta-band { background: var(--cta-bg); color: var(--on-brand); border-top: 4px solid var(--accent); }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 24px; align-items: center; }
.cta-band h2 { color: var(--on-brand); }
.cta-band p { color: var(--on-brand-soft); margin-top: 10px; max-width: 58ch; }
.cta-band .btn-line { color: var(--on-brand); border-color: var(--on-brand-soft); }
.cta-band .btn-line:hover { color: var(--on-brand); border-color: var(--on-brand); }
@media (max-width: 760px) { .cta-band .wrap { grid-template-columns: minmax(0, 1fr); } }

/* Forms */
.form { display: grid; gap: 16px; background: var(--sheet); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 500; font-size: .92rem; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line-strong); border-radius: 8px; padding: 11px 12px; width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid color-mix(in srgb, var(--focus) 35%, transparent); border-color: var(--focus); }
.field .hint { font-size: .8rem; color: var(--ink-soft); }
.form-msg { border-radius: 8px; padding: 12px 14px; font-size: .92rem; }
.form-msg.ok { background: var(--ok-tint); color: var(--ok); }
.form-msg.err { background: var(--warn-tint); color: var(--warn); }

/* Footer */
.site-footer { background: var(--sheet); border-top: 1px solid var(--line); padding-block: 56px 32px; font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }
.foot-grid h2 { font-size: .95rem; font-family: var(--display); margin-bottom: 12px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-grid a { color: var(--ink-soft); text-decoration: none; }
.foot-grid a:hover { color: var(--go-strong); text-decoration: underline; }
.foot-brand p { color: var(--ink-soft); margin-top: 12px; max-width: 34ch; }
.foot-base a { color: var(--ink-soft); }
.draft-note { border: 1px dashed var(--warn); background: var(--warn-tint); color: var(--ink); border-radius: var(--radius-sm); padding: 14px 18px; max-width: var(--measure); }
.foot-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--ink-soft); font-size: .85rem; }

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