:root {
  --background: hsl(220 15% 5%);
  --foreground: hsl(0 0% 95%);
  --card: hsl(220 15% 8%);
  --muted: hsl(220 10% 55%);
  --border: hsl(220 10% 18%);
  --primary: hsl(212 98% 44%);
  --primary-dim: hsl(205 95% 38%);
  --surface: hsl(220 15% 10%);
  --surface-hover: hsl(220 15% 14%);
  /* Slightly lighter strip for the nav bar — helps wordmarks / dark logos read clearly */
  --header-surface: hsl(220 14% 14%);
  --header-surface-scrolled: hsl(220 14% 12%);
  --header-border: hsl(220 11% 26%);
  /* Lift dark logo marks off the nav bar */
  --logo-plate-top: hsl(220 16% 28%);
  --logo-plate-bottom: hsl(220 15% 20%);
  --logo-plate-border: hsl(220 12% 42%);
  --radius: 0.75rem;
  --gradient-accent: linear-gradient(135deg, hsl(212 98% 44%), hsl(205 95% 38%));
  --font: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in hsl, var(--header-surface) 94%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--header-border);
  transition: background 0.2s, box-shadow 0.2s;
}

.site-header.is-scrolled {
  background: color-mix(in hsl, var(--header-surface-scrolled) 96%, transparent);
  box-shadow: 0 8px 32px hsl(0 0% 0% / 0.35), inset 0 1px 0 hsl(220 15% 28% / 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.25rem;
  height: auto;
  padding-block: 0.28rem;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

/* Brighter pocket behind the mark so navy art + word “Shipping” don’t disappear into the bar */
.site-header .logo {
  width: fit-content;
  max-width: 100%;
  /* Tight to the art: no vertical padding (space was mostly PNG + tiny CSS) */
  padding: 0 0.35rem;
  border-radius: calc(var(--radius) + 1px);
  background: linear-gradient(180deg, var(--logo-plate-top), var(--logo-plate-bottom));
  border: 1px solid color-mix(in hsl, var(--logo-plate-border) 85%, hsl(220 15% 5%));
  box-shadow:
    0 1px 0 hsl(0 0% 100% / 0.07),
    inset 0 1px 0 hsl(0 0% 100% / 0.05),
    0 4px 14px hsl(0 0% 0% / 0.35);
  line-height: 0;
  align-items: center;
}

.site-header .logo img {
  display: block;
  height: clamp(2.15rem, 5.75vw, 2.9rem);
  width: auto;
  max-width: min(22rem, 86vw);
  object-fit: contain;
  margin: 0;
  /* Pop the dark navy art without blowing out the brighter “Empire” blues */
  filter: brightness(1.09) contrast(1.14) saturate(1.06);
}

@media (min-width: 920px) {
  .site-header .logo img {
    height: clamp(2.45rem, 3.15vw, 3.35rem);
    max-width: min(25rem, 34vw);
  }

  .header-inner {
    min-height: 4.65rem;
  }
}

.footer .logo--footer {
  margin-bottom: 0.75rem;
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
}

.footer .logo--footer img {
  display: block;
  width: auto;
  max-width: min(17rem, 100%);
  height: auto;
  max-height: clamp(2rem, 3.5vw, 2.65rem);
  object-fit: contain;
  object-position: left center;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.9rem;
  color: hsl(0 0% 80%);
}

@media (min-width: 920px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-desktop a:hover {
  color: var(--primary);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--foreground);
  cursor: pointer;
}

@media (min-width: 920px) {
  .menu-toggle {
    display: none;
  }
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0 1.5rem 1rem;
  border-bottom: 1px solid var(--header-border);
  background: color-mix(in hsl, var(--header-surface) 97%, hsl(220 15% 5%));
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a,
.mobile-nav button {
  padding: 0.65rem 0;
  font-size: 0.95rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.925rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, opacity 0.2s;
}

.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 0 24px hsl(212 98% 44% / 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 36px hsl(212 98% 44% / 0.35);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--foreground);
}

.btn-ghost:hover {
  border-color: hsl(var(--primary) / 0.45);
  background: var(--surface-hover);
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(4rem, 12vw, 7rem) 0 clamp(4rem, 10vw, 6rem);
  overflow: hidden;
}

.hero-glow {
  pointer-events: none;
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 30% 20%, hsl(212 98% 44% / 0.14), transparent 45%),
    radial-gradient(circle at 70% 60%, hsl(205 95% 38% / 0.09), transparent 40%);
}

.hero-intro {
  max-width: 42rem;
}

@media (min-width: 920px) {
  .hero-intro {
    max-width: 46rem;
  }
}

.hero-intro .hero-lede {
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.learn-model-stack {
  margin-top: clamp(3rem, 8vw, 4.5rem);
  padding-top: clamp(2.75rem, 7vw, 4rem);
  border-top: 1px solid var(--border);
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 36rem;
  margin-bottom: 1.5rem;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.pill {
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: hsl(220 10% 75%);
}

/* Hero bounce-in runs via Web Animations API (app.js); keep readable fallback when JS off */
.hero-intro .hero-enter {
  opacity: 1;
  transform: none;
}

.page-js .hero-intro .hero-enter {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .page-js .hero-intro .hero-enter {
    opacity: 1;
    transform: none;
  }
}

/* Step 01 hero video — portrait-friendly frame (no side pillarboxing) */
.hero-model-card .hero-video-wrap {
  margin-top: 0;
}

.hero-video-wrap {
  width: min(26.5rem, 100%);
  margin-inline: auto;
  aspect-ratio: 9 / 16;
  max-height: min(78vh, 720px);
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
  border: 1px solid hsl(220 10% 22%);
  background: #000;
}

.hero-video-wrap video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

@media (min-width: 920px) {
  .hero-video-wrap {
    width: min(28rem, 100%);
    max-height: min(82vh, 760px);
  }
}

/* Cards */
.glass-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--card) 96%, hsl(220 15% 5%));
  padding: 1.5rem;
  backdrop-filter: blur(6px);
  transition: border-color 0.25s, background 0.25s;
}

.glass-card:hover {
  border-color: hsl(212 98% 44% / 0.35);
  background: var(--surface-hover);
}

.accent-glow {
  box-shadow: 0 0 40px -12px hsl(212 98% 44% / 0.35);
}

/* Sections */
section {
  padding: clamp(3.5rem, 8vw, 5rem) 0;
  border-top: 1px solid var(--border);
}

.section-head {
  max-width: 46rem;
  margin-bottom: 2.25rem;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.8vw, 2.65rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.section-sub {
  margin: 0;
  font-size: 1.1rem;
  color: var(--muted);
}

/* Forms */
.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(0 0% 82%);
}

.field input,
.field textarea {
  padding: 0.75rem 0.95rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--foreground);
  font: inherit;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: hsl(212 98% 44% / 0.6);
  box-shadow: 0 0 0 3px hsl(212 98% 44% / 0.18);
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.check input {
  margin-top: 0.2rem;
  accent-color: var(--primary);
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

table.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  font-size: 0.925rem;
}

table.compare th,
table.compare td {
  padding: 0.95rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

table.compare thead th {
  background: var(--surface);
  font-weight: 700;
}

table.compare tbody tr:hover td {
  background: hsl(220 15% 8% / 0.65);
}

table.compare .tick {
  color: var(--primary);
  font-weight: 700;
}

/* Grids */
.grid-2 {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid-3 {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid-4 {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Testimonials */
.quote-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.quote-text {
  flex: 1;
  margin: 0 0 1rem;
  color: hsl(220 10% 82%);
}

.quote-meta {
  font-size: 0.85rem;
  color: var(--muted);
}

.stars {
  color: hsl(43 96% 56%);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.profit-proof-title {
  margin: clamp(2.75rem, 7vw, 4rem) 0 0.65rem;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.profit-proof-lede {
  margin-bottom: 1.35rem;
}

.profit-proof-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .profit-proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .profit-proof-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.profit-proof-card {
  margin: 0;
  padding: 0.55rem;
}

.profit-proof-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--radius) - 6px);
}

.profit-proof-grid .profit-proof-card:nth-child(1) {
  --reveal-delay: 0ms;
}
.profit-proof-grid .profit-proof-card:nth-child(2) {
  --reveal-delay: 55ms;
}
.profit-proof-grid .profit-proof-card:nth-child(3) {
  --reveal-delay: 110ms;
}
.profit-proof-grid .profit-proof-card:nth-child(4) {
  --reveal-delay: 165ms;
}
.profit-proof-grid .profit-proof-card:nth-child(5) {
  --reveal-delay: 220ms;
}
.profit-proof-grid .profit-proof-card:nth-child(6) {
  --reveal-delay: 275ms;
}
.profit-proof-grid .profit-proof-card:nth-child(7) {
  --reveal-delay: 330ms;
}
.profit-proof-grid .profit-proof-card:nth-child(8) {
  --reveal-delay: 385ms;
}
.profit-proof-grid .profit-proof-card:nth-child(9) {
  --reveal-delay: 440ms;
}
.profit-proof-grid .profit-proof-card:nth-child(10) {
  --reveal-delay: 495ms;
}
.profit-proof-grid .profit-proof-card:nth-child(11) {
  --reveal-delay: 550ms;
}
.profit-proof-grid .profit-proof-card:nth-child(12) {
  --reveal-delay: 605ms;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translate3d(0, 28px, 0) scale(0.985);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-on-scroll.is-revealed {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) scale(1) !important;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Founder / portraits */
.avatar {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  border: 2px solid hsl(212 98% 44% / 0.45);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.25rem;
  background: var(--gradient-accent);
  color: #fff;
  flex-shrink: 0;
}

.founder-photo {
  flex-shrink: 0;
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 50%;
  border: 2px solid hsl(212 98% 44% / 0.45);
  overflow: hidden;
  background: var(--surface);
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.team-photo {
  width: 4.75rem;
  height: 4.75rem;
  border-radius: 50%;
  border: 2px solid hsl(212 98% 44% / 0.38);
  overflow: hidden;
  background: var(--surface);
  flex-shrink: 0;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

@media (min-width: 640px) {
  .founder-photo {
    width: 8.5rem;
    height: 8.5rem;
  }

  .team-photo {
    width: 5.25rem;
    height: 5.25rem;
  }
}

.portrait-row {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
}

@media (max-width: 640px) {
  .portrait-row {
    flex-direction: column;
  }
}

/* Steps */
.steps {
  counter-reset: step;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .steps-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-card .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: hsl(212 98% 44% / 0.15);
  color: var(--primary);
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

/* Journey */
.journey-panels {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .journey-panels {
    grid-template-columns: 1fr 1.2fr;
  }
}

.journey-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.journey-item {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 0.5rem;
  cursor: pointer;
  background: var(--surface);
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
}

.journey-item.is-active {
  border-color: hsl(212 98% 44% / 0.5);
  box-shadow: 0 0 20px hsl(212 98% 44% / 0.12);
}

.journey-detail {
  min-height: 12rem;
  padding: 1.35rem;
}

.journey-detail h3 {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
}

.journey-detail p {
  margin: 0;
  color: var(--muted);
}

/* FAQ */
details.faq {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  margin-bottom: 0.65rem;
  padding: 0;
}

details.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.1rem;
  font-weight: 600;
}

details.faq summary::-webkit-details-marker {
  display: none;
}

details.faq[open] summary {
  border-bottom: 1px solid var(--border);
}

details.faq .faq-body {
  padding: 0.75rem 1.1rem 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Split compare blocks */
.dual {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .dual {
    grid-template-columns: 1fr 1fr;
  }
}

.dual h4 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}

.dual ul {
  padding-left: 1.25rem;
  margin: 0;
  color: hsl(220 10% 78%);
}

.dual li + li {
  margin-top: 0.4rem;
}

.highlight-bar {
  text-align: center;
  padding: 1rem;
  margin: 1.5rem 0;
  border-radius: var(--radius);
  border: 1px solid hsl(212 98% 44% / 0.35);
  background: hsl(212 98% 44% / 0.06);
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 860px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat {
  text-align: center;
  padding: 1.35rem;
}

.stat .value {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat .label {
  font-size: 0.875rem;
  color: var(--muted);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  background: hsl(220 18% 4%);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.2fr repeat(3, 1fr);
  }
}

.footer h4 {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer a {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer a:hover {
  color: var(--primary);
}

.footer li + li {
  margin-top: 0.45rem;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
}

.disclaimer-section {
  font-size: 0.9rem;
  color: hsl(220 10% 70%);
}

.disclaimer-section p + p {
  margin-top: 0.75rem;
}

/* Calendly — Calendly’s UI needs ~720–960px width so the month grid isn’t cramped */
.cal-embed-shell {
  width: 100%;
  max-width: min(960px, 100%);
  margin-inline: auto;
}

.cal-wrap {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--card);
}

.cal-wrap iframe {
  display: block;
  width: 100%;
  min-height: 640px;
  height: min(920px, calc(100vh - 9.5rem));
  border: none;
}

@media (max-width: 480px) {
  .cal-wrap iframe {
    min-height: 560px;
    height: min(880px, calc(100vh - 10rem));
  }
}

.notice-inline {
  font-size: 0.825rem;
  color: hsl(212 96% 70%);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px dashed hsl(212 98% 44% / 0.35);
  background: hsl(212 98% 44% / 0.06);
  margin-bottom: 1rem;
}
