/* ────────────────────────────────────────────────────────────────────────
   DaDaFlow.org — design system
   Warm Brutalist: system fonts only, hard offset shadows, native controls,
   warm muted palette (no pure primaries), single brand colour family.
   ──────────────────────────────────────────────────────────────────────── */

:root {
  /* Paper — warm sand spectrum */
  --sand:        #F0E9D7;
  --sand-deep:   #E4DAC2;
  --paper:       #FFFCF4;
  --paper-edge:  #D8CDB2;

  /* Ink — warm-black, never pure black */
  --ink:         #1F1C16;
  --ink-mute:    #5C5547;
  --ink-faint:   #8B8472;

  /* Brand accent — terracotta (replaces brutalist red) */
  --terra:       #B45438;
  --terra-deep:  #8E3E27;
  --terra-soft:  #E8B89E;

  /* Secondary accent — olive (replaces brutalist yellow) */
  --olive:       #5F5A2A;
  --olive-soft:  #A09553;
  --olive-pale:  #C9C39A;

  /* Links — deep warm navy (replaces brutalist blue) */
  --navy:        #1F3A50;
  --navy-deep:   #142838;

  /* Lines + shadow base */
  --line:        #1F1C16;
  --shadow-hard: 6px 7px 0 var(--line);
  --shadow-hard-sm: 4px 4px 0 var(--line);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: "Times New Roman", Times, serif;
  font-size: 18px;
  line-height: 1.45;
}

a { color: var(--navy); }
a:hover { color: var(--terra-deep); }

button { font-family: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }

.helvetica { font-family: "Helvetica", Arial, sans-serif; }
.mono { font-family: "Courier New", Courier, monospace; }
.tnum { font-variant-numeric: tabular-nums; }
.caps { text-transform: uppercase; letter-spacing: 0.06em; }

/* ─── strip — top info row, edge to edge ─────────────────────────────── */
.strip {
  background: var(--olive);
  color: var(--paper);
  border-bottom: 3px solid var(--ink);
  padding: 11px 28px;
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.strip a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.strip a:hover { color: var(--terra-soft); }

/* ─── masthead ──────────────────────────────────────────────────────── */
header.mast {
  background: var(--paper);
  border-bottom: 3px solid var(--ink);
  padding: 20px 28px 16px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

.brand {
  font-family: "Helvetica", Arial, sans-serif;
  font-weight: 900;
  font-size: 42px;
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin: 0;
}
.brand a { color: var(--ink); text-decoration: none; }
.brand .a { color: var(--terra); }
.brand .b { color: var(--olive); }

header.mast .meta {
  font-family: "Courier New", monospace;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-mute);
}
header.mast .meta a { color: var(--navy); }

nav.primary {
  display: flex;
  gap: 22px;
  font-family: "Helvetica", Arial, sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
nav.primary a {
  color: var(--ink);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
nav.primary a:hover { border-bottom-color: var(--terra); color: var(--terra); }

/* ─── hero / lead section ──────────────────────────────────────────── */
section.lead {
  padding: 48px 28px 36px;
  border-bottom: 2px solid var(--ink);
  background: var(--sand);
}
section.lead .folio {
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  margin: 0 0 22px;
}
section.lead .folio b { color: var(--terra); }

h1.lead-h {
  margin: 0 0 24px;
  font-family: "Times New Roman", Times, serif;
  font-weight: bold;
  font-size: clamp(44px, 8.5vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
h1.lead-h .terra-block {
  background: var(--terra);
  color: var(--paper);
  padding: 0 14px 4px;
  display: inline-block;
  box-shadow: var(--shadow-hard);
  font-family: "Helvetica", Arial, sans-serif;
  font-weight: 900;
  transform: translateY(-2px);
}
h1.lead-h .olive-block {
  background: var(--olive);
  color: var(--paper);
  padding: 0 14px 4px;
  display: inline-block;
  box-shadow: var(--shadow-hard);
  font-family: "Helvetica", Arial, sans-serif;
  font-weight: 900;
  transform: translateY(-2px);
}
h1.lead-h .underline {
  background-image: linear-gradient(transparent calc(100% - 6px), var(--terra) 6px);
  background-repeat: no-repeat;
  padding-bottom: 1px;
}

.standfirst {
  font-family: "Helvetica", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  max-width: 64ch;
  margin: 0;
}

/* ─── 2-col main ───────────────────────────────────────────────────── */
main.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 2px solid var(--ink);
}
@media (max-width: 900px) { main.split { grid-template-columns: 1fr; } }

.controls {
  background: var(--sand-deep);
  border-right: 3px solid var(--ink);
  padding: 32px 28px 42px;
}
@media (max-width: 900px) { .controls { border-right: none; border-bottom: 3px solid var(--ink); } }

.controls h2 {
  margin: 0 0 18px;
  font-family: "Helvetica", Arial, sans-serif;
  font-weight: 900;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.controls h2:not(:first-child) { margin-top: 30px; }

.row {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
  font-family: "Times New Roman", Times, serif;
  font-size: 20px;
}
.row label { font-weight: bold; }
.row label .val {
  font-family: "Courier New", Courier, monospace;
  font-weight: normal;
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 2px 8px;
  margin-left: 8px;
}
.row input[type="range"] {
  width: 100%;
  accent-color: var(--terra);
}

fieldset.transport {
  border: 2px solid var(--ink);
  background: var(--paper);
  padding: 10px 14px 4px;
  margin: 4px 0 22px;
}
fieldset.transport legend {
  font-family: "Helvetica", Arial, sans-serif;
  font-weight: 900;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0 6px;
}
fieldset.transport label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 14px;
  padding: 6px 0;
  font-size: 17px;
}
fieldset.transport input[type="radio"] {
  width: 17px; height: 17px;
  accent-color: var(--terra);
}

.doc-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Times New Roman", Times, serif;
  font-size: 18px;
  padding: 7px 0;
  cursor: pointer;
}
.doc-row input[type="checkbox"] {
  width: 20px; height: 20px;
  accent-color: var(--terra);
}

/* ─── answer panel ─────────────────────────────────────────────────── */
.answer {
  padding: 32px 28px 44px;
  background: var(--paper);
}

.answer .meta-row {
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 8px;
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
}
.answer .meta-row .terra { color: var(--terra); }

.figure {
  font-family: "Times New Roman", Times, serif;
  font-weight: bold;
  font-size: clamp(72px, 13vw, 170px);
  line-height: 0.9;
  color: var(--terra);
  text-shadow: 5px 5px 0 var(--ink);
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
  margin: 6px 0 2px;
  word-break: break-word;
}
.figure .curr {
  font-size: 0.42em;
  color: var(--ink);
  text-shadow: none;
  margin-left: 8px;
  font-family: "Helvetica", Arial, sans-serif;
  font-weight: 900;
}

.answer .month {
  font-family: "Helvetica", Arial, sans-serif;
  font-weight: 900;
  font-size: 22px;
  text-transform: uppercase;
  margin: 0 0 22px;
  color: var(--ink);
}

.answer .stats {
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  margin: 0 0 22px;
  font-family: "Courier New", Courier, monospace;
  font-size: 15px;
}
.answer .stats .row-st {
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 10px 0;
  border-bottom: 1px solid var(--paper-edge);
}
.answer .stats .row-st:last-child { border-bottom: none; }
.answer .stats .row-st b {
  font-family: "Helvetica", Arial, sans-serif;
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}

.verdict {
  background: var(--olive-pale);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-hard);
  padding: 18px 22px;
  font-family: "Times New Roman", Times, serif;
  font-size: 20px;
  font-weight: bold;
  color: var(--ink);
}
.verdict b {
  color: var(--terra);
  font-size: 1.4em;
}

.footnote {
  margin-top: 24px;
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  color: var(--ink-mute);
}
.footnote a { color: var(--navy); }

/* ─── generic section header ───────────────────────────────────────── */
.section {
  padding: 56px 28px;
  border-bottom: 2px solid var(--ink);
}
.section.alt { background: var(--sand-deep); }
.section h2 {
  margin: 0 0 24px;
  font-family: "Times New Roman", Times, serif;
  font-weight: bold;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.section h2 .terra { color: var(--terra); }
.section h2 .olive { color: var(--olive); }
.section .lede {
  font-family: "Helvetica", Arial, sans-serif;
  font-size: 17px;
  max-width: 64ch;
  margin: 0 0 32px;
  color: var(--ink-mute);
}

/* ─── combo (3 slots) ──────────────────────────────────────────────── */
.combo {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border: 2px solid var(--ink);
  background: var(--paper);
}
@media (max-width: 900px) { .combo { grid-template-columns: 1fr; } }

.slot {
  padding: 22px 22px 24px;
  border-right: 1px solid var(--ink);
}
.slot:last-child { border-right: none; }
@media (max-width: 900px) {
  .slot { border-right: none; border-bottom: 1px solid var(--ink); }
  .slot:last-child { border-bottom: none; }
}
.slot .slot-head {
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  margin: 0 0 14px;
}
.slot .slot-name {
  font-family: "Helvetica", Arial, sans-serif;
  font-weight: 900;
  font-size: 22px;
  color: var(--ink);
  margin: 0 0 6px;
}
.slot .slot-earn {
  font-family: "Times New Roman", Times, serif;
  font-weight: bold;
  font-size: 38px;
  line-height: 1;
  color: var(--terra);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.slot .slot-earn .curr {
  font-size: 0.55em;
  color: var(--ink);
  font-family: "Helvetica", Arial, sans-serif;
  font-weight: 900;
  margin-left: 4px;
}
.slot .slot-detail {
  margin-top: 10px;
  font-family: "Courier New", monospace;
  font-size: 13px;
  color: var(--ink-mute);
}

.combo-total {
  margin-top: 14px;
  background: var(--terra);
  color: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-hard);
  padding: 16px 22px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
}
.combo-total .label {
  font-family: "Helvetica", Arial, sans-serif;
  font-weight: 900;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.combo-total .amt {
  font-family: "Times New Roman", Times, serif;
  font-weight: bold;
  font-size: 32px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.combo-total .amt .curr {
  font-size: 0.6em;
  font-family: "Helvetica", Arial, sans-serif;
  font-weight: 900;
  opacity: 0.85;
}

/* ─── timeline ─────────────────────────────────────────────────────── */
.timeline {
  position: relative;
  padding-left: 24px;
  margin: 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: var(--ink);
}
.tl-step {
  position: relative;
  padding: 0 0 22px 28px;
}
.tl-step::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 4px;
  width: 14px; height: 14px;
  background: var(--sand);
  border: 2px solid var(--ink);
}
.tl-step.now::before { background: var(--terra); }
.tl-step.payout::before { background: var(--ink); }
.tl-step .when {
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
}
.tl-step .what {
  font-family: "Helvetica", Arial, sans-serif;
  font-size: 17px;
  color: var(--ink);
  margin-top: 4px;
}
.tl-step.payout .what { font-weight: 900; }

/* ─── compact services list ────────────────────────────────────────── */
.svc-list {
  display: grid;
  gap: 0;
  border: 2px solid var(--ink);
  background: var(--paper);
}
.svc-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--paper-edge);
  text-decoration: none;
  color: var(--ink);
  transition: background 100ms ease-out;
}
.svc-row:last-child { border-bottom: none; }
.svc-row:hover { background: var(--sand-deep); }
.svc-row.fit { background: rgba(95, 90, 42, 0.06); border-left: 4px solid var(--terra); padding-left: 14px; }
.svc-row .nm {
  font-family: "Helvetica", Arial, sans-serif;
  font-weight: 700;
  font-size: 16px;
}
.svc-row .nm small {
  display: block;
  font-family: "Courier New", monospace;
  font-size: 11px;
  font-weight: normal;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
}
.svc-row .rate {
  font-family: "Times New Roman", Times, serif;
  font-weight: bold;
  font-size: 22px;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.svc-row .when-pay {
  font-family: "Courier New", monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  text-align: right;
}

/* ─── FAQ ───────────────────────────────────────────────────────────── */
.faq {
  background: var(--paper);
  border: 2px solid var(--ink);
  margin-bottom: 10px;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 22px;
  font-family: "Helvetica", Arial, sans-serif;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  margin-left: auto;
  font-family: "Times New Roman", Times, serif;
  font-weight: bold;
  font-size: 28px;
  color: var(--terra);
  line-height: 0.5;
}
.faq[open] summary::after { content: "−"; }
.faq .faq-body {
  padding: 0 22px 18px 56px;
  font-family: "Times New Roman", Times, serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
}

/* ─── footer ───────────────────────────────────────────────────────── */
footer.site {
  background: var(--ink);
  color: var(--sand);
  padding: 40px 28px 28px;
  border-top: 4px solid var(--terra);
}
footer.site .grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 28px;
}
@media (max-width: 720px) { footer.site .grid { grid-template-columns: 1fr; gap: 22px; } }
footer.site h4 {
  margin: 0 0 14px;
  font-family: "Helvetica", Arial, sans-serif;
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--terra-soft);
}
footer.site .brand-foot {
  font-family: "Helvetica", Arial, sans-serif;
  font-weight: 900;
  font-size: 30px;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: var(--paper);
}
footer.site .brand-foot .a { color: var(--terra-soft); }
footer.site .brand-foot .b { color: var(--olive-soft); }
footer.site .blurb {
  margin: 12px 0 0;
  font-family: "Helvetica", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--paper-edge);
  max-width: 38ch;
}
footer.site ul { list-style: none; padding: 0; margin: 0; font-family: "Helvetica", Arial, sans-serif; font-size: 14px; }
footer.site li { margin-bottom: 8px; }
footer.site a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
footer.site a:hover { color: var(--terra-soft); }
footer.site .legalese {
  padding-top: 18px;
  border-top: 1px solid var(--ink-mute);
  font-family: "Courier New", monospace;
  font-size: 11px;
  line-height: 1.5;
  color: var(--ink-faint);
}

/* ─── cookie banner ────────────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  left: 14px; right: 14px; bottom: 14px;
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-hard);
  padding: 18px 22px;
  z-index: 100;
  display: none;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.cookie-banner.show { display: flex; }
.cookie-banner p {
  margin: 0;
  font-family: "Times New Roman", Times, serif;
  font-size: 15px;
  max-width: 620px;
}
.cookie-banner a { color: var(--navy); }
.cookie-banner .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner button {
  font-family: "Helvetica", Arial, sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 10px 18px;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}
.cookie-banner button.primary {
  background: var(--terra);
  color: var(--paper);
  box-shadow: var(--shadow-hard-sm);
}
.cookie-banner button.primary:hover { background: var(--terra-deep); }
.cookie-banner button:hover { background: var(--sand-deep); }

/* ─── legal/static pages ───────────────────────────────────────────── */
.legal-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 28px 80px;
}
.legal-wrap h1 {
  font-family: "Times New Roman", Times, serif;
  font-weight: bold;
  font-size: clamp(34px, 5vw, 52px);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.legal-wrap .updated {
  font-family: "Courier New", monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  margin: 0 0 28px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--ink);
}
.legal-wrap h2 {
  font-family: "Helvetica", Arial, sans-serif;
  font-weight: 900;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 36px 0 14px;
  color: var(--ink);
}
.legal-wrap h2 .num {
  color: var(--terra);
  margin-right: 8px;
  font-family: "Courier New", monospace;
  font-weight: bold;
}
.legal-wrap p, .legal-wrap li {
  font-family: "Times New Roman", Times, serif;
  font-size: 18px;
  line-height: 1.55;
  margin: 0 0 14px;
}
.legal-wrap ul { padding-left: 22px; }
.legal-wrap li { margin-bottom: 8px; }
.legal-wrap a { color: var(--navy); }
.legal-wrap dl { margin: 0 0 18px; }
.legal-wrap dt {
  font-family: "Helvetica", Arial, sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  margin-top: 12px;
}
.legal-wrap dd {
  margin: 4px 0 0;
  font-family: "Times New Roman", Times, serif;
  font-size: 17px;
}

.callout {
  background: var(--olive-pale);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-hard-sm);
  padding: 18px 22px;
  margin: 24px 0;
  font-family: "Times New Roman", Times, serif;
  font-size: 17px;
}
