:root {
  --navy: #16283f;
  --navy-deep: #0c1828;
  --navy-mid: #1e3552;
  --paper: #f6f1e8;
  --paper-2: #fbf8f2;
  --ink: #14202e;
  --muted: #5c6b7a;
  --line: #d9d0c3;
  --green: #16a34a;
  --green-dark: #15803d;
  --orange: #e85d04;
  --orange-2: #ff7a1a;
  --white: #fff;
  --shadow: 0 18px 50px rgba(12, 24, 40, 0.18);
  --radius: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper-2);
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; }
.wrap { width: auto; max-width: 1180px; margin: 0 20px; }
@media (min-width: 1220px) {
  .wrap { margin-left: auto; margin-right: auto; width: 1180px; }
}
.skip {
  position: absolute; left: -999px; top: 0;
}
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 99; }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(12, 24, 40, 0.92);
  backdrop-filter: blur(14px);
  color: var(--paper);
  border-bottom: 1px solid rgba(246, 241, 232, 0.08);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.03em; font-size: 1.15rem; text-decoration: none; }
.logo svg { height: 40px; width: auto; display: block; }
.logo img { width: 34px; height: 34px; display: block; }
.nav-links { display: flex; gap: 22px; list-style: none; font-size: 0.92rem; }
.nav-links a { color: #d7deea; text-decoration: none; }
.nav-links a:hover { color: #fff; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--orange); color: #fff; text-decoration: none;
  border: 0; border-radius: 999px; padding: 12px 18px;
  font-weight: 700; cursor: pointer; white-space: nowrap;
}
.btn:hover { background: var(--orange-2); }
.btn-dark { background: var(--navy); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn-green { background: var(--green); }
.menu-btn {
  display: none; background: none; border: 0; color: #fff;
  width: 42px; height: 42px; padding: 10px; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.menu-btn span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; }
.nav-cta-mobile { display: none; }

/* HERO */
.hero {
  position: relative; color: #fff;
  min-height: 92vh; display: grid; align-items: center;
  overflow: hidden;
  background: var(--navy-deep);
}
.hero-grid, .flow, .panel, .lede, .phone { min-width: 0; }
.hero-bg {
  position: absolute; inset: 0;
  background: url("../img/hero-dock.jpg?v=5") center 35% / cover no-repeat;
  transform: scale(1.04);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(12,24,40,.92) 0%, rgba(12,24,40,.72) 46%, rgba(12,24,40,.28) 100%),
    linear-gradient(180deg, rgba(12,24,40,.2), rgba(12,24,40,.55));
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; padding: 72px 0 64px; }
.kicker {
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.14em; text-transform: uppercase;
  font-size: 0.72rem; color: #9cb0c7; margin-bottom: 14px;
}
.hero h1 {
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(2.2rem, 4.6vw, 4.15rem);
  line-height: 0.95; letter-spacing: -0.035em; max-width: 12ch;
}
.lede { margin: 18px 0 28px; max-width: 46ch; color: #d5deea; font-size: 1.08rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-cta .btn { white-space: normal; }
.fine { margin-top: 14px; color: #9cb0c7; font-size: 0.86rem; }

.flow {
  display: grid; gap: 12px;
}
.panel {
  background: rgba(251, 248, 242, 0.96); color: var(--ink);
  border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow);
}
.panel-top {
  display: flex; justify-content: space-between; align-items: center;
  gap: 8px; flex-wrap: wrap;
  font-family: "IBM Plex Mono", monospace; font-size: 0.72rem;
  color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.phone { display: grid; grid-template-columns: 88px 1fr; gap: 12px; align-items: center; }
.phone img { width: 88px; height: 88px; object-fit: cover; border-radius: 10px; }
.check { color: var(--green-dark); font-weight: 700; }
.rows { display: grid; gap: 6px; font-size: 0.92rem; }
.rows b { font-variant-numeric: tabular-nums; }
.invoice-card { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.invoice-card strong { font-size: 1.45rem; font-variant-numeric: tabular-nums; }
.stamp {
  border: 3px solid var(--green);
  color: var(--green-dark);
  font-family: "Archivo Black", sans-serif;
  transform: rotate(-12deg);
  padding: 4px 10px; letter-spacing: 0.12em;
  font-size: 0.85rem;
}
.countdown { color: var(--orange); font-weight: 800; font-variant-numeric: tabular-nums; }

/* STATS */
.stats { background: var(--navy); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.stat { padding: 28px 8px; text-align: center; border-right: 1px solid rgba(255,255,255,.08); }
.stat:last-child { border: 0; }
.stat b {
  display: block; font-family: "Archivo Black", sans-serif;
  font-size: clamp(1.2rem, 2.4vw, 1.8rem); letter-spacing: -0.03em;
}
.stat span { color: #9cb0c7; font-size: 0.9rem; }

/* GENERIC SECTIONS */
section { padding: 84px 0; }
.section-kicker { color: var(--orange); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.75rem; }
h2 {
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  letter-spacing: -0.03em; line-height: 1.05; margin: 8px 0 18px;
}
.muted { color: var(--muted); }

.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: 0 8px 24px rgba(22,40,63,.05);
}
.card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.num {
  font-family: "IBM Plex Mono", monospace; color: var(--orange);
  font-size: 0.8rem; margin-bottom: 10px;
}

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.feature + .feature { margin-top: 72px; }
.feature.reverse { direction: rtl; }
.feature.reverse > * { direction: ltr; }
.photo-wrap { position: relative; border-radius: 22px; overflow: hidden; min-height: 340px; }
.photo-wrap img { width: 100%; height: 100%; object-fit: cover; min-height: 340px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; list-style: none; }
.chips li {
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 12px; font-size: 0.85rem;
}

/* MATH */
.math { background: var(--navy-deep); color: #fff; }
.math-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
.calc { background: #132338; border: 1px solid #2a415c; border-radius: 20px; padding: 22px; }
label { display: block; font-size: 0.82rem; color: #9cb0c7; margin: 12px 0 6px; }
input[type="range"] { width: 100%; accent-color: var(--orange); }
.row-val { display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; }
.freed {
  margin-top: 18px; padding-top: 18px; border-top: 1px solid #2a415c;
}
.freed b {
  display: block; font-family: "Archivo Black", sans-serif;
  font-size: clamp(2rem, 4vw, 3.3rem); color: #4ade80; letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.strip {
  background:
    linear-gradient(180deg, rgba(12,24,40,.82), rgba(12,24,40,.82)),
    url("../img/corridor.jpg?v=5") center / cover no-repeat;
  color: #fff; text-align: center; padding: 90px 0;
}
.strip h2 { max-width: 18ch; margin: 0 auto 12px; }
.strip p { max-width: 46ch; margin: 0 auto; color: #d5deea; }

/* PRICING */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.price { position: relative; }
.price.featured { border: 2px solid var(--navy); transform: translateY(-6px); }
.price .amt { font-family: "Archivo Black", sans-serif; font-size: 2.4rem; letter-spacing: -0.04em; }
.price .amt span { font-size: 1rem; color: var(--muted); font-family: Inter, sans-serif; }
.price ul { margin: 16px 0 22px; padding-left: 18px; color: var(--muted); }
.badge {
  position: absolute; top: -12px; right: 16px;
  background: var(--orange); color: #fff; font-size: 0.75rem; font-weight: 800;
  padding: 4px 10px; border-radius: 999px;
}

.quote {
  display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: center;
  background: #fff; border-radius: 24px; overflow: hidden; border: 1px solid var(--line);
}
.quote img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; object-position: 50% 20%; }
.quote blockquote { padding: 28px 28px 28px 0; font-size: 1.35rem; line-height: 1.35; }
.quote figcaption { margin-top: 14px; color: var(--muted); font-size: 0.92rem; }

.logos { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.logos span {
  border: 1px dashed var(--line); border-radius: 10px; padding: 10px 14px;
  font-family: "IBM Plex Mono", monospace; font-size: 0.82rem; color: var(--muted);
}

.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 18px; margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin-top: 8px; color: var(--muted); }

.final {
  background: var(--navy); color: #fff; text-align: center;
}
.final h2 { max-width: 16ch; margin-left: auto; margin-right: auto; }

footer {
  background: var(--navy-deep); color: #9cb0c7; padding: 36px 0;
  font-size: 0.9rem;
}
.foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer a { color: #d7deea; text-decoration: none; }

/* MODAL */
.modal[hidden] { display: none; }
.modal {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(12,24,40,.72);
  display: grid; place-items: center; padding: 20px;
}
.modal-card {
  background: var(--paper-2); color: var(--ink); width: min(520px, 100%);
  border-radius: 20px; padding: 24px; position: relative;
}
.modal-card h3 { font-family: "Archivo Black", sans-serif; font-size: 1.6rem; margin-bottom: 8px; }
.modal-card input, .modal-card select {
  width: 100%; padding: 12px 12px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; margin-bottom: 10px;
}
.close {
  position: absolute; top: 10px; right: 12px; border: 0; background: none;
  font-size: 1.4rem; cursor: pointer;
}
.success { background: #ecfdf3; border: 1px solid #86efac; padding: 12px; border-radius: 12px; color: var(--green-dark); }

@media (max-width: 900px) {
  .nav { position: sticky; }
  .nav-inner { height: 64px; }
  .nav-cta-desktop { display: none; }
  .nav-cta-mobile { display: list-item; margin-top: 8px; }
  .nav-cta-mobile .btn { display: inline-flex; width: 100%; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0;
    background: var(--navy-deep); padding: 16px 24px 24px;
  }
  .nav-links.open a { padding: 8px 0; }
  .menu-btn { display: flex; }
  .lede { max-width: none; overflow-wrap: anywhere; }
  .fine { overflow-wrap: anywhere; }
  .phone { grid-template-columns: 72px 1fr; }
  .countdown { white-space: normal; }
  .hero-grid, .feature, .feature.reverse, .math-grid, .price-grid, .pain-grid, .quote {
    grid-template-columns: 1fr; direction: ltr;
  }
  .quote img { min-height: 220px; }
  .hero { min-height: auto; }
  .hero-grid { padding: 40px 0 48px; }
  section { padding: 56px 0; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
}
