@font-face {
  font-family: "Geist Pixel Circle";
  src: url("/fonts/GeistPixel-Circle.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000000;
  --text: #ffffff;
  --muted: #8e8e8e;
  --nav-text: #2e2e2e;
  --pill-dark: #28282a;
  --sign-in-text: #c8c8c8;
  --nav-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  --trust-bg: #28282a;
  --trust-border: rgba(255, 255, 255, 0.4);
  --trust-text: #c4c2c3;
  --font-sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-display: "BubbledotICG-FinePos", "Geist Pixel Circle", monospace;
  --trust-size: clamp(36px, 4.5vw, 42px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  min-height: 100dvh;
}

body.is-home {
  position: relative;
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
}

body.menu-open,
body.is-home.menu-open {
  overflow: hidden !important;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, a, .cta {
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
p { margin: 0 0 1rem; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  color: #000;
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* --- Background video --- */
.bg {
  position: absolute;
  inset: 0;
  background: #000;
  overflow: hidden;
  z-index: 0;
}
.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
}
.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.28);
  pointer-events: none;
}

.page {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100vh;
  height: 100dvh;
  padding:
    max(16px, env(safe-area-inset-top))
    max(14px, env(safe-area-inset-right))
    max(16px, env(safe-area-inset-bottom))
    max(14px, env(safe-area-inset-left));
  overflow: hidden;
}

/* --- Animations --- */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes reveal {
  from { opacity: 0; transform: translateY(22px) scale(0.98); filter: blur(6px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
@keyframes revealPulse {
  from { opacity: 0; transform: translateY(22px) scale(0.98); filter: blur(6px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
@keyframes headlineFade {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes overlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes menuIn {
  from { opacity: 0; transform: translateY(-12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes linkIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.anim {
  opacity: 0;
  transform: translateY(22px) scale(0.98);
  filter: blur(6px);
  animation: reveal 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0s);
}

/* --- Header --- */
.site-header {
  position: relative;
  z-index: 50;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2.4vw, 28px);
  width: 100%;
  max-width: 920px;
  flex-shrink: 0;
  animation: slideDown 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.logo-btn {
  display: grid;
  place-items: center;
  width: clamp(40px, 4.4vw, 46px);
  height: clamp(40px, 4.4vw, 46px);
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--nav-shadow);
  flex-shrink: 0;
  overflow: hidden;
  transition: transform 0.25s ease;
}
.logo-btn img {
  width: 72%;
  height: 72%;
  object-fit: contain;
}

.nav-pill {
  display: none;
  align-items: center;
  justify-content: space-around;
  height: clamp(44px, 5.2vw, 48px);
  max-width: 620px;
  min-width: 0;
  flex: 1;
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--nav-shadow);
}
.nav-pill a {
  position: relative;
  font-weight: 500;
  font-size: clamp(13px, 1.4vw, 15px);
  letter-spacing: -0.01em;
  color: var(--nav-text);
  opacity: 0.5;
  padding: 0.35rem 0.45rem;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}
.nav-pill a:hover { opacity: 0.75; }
.nav-pill a.is-active { opacity: 1; }
.nav-pill a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 3px;
  height: 3px;
  margin-left: -1.5px;
  border-radius: 50%;
  background: #000;
  box-shadow: -5px 0 0 #000, 5px 0 0 #000;
}

.btn-signin {
  display: none;
  align-items: center;
  justify-content: center;
  height: clamp(44px, 5.2vw, 48px);
  padding: 0 1.15rem;
  border-radius: 999px;
  background: var(--pill-dark);
  color: var(--sign-in-text);
  font-size: clamp(13px, 1.4vw, 15px);
  font-weight: 500;
  box-shadow: var(--nav-shadow);
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.btn-signin:hover {
  background: #323234;
  color: #fff;
  transform: translateY(-1px);
}

.burger {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--pill-dark);
  cursor: pointer;
  box-shadow: var(--nav-shadow);
  margin-left: auto;
  position: relative;
  z-index: 52;
  transition: background 0.25s ease;
}
.burger .bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 18px;
}
.burger .bar {
  display: block;
  width: 18px;
  height: 1.5px;
  background: #fff;
  border-radius: 99px;
  transition: transform 0.28s ease, opacity 0.2s ease, background 0.2s ease;
}
.burger.is-open {
  background: #fff;
}
.burger.is-open .bar { background: #000; }
.burger.is-open .bar-top { transform: translateY(6.5px) rotate(45deg); }
.burger.is-open .bar-mid { opacity: 0; }
.burger.is-open .bar-bot { transform: translateY(-6.5px) rotate(-45deg); }

@media (min-width: 901px) {
  .nav-pill,
  .btn-signin { display: flex; }
  .burger { display: none; }
}

/* --- Mobile menu --- */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-sheet {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  z-index: 45;
  width: min(340px, 88vw);
  height: 100%;
  height: 100dvh;
  max-height: none;
  margin: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  color: #111;
  border-radius: 24px 0 0 24px;
  padding:
    max(76px, calc(env(safe-area-inset-top, 0px) + 64px))
    max(20px, env(safe-area-inset-right, 0px))
    max(24px, env(safe-area-inset-bottom, 0px))
    22px;
  box-shadow: -18px 0 50px rgba(0, 0, 0, 0.4);
  transform: translateX(110%);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.mobile-sheet.is-open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-sheet nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.mobile-sheet a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0.7rem 0.6rem;
  font-size: 1.15rem;
  font-weight: 500;
  color: #2e2e2e;
}
.mobile-sheet a:nth-child(1) { animation-delay: 0.05s; }
.mobile-sheet a:nth-child(2) { animation-delay: 0.1s; }
.mobile-sheet a:nth-child(3) { animation-delay: 0.15s; }
.mobile-sheet a:nth-child(4) { animation-delay: 0.2s; }
.mobile-sheet a:nth-child(5) { animation-delay: 0.25s; }
.mobile-sheet a:nth-child(6) { animation-delay: 0.3s; }
.mobile-sheet a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 3px;
  height: 3px;
  margin-left: -1.5px;
  border-radius: 50%;
  background: #000;
  box-shadow: -5px 0 0 #000, 5px 0 0 #000;
}
.sheet-signin {
  margin-top: 0.65rem;
  text-align: center;
  background: var(--pill-dark);
  color: #fff !important;
  border-radius: 999px;
  font-size: 0.95rem !important;
}

/* --- Hero --- */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 900px;
  min-width: 0;
  z-index: 1;
  padding: 0.75rem 0;
}

.trust {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  margin-bottom: clamp(16px, 2.5vh, 26px);
}
.avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: var(--trust-size);
  height: var(--trust-size);
  padding: 5px;
  border-radius: 50%;
  background: var(--trust-bg);
  border: 1px solid var(--trust-border);
  transition: transform 0.35s ease;
}
.avatar + .avatar,
.trust-pill { margin-left: calc(var(--trust-size) * -0.42); }
.avatar-inner {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #fff;
}
.avatar i {
  color: #111;
  font-size: calc(var(--trust-size) * 0.34);
  line-height: 1;
}
.a1 { z-index: 1; }
.a2 { z-index: 2; }
.a3 { z-index: 4; }
.a1:hover { transform: translateY(-2px); }
.a2:hover { transform: translateY(-4px); }
.a3:hover { transform: translateY(-2px); }

.trust-pill {
  display: inline-flex;
  align-items: center;
  height: var(--trust-size);
  max-width: min(100%, 280px);
  padding: 0 0.95rem 0 calc(var(--trust-size) * 0.58);
  border-radius: 999px;
  background: var(--trust-bg);
  border: 1px solid var(--trust-border);
  color: var(--trust-text);
  font-weight: 500;
  font-size: clamp(11px, 1.4vw, 13.5px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 3;
}

.headline {
  margin: 0 0 clamp(14px, 2vh, 22px);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 5.8vw, 80px);
  letter-spacing: -0.04em;
  line-height: 1.12;
  color: #fff;
  max-width: 100%;
}
.headline .line {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  opacity: 0;
  animation: headlineFade 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.headline .l1 { animation-delay: 0.12s; }
.headline .l2 { animation-delay: 0.3s; }

.subhead {
  max-width: min(500px, 92%);
  margin: 0 auto clamp(22px, 3.2vh, 32px);
  font-size: clamp(calc(13.5px + 2pt), calc(1.55vw + 2pt), calc(16.5px + 2pt));
  color: #d0d0d0;
  opacity: 0.8;
  line-height: 1.55;
  font-weight: 400;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(11px, 1.6vh, 13px) clamp(22px, 3vw, 28px);
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-weight: 600;
  font-size: clamp(13.5px, 1.5vw, 14.5px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.15),
    0 0 22px rgba(255, 255, 255, 0.32),
    0 0 44px rgba(255, 255, 255, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation-name: revealPulse;
}

/* --- Stats --- */
.stats-bar {
  z-index: 1;
  width: 100%;
  max-width: 920px;
  flex-shrink: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  padding-top: 0.5rem;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.15rem;
}
.stat-icon {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 33px);
  color: #fff;
  line-height: 1;
}
.stat-value {
  font-variant-numeric: tabular-nums;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: #fff;
}
.stat-label {
  color: var(--muted);
  font-size: clamp(11px, 1.2vw, 12.5px);
}

.landing-tabs {
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  flex-shrink: 0;
  width: 100%;
  max-width: 720px;
  margin-top: 0.85rem;
  padding: 4px;
  border-radius: 999px;
  background: rgba(40, 40, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.landing-tabs a {
  padding: 0.45rem 0.85rem;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: clamp(12px, 1.3vw, 13.5px);
  font-weight: 500;
  color: #c4c2c3;
  transition: background 0.2s ease, color 0.2s ease;
}
@media (hover: hover) {
  .landing-tabs a:hover {
    background: #fff;
    color: #111;
  }
  .logo-btn:hover { transform: scale(1.04); }
  .cta:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.22),
      0 0 28px rgba(255, 255, 255, 0.42),
      0 0 56px rgba(255, 255, 255, 0.18);
  }
}

/* --- Inner pages --- */
body.is-inner {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding:
    max(16px, env(safe-area-inset-top))
    max(14px, env(safe-area-inset-right))
    0
    max(14px, env(safe-area-inset-left));
}
body.is-inner .site-header {
  margin-inline: auto;
  margin-bottom: 1.5rem;
}
body.is-inner main#main {
  flex: 1;
  width: min(1100px, 100%);
  margin-inline: auto;
}

.container {
  width: min(1100px, 100%);
  margin-inline: auto;
}

.page-hero {
  padding: 1.5rem 0 1.75rem;
  margin-bottom: 0.5rem;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(26px, 5vw, 52px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 0.75rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.eyebrow,
.kicker {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.7rem;
}
.muted { color: var(--muted); }

.section { padding: 2.5rem 0 3rem; }
.section-head { max-width: 640px; margin-bottom: 1.75rem; }
.section-head h2,
.section h2,
.split h2,
.callout h2,
.panel h2,
.panel h3 {
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 0.65rem;
}
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.card,
.panel,
.step,
.callout {
  padding: 1.4rem;
  border-radius: 18px;
  background: #141416;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.card h3,
.step h3 { margin: 0.75rem 0 0.4rem; font-size: 1.05rem; font-weight: 600; }
.icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--pill-dark);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.icon svg { width: 22px; height: 22px; }

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.75rem;
  align-items: start;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: #fff;
  color: #000;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.85rem;
}

.check-list { padding-left: 1.1rem; color: var(--muted); }
.callout { border-left: 3px solid #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark,
.btn-gold {
  background: #fff;
  color: #000 !important;
}
.btn-outline,
.btn-outline-light {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-sm { padding: 0.5rem 1rem; font-size: 0.84rem; }

.form-grid { display: grid; gap: 0.9rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
label { display: block; font-weight: 600; margin-bottom: 0.35rem; font-size: 0.9rem; }
input, select, textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #111;
  color: #fff;
  font: inherit;
  font-size: 16px;
  max-width: 100%;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.4);
}
textarea { min-height: 140px; resize: vertical; }
.alert { padding: 0.9rem 1rem; border-radius: 12px; margin-bottom: 1rem; }
.alert-ok { background: #12351f; border: 1px solid #2f8f6b; color: #b8e0c8; }
.alert-err { background: #3a1515; border: 1px solid #a33; color: #f3c4c4; }
.error-list { margin: 0; padding-left: 1.1rem; }

.script-price { font-size: 1.2rem; font-weight: 600; color: #fff; margin: 0.35rem 0; }
.stack-pill {
  display: inline-flex;
  margin: 0 0 0.55rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--pill-dark);
  color: var(--trust-text);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cta-wrap { padding: 0 0 3rem; }
.cta-band {
  margin: 0 0 2rem;
  padding: 1.75rem 1.6rem;
  border-radius: 22px;
  background: #141416;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.cta-band h2 { margin: 0 0 0.3rem; font-size: 1.3rem; }
.cta-band .muted { margin: 0; }

.panel-forest {
  background: #141416;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.panel-forest h2,
.panel-forest h3 { color: #fff; }
.panel a:not(.btn) {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.panel-soft { background: #141416; color: var(--text); }

.legal { max-width: 760px; padding: 1.5rem 0 3.5rem; }
.legal h2 { margin-top: 2rem; font-size: 1.2rem; }
.legal h3 { margin-top: 1.3rem; font-size: 1.05rem; color: #fff; }
.legal p, .legal li { color: #c4c2c3; }
.legal a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }

.site-footer {
  margin-top: 2rem;
  padding: 2.5rem 0 max(1.25rem, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr 0.8fr;
  gap: 1.5rem;
  width: min(1100px, 100%);
  margin-inline: auto;
}
.footer-brand { font-weight: 600; color: #fff; margin-bottom: 0.45rem; }
.site-footer h2 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 0.75rem;
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 0.3rem 0; }
.footer-links a, .site-footer a { color: var(--muted); }
.footer-links a:hover, .site-footer a:hover { color: #fff; }
.footer-bottom {
  width: min(1100px, 100%);
  margin: 2rem auto 0;
  padding: 1rem 0 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.86rem;
}
.footer-credit a,
.landing-credit a {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-credit a:hover,
.landing-credit a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.landing-credit {
  z-index: 1;
  flex-shrink: 0;
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 1024px) {
  .cards, .steps { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .site-header { justify-content: space-between; max-width: none; }
  .logo-btn {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 900px), (max-height: 740px) {
  body.is-home {
    overflow-y: auto;
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
  }
  .page {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: visible;
    padding-bottom: max(20px, env(safe-area-inset-bottom));
  }
}

@media (max-width: 720px) {
  .hero { padding: 1.25rem 0 1.5rem; }
  .stats-bar { grid-template-columns: 1fr 1fr; gap: 1.15rem 0.5rem; }
  .headline {
    font-size: clamp(24px, 9.2vw, 40px);
    letter-spacing: -0.06em;
    line-height: 1.08;
  }
  .headline .line { white-space: normal; }
  .trust {
    flex-wrap: wrap;
    row-gap: 0.55rem;
  }
  .trust-pill {
    font-size: 12px;
    max-width: 100%;
  }
  .landing-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-radius: 18px;
    max-width: 100%;
    gap: 0.2rem;
    padding: 6px;
  }
  .landing-tabs a {
    padding: 0.55rem 0.35rem;
    min-height: 44px;
    font-size: 12.5px;
  }
  .cta {
    min-height: 44px;
    width: min(100%, 280px);
  }
  .mobile-sheet a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

@media (max-width: 640px) {
  .cards, .steps, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: stretch; }
  .cta-band .btn,
  .btn { width: 100%; }
  form .btn { width: 100%; }
  .section { padding: 1.75rem 0 2.25rem; }
  .page-hero { padding: 0.75rem 0 1.25rem; }
  .card, .panel, .step, .callout { padding: 1.15rem; }
}

@media (max-width: 420px) {
  :root { --trust-size: 34px; }
  .headline {
    font-size: clamp(22px, 10vw, 32px);
    letter-spacing: -0.05em;
    line-height: 1.1;
  }
  .landing-tabs {
    grid-template-columns: repeat(2, 1fr);
  }
  .subhead { font-size: 15px; }
}

@media (max-height: 740px) and (min-width: 721px) {
  .trust { margin-bottom: 12px; }
  .headline { margin-bottom: 10px; font-size: clamp(28px, 4.6vw, 56px); }
  .subhead { margin-bottom: 16px; }
  .landing-tabs { margin-top: 0.5rem; padding: 3px; }
  .hero { padding: 0.35rem 0; }
}

@media (max-height: 700px) and (max-width: 720px) {
  .trust { margin-bottom: 10px; }
  .headline { margin-bottom: 8px; }
  .subhead { margin-bottom: 14px; }
  .landing-tabs { margin-top: 0.45rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .anim,
  .headline .line {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .headline { color: #fff; }
}
