/* ==========================================================================
   Deckpulse — style.css
   Sections: 1 Tokens · 2 Base · 3 Layout · 4 Components · 5 Home · 6 Forms
             7 Thanks · 8 Privacy · 9 Footer · 10 Motion · 11 Responsive
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --cream: #ffffeb;
  --ink: #1a1a1a;
  --lav: #f0d7ff;
  --lav-hover: #e6c4fb;
  --teal: #034f46;
  --ember: #ffa946;
  --muted: #54544a;
  --line: #c7c7ad;
  --placeholder: #808073;
  --error: #b21a1a;
  --card-dark: #2b2b2b;
  --on-dark-1: #ffffeb;
  --on-dark-2: #ccccbd;
  --on-dark-3: #b2b2a6;
  --on-dark-4: #99998c;
  --white: #ffffff;

  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --logo: "Montserrat", "Figtree", system-ui, sans-serif;

  --pad: clamp(48px, 8.333vw, 120px);
  --content: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --hs: 1; /* bar height scale, lowered on small screens */
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 100;
  background: var(--ink); color: var(--cream); padding: 12px 18px; border-radius: 10px;
  font-weight: 600; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* Type */
.h1 { font-family: var(--serif); font-weight: 400; font-size: 76px; line-height: 80px; letter-spacing: 0; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: 56px; line-height: 60px; }
.h3 { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.3; }
.lead { font-size: 20px; line-height: 30px; color: var(--muted); }
.body-l { font-size: 18px; line-height: 28px; color: var(--muted); }
.h1, .h2 { text-wrap: balance; }

/* 3. Layout ---------------------------------------------------------------- */
.wrap { width: min(100% - 2 * var(--pad), var(--content)); margin-inline: auto; }
.section { padding-block: 96px; }
.chamber-outer { padding: 24px 40px; }
.chamber-outer > .chamber { max-width: 1360px; margin-inline: auto; }

/* 4. Components ------------------------------------------------------------ */
.logo { display: inline-flex; align-items: flex-start; color: var(--ink); }
.logo__mark { width: 32px; height: 32px; flex: none; }
.logo__word { font-family: var(--logo); font-weight: 700; font-size: 30px; line-height: 37px; letter-spacing: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 18px 32px; border: 2px solid var(--ink); border-radius: 12px;
  background: var(--lav); color: var(--ink);
  font-family: var(--sans); font-weight: 600; font-size: 18px; line-height: 22px;
  transition: background-color 0.15s var(--ease), transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: var(--lav-hover); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark:hover { background: #2e2e2e; }
.btn--sm { padding: 12px 22px; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-busy="true"] { opacity: 0.75; cursor: progress; transform: none; }
.btn .spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent;
  animation: spin 0.7s linear infinite;
}
.btn .spinner[hidden] { display: none; }

.fineprint { font-size: 14px; line-height: 17px; color: var(--muted); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ember); flex: none; }

.link-underline {
  font-weight: 500; font-size: 18px; line-height: 22px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat;
  padding-bottom: 2px;
  transition: background-size 0.2s var(--ease);
}
.link-underline:hover { background-size: 0% 1.5px; }

/* Header */
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding-block: 24px; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav__link {
  font-weight: 500; font-size: 16px; line-height: 19px; padding-block: 4px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0% 1.5px no-repeat;
  transition: background-size 0.2s var(--ease);
}
.nav__link:hover { background-size: 100% 1.5px; }
.header-back { font-weight: 500; font-size: 16px; line-height: 19px; }

/* 5. Home ------------------------------------------------------------------ */
/* Hero */
.hero { padding: 72px 0 96px; }
.hero .wrap { display: flex; align-items: center; gap: 64px; }
.hero__copy { flex: 0 0 640px; display: flex; flex-direction: column; gap: 28px; }
.hero__cta { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.hero__cta .btn { padding: 18px 32px; }
.proof { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 16px; line-height: 19px; }

.report {
  flex: 0 0 496px; background: var(--ink); color: var(--on-dark-1);
  border-radius: 32px; padding: 32px; display: flex; flex-direction: column; gap: 24px;
}
.eyebrow { font-weight: 600; font-size: 12px; line-height: 14px; color: var(--lav); text-transform: uppercase; letter-spacing: 0; }
.report__title { font-family: var(--serif); font-size: 30px; line-height: 39px; color: var(--on-dark-1); white-space: pre-wrap; }
.stats { display: flex; gap: 12px; }
.stat { flex: 1; background: var(--card-dark); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.stat__label { font-size: 12px; line-height: 14px; color: var(--on-dark-3); }
.stat__value { font-weight: 600; font-size: 20px; line-height: 24px; color: var(--on-dark-1); white-space: nowrap; }

.bars { display: flex; align-items: flex-end; gap: 8px; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.bar {
  width: 100%; height: calc(var(--h) * 1px * var(--hs)); border-radius: 6px; background: var(--lav);
  transform-origin: 50% 100%;
}
.bar--hot { background: var(--ember); }
.bar-label { font-size: 12px; line-height: 14px; color: var(--on-dark-3); }
.report .bars { height: 142px; }

.alert {
  display: flex; align-items: center; gap: 10px; background: var(--card-dark);
  border-radius: 14px; padding: 14px 16px; font-size: 14px; line-height: 17px; color: var(--on-dark-1);
}
.alert .dot { transform-origin: center; }
.caption { font-size: 12px; line-height: 14px; color: var(--on-dark-4); }
.caption--light { color: var(--muted); }

/* Report + links */
.split { display: flex; align-items: center; gap: 80px; }
.split > * { flex: 1 1 0; min-width: 0; }
.split__copy { display: flex; flex-direction: column; gap: 24px; }
.rows { display: flex; flex-direction: column; }
.row-item { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.num { width: 36px; height: 36px; border-radius: 50%; background: var(--lav); display: grid; place-items: center; font-weight: 600; font-size: 16px; line-height: 19px; flex: none; }
.row-item__text { font-weight: 500; font-size: 20px; line-height: 24px; }

.links-card {
  background: var(--white); border: 2px solid var(--ink); border-radius: 32px;
  padding: 24px 28px 16px; display: flex; flex-direction: column; gap: 8px;
}
.links-card__title { font-weight: 600; font-size: 14px; line-height: 17px; color: var(--muted); }
.link-row { display: flex; align-items: center; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.link-row:nth-last-of-type(1) { border-bottom: 0; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--lav); flex: none; }
.link-row__name { flex: 1; font-weight: 600; font-size: 16px; line-height: 19px; min-width: 0; }
.link-row__meta { display: flex; gap: 12px; font-size: 14px; line-height: 17px; }
.link-row__meta span:first-child { color: var(--muted); }
.link-row__meta span:last-child { font-weight: 500; }
.link-row__info { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; }

/* Dark chart chamber */
.chamber { border-radius: 40px; }
.chamber--dark { background: var(--ink); color: var(--on-dark-1); padding: 80px; display: flex; flex-direction: column; gap: 48px; }
.chamber--dark .h2 { color: var(--on-dark-1); }
.chamber__head { display: flex; flex-direction: column; gap: 20px; }
.chamber__head p { font-size: 18px; line-height: 28px; color: var(--on-dark-2); }
.chart .bars { gap: 16px; justify-content: space-between; height: 322px; }
.chart .bar-col { max-width: 72px; }
.chart .bar { border-radius: 8px; }
.chart .bar-label { color: var(--on-dark-3); }
.legend { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 17px; color: var(--on-dark-2); }

/* Use cases */
.stack-48 { display: flex; flex-direction: column; gap: 48px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--white); border: 2px solid var(--ink); border-radius: 32px;
  padding: 16px 16px 28px; display: flex; flex-direction: column; gap: 20px;
}
.card__img { width: 100%; aspect-ratio: 348 / 260; object-fit: cover; border-radius: 20px; }
.card__text { padding: 0 12px; display: flex; flex-direction: column; gap: 10px; }
.card__text p { font-size: 16px; line-height: 24px; color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: var(--white); border: 2px solid var(--ink); border-radius: 32px; padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.step--accent { background: var(--lav); }
.step__num { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--cream); display: grid; place-items: center; font-weight: 600; font-size: 18px; line-height: 22px; }
.step p { font-size: 16px; line-height: 24px; color: var(--muted); }

/* Security */
.checks { display: flex; flex-direction: column; gap: 14px; }
.check { display: flex; align-items: center; gap: 14px; font-weight: 500; font-size: 20px; line-height: 24px; }
.check__icon { width: 26px; height: 26px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; flex: none; }
.check__icon svg { width: 14px; height: 14px; }
.gate { background: var(--ink); color: var(--on-dark-1); border-radius: 32px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.gate__step { background: var(--card-dark); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.gate__step strong { font-weight: 600; font-size: 16px; line-height: 19px; }
.gate__step span { font-size: 14px; line-height: 17px; color: var(--on-dark-3); }
.gate__step--active { background: var(--lav); color: var(--ink); }
.gate__step--active span { color: var(--muted); }

/* Final CTA */
.chamber--lav {
  background: var(--lav); border: 2px solid var(--ink); padding: 96px;
  display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center;
}
.chamber--lav .h2 { max-width: 860px; }
.chamber--lav .fineprint { margin-top: -4px; }

/* 6. Forms ----------------------------------------------------------------- */
.form-hero { padding: 72px 0 96px; }
.form-hero .wrap { display: flex; align-items: flex-start; gap: 96px; }
.form-hero__copy { flex: 0 0 520px; display: flex; flex-direction: column; gap: 24px; }
.form-card {
  flex: 1; min-width: 0; background: var(--white); border: 2px solid var(--ink); border-radius: 32px;
  padding: 40px; display: flex; flex-direction: column; gap: 24px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label { font-weight: 600; font-size: 16px; line-height: 19px; }
.input {
  width: 100%; min-height: 63px; padding: 16px 18px; background: var(--white);
  border: 1.5px solid var(--ink); border-radius: 12px;
  font-size: 18px; line-height: 28px; color: var(--ink);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.input::placeholder { color: var(--placeholder); opacity: 1; }
.input:focus { outline: 0; box-shadow: 0 0 0 3px var(--lav); }
select.input {
  appearance: none; -webkit-appearance: none; padding-right: 48px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%231A1A1A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
}
select.input:invalid { color: var(--placeholder); }
select.input option { color: var(--ink); }

/* Custom dropdown (js/select.js) */
.dd { position: relative; }
.field:has(.dd.is-open) { position: relative; z-index: 20; }
.dd__native { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.dd__btn {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  text-align: left; cursor: pointer; color: var(--placeholder);
}
.dd.has-value .dd__btn { color: var(--ink); }
.dd__chev { flex: none; color: var(--ink); transition: transform 0.25s var(--ease); }
.dd.is-open .dd__chev { transform: rotate(180deg); }
.dd.is-open .dd__btn { box-shadow: 0 0 0 3px var(--lav); }
.dd__list {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 30;
  margin: 0; padding: 8px; list-style: none; max-height: 320px; overflow-y: auto;
  background: var(--white); border: 1.5px solid var(--ink); border-radius: 16px;
  box-shadow: 0 16px 32px -12px rgba(26, 26, 26, 0.28);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(0.98); transform-origin: top center;
  transition: opacity 0.16s var(--ease), transform 0.2s var(--ease), visibility 0s linear 0.2s;
}
.dd.is-open .dd__list { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dd__opt {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px; border-radius: 10px; cursor: pointer;
  font-size: 18px; line-height: 26px; color: var(--ink);
}
.dd__opt svg { flex: none; color: var(--teal); opacity: 0; transform: scale(0.6); transition: opacity 0.15s var(--ease), transform 0.2s var(--spring, var(--ease)); }
.dd__opt.is-active { background: var(--lav); }
.dd__opt[aria-selected="true"] { font-weight: 600; }
.dd__opt[aria-selected="true"] svg { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .dd__list, .dd__chev, .dd__opt svg { transition: none; }
}
.field__error { display: none; font-size: 14px; line-height: 17px; color: var(--error); }
.field.has-error .input { border: 2px solid var(--error); }
.field.has-error .field__error { display: block; }
.form-status { font-size: 14px; line-height: 20px; color: var(--error); }
.form-status[hidden] { display: none; }
.form-cta { display: flex; flex-direction: column; gap: 12px; }
.form-cta .fineprint { line-height: 20px; }
/* Honeypot */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.after { padding: 80px 0; }
.after .stack { display: flex; flex-direction: column; gap: 32px; }
.after__item { background: var(--white); border: 2px solid var(--ink); border-radius: 32px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.after__item p { font-size: 18px; line-height: 28px; }
.after .cards { gap: 24px; }

/* 7. Thanks ---------------------------------------------------------------- */
.thanks { padding: 88px 0 120px; }
.thanks .wrap { display: flex; flex-direction: column; align-items: center; gap: 32px; text-align: center; }
.thanks__img { width: 420px; max-width: 100%; aspect-ratio: 420 / 314; border-radius: 28px; object-fit: cover; }
.thanks .lead { max-width: 700px; }
.chip-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px;
  background: var(--lav); border: 2px solid var(--ink); border-radius: 100px;
  font-weight: 600; font-size: 18px; line-height: 22px;
}
.chip-pill[hidden] { display: none; }

/* 8. Privacy --------------------------------------------------------------- */
.policy-title { padding: 72px 0 24px; }
.policy-title .wrap { display: flex; flex-direction: column; gap: 16px; }
.policy { padding: 48px 0 96px; }
.policy .wrap { display: flex; gap: 96px; align-items: flex-start; }
.toc { flex: 0 0 240px; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 24px; }
.toc__title { font-weight: 600; font-size: 12px; line-height: 14px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.toc a { font-weight: 500; font-size: 16px; line-height: 19px; }
.toc a:hover { text-decoration: underline; text-underline-offset: 3px; }
.policy__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.policy__body section { display: flex; flex-direction: column; gap: 12px; }
.policy__body h2 { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.3; }
.policy__body p { font-size: 18px; line-height: 28px; color: var(--muted); }
.policy__body a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* 9. Footer ---------------------------------------------------------------- */
.site-footer { padding: 80px 0 48px; }
.site-footer .wrap { display: flex; flex-direction: column; gap: 64px; }
.footer__rule { height: 2px; background: var(--ink); border: 0; width: 100%; margin: 0; }
.footer__row { display: flex; gap: 96px; padding-right: 16px; align-items: flex-start; }
.footer__cluster { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.footer__title { font-family: var(--serif); font-weight: 400; font-size: 76px; line-height: 80px; letter-spacing: -0.01em; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { padding: 14px 26px; border: 2px solid var(--ink); border-radius: 100px; font-weight: 500; font-size: 20px; line-height: 24px; }
.chip--filled { background: var(--lav); }
.footer__cols { display: flex; gap: 64px; flex: none; }
.footer__col { display: flex; flex-direction: column; gap: 14px; }
.footer__col h2 { font-family: var(--sans); font-weight: 600; font-size: 12px; line-height: 14px; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; }
.footer__col a, .footer__col span { font-weight: 500; font-size: 18px; line-height: 22px; }
.footer__col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__legal { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer__legal p { font-size: 14px; line-height: 17px; color: var(--muted); }
.only-mobile { display: none; }

/* 10. Motion --------------------------------------------------------------- */
/* Rules come from the Figma Motion spec. Only transform and opacity animate.
   Everything is hidden by .js and revealed by main.js (load or in-view, once). */
@keyframes rise { from { opacity: 0; transform: translateY(var(--dy, 20px)); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes zoomin { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleY(0.02); } to { transform: scaleY(1); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.5); } }
@keyframes wordrise { from { opacity: 0; transform: translateY(0.22em); } to { opacity: 1; transform: none; } }
@keyframes shake {
  0% { transform: translateX(0); } 14% { transform: translateX(-8px); } 31% { transform: translateX(8px); }
  48% { transform: translateX(-6px); } 65% { transform: translateX(5px); } 82% { transform: translateX(-2px); } 100% { transform: translateX(0); }
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; }
  .js [data-reveal].is-in { animation: rise var(--dur, 0.5s) var(--ease) var(--delay, 0s) both; }
  .js [data-reveal="fade"].is-in { animation-name: fade; }
  .js [data-reveal="zoom"].is-in { animation-name: zoomin; animation-duration: 0.6s; }
  .js [data-reveal="pop"].is-in { animation: pop 0.5s var(--spring) var(--delay, 0s) both; }

  /* Split headline: words rise one after another */
  .js .split-words .w { display: inline-block; opacity: 0; }
  .js .split-words.is-in .w { animation: wordrise 0.5s var(--ease) calc(var(--delay, 0s) + var(--wi) * 55ms) both; }

  /* Bars grow from the baseline (scaleY in code, Figma HEIGHT) */
  .js .bars-anim .bar { transform: scaleY(0.02); }
  .js .bars-anim.is-in .bar {
    animation: grow var(--bar-dur, 0.5s) var(--ease) calc(var(--bar-start, 1s) + var(--i) * var(--bar-step, 50ms)) both;
  }
  .js .bars-anim .bar-label { opacity: 0; }
  .js .bars-anim.is-in .bar-label { animation: fade 0.4s var(--ease) calc(var(--bar-start, 1s) + var(--i) * var(--bar-step, 50ms)) both; }

  /* Alert dot pulses twice */
  .js .is-in .pulse { animation: pulse 0.6s ease-in-out var(--pulse-delay, 2.4s) 2 both; }

  /* Form feedback */
  .field.shake .input { animation: shake 0.46s var(--ease) var(--shake-delay, 0s) both; }
  .field.has-error .field__error { animation: rise 0.35s var(--ease) var(--shake-delay, 0s) both; --dy: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .btn:hover { transform: none; }
  .field.has-error .field__error { animation: fade 0.15s both; }
}

/* 11. Responsive ----------------------------------------------------------- */
@media (max-width: 1099px) {
  :root { --pad: 40px; }
  .h1 { font-size: 60px; line-height: 63px; }
  .h2 { font-size: 44px; line-height: 47px; }
  .section { padding-block: 56px; }
  .chamber-outer { padding: 24px; }

  .hero { padding: 40px 0 56px; }
  .hero .wrap { flex-direction: column; gap: 40px; }
  .hero__copy { flex: none; width: 100%; align-items: center; text-align: center; }
  .hero__cta { align-items: center; }
  .proof { justify-content: center; text-align: center; }
  .report { flex: none; width: 100%; }
  .report .bars { height: 142px; }
  .lead { text-align: center; }

  .split { flex-direction: column; gap: 40px; align-items: stretch; }
  .split__copy { align-items: center; text-align: center; }
  .split__copy .rows, .split__copy .checks { width: 100%; text-align: left; }
  .body-l { text-align: center; }

  .chamber--dark { padding: 56px 32px; gap: 32px; }
  .chamber__head { align-items: center; text-align: center; }
  .chart .bars { gap: 14px; }
  .chart .bar-col { max-width: none; }
  .legend { justify-content: center; text-align: left; }

  .stack-48 { gap: 32px; }
  .stack-48 > .h2 { text-align: center; }
  .cards { grid-template-columns: 1fr; gap: 16px; }
  .card { flex-direction: row; align-items: center; gap: 24px; padding: 16px 16px 16px 16px; }
  .card__img { width: 220px; flex: none; aspect-ratio: 220 / 165; }
  .card__text { padding: 12px 12px 12px 0; }
  .steps { gap: 24px; }
  .step { align-items: center; text-align: center; }

  .checks { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

  .chamber--lav { padding: 56px 32px; }

  .form-hero { padding: 40px 0 56px; }
  .form-hero .wrap { flex-direction: column; align-items: stretch; gap: 40px; }
  .form-hero__copy { flex: none; align-items: center; text-align: center; }
  .form-card { padding: 32px; }
  .after { padding: 56px 0; }
  .after .stack > .h2 { text-align: center; }
  .thanks { padding: 56px 0 80px; }

  .policy .wrap { flex-direction: column; gap: 32px; }
  .toc { display: none; }
  .policy-title { padding: 40px 0 16px; }
  .policy { padding: 24px 0 64px; }

  /* Footer: logo, then columns. Chips and legal text are dropped as in the design. */
  .site-footer { padding: 48px 0; }
  .site-footer .wrap { gap: 40px; }
  .footer__legal { order: 1; }
  .footer__legal p { display: none; }
  .footer__row { order: 2; padding-right: 0; }
  .footer__cluster { display: none; }
  .footer__cols { gap: 40px; }
}

@media (max-width: 767px) {
  .nav__link { display: none; }
  .steps { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr; }
  .card { flex-direction: column; align-items: stretch; gap: 20px; padding: 16px 16px 28px; }
  .card__img { width: 100%; aspect-ratio: 272 / 203; }
  .card__text { padding: 12px; text-align: center; }
}

@media (max-width: 560px) {
  :root { --pad: 16px; --hs: 0.93; }
  .h1 { font-size: 44px; line-height: 46px; }
  .h2 { font-size: 36px; line-height: 39px; }
  .lead { font-size: 18px; line-height: 27px; }
  .body-l { font-size: 16px; line-height: 25px; }
  .section { padding-block: 40px; }
  .chamber-outer { padding: 24px 12px; }

  .logo__mark { width: 23px; height: 23px; }
  .logo__word { font-size: 21.6px; line-height: 26px; }
  .site-header .wrap { padding-block: 16px; }
  .btn--sm { padding: 8px 16px; font-size: 16px; line-height: 20px; }
  .btn__long { display: none; }

  .hero { padding: 28px 0 40px; }
  .hero .wrap, .hero__copy { gap: 28px; }
  .report { padding: 32px 16px; }
  .report__title { font-size: 30px; line-height: 35px; }
  .stat__value { font-size: 18px; line-height: 22px; }
  .report .bars, .chart .bars { gap: 4px; }
  .chart .bars { height: 302px; gap: 10px; }
  .alert { align-items: flex-start; }
  .alert .dot { margin-top: 4px; }

  .split { gap: 28px; }
  .row-item__text { font-size: 18px; line-height: 25px; }
  .links-card { padding: 24px 24px 16px; }
  .link-row__info { flex-direction: column; align-items: flex-start; gap: 4px; }
  .link-row { gap: 12px; }
  .link-row__name { flex: none; }

  .chamber--dark { padding: 40px 20px; gap: 28px; }
  .chamber--lav { padding: 40px 20px; }
  .stack-48 { gap: 28px; }
  .cards { gap: 24px; }
  .card__text h3 { font-size: 26px; }
  .step h3 { font-size: 26px; }
  .step { padding: 32px 16px; }
  .step__num { font-size: 16px; }
  .check { font-size: 18px; line-height: 25px; }
  .gate { padding: 32px 16px; }

  .form-card { padding: 24px 20px; }
  .thanks__img { width: 308px; }
  .after__item { padding: 24px 20px; }

  .site-footer { padding: 40px 0; }
  .site-footer .wrap { gap: 28px; }
  .footer__cols { gap: 28px; }
  .footer__col:nth-child(3) { display: none; }
  .footer__col a, .footer__col span { font-size: 16px; line-height: 19px; }
  .only-mobile { display: inline; }
}

@media (min-width: 561px) { .btn__short { display: none; } }
@media (max-width: 560px) { .btn__short { display: inline; } }
