*, *::before, *::after { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  line-height: 1.5;
  font-size: 16px;
}
h1, h2, h3 { font-family: var(--font-numeral), var(--font-ui); font-weight: 700; line-height: 1.15; margin: 0 0 var(--space-16); }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 var(--space-16); color: var(--ink); }
a { color: var(--serving); }
img { max-width: 100%; display: block; }
.container { max-width: var(--max-content); margin: 0 auto; padding: 0 var(--space-16); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
a.skip-link {
  position: absolute; left: 8px; top: -48px; background: var(--ink); color: var(--paper);
  padding: 10px 16px; border-radius: 8px; z-index: 100; transition: top 0.15s ease;
}
a.skip-link:focus { top: 8px; }

/* ---- header / nav ---- */
.site-header {
  border-bottom: 2px solid var(--ink);
  background: var(--paper);
  position: sticky; top: 0; z-index: 40;
}
.site-header .bar { display: flex; align-items: center; justify-content: space-between; padding: var(--space-12) 0; gap: var(--space-16); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; }
.brand-mark { width: 42px; height: 16px; flex-shrink: 0; }
.site-footer .brand-mark { width: 54px; height: 21px; }
.brand span.q { color: var(--marigold); }
.brand-name { font-family: var(--font-numeral), var(--font-ui); font-size: 1.1rem; }
nav.primary { display: flex; align-items: center; gap: var(--space-24); }
nav.primary ul { list-style: none; display: flex; gap: var(--space-24); margin: 0; padding: 0; }
nav.primary a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 0.95rem; }
nav.primary a[aria-current="page"] { color: var(--marigold); }
.nav-toggle { display: none; }
.lang-toggle { display: flex; border: 1.5px solid var(--border-strong); border-radius: 999px; overflow: hidden; }
.lang-toggle a { padding: 6px 12px; font-size: 0.82rem; text-decoration: none; color: var(--muted); font-weight: 600; }
.lang-toggle a[aria-current="true"] { background: var(--ink); color: var(--paper); }
.cta-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--marigold); color: var(--ink); font-weight: 700; text-decoration: none;
  padding: 12px 22px; border-radius: var(--radius-control); border: none; font-size: 0.95rem;
  font-family: var(--font-ui); cursor: pointer;
}
.cta-btn.small { padding: 9px 16px; font-size: 0.85rem; }
.cta-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: transparent; color: var(--ink); font-weight: 600; text-decoration: none;
  padding: 11px 20px; border-radius: var(--radius-control); border: 1.5px solid var(--border-strong);
  font-size: 0.95rem; font-family: var(--font-ui);
}

@media (max-width: 760px) {
  nav.primary ul { display: none; }
  nav.primary.open ul { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 2px solid var(--ink); padding: var(--space-16); gap: var(--space-12); }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1.5px solid var(--border-strong); border-radius: 8px; background: var(--surface); }
}

/* ---- sections ---- */
section { padding: var(--space-48) 0; }
section.hero { padding-top: var(--space-32); padding-bottom: var(--space-32); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; color: var(--serving); font-weight: 700; margin-bottom: var(--space-8); }
.lede { font-size: 1.1rem; color: var(--muted); max-width: 60ch; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-48); align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

/* ---- chit (token) component: the visual centerpiece ---- */
.chit-stage { display: flex; justify-content: center; align-items: center; min-height: 320px; }
.chit {
  width: 220px; background: var(--surface); border-radius: 18px; border: 2px solid var(--ink);
  box-shadow: 0 10px 0 -4px var(--border), 0 18px 30px -12px rgba(27,42,74,0.35);
  padding: var(--space-24) var(--space-16); text-align: center; position: relative;
  transition: transform 0.5s cubic-bezier(.2,.8,.2,1), background-color 0.4s ease, border-color 0.4s ease;
}
.chit::before {
  content: ""; position: absolute; left: 14px; right: 14px; top: 92px; border-top: 2px dashed var(--border-strong);
}
.chit .chit-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 4px; }
.chit .chit-number { font-family: var(--font-numeral); font-size: 2.6rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.chit .chit-status { margin-top: var(--space-24); font-weight: 700; font-size: 0.95rem; color: var(--muted); transition: color 0.4s ease; }
.chit .chit-eta { font-size: 0.8rem; color: var(--muted); margin-top: 4px; }
.chit.is-called { border-color: var(--marigold); background: color-mix(in srgb, var(--marigold) 10%, var(--surface)); transform: translateY(-6px) rotate(-1deg); }
.chit.is-called .chit-status { color: var(--marigold); }
@media (prefers-reduced-motion: reduce) { .chit { transition: none; } }

/* ---- steps ---- */
.steps-columns { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-48); }
@media (max-width: 760px) { .steps-columns { grid-template-columns: 1fr; } }
.steps-col h3 { color: var(--serving); }
.step-item { display: flex; gap: var(--space-16); margin-bottom: var(--space-24); }
.step-num {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--paper);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-numeral); font-weight: 700;
}
.step-item p { margin: 0; color: var(--muted); font-size: 0.94rem; }
.step-item strong { display: block; color: var(--ink); margin-bottom: 2px; }

/* ---- cards grid ---- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--space-24); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: var(--space-24);
}
.card h3 { margin-bottom: var(--space-8); }
.card p { color: var(--muted); font-size: 0.92rem; margin-bottom: 0; }
.card .card-value { color: var(--serving); font-weight: 600; font-size: 0.88rem; margin-top: var(--space-8); }
.mock-shot {
  width: 100%; height: 88px; border-radius: 10px; background: var(--paper); border: 1px dashed var(--border-strong);
  display: flex; align-items: center; justify-content: center; font-size: 2rem; margin-bottom: var(--space-16);
}

/* ---- feature strip ---- */
.feature-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: var(--space-16); }
.feature-chip { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: var(--space-16); font-size: 0.88rem; }
.feature-chip strong { display: block; margin-bottom: 4px; }

/* ---- trust block ---- */
.trust-block { background: var(--ink); color: var(--paper); border-radius: var(--radius-card); padding: var(--space-32); }
.trust-block h2 { color: var(--paper); }
.trust-block ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-16); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.trust-block li { padding-left: 28px; position: relative; font-size: 0.94rem; }
.trust-block li::before { content: "✓"; position: absolute; left: 0; color: var(--marigold); font-weight: 700; }

/* ---- pricing table ---- */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-24); align-items: stretch; }
.plan-card { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-card); padding: var(--space-24); display: flex; flex-direction: column; }
.plan-card.featured { border-color: var(--marigold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--marigold) 22%, transparent); }
.plan-card .plan-name { font-family: var(--font-numeral); font-size: 1.15rem; font-weight: 700; }
.plan-card .plan-price { font-family: var(--font-numeral); font-size: 2.1rem; font-weight: 700; margin: var(--space-8) 0; }
.plan-card .plan-price small { font-size: 0.9rem; font-weight: 500; color: var(--muted); }
.plan-card ul { list-style: none; padding: 0; margin: var(--space-16) 0; flex: 1; }
.plan-card li { padding: 6px 0 6px 24px; position: relative; font-size: 0.88rem; border-bottom: 1px solid var(--border); }
.plan-card li:last-child { border-bottom: none; }
.plan-card li::before { content: "•"; position: absolute; left: 6px; color: var(--serving); font-weight: 700; }

/* ---- FAQ ---- */
.faq-item { border-bottom: 1px solid var(--border); padding: var(--space-16) 0; }
.faq-item summary { cursor: pointer; font-weight: 600; font-size: 0.98rem; list-style: none; display: flex; justify-content: space-between; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--muted); }
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-answer { color: var(--muted); margin-top: var(--space-12); font-size: 0.92rem; }

/* ---- footer ---- */
.site-footer { border-top: 2px solid var(--ink); padding: var(--space-48) 0 var(--space-24); margin-top: var(--space-48); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--space-32); margin-bottom: var(--space-32); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: var(--space-12); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; color: var(--ink); font-size: 0.9rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-12); border-top: 1px solid var(--border); padding-top: var(--space-16); font-size: 0.8rem; color: var(--muted); }

/* ---- misc content pages ---- */
.prose { max-width: 72ch; }
.prose h2 { margin-top: var(--space-32); }
.prose ul, .prose ol { color: var(--muted); }
.draft-banner { display: none; }
.placeholder-item { display: none; }
.contact-list { list-style: none; padding: 0; display: grid; gap: var(--space-16); }
.contact-list li { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: var(--space-16); }
.contact-list strong { display: block; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 4px; }
.copied-toast.show { opacity: 1 !important; transform: translateX(-50%) translateY(0) !important; }
input[type="range"] { width: 100%; height: 34px; accent-color: var(--marigold); }
.stepper { display: flex; align-items: center; gap: 8px; }
.stepper button { width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--border-strong); background: var(--paper); font-size: 1.2rem; color: var(--ink); cursor: pointer; }
.stepper .amount { flex: 1; text-align: center; font-family: var(--font-numeral); font-weight: 700; font-size: 1.15rem; }
.val { font-family: var(--font-numeral); font-weight: 700; }
