/* BeanThere — beanthere.uk
   Warm & crafty: cream paper, espresso, roasted orange. Fraunces + Figtree.
   One stylesheet for every page. */

/* Fonts are served from this site rather than Google Fonts, so a visit sends
   nothing to a third party (the privacy policy says the site has no tracking).
   Latin subset only; both are variable fonts, SIL Open Font Licence. */
@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("/assets/fonts/fraunces.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces"; font-style: italic; font-weight: 400 700; font-display: swap;
  src: url("/assets/fonts/fraunces-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/assets/fonts/figtree.woff2") format("woff2");
}

:root {
  --cream: #F6EFE4;
  --paper: #FBF7F0;
  --kraft: #EDE0CB;
  --line: #E6D7BF;
  --line-strong: #DCCBB1;
  --espresso: #2B1D14;
  --espresso-2: #3A2A1F;
  --phone: #1E140E;
  --bean: #5A3A22;
  --mark: #7A5232;           /* the logo: pin outline and its bean */
  --ink: #2B1D14;
  --ink-soft: #4A3A2E;
  --ink-muted: #6B5A4C;
  --roast: #B24E1A;          /* accent: buttons, highlights */
  --roast-text: #A8461A;     /* accent for small text on cream (AA) */
  --roast-deep: #9A4217;
  --ember: #E08A4F;          /* accent on espresso */
  --on-dark: #F6EFE4;
  --on-dark-soft: #E3D5C3;
  --on-dark-muted: #CDBBA6;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 6vw, 120px);
  --max: 1200px;
  --radius-lg: 32px;
  --radius-md: 24px;
  --radius-sm: 14px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
a { color: var(--roast-text); }
a:hover { color: #7E3312; }
:focus-visible { outline: 3px solid var(--roast); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; margin: 0; text-wrap: balance; }
p { margin: 0; }
em.soft { font-style: italic; font-weight: 500; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding-inline: var(--gutter); }

.eyebrow {
  font-size: 14px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--roast-text);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px; border-radius: 999px; border: 0;
  font: 600 17px/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease;
}
.btn-primary { background: var(--roast); color: #fff; }
.btn-primary:hover { background: var(--roast-deep); color: #fff; transform: translateY(-1px); }
.btn-dark { min-height: 44px; padding: 0 20px; font-size: 15px; background: var(--espresso); color: var(--on-dark); }
.btn-dark:hover { background: #000; color: var(--on-dark); }
.status-pill {
  display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 22px;
  border-radius: 999px; border: 1.5px solid #CDB99C; font-size: 15px; font-weight: 600; color: var(--bean);
}
.status-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--roast); }

/* ---------- nav ---------- */
.nav { border-bottom: 1px solid var(--line); background: var(--cream); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; }
.nav .wrap { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { flex-shrink: 0; }
.brand-name { font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 15px; font-weight: 500; }
.nav-links a:not(.btn) { color: var(--ink); text-decoration: none; }
.nav-links a:not(.btn):hover { color: var(--roast-text); }
@media (max-width: 760px) {
  .nav .wrap { height: 68px; }
  .nav-links a:not(.btn) { display: none; }
}

/* ---------- hero ---------- */
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); align-items: center; gap: 40px;
  padding-block: 64px 72px;
}
.hero-copy { display: flex; flex-direction: column; gap: 28px; max-width: 580px; }
.tag {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px;
  border-radius: 999px; background: var(--kraft); font-size: 14px; font-weight: 600; color: var(--bean);
}
.hero h1 { font-size: clamp(48px, 7vw, 88px); line-height: 0.98; letter-spacing: -0.03em; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--roast); }
.hero .lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-soft); max-width: 500px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-art { position: relative; height: 680px; }
.hero-art .disc { position: absolute; left: 6%; top: 13%; width: 88%; aspect-ratio: 1; border-radius: 50%; background: var(--kraft); }
.hero-art .phone.back { position: absolute; left: 2%; top: 110px; transform: rotate(-7deg); }
.hero-art .phone.front { position: absolute; right: 0; top: 40px; transform: rotate(4deg); }
.toast {
  position: absolute; left: 30%; bottom: 20px; display: flex; align-items: center; gap: 10px;
  padding: 12px 18px 12px 12px; border-radius: 999px; background: #fff; font-size: 15px; font-weight: 600;
  box-shadow: 0 12px 30px -10px rgba(43,29,20,.35);
  animation: pop 3.2s ease-in-out 1s infinite;
}
.toast .ring { width: 34px; height: 34px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; }
@keyframes pop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .toast { animation: none; } }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); padding-block: 40px 48px; }
  .hero-art { height: 620px; max-width: 420px; width: 100%; margin: 0 auto; }
  .hero-art .phone.back { display: none; }
  .hero-art .phone.front { right: 50%; transform: translateX(50%) rotate(3deg); top: 10px; }
  .toast { left: 0; bottom: 30px; }
}

/* ---------- phone mockups ---------- */
.phone {
  width: 284px; height: 564px; padding: 12px; border-radius: 46px; background: var(--phone);
  box-shadow: 0 34px 64px -24px rgba(43,29,20,.5); flex-shrink: 0;
}
.screen {
  width: 260px; height: 540px; border-radius: 34px; overflow: hidden; display: flex; flex-direction: column;
  font-family: var(--font-body); font-size: 13px; line-height: 1.4;
}
.screen .serif { font-family: var(--font-display); font-weight: 700; }
.screen-body { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 22px 18px 0; }
.s-cream { background: var(--cream); color: var(--ink); }
.s-dark { background: var(--espresso); color: var(--on-dark); }
.s-roast { background: var(--roast-deep); color: #FFF8EF; }

.s-top { display: flex; align-items: center; justify-content: space-between; }
.s-logo { display: flex; align-items: center; gap: 6px; font-size: 16px; }
.s-avatar { width: 30px; height: 30px; border-radius: 50%; background: #E9DCC6; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--bean); }
.s-hello { font-size: 12px; color: var(--ink-muted); }
.s-title { font-size: 26px; letter-spacing: -0.02em; line-height: 1.1; }
.s-card { background: var(--espresso); color: var(--on-dark); border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.s-count { display: flex; align-items: baseline; gap: 6px; }
.s-count b { font-family: var(--font-display); font-size: 44px; line-height: 1; }
.s-count span { font-size: 14px; opacity: .75; }
.s-beans { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; justify-items: center; }
.s-beans svg { width: 30px; height: 30px; }
.s-left { color: #E9DCC6; }
.s-btn { height: 48px; border-radius: 14px; border: 0; background: var(--roast); color: #fff; font: 600 15px var(--font-body); display: flex; align-items: center; justify-content: center; gap: 8px; }
.s-label { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); padding-bottom: 6px; }
.s-row { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid #E9DCC6; }
.s-row span:last-child { color: var(--ink-muted); }
.s-tabs { display: flex; justify-content: space-around; padding: 10px 0 14px; border-top: 1px solid #E9DCC6; background: var(--paper); font-size: 10px; font-weight: 600; color: var(--ink-muted); }
.s-tabs div { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.s-tabs .on { color: var(--roast); }
.s-dark .s-tabs { background: transparent; border-color: #3D2B1F; color: var(--on-dark-muted); }
.s-dark .s-tabs .on { color: var(--ember); }

.s-center { align-items: center; text-align: center; padding-top: 30px; gap: 18px; }
.s-kicker { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ember); }
.s-qr { background: #fff; border-radius: 22px; padding: 18px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.s-qr svg { width: 175px; height: 175px; display: block; }
.s-qr small { font-size: 12px; font-weight: 600; letter-spacing: .15em; color: var(--espresso); }
.s-chip { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #3D2B1F; }
.s-note { font-size: 12px; color: var(--on-dark-muted); }

.s-reward { justify-content: space-between; align-items: center; text-align: center; padding: 44px 20px 26px; gap: 0; }
.s-cup { width: 120px; height: 120px; border-radius: 50%; background: #FFF8EF; color: var(--roast-deep); display: grid; place-items: center; }
.s-reward h4 { font-family: var(--font-display); font-size: 30px; line-height: 1.05; margin: 6px 0; }
.s-reward .mini { display: grid; grid-template-columns: repeat(5, 22px); gap: 6px; justify-content: center; }
.s-reward .mini svg { width: 22px; height: 22px; }
.s-light-btn { width: 100%; height: 50px; border: 0; border-radius: 14px; background: #FFF8EF; color: var(--espresso); font: 700 15px var(--font-body); }

.s-back { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #E0D0B8; background: var(--paper); display: grid; place-items: center; color: var(--ink); }
.s-code { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.s-code span { height: 48px; border-radius: 10px; background: #fff; border: 1px solid #E0D0B8; display: grid; place-items: center; font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.s-code span.cur { border: 2px solid var(--roast); }
.s-ink-btn { height: 48px; border-radius: 14px; border: 0; background: var(--espresso); color: var(--on-dark); font: 600 15px var(--font-body); width: 100%; }
.s-link { height: 44px; border: 0; background: none; color: var(--roast-text); font: 600 14px var(--font-body); width: 100%; }

/* ---------- how it works ---------- */
.how { background: var(--paper); border-block: 1px solid var(--line); }
.how .wrap { padding-block: clamp(64px, 9vw, 120px); display: flex; flex-direction: column; gap: 56px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; }
.section-head > div { display: flex; flex-direction: column; gap: 14px; }
.section-head h2 { font-size: clamp(38px, 5vw, 60px); line-height: 1.02; letter-spacing: -0.025em; max-width: 640px; }
.section-head p { max-width: 380px; color: var(--ink-soft); font-size: 18px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.step { display: flex; flex-direction: column; gap: 26px; }
.step .phone { box-shadow: none; }
.step-text { display: flex; flex-direction: column; gap: 10px; padding-right: 8px; }
.step-title { display: flex; align-items: center; gap: 12px; }
.step-num { width: 36px; height: 36px; border-radius: 50%; background: var(--espresso); color: var(--on-dark); display: grid; place-items: center; font: 700 17px var(--font-display); flex-shrink: 0; }
.step:last-child .step-num { background: var(--roast); color: #fff; }
.step h3 { font-size: 24px; }
.step p { color: var(--ink-soft); font-size: 16px; }

@media (max-width: 1240px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 24px; }
  .step { align-items: center; text-align: center; }
  .step-title { justify-content: center; }
}
@media (max-width: 640px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .step { flex-direction: row; align-items: center; text-align: left; gap: 18px; }
  .step-title { flex-direction: column; align-items: flex-start; justify-content: flex-start; }
  .step .phone-slot { width: 159px; height: 316px; flex-shrink: 0; }
  .step .phone { transform: scale(0.56); transform-origin: 0 0; }
  .step h3 { font-size: 21px; }
  .step p { font-size: 15px; }
}

/* ---------- bean card ---------- */
.card-band { background: var(--espresso); color: var(--on-dark); }
.card-band .wrap { padding-block: clamp(64px, 9vw, 120px); display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.bean-card { background: var(--espresso-2); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 28px; }
.bean-card-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.bean-count { display: flex; align-items: baseline; gap: 10px; }
.bean-count b { font: 700 clamp(60px, 8vw, 96px)/0.9 var(--font-display); font-variant-numeric: tabular-nums; }
.bean-count span { font-size: 20px; color: var(--on-dark-muted); }
.bean-left { font-size: 15px; font-weight: 600; color: var(--ember); }
.bean-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(8px, 1.5vw, 16px); justify-items: center; }
.bean-grid svg { width: 100%; max-width: 72px; height: auto; aspect-ratio: 1; }
.bean-grid .bean { transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.bean-grid .bean.just { transform: scale(1.18) rotate(-8deg); }
.bean-card-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.chip-btn {
  min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid #5B4636; background: transparent;
  color: var(--on-dark); font: 600 15px var(--font-body); cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
}
.chip-btn:hover { border-color: var(--ember); }
.chip-btn.fill { background: var(--ember); border-color: var(--ember); color: var(--espresso); }
.chip-btn.fill:hover { background: #F09A5F; }

.card-copy { display: flex; flex-direction: column; gap: 24px; max-width: 500px; }
.card-copy .eyebrow { color: var(--ember); }
.card-copy h2 { font-size: clamp(40px, 5vw, 60px); line-height: 1.02; letter-spacing: -0.025em; }
.card-copy p { font-size: 19px; color: var(--on-dark-soft); }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; color: var(--on-dark-soft); }
.ticks li { display: flex; align-items: center; gap: 12px; }
.ticks svg { flex-shrink: 0; }

@media (max-width: 960px) {
  .card-band .wrap { grid-template-columns: minmax(0, 1fr); }
  .card-copy { order: -1; }
}

/* ---------- why ---------- */
.why .wrap { padding-block: clamp(64px, 9vw, 120px) clamp(32px, 5vw, 64px); display: flex; flex-direction: column; gap: 48px; }
.why h2 { font-size: clamp(36px, 4.4vw, 52px); line-height: 1.05; letter-spacing: -0.02em; max-width: 760px; }
.why h2 em { color: var(--roast); }
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.why-card { padding: 28px; border-radius: var(--radius-md); background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.why-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--kraft); display: grid; place-items: center; color: var(--bean); }
.why-card h3 { font-size: 22px; }
.why-card p { font-size: 15px; color: var(--ink-soft); }
@media (max-width: 1100px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .why-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .why-card { flex-direction: row; flex-wrap: wrap; padding: 20px; gap: 6px 16px; }
  .why-card .why-icon { width: 44px; height: 44px; }
  .why-card > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
}

/* ---------- faq ---------- */
.faq .wrap { padding-block: clamp(32px, 5vw, 64px) clamp(64px, 9vw, 120px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 40px clamp(40px, 8vw, 120px); }
.faq-intro { display: flex; flex-direction: column; gap: 18px; }
.faq-intro h2 { font-size: clamp(36px, 4.4vw, 52px); letter-spacing: -0.02em; }
.faq-intro p { color: var(--ink-soft); }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-list details { border-bottom: 1px solid var(--line-strong); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font: 700 clamp(19px, 1.8vw, 22px)/1.3 var(--font-display);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .plus { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; flex-shrink: 0; transition: transform .2s ease; }
.faq-list details[open] summary .plus { transform: rotate(45deg); }
.faq-list details p { padding: 0 48px 24px 0; color: var(--ink-soft); }
@media (max-width: 860px) { .faq .wrap { grid-template-columns: minmax(0, 1fr); } }

/* ---------- cta ---------- */
.cta .wrap { padding-bottom: clamp(56px, 9vw, 120px); }
.cta-box {
  border-radius: 36px; background: var(--roast); color: #fff; padding: clamp(32px, 6vw, 72px) clamp(24px, 6vw, 80px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px 48px;
}
.cta-box > div:first-child { display: flex; flex-direction: column; gap: 16px; max-width: 640px; }
.cta-box h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.02; letter-spacing: -0.025em; }
.cta-box p { font-size: 19px; color: #FFE7D4; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { min-height: 60px; padding: 0 22px; border-radius: 16px; background: var(--espresso); color: var(--on-dark); display: flex; align-items: center; gap: 12px; min-width: 200px; }
.store span { display: flex; flex-direction: column; line-height: 1.2; }
.store small { font-size: 11px; color: var(--on-dark-muted); }
.store b { font-size: 17px; }
@media (max-width: 480px) {
  .stores { width: 100%; }
  .store { min-width: 0; flex: 1; padding: 0 14px; }
  .store svg { display: none; }
  .store b { font-size: 15px; white-space: nowrap; }
  .status-pill { font-size: 14px; padding: 0 18px; }
}

/* ---------- footer ---------- */
.footer { background: var(--espresso); color: var(--on-dark-muted); }
.footer .wrap { padding-block: 56px; display: flex; flex-direction: column; gap: 36px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer .brand { color: var(--on-dark); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 32px; font-size: 15px; font-weight: 500; }
.footer-links a { color: var(--on-dark); text-decoration: none; padding-block: 8px; }
.footer-links a:hover { color: var(--ember); }
.legal { border-top: 1px solid #45352A; padding-top: 24px; font-size: 13px; line-height: 1.6; }
@media (max-width: 560px) {
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-links { flex-direction: column; gap: 0; }
}

/* ---------- skip link ---------- */
.skip { position: absolute; left: -9999px; top: 12px; z-index: 20; }
.skip:focus { left: 12px; padding: 10px 16px; border-radius: 999px; background: var(--espresso); color: var(--on-dark); }

/* ---------- inner pages (privacy, support, delete account, 404) ---------- */
.page-head { border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 64px); display: flex; flex-direction: column; gap: 18px; }
.page-head h1 { font-size: clamp(44px, 6vw, 72px); line-height: 1; letter-spacing: -0.03em; max-width: 820px; }
.page-head h1 em { font-style: italic; font-weight: 500; color: var(--roast); }
.page-head .lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-soft); max-width: 640px; }
.page-head .updated { font-size: 14px; font-weight: 600; color: var(--ink-muted); }

.doc .wrap { padding-block: clamp(40px, 6vw, 80px) clamp(64px, 9vw, 120px); }
.doc-body { max-width: 760px; display: flex; flex-direction: column; gap: 18px; }
.doc-body h2 { font-size: clamp(28px, 3vw, 36px); line-height: 1.1; letter-spacing: -0.02em; margin-top: 28px; }
.doc-body h2:first-child { margin-top: 0; }
.doc-body h3 { font-size: 21px; line-height: 1.25; margin-top: 8px; }
.doc-body p, .doc-body li { color: var(--ink-soft); }
.doc-body strong { color: var(--ink); }
.doc-body ul, .doc-body ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.doc-body li::marker { color: var(--roast-text); font-weight: 700; }
.doc-body .meta { font-size: 15px; color: var(--ink-muted); }

.panel {
  padding: clamp(24px, 4vw, 36px); border-radius: var(--radius-md); background: var(--paper); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px;
}
.panel h2 { margin-top: 0; font-size: clamp(26px, 2.6vw, 32px); }
.panel-dark { background: var(--espresso); border-color: var(--espresso); color: var(--on-dark); }
.panel-dark p, .panel-dark li { color: var(--on-dark-soft); }
.panel-dark strong { color: var(--on-dark); }
.panel-dark a:not(.btn) { color: var(--ember); }
.panel-dark li::marker { color: var(--ember); }
.panel .btn { align-self: flex-start; }

.qa { display: flex; flex-direction: column; gap: 6px; padding-block: 18px; border-top: 1px solid var(--line-strong); }
.qa:first-of-type { border-top: 0; padding-top: 0; }

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); }
.doc-body table { width: 100%; border-collapse: collapse; font-size: 15px; }
.doc-body th, .doc-body td { text-align: left; vertical-align: top; padding: 14px 16px; border-top: 1px solid var(--line); }
.doc-body tr:first-child th { border-top: 0; }
.doc-body th { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); background: var(--kraft); }
.doc-body td:first-child { font-weight: 600; color: var(--ink); }
.doc-body td { color: var(--ink-soft); }
@media (max-width: 560px) {
  .doc-body th, .doc-body td { padding: 12px; }
  .doc-body table { font-size: 14px; }
}
