/* ===================================================================
   Cheap Direct Debit — design tokens
   Blue (primary, from the original header gradient), Blue-light
   (gradient end / soft highlights), Ink (text), Paper (bg), Grey (muted)
=================================================================== */
:root {
  --ink: #1c2a33;
  --paper: #eef1ee;
  --paper-raised: #ffffff;
  --ledger: #2980b9;
  --ledger-dark: #1f6a9c;
  --statement-blue: #2980b9;
  --blue-light: #6dd5fa;
  --blue-tint: #eaf5fb;
  --focus: #e2a33d;
  --grey: #5b655f;
  --line: #d7ded7;
  --radius: 4px;

  --font-display: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-body: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-mono: Consolas, 'Segoe UI', Tahoma, Geneva, Verdana, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
}

a { color: var(--statement-blue); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

img { max-width: 100%; display: block; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Top nav ---------- */
.site-header {
  background: var(--paper-raised);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  gap: 20px;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 56px; width: auto; }
.brand span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
}
.main-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a[aria-current="page"] {
  border-bottom-color: var(--ledger);
}

/* ---------- Hero ---------- */
.hero {
  padding: 56px 0 64px;
  background: linear-gradient(135deg, var(--ledger), var(--blue-light));
  border-radius: 0 0 18px 18px;
  color: #fff;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: #fff;
  background: rgba(255,255,255,0.2);
  display: inline-block;
  padding: 5px 10px;
  border-radius: 3px;
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 2.9rem);
  line-height: 1.12;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
  color: #fff;
}
.hero .lede {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  max-width: 46ch;
  margin-bottom: 28px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn-ghost { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.6); }
.hero .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.2); }

/* ---------- Statement stub (signature element) ---------- */
.statement {
  background: var(--ink);
  color: #eef1ee;
  border-radius: 10px;
  padding: 26px 24px;
  font-family: var(--font-mono);
  position: relative;
  box-shadow: 0 18px 40px rgba(18,35,29,0.25);
}
.statement::before {
  content: "";
  position: absolute;
  top: -8px; left: 22px; right: 22px;
  height: 8px;
  background: repeating-linear-gradient(90deg, transparent 0 8px, var(--paper) 8px 16px);
  border-radius: 10px 10px 0 0;
}
.statement-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9db8ac;
  border-bottom: 1px dashed #3c554b;
  padding-bottom: 12px;
  margin-bottom: 12px;
}
.statement-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.92rem;
}
.statement-row .desc { color: #d7e6de; }
.statement-row .amt { font-weight: 600; }
.statement-total {
  border-top: 1px dashed #3c554b;
  margin-top: 8px;
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
}
.statement-status {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(109,213,250,0.25);
  color: #aee6fb;
  padding: 6px 10px;
  border-radius: 3px;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}
.statement-status::before { content: "●"; font-size: 0.6rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 22px;
  border-radius: 30px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary { background: var(--ledger); color: #fff; }
.btn-primary:hover { background: var(--ledger-dark); transform: translateY(-2px); box-shadow: 0 8px 16px rgba(41,128,185,0.3); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }

/* ---------- Sections ---------- */
section.block { padding: 56px 0; }
section.block.alt { background: var(--paper-raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.block h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  margin-bottom: 14px;
}
.block .intro { color: var(--grey); max-width: 62ch; margin-bottom: 32px; }

/* ---------- Options / cards ---------- */
.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.option-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
}
.option-card .tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--statement-blue);
}
.option-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 8px 0 10px;
}
.option-card p { color: var(--grey); margin-bottom: 18px; }
.option-card .price {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 14px;
}

/* ---------- Numbered steps (genuine sequence) ---------- */
.steps { display: grid; gap: 18px; }
.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
}
.step .num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ledger);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 600;
}
.step h3 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 4px; }
.step p { color: var(--grey); }

/* ---------- Trust list ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.trust-item {
  border-left: 3px solid var(--ledger);
  padding: 4px 0 4px 16px;
}
.trust-item h3 { font-family: var(--font-display); font-size: 1.02rem; margin-bottom: 6px; }
.trust-item p { color: var(--grey); font-size: 0.95rem; }

/* ---------- FAQ accordion (native details) ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: var(--ledger);
  flex-shrink: 0;
}
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list .answer { color: var(--grey); margin-top: 12px; max-width: 68ch; }

/* ---------- Callout ---------- */
.callout {
  background: var(--blue-tint);
  border: 1px solid rgba(41,128,185,0.3);
  border-radius: 8px;
  padding: 18px 20px;
  font-size: 0.95rem;
}
.callout strong { color: var(--ink); }

/* ---------- Timeline (how-it-works) ---------- */
.timeline { border-left: 2px solid var(--line); padding-left: 24px; display: grid; gap: 22px; margin-top: 10px; }
.timeline .day {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--statement-blue);
  margin-bottom: 4px;
}
.timeline .entry { position: relative; }
.timeline .entry::before {
  content: "";
  position: absolute;
  left: -29px; top: 4px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--ledger);
}
.timeline h3 { font-family: var(--font-display); font-size: 1rem; margin-bottom: 4px; }
.timeline p { color: var(--grey); font-size: 0.95rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #cfd9d3;
  padding: 44px 0 28px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-family: var(--font-display); color: #fff; font-size: 0.95rem; margin-bottom: 12px; }
.site-footer p, .site-footer li { color: #a9b6ae; font-size: 0.9rem; }
.site-footer a { color: #cfd9d3; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.footer-bottom {
  border-top: 1px solid #26392f;
  padding-top: 20px;
  font-size: 0.78rem;
  color: #7f8d84;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Page header (inner pages) ---------- */
.page-head-hero {
  background: linear-gradient(135deg, var(--ledger), var(--blue-light));
  border-radius: 0 0 18px 18px;
  color: #fff;
  padding: 48px 0 40px;
}
.page-head-hero .eyebrow {
  margin-bottom: 14px;
  color: #fff;
  background: rgba(255,255,255,0.2);
}
.page-head-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 14px;
  color: #fff;
}
.page-head-hero .lede { color: rgba(255,255,255,0.9); max-width: 60ch; }
