/* Better Than The Bank — landing page
   Layout: split "loan builder" hero → 6 amount tiles → one-card process → dark eligibility band →
   policies → pill FAQ → orange closing band → disclosure footer. */
:root {
  --orange: #ed7122;        /* brand primary */
  --orange-deep: #c4560f;   /* text-safe orange on light */
  --orange-wash: #fdf0e6;   /* tinted surface */
  --paper: #f7f7f7;         /* brand secondary #1 */
  --white: #ffffff;         /* brand secondary #2 */
  --ink: #1d1612;           /* warm near-black, leans toward the orange */
  --ink-2: #3a302a;
  --muted: #6f625a;
  --line: #e8e0da;

  --font: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --radius: 18px;
  --wrap: 1180px;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; margin: 0; line-height: 1.08; letter-spacing: -0.02em; }
p { margin: 0; }

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

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-deep);
}
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-head { display: grid; gap: 14px; max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 900; }
.section-head p { color: var(--muted); font-size: 18px; max-width: 60ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 16px/1 var(--font);
  padding: 18px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid var(--orange); outline-offset: 3px;
}
.btn-primary { background: var(--orange); color: var(--white); box-shadow: 0 8px 22px -10px rgba(237,113,34,.8); }
.btn-primary:hover { background: var(--orange-deep); transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: var(--ink); color: var(--white); }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--white); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.logo img { height: 42px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.nav a:not(.btn):hover { color: var(--orange-deep); }
.nav .btn { padding: 13px 20px; font-size: 15px; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 8px max(20px, env(safe-area-inset-right, 0px)) 20px max(20px, env(safe-area-inset-left, 0px));
    display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; }
}

/* Licence strip */
.strip { background: var(--ink); color: #f3e9e2; font-size: 13px; }
.strip .wrap { display: flex; gap: 8px 24px; flex-wrap: wrap; justify-content: center; padding-block: 10px; text-align: center; }
.strip strong { color: var(--orange); font-weight: 700; }

/* Hero */
.hero { background: var(--paper); overflow: hidden; position: relative; }
.hero::after {
  /* faint guilloché-like rings, a nod to banknote engraving */
  content: ""; position: absolute; right: -240px; top: -200px; width: 760px; height: 760px; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 22px, rgba(237,113,34,.09) 22px 23px);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 7vw, 96px); }
.hero-copy { display: grid; gap: 24px; min-width: 0; }
.hero h1 { font-size: clamp(40px, 6.2vw, 76px); font-weight: 900; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero-lede { font-size: 19px; color: var(--ink-2); max-width: 46ch; }
.hero-points { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 10px; }
.hero-points li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.tick { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; }
.tick svg { width: 13px; height: 13px; }

/* Loan builder card */
.builder {
  background: var(--white);
  border-radius: 28px;
  padding: clamp(24px, 3.4vw, 40px);
  box-shadow: 0 1px 0 var(--line), 0 30px 60px -30px rgba(29,22,18,.35);
  display: grid; gap: 22px;
  min-width: 0;
}
.builder-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.builder-label { font-weight: 700; font-size: 15px; color: var(--muted); }
.builder-chip { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--orange-wash); color: var(--orange-deep); padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.amount {
  font-size: clamp(72px, 11vw, 132px);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -0.05em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.amount .cur { font-size: .45em; vertical-align: .9em; margin-right: .04em; color: var(--orange); letter-spacing: 0; }

.range { -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 999px; background: linear-gradient(to right, var(--orange) 0 var(--pct, 40%), var(--line) var(--pct, 40%) 100%); cursor: pointer; margin: 0; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: var(--white); border: 7px solid var(--orange); box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--white); border: 7px solid var(--orange); box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.ticks { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; margin-top: -8px; }
.ticks button { background: none; border: 0; padding: 4px 0; font: inherit; color: inherit; cursor: pointer; }
.ticks button[aria-pressed="true"] { color: var(--orange-deep); }

.builder-facts { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.builder-facts div { padding: 14px 16px; display: grid; gap: 2px; min-width: 0; }
.builder-facts div + div { border-left: 1px solid var(--line); }
.builder-facts dt { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.builder-facts dd { margin: 0; font-weight: 800; font-size: 17px; font-variant-numeric: tabular-nums; }
.builder .btn { width: 100%; font-size: 17px; padding-block: 20px; }
.builder-note { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

/* Amount tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile {
  position: relative;
  background: var(--paper);
  border: 2px solid transparent;
  border-radius: 24px;
  padding: 28px;
  display: grid; gap: 22px;
  align-content: start;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
  min-width: 0;
}
.tile:hover { transform: translateY(-3px); }
.tile.is-selected { background: var(--white); border-color: var(--orange); box-shadow: 0 24px 50px -28px rgba(237,113,34,.55); }
.tile-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.tile-name { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tile-flag { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--white); background: var(--orange); padding: 5px 9px; border-radius: 999px; visibility: hidden; }
.tile.is-selected .tile-flag { visibility: visible; }
.tile-amount { font-size: clamp(48px, 5.4vw, 64px); font-weight: 900; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.tile-amount .cur { color: var(--orange); font-size: .55em; vertical-align: .55em; margin-right: 2px; }
/* stacked "bills" gauge: one bar per $250 step */
.stack { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.stack i { height: 8px; border-radius: 3px; background: var(--line); }
.stack i.on { background: var(--orange); }
.tile ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.tile li { display: flex; gap: 10px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.tile li svg { flex: none; width: 18px; height: 18px; color: var(--orange); }
.tile .btn { width: 100%; }
.tile:not(.is-selected) .btn { background: var(--ink); box-shadow: none; }
.tile:not(.is-selected) .btn:hover { background: var(--orange); }
.tiles-note { margin-top: 28px; font-size: 13.5px; color: var(--muted); max-width: 80ch; }

@media (max-width: 980px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .tiles { grid-template-columns: 1fr; } }

/* Process */
.process { background: var(--paper); }
.process-card { background: var(--white); border-radius: 28px; padding: clamp(28px, 4vw, 52px); display: grid; gap: 36px; }
.process-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.process-top h3 { font-size: 22px; font-weight: 800; }
.track { height: 4px; background: var(--line); border-radius: 4px; position: relative; overflow: hidden; }
.track::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 33.4%; background: var(--orange); border-radius: 4px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); margin-top: -12px; }
.step { display: grid; gap: 12px; align-content: start; min-width: 0; }
.step-num {
  font-size: 76px; font-weight: 900; line-height: .9; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 2px var(--orange);
}
.step h4 { margin: 0; font-size: 21px; font-weight: 800; }
.step p { color: var(--muted); }
.step-meta { font-size: 13px; font-weight: 700; color: var(--orange-deep); }
@media (max-width: 780px) { .steps { grid-template-columns: 1fr; } .track { display: none; } }

/* Apart */
.apart { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.apart .section-head { position: sticky; top: 110px; margin-bottom: 0; }
.apart-list { display: grid; gap: 0; }
.apart-item { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 28px 0; border-top: 1px solid var(--line); }
.apart-item:last-child { border-bottom: 1px solid var(--line); }
.apart-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--orange-wash); display: grid; place-items: center; color: var(--orange-deep); }
.apart-icon svg { width: 26px; height: 26px; }
.apart-item h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.apart-item p { color: var(--muted); }
@media (max-width: 860px) { .apart { grid-template-columns: 1fr; } .apart .section-head { position: static; } }

/* Eligibility band */
.eligibility { background: var(--ink); color: #f6efe9; position: relative; overflow: hidden; }
.eligibility::before {
  content: "$"; position: absolute; right: -40px; bottom: -160px;
  font-size: 620px; font-weight: 900; line-height: 1; color: rgba(237,113,34,.12); pointer-events: none;
}
.eligibility .wrap { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.eligibility .eyebrow { color: var(--orange); }
.eligibility h2 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 900; color: var(--white); }
.eligibility .section-head p { color: #cdbfb5; }
.elig-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.elig-list li {
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px; padding: 18px 20px; font-weight: 600; color: var(--white);
}
.elig-list li span.n { font-size: 13px; font-weight: 800; color: var(--orange); font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .eligibility .wrap { grid-template-columns: 1fr; } }

/* Policies */
.policies { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.policy { display: grid; gap: 12px; align-content: start; min-width: 0; }
.policy h3 { font-size: 20px; font-weight: 800; padding-top: 18px; border-top: 3px solid var(--orange); }
.policy p { color: var(--ink-2); font-size: 15px; }
.example {
  margin-top: 6px; background: var(--paper); border-radius: 14px; padding: 16px 18px;
  display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; font-size: 14px; font-variant-numeric: tabular-nums;
}
.example dt { color: var(--muted); }
.example dd { margin: 0; font-weight: 800; text-align: right; }
@media (max-width: 860px) { .policies { grid-template-columns: 1fr; } }

/* FAQ */
.faq-band { background: var(--orange-wash); }
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-grid .section-head { margin-bottom: 0; }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border-radius: 22px; transition: box-shadow .2s ease; }
.faq details[open] { box-shadow: 0 18px 40px -26px rgba(196,86,15,.6); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 24px; font-weight: 700; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--paper); position: relative; transition: background .2s ease, transform .2s ease; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); border-radius: 2px; }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s ease; }
.faq details[open] .pm { background: var(--orange); }
.faq details[open] .pm::before, .faq details[open] .pm::after { background: var(--white); }
.faq details[open] .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq .answer { padding: 0 24px 24px; color: var(--ink-2); display: grid; gap: 10px; max-width: 64ch; }
.faq .answer ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* Closing CTA */
.closing { background: var(--orange); color: var(--white); }
.closing .wrap { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; padding-block: clamp(56px, 7vw, 88px); }
.closing h2 { font-size: clamp(32px, 4.8vw, 58px); font-weight: 900; max-width: 18ch; }
.closing p { margin-top: 12px; font-weight: 600; opacity: .92; }

/* Footer */
.site-footer { background: var(--paper); color: var(--ink-2); font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-block: 56px 40px; }
.footer-top img { height: 40px; width: auto; margin-bottom: 16px; }
.footer-top h4 { margin: 0 0 12px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.footer-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-top a { text-decoration: none; }
.footer-top a:hover { color: var(--orange-deep); text-decoration: underline; }
.footer-top button.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.footer-top button.linklike:hover { color: var(--orange-deep); text-decoration: underline; }
.disclosure { border-top: 1px solid var(--line); padding-block: 28px; display: grid; gap: 8px; }
.disclosure h4 { margin: 0; font-size: 14px; font-weight: 800; color: var(--ink); }
.disclosure p { color: var(--muted); font-size: 13.5px; max-width: 120ch; }
.copyright { border-top: 1px solid var(--line); padding-block: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; } }

/* Cookie banner (Law 25) */
.cookie {
  position: fixed; z-index: 100;
  left: max(16px, env(safe-area-inset-left, 0px));
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  max-width: 560px;
  background: var(--white); color: var(--ink);
  border-radius: 22px; padding: 24px;
  box-shadow: 0 30px 70px -20px rgba(29,22,18,.45), 0 0 0 1px var(--line);
  display: grid; gap: 16px;
}
.cookie h2 { font-size: 18px; font-weight: 800; letter-spacing: 0; }
.cookie p { font-size: 14px; color: var(--ink-2); }
.cookie a { color: var(--orange-deep); font-weight: 700; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 13px 18px; font-size: 14px; flex: 1 1 auto; }
.cookie-prefs { display: grid; gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.pref { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; padding: 14px 16px; }
.pref + .pref { border-top: 1px solid var(--line); }
.pref strong { font-size: 14px; }
.pref small { grid-column: 1; color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.switch { grid-row: 1 / span 2; grid-column: 2; position: relative; width: 46px; height: 26px; }
.switch input { opacity: 0; width: 100%; height: 100%; margin: 0; position: absolute; inset: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: var(--line); transition: background .2s ease; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s ease; }
.switch input:checked + span { background: var(--orange); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:disabled { cursor: not-allowed; }
.switch input:disabled + span { opacity: .6; }
.switch input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }

/* Legal pages */
.legal-hero { background: var(--paper); }
.legal-hero .wrap { padding-block: clamp(48px, 7vw, 88px); display: grid; gap: 14px; }
.legal-hero h1 { font-size: clamp(38px, 5.6vw, 64px); font-weight: 900; }
.legal-hero p { color: var(--muted); }
.legal { display: grid; grid-template-columns: 240px 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.legal-toc { position: sticky; top: 110px; display: grid; gap: 6px; font-size: 14px; }
.legal-toc a { text-decoration: none; color: var(--muted); font-weight: 600; padding: 6px 0; }
.legal-toc a:hover { color: var(--orange-deep); }
.legal-body { display: grid; gap: 40px; max-width: 72ch; min-width: 0; }
.legal-body section { display: grid; gap: 12px; scroll-margin-top: 100px; }
.legal-body h2 { font-size: 24px; font-weight: 800; }
.legal-body p, .legal-body li { color: var(--ink-2); }
.legal-body ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.legal-card { background: var(--paper); border-radius: 16px; padding: 20px 22px; display: grid; gap: 4px; }
.legal-card strong { color: var(--ink); }
@media (max-width: 860px) { .legal { grid-template-columns: 1fr; } .legal-toc { position: static; } }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .builder-facts { grid-template-columns: 1fr; }
  .builder-facts div + div { border-left: 0; border-top: 1px solid var(--line); }
  .ticks { font-size: 11px; }
}

/* ==========================================================================
   Gutenberg Block Overrides
   Neutralise WP layout interference & style native blocks to match design.
   ========================================================================== */

/* Reset Gutenberg group wrappers — but preserve .wrap container */
.hero .wp-block-group:not(.wrap),
.section .wp-block-group:not(.wrap),
.closing .wp-block-group:not(.wrap),
.faq-band .wp-block-group:not(.wrap),
.site-footer .wp-block-group:not(.wrap) {
  max-width: none;
  padding: 0;
}

/* Ensure .wrap always constrains content, even with wp-block-group class */
.wp-block-group.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* FAQ: style native wp:details to match accordion design */
.faq .wp-block-details {
  background: var(--white);
  border-radius: 22px;
  transition: box-shadow .2s ease;
}
.faq .wp-block-details[open] {
  box-shadow: 0 18px 40px -26px rgba(196,86,15,.6);
}
.faq .wp-block-details summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  font-weight: 700;
  font-size: 17px;
}
.faq .wp-block-details summary::-webkit-details-marker { display: none; }

/* Plus / minus toggle icon via pseudo-element */
.faq .wp-block-details summary::after {
  content: "";
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--paper) url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='6' y1='1' x2='6' y2='11' stroke='%231d1612' stroke-width='2' stroke-linecap='round'/%3E%3Cline x1='1' y1='6' x2='11' y2='6' stroke='%231d1612' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat;
  transition: background-color .2s ease;
}
.faq .wp-block-details[open] summary::after {
  background-color: var(--orange);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='1' y1='6' x2='11' y2='6' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* FAQ answer content (no .answer wrapper with native blocks) */
.faq .wp-block-details > *:not(summary) {
  padding-left: 24px;
  padding-right: 24px;
  color: var(--ink-2);
  max-width: 64ch;
}
.faq .wp-block-details > *:last-child {
  padding-bottom: 24px;
}
.faq .wp-block-details .wp-block-list {
  margin: 0;
  padding-left: 44px;
  display: grid;
  gap: 4px;
}

/* Policy headings: ensure border-top on native headings */
.policy .wp-block-heading:first-child {
  font-size: 20px;
  font-weight: 800;
  padding-top: 18px;
  border-top: 3px solid var(--orange);
}
.policy p { color: var(--ink-2); font-size: 15px; }
