:root {
  --bg: #f7f6f3;
  --surface: #ffffff;
  --ink: #151515;
  --muted: #53585c;
  --brand: #1c2c3c;
  --brand-2: #263f55;
  --accent: #71816d;
  --line: #e8e4dc;
  --soft: #f0eee8;
  --shadow: 0 18px 42px rgba(19, 28, 36, .08);
  --header-h: 72px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

html {
  scroll-padding-top: var(--header-h);
  scroll-behavior: smooth;
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(113, 129, 109, .38);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 10000;
  background: #fff;
  color: #111;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  font-weight: 800;
}

.skip:focus {
  left: 12px;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.narrow {
  width: min(920px, calc(100% - 48px));
  margin: 0 auto;
}

.site {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 24px;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(232, 228, 220, .86);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 850;
}

.primary {
  display: flex;
  align-items: center;
  gap: 17px;
}

.primary a {
  color: #28313a;
  font-size: 14px;
  font-weight: 760;
}

.primary a[aria-current="page"] {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.menu-toggle {
  display: none;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 9px 12px;
  font-weight: 850;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  padding: 13px 18px;
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(28, 44, 60, .18);
}

.btn.ghost {
  background: #fff;
  color: var(--brand);
  border-color: var(--line);
}

.btn.light {
  background: #fff;
  color: var(--brand);
}

.hero {
  width: min(1220px, calc(100% - 40px));
  margin: 22px auto 0;
}

.hero-stage {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  min-height: 620px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.hero-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 56px;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 660px;
  margin: 0;
  color: var(--brand);
  font-size: 54px;
  line-height: 1.04;
  font-weight: 850;
  text-wrap: balance;
}

.hero-lead {
  max-width: 650px;
  margin: 0;
  color: #3e454b;
  font-size: 18px;
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.proof li {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fbfaf7;
  color: #34414c;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 800;
}

.hero-media {
  position: relative;
  min-height: 100%;
  background: #d9ddd8;
}

.hero-media picture,
.hero-media img {
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: center;
}

.hero-panel {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: min(360px, calc(100% - 44px));
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  background: rgba(18, 29, 40, .78);
  color: #fff;
  padding: 16px;
  backdrop-filter: blur(12px);
}

.hero-panel strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.hero-panel p {
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: 13px;
  line-height: 1.55;
}

.section {
  padding: 78px 0;
}

.section.band {
  background: linear-gradient(180deg, #fff, #fbfaf7);
  border-block: 1px solid var(--line);
}

.section.dark {
  background: linear-gradient(180deg, #1c2c3c, #243b50);
  color: #fff;
}

.section.dark h2,
.section.dark h3,
.section.dark p,
.section.dark li {
  color: #fff;
}

.section.dark .section-sub {
  color: rgba(255, 255, 255, .82);
}

.section h2 {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 38px;
  line-height: 1.14;
  font-weight: 850;
  text-wrap: balance;
}

.section h3 {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 20px;
  line-height: 1.24;
}

.section-sub {
  max-width: 900px;
  margin: 0 0 28px;
  color: var(--muted);
}

.center {
  text-align: center;
}

.center .section-sub {
  margin-left: auto;
  margin-right: auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: 34px;
  align-items: start;
}

.prose {
  max-width: 940px;
  color: #3d4247;
}

.prose p {
  margin: 0 0 18px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(19, 28, 36, .06);
  padding: 24px;
}

.panel ul,
.card ul {
  margin: 10px 0 0 18px;
  padding: 0;
  color: #41474d;
}

.panel li,
.card li {
  margin: 0 0 7px;
}

.signal-grid,
.card-grid,
.image-grid,
.faq-grid {
  display: grid;
  gap: 14px;
}

.signal-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.image-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(19, 28, 36, .055);
  padding: 20px;
}

.card p {
  margin: 0;
  color: #43494f;
}

.card .meta {
  display: block;
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.image-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(19, 28, 36, .06);
}

.image-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.image-card .pad {
  padding: 18px;
}

.image-card p {
  margin: 0;
  color: #444a50;
}

.stat {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}

.stat strong {
  display: block;
  margin-bottom: 4px;
  color: var(--brand);
  font-size: 17px;
}

.stat span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.timeline {
  position: relative;
  padding-left: 38px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, rgba(28, 44, 60, .32), rgba(28, 44, 60, .06));
}

.step {
  position: relative;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(19, 28, 36, .05);
}

.step::before {
  content: "";
  position: absolute;
  left: -33px;
  top: 18px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff 0 34%, var(--brand) 35% 100%);
  box-shadow: 0 0 0 4px #edf0f1;
}

.step h3 {
  margin-bottom: 5px;
  font-size: 18px;
}

.step p {
  margin: 0;
  color: #444a50;
}

.editorial {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 28px;
  align-items: center;
}

.editorial-media {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.editorial-media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--brand);
  padding: 8px 13px;
  font-size: 13px;
  font-weight: 850;
}

.final-cta {
  background: var(--brand);
  color: #fff;
}

.final-cta h2,
.final-cta p {
  color: #fff;
}

.footer {
  background: #132232;
  color: #fff;
  padding: 46px 24px 96px;
}

.footer-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr .9fr .9fr;
  gap: 22px;
}

.footer h3,
.footer h4 {
  margin: 0 0 10px;
}

.footer p {
  margin: 0;
  color: rgba(255, 255, 255, .86);
  font-size: 14px;
}

.footer a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-links {
  display: grid;
  gap: 7px;
}

.copyright {
  width: min(1180px, 100%);
  margin: 22px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
}

.sticky-cta {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9000;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .25);
  padding: 14px 20px;
  font-weight: 850;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .68);
  padding: 18px;
}

.modal.is-open {
  display: flex;
}

.sheet {
  position: relative;
  width: min(560px, 94vw);
  max-height: min(88vh, 820px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 24px 54px rgba(0, 0, 0, .30);
  padding: 28px;
  animation: modalIn .18s ease-out;
}

.sheet h2 {
  margin: 0 34px 8px 0;
  color: var(--brand);
  font-size: 28px;
  line-height: 1.12;
}

.sheet p {
  margin: 0 0 16px;
  color: #53585c;
}

.close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #111;
  font-size: 22px;
  cursor: pointer;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
  color: #333d45;
  font-size: 12px;
  font-weight: 850;
}

.field.full {
  grid-column: 1 / -1;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #cbc7bd;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 13px 12px;
  font-size: 16px;
  line-height: 1.35;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(28, 44, 60, .42);
  box-shadow: 0 0 0 4px rgba(28, 44, 60, .09);
}

.field select.has-value {
  border-color: var(--accent);
  background: #fbfcfa;
  box-shadow: 0 0 0 4px rgba(113, 129, 109, .10);
  transform: translateY(-1px);
}

.field textarea {
  min-height: 112px;
  resize: vertical;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 14px 0;
  color: #4c5258;
  font-size: 12px;
  line-height: 1.45;
}

.consent input {
  width: 16px;
  height: 16px;
  padding: 0;
  margin: 2px 0 0;
  flex: 0 0 16px;
}

.error {
  border-color: #9f2d20 !important;
  box-shadow: 0 0 0 3px rgba(159, 45, 32, .12) !important;
}

.form-note {
  margin-top: 10px;
  color: #6b7075;
  font-size: 12px;
}

@keyframes modalIn {
  from {
    opacity: .55;
    transform: translateY(10px) scale(.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1120px) {
  .hero-stage {
    grid-template-columns: 1fr 1fr;
    min-height: 560px;
  }

  .hero-copy {
    padding: 42px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .signal-grid,
  .card-grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
  }

  .primary {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 20px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
  }

  .primary.active {
    display: flex;
  }

  .primary a {
    width: 100%;
    min-height: 36px;
  }

  .hero {
    width: calc(100% - 24px);
    margin-top: 12px;
  }

  .hero-stage {
    display: flex;
    flex-direction: column-reverse;
    min-height: 0;
  }

  .hero-copy {
    padding: 22px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-media {
    min-height: 0;
  }

  .hero-media img {
    aspect-ratio: 16 / 10;
    height: auto;
  }

  .hero-panel {
    position: static;
    width: auto;
    border-radius: 0;
    border-inline: 0;
    border-bottom: 0;
    background: var(--brand);
  }

  .split,
  .editorial {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 760px) {
  .container,
  .narrow {
    width: calc(100% - 36px);
  }

  .section {
    padding: 56px 0;
  }

  .section h2 {
    font-size: 30px;
  }

  .site {
    padding: 14px 18px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .signal-grid,
  .card-grid,
  .card-grid.four,
  .image-grid,
  .faq-grid {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding: 2px 0 14px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    position: relative;
  }

  .signal-grid::-webkit-scrollbar,
  .card-grid::-webkit-scrollbar,
  .image-grid::-webkit-scrollbar,
  .faq-grid::-webkit-scrollbar {
    display: none;
  }

  .signal-grid > *,
  .card-grid > *,
  .image-grid > *,
  .faq-grid > * {
    flex: 0 0 82vw;
    scroll-snap-align: center;
  }

  .swipe-wrap {
    position: relative;
  }

  .swipe-wrap::after {
    content: "Swipe";
    position: absolute;
    right: 8px;
    bottom: 2px;
    z-index: 2;
    border-radius: 999px;
    background: rgba(28, 44, 60, .92);
    color: #fff;
    padding: 5px 9px;
    font-size: 11px;
    font-weight: 850;
    pointer-events: none;
  }

  .sticky-cta {
    left: 16px;
    right: 16px;
    bottom: 16px;
    text-align: center;
  }

  .modal {
    padding: 10px 10px max(10px, env(safe-area-inset-bottom));
  }

  .sheet {
    width: 100%;
    max-height: 92vh;
    border-radius: 10px;
    padding: 22px 16px 16px;
  }

  .sheet h2 {
    font-size: 24px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .field.full {
    grid-column: auto;
  }

  #lead-form .btn {
    position: sticky;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -8px 18px rgba(255, 255, 255, .95);
  }
}

@media (max-width: 430px) {
  .hero h1 {
    font-size: 31px;
  }

  .hero-copy {
    padding: 18px;
  }

  .section h2 {
    font-size: 28px;
  }
}
