@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700;800&display=swap");

/* ============================================================
   Vertical K9 — Design System
   ----------------------------------------------------------------
   Palette: Vertical K9 blue · white surfaces · subtle neutral accents
   Type:    Manrope + Inter sans-serif
   ============================================================ */

:root {
  color-scheme: light;

  /* Ink + neutrals */
  --ink: #101828;
  --ink-soft: #253044;
  --muted: #56606f;
  --muted-soft: #7a8493;
  --line: #dfe4ec;
  --line-strong: #bfc8d6;

  /* Surfaces */
  --paper: #ffffff;
  --paper-warm: #f7f8fa;
  --panel: #ffffff;
  --sky-tint: #eef2fb;

  /* Brand */
  --sky: #2b3990;
  --sky-deep: #202b73;
  --sky-soft: #cfd7ff;
  --navy: #17245f;
  --navy-deep: #0c1538;

  /* Accent */
  --accent: #6674d8;
  --accent-deep: #2b3990;
  --accent-soft: #eef3ff;
  --field: #3f563c;
  --brass: #a36f2b;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06);
  --shadow-md: 0 10px 30px -24px rgba(16, 24, 40, 0.34);
  --shadow-lg: 0 18px 48px -32px rgba(16, 24, 40, 0.44);
  --shadow-accent: 0 14px 32px -18px rgba(43, 57, 144, 0.6);

  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 8px;
  --radius-pill: 999px;

  --container: 1180px;
  --header-height: 68px;
  --promo-height: 34px;
  --header-stack: calc(var(--header-height) + var(--promo-height));

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ============================================================
   Reset / base
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-stack) + 1rem);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

p,
h1,
h2,
h3,
h4,
figure,
ul,
ol {
  margin: 0;
}

ul {
  padding-left: 1.1rem;
}

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0;
  color: var(--ink);
}

::selection {
  color: #fff;
  background: var(--sky);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1000;
  padding: 0.7rem 1rem;
  color: #fff;
  background: var(--navy);
  border-radius: var(--radius-sm);
  transform: translateY(-150%);
  transition: transform 200ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.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;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto;
}

/* ============================================================
   Header — single sticky stack: promo strip + nav
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(207, 214, 227, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
}

.site-header::before {
  content: "Free in-person evaluation · Pay only after training is complete";
  display: grid;
  height: var(--promo-height);
  place-items: center;
  padding-inline: 1rem;
  color: #fff;
  background: var(--navy-deep);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-align: center;
}

.site-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  height: var(--header-height);
  padding: 0 max(1rem, calc((100vw - var(--container)) / 2));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  color: var(--sky);
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 79px;
  height: 53px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.45rem 0.95rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  transition: color 160ms var(--ease);
}

.site-nav a:hover {
  color: var(--sky-deep);
}

.site-nav a[aria-current="page"] {
  color: var(--sky-deep);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 160ms var(--ease);
}

.nav-toggle:hover {
  border-color: var(--sky);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  border-radius: 999px;
}

/* ============================================================
   Eyebrow / micro-label
   ============================================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  color: var(--sky-deep);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow,
.cta-band .eyebrow {
  color: #dbe3ff;
}

/* ============================================================
   Buttons
   ============================================================ */
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 50px;
  padding: 0.85rem 1.4rem;
  color: var(--ink);
  font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.005em;
  text-align: center;
  text-decoration: none;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition:
    transform 200ms var(--ease),
    background-color 200ms var(--ease),
    border-color 200ms var(--ease),
    box-shadow 200ms var(--ease),
    color 200ms var(--ease);
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

/* Primary */
.button-primary {
  color: #fff;
  background: var(--navy);
  box-shadow: var(--shadow-accent);
}

.button-primary:hover {
  background: var(--sky-deep);
  box-shadow: 0 18px 44px -16px rgba(43, 57, 144, 0.7);
}

.hero .button-primary,
.page-hero .button-primary,
.cta-band .button-primary {
  color: var(--navy-deep);
  background: #fff;
  box-shadow: 0 18px 44px -20px rgba(0, 0, 0, 0.55);
}

.hero .button-primary:hover,
.page-hero .button-primary:hover,
.cta-band .button-primary:hover {
  color: #fff;
  background: var(--brass);
}

/* Secondary — outlined, used on dark/photo backgrounds */
.button-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.6);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #fff;
}

/* Small — inline with cards */
.button-small {
  min-height: 42px;
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
  color: #fff;
  background: var(--navy);
}

.button-small:hover {
  background: var(--sky-deep);
}

/* ============================================================
   Hero (home only)
   ============================================================ */
.hero {
  position: relative;
  display: grid;
  min-height: min(650px, calc(84svh - var(--header-stack)));
  overflow: hidden;
  color: #fff;
  background: var(--navy-deep);
  isolation: isolate;
}

.hero-media,
.hero-media::after {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("/public/img/hero-training.webp");
  background-position: center 75%;
  background-size: cover;
  z-index: 0;
}

.hero-media::after {
  content: "";
  background:
    radial-gradient(120% 80% at 0% 50%, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.32) 45%, rgba(0, 0, 0, 0.04) 80%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.02) 60%);
}

/* Subtle film grain over the dark hero */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.045 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
  opacity: 0.6;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto;
  padding-block: 4.75rem 3.75rem;
}

.hero-content h1 {
  max-width: 820px;
  margin-bottom: 1.1rem;
  color: #fff;
  font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 4.9rem;
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: 0;
}

.hero-content h1 em {
  color: #dbe3ff;
  font-style: normal;
  font-weight: 800;
}

.hero-content > p:not(.eyebrow) {
  max-width: 620px;
  margin-bottom: 1.85rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.16rem;
  line-height: 1.55;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  max-width: 760px;
  margin-top: 2rem;
  padding: 0;
  list-style: none;
}

.hero-proof li {
  padding-right: 0.5rem;
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.35;
}

.hero-proof span {
  margin-top: 0.15rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  line-height: 1.35;
}

/* Decorative coordinate tag — signature element */
.hero-coords {
  position: absolute;
  right: max(1rem, calc((100vw - var(--container)) / 2));
  bottom: 2.2rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.9rem;
  color: rgba(255, 255, 255, 0.78);
  font-family: ui-monospace, "JetBrains Mono", "SF Mono", Menlo, monospace;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
}

.hero-coords::before {
  content: "";
  width: 7px;
  height: 7px;
  background: #dbe3ff;
  border-radius: 999px;
  box-shadow:
    0 0 0 3px rgba(219, 227, 255, 0.2),
    0 0 16px rgba(219, 227, 255, 0.35);
}

/* ============================================================
   Sections
   ============================================================ */
.section {
  padding-block: clamp(4rem, 7vw, 6rem);
}

.section-tight {
  padding-block: clamp(3rem, 5vw, 4.25rem);
}

.section-muted {
  background: var(--paper-warm);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.split-start {
  align-items: start;
}

.split h1,
.split h2,
.section-heading h2,
.cta-content h2 {
  font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 2.55rem;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0;
}

.cta-content h2 {
  color: #fff;
}

.split > p,
.prose p,
.section-heading p,
.cta-content p,
.program-card p,
.feature-grid p,
.price-card li,
.contact-panel p,
.privacy-note,
.fine-print {
  color: var(--muted);
}

.prose > * + * {
  margin-top: 1rem;
}

.prose h2 {
  margin-top: 2.25rem;
  margin-bottom: 0.6rem;
  font-size: 1.55rem;
  line-height: 1.3;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose ul {
  margin-top: 0.5rem;
  padding-left: 1.2rem;
}

.prose ul li {
  margin-bottom: 0.35rem;
}

.prose a:not(.button):not(.text-link) {
  color: var(--sky-deep);
  font-weight: 600;
  text-underline-offset: 0.2rem;
}

.narrow {
  max-width: 760px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 2.25rem;
}

/* ============================================================
   Grids
   ============================================================ */
.card-grid,
.pricing-grid,
.feature-grid,
.quote-grid,
.process-grid,
.metric-grid {
  display: grid;
  gap: 1.1rem;
}

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

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

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

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

.process-grid {
  position: relative;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

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

/* ============================================================
   Cards
   ============================================================ */
.program-card,
.price-card,
.feature-grid > *,
blockquote,
.contact-panel,
.contact-form,
.image-panel,
.process-card,
.metric-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition:
    transform 220ms var(--ease),
    box-shadow 220ms var(--ease),
    border-color 220ms var(--ease);
}

.program-card,
.price-card,
.contact-panel,
.contact-form,
.image-panel {
  box-shadow: none;
}

.program-card:hover,
.price-card:hover {
  transform: translateY(-2px);
  border-color: rgba(43, 57, 144, 0.38);
  box-shadow: var(--shadow-md);
}

.program-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
}

.program-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition:
    filter 220ms var(--ease),
    transform 600ms var(--ease);
}

.program-card:hover img {
  filter: saturate(1.08) contrast(1.02);
  transform: scale(1.015);
}

.program-card > div,
.price-card,
.feature-grid > *,
blockquote,
.contact-panel,
.contact-form,
.process-card,
.metric-card {
  padding: 1.5rem;
}

.program-card h2,
.program-card h3,
.price-card h2,
.feature-grid h2,
.feature-grid h3,
.process-card h3 {
  margin-bottom: 0.55rem;
  font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
}

.program-card p {
  margin-bottom: 1.1rem;
}

.program-meta {
  margin-bottom: 0.6rem;
  color: var(--brass);
  font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

/* Editorial text link */
.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--sky-deep);
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition: color 160ms var(--ease);
}

.text-link:hover {
  color: var(--navy);
}

/* Feature grid items — flat with accent rule */
.feature-grid > * {
  position: relative;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.feature-grid > * > *:first-child {
  margin-top: 0;
}

.feature-grid h2,
.feature-grid h3 {
  font-size: 1.18rem;
}

/* ============================================================
   Process — connected training path
   ============================================================ */
.process-card {
  position: relative;
  min-height: 100%;
  padding: 5.1rem 1.5rem 1.6rem;
  background: transparent;
  border-color: transparent;
  border-radius: 0;
  box-shadow: none;
}

.process-card::before {
  content: attr(data-step);
  position: absolute;
  top: 1.35rem;
  left: 1.5rem;
  display: grid;
  width: 3.1rem;
  height: 3.1rem;
  place-items: center;
  color: #fff;
  background: var(--navy);
  border: 5px solid var(--paper-warm);
  border-radius: 50%;
  font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 10px 24px -14px rgba(43, 57, 144, 0.85);
}

.process-card::after {
  display: none;
}

.process-card h3 {
  margin-bottom: 0.75rem;
}

.process-card p {
  max-width: 29ch;
  color: var(--muted);
  line-height: 1.55;
}

/* ============================================================
   Metric cards (used inside dark sections)
   ============================================================ */
.metric-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 780px;
  margin-top: 1.4rem;
}

.metric-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.metric-card strong {
  display: block;
  color: #fff;
  font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.85rem;
  line-height: 1.2;
}

.metric-card span {
  display: block;
  margin-top: 0.4rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
}

/* ============================================================
   Value list (chips)
   ============================================================ */
.value-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.value-list span,
.sold-out {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0;
  color: var(--ink-soft);
  font-weight: 600;
  line-height: 1.35;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.value-list span::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  margin-right: 0.55rem;
  background: var(--brass);
  border-radius: 50%;
}

.sold-out {
  padding: 0.45rem 0.85rem;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
}

/* ============================================================
   Page hero (interior pages) + CTA band
   ============================================================ */
.page-hero {
  position: relative;
  padding-block: 4.5rem;
  color: #fff;
  background: linear-gradient(120deg, var(--navy-deep), #14205a 62%, var(--navy));
  overflow: hidden;
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.035 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.55;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.page-hero > .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin-bottom: 0;
  color: #fff;
  font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 3.1rem;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}

.page-hero h1 + p {
  margin-top: 1rem;
}

.page-hero p + .button,
.page-hero p + .button-row {
  margin-top: 1.5rem;
}

.page-hero-image {
  padding-block: 4rem;
}

.page-hero-image img,
.image-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.image-panel {
  padding: 0.5rem;
  background: var(--panel);
}

.image-panel img {
  box-shadow: none;
}

/* CTA band */
.cta-band {
  position: relative;
  padding-block: 4.75rem;
  color: #fff;
  background: linear-gradient(120deg, var(--navy-deep), #14205a 60%, var(--navy));
  overflow: hidden;
  isolation: isolate;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.04 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.5;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.cta-band p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.85);
}

.cta-content h2 + p {
  margin-top: 1rem;
}

.cta-content p + .button,
.cta-content p + .button-row {
  margin-top: 1.5rem;
}

.cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* ============================================================
   Pricing cards
   ============================================================ */
.price-card {
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card-featured {
  border-color: rgba(43, 57, 144, 0.38);
  background: linear-gradient(180deg, rgba(247, 248, 250, 0.94), #fff 44%);
  box-shadow: var(--shadow-md);
}

.price-card-featured::before {
  content: "Most Popular";
  position: absolute;
  top: -10px;
  left: 1.5rem;
  padding: 0.32rem 0.85rem;
  color: #fff;
  background: var(--navy);
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: var(--shadow-accent);
}

.price-card-muted {
  opacity: 0.78;
}

.price {
  margin: 0.25rem 0 1.1rem;
  color: var(--navy);
  font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}

.check-list {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
  padding-left: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.45;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.45rem;
  left: 0;
  width: 1rem;
  height: 1rem;
  background-color: transparent;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231e4fd8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='3 8 7 12 13 4'/></svg>");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 12px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.price-card .button,
.price-card .button-small,
.price-card .sold-out {
  margin-top: auto;
}

.price-card .button + .fine-print,
.price-card .button-small + .fine-print,
.price-card .sold-out + .fine-print {
  margin-top: 1rem;
}

.was-price {
  margin-right: 0.55rem;
  color: var(--muted-soft);
  font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  text-decoration: line-through;
}

.deal-note {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: -0.6rem 0 1.1rem;
  padding: 0.3rem 0.8rem;
  color: var(--brass);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  border-radius: 0;
}

.fine-print {
  margin-top: 0.85rem;
  color: var(--muted-soft);
  font-size: 0.88rem;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 860px;
}

details {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line-strong);
  border-radius: 0;
  transition: border-color 200ms var(--ease);
}

details[open] {
  border-color: var(--sky);
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
  padding: 1rem 0;
  color: var(--ink);
  font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

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

summary::after {
  content: "+";
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--sky-deep);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  transition: transform 200ms var(--ease);
}

details[open] summary::after {
  transform: rotate(45deg);
}

details p {
  padding: 0 0 1.25rem;
  color: var(--muted);
}

/* ============================================================
   Quotes
   ============================================================ */
.quote-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

blockquote {
  margin: 0;
}

blockquote p {
  color: var(--ink-soft);
  font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.12rem;
  line-height: 1.5;
}

cite {
  display: block;
  margin-top: 1rem;
  color: var(--sky-deep);
  font-style: normal;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ============================================================
   Contact
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 1.5rem;
  align-items: start;
}

.contact-panel {
  display: grid;
  gap: 1.25rem;
  background: transparent;
  border-color: transparent;
  border-radius: 0;
}

.contact-panel h2 {
  margin-bottom: 0.3rem;
  font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

.contact-panel a {
  display: block;
  color: var(--navy);
  font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  transition: color 160ms var(--ease);
}

.contact-panel a:hover {
  color: var(--sky);
}

.contact-panel p {
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

label {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
}

input,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.85rem 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition:
    border-color 160ms var(--ease),
    background-color 160ms var(--ease),
    box-shadow 160ms var(--ease);
}

textarea {
  min-height: auto;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: var(--muted-soft);
}

input:focus,
textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--sky);
  box-shadow: 0 0 0 4px rgba(30, 79, 216, 0.15);
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 1.5rem;
  color: var(--sky-deep);
  font-weight: 600;
  line-height: 1.45;
}

.form-status[data-state="error"] {
  color: var(--navy);
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  position: relative;
  padding-block: 4rem 2.5rem;
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy-deep);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
  pointer-events: none;
}

.site-footer > * {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2.5rem;
}

.footer-brand {
  display: inline-flex;
  margin-bottom: 1rem;
  color: #fff;
}

.footer-brand .brand-logo {
  width: 92px;
  height: 62px;
  filter: brightness(0) invert(1);
}

.site-footer a.footer-brand {
  display: inline-flex;
}

.site-footer h2 {
  margin-bottom: 0.95rem;
  color: #fff;
  font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  width: fit-content;
  min-height: 30px;
  margin-top: 0.32rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.96rem;
  line-height: 1.45;
  text-decoration: none;
  transition: color 160ms var(--ease);
}

.site-footer a:hover {
  color: #fff;
}

.site-footer p {
  max-width: 320px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.96rem;
}

/* ============================================================
   Redirect page
   ============================================================ */
.redirect-page {
  display: grid;
  min-height: 100svh;
  place-content: center;
  gap: 1rem;
  width: min(720px, calc(100% - 2rem));
  margin-inline: auto;
  text-align: center;
}

/* ============================================================
   Motion preferences
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-stack) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 1rem;
    background: var(--panel);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }

  .nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 0.95rem 1rem;
    border-radius: var(--radius-sm);
  }

  .split,
  .contact-layout,
  .pricing-grid.two,
  .card-grid.three,
  .pricing-grid,
  .feature-grid,
  .process-grid,
  .metric-grid,
  .footer-grid,
  .quote-grid {
    grid-template-columns: 1fr;
  }

  .process-card::after {
    display: none;
  }

  .process-grid {
    gap: 1rem;
    padding-left: 1rem;
  }

  .process-grid::before {
    top: 1.5rem;
    bottom: 1.5rem;
    left: 1.55rem;
    right: auto;
    width: 3px;
    height: auto;
    background: linear-gradient(180deg, var(--sky), var(--sky-soft));
  }

  .process-card {
    padding: 1.35rem 1.25rem 1.35rem 4.35rem;
    border-top: 0;
  }

  .process-card::before {
    top: 1.25rem;
    left: -1rem;
  }

  .cta-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-coords {
    display: none;
  }

  .hero-content h1 {
    font-size: 3.8rem;
  }

  .hero-proof {
    max-width: 100%;
  }

  .split h1,
  .split h2,
  .section-heading h2,
  .cta-content h2,
  .page-hero h1 {
    font-size: 2.35rem;
  }
}

@media (max-width: 620px) {
  :root {
    --header-height: 60px;
    --promo-height: 30px;
  }

  body {
    font-size: 16px;
  }

  .site-header::before {
    font-size: 0.72rem;
    letter-spacing: 0;
  }

  .section {
    padding-block: 3.5rem;
  }

  .section-tight {
    padding-block: 2.75rem;
  }

  .page-hero {
    padding-block: 3rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    display: grid;
    align-content: start;
    min-height: calc(76svh - var(--header-stack));
    padding-block: 3.4rem 2.2rem;
  }

  .hero-content h1 {
    font-size: 2.65rem;
    line-height: 1.1;
  }

  .hero-content > p:not(.eyebrow) {
    font-size: 1rem;
  }

  .split h1,
  .split h2,
  .section-heading h2,
  .cta-content h2,
  .page-hero h1 {
    font-size: 2rem;
  }

  .hero-proof {
    grid-template-columns: 1fr;
    margin-top: 1.5rem;
  }

  .hero-proof li,
  .hero-proof li + li {
    padding: 0.35rem 0;
  }

  .page-hero p {
    font-size: 1rem;
  }

  .card-grid,
  .feature-grid.two {
    grid-template-columns: 1fr;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .hero-content .button-row {
    align-self: end;
    width: min(100%, 21rem);
    margin-top: 1.2rem;
  }

  .hero-content .button {
    width: 100%;
  }

  .price-card-featured::before {
    left: 1rem;
  }

  summary {
    font-size: 1rem;
  }
}
