/* ==========================================================================
   Hirable for Invictus: pitch site styles
   Brand palette lives in the :root block below. To rebrand, change these
   variables and nothing else. See README.md.
   ========================================================================== */

@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("assets/fonts/playfair-display.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  /* Brand palette */
  --navy: #0f2e4c;
  --navy-deep: #0a2138;
  --navy-soft: #1d436a;
  --teal: #12857e;
  --teal-dark: #0d6b65;
  --teal-tint: #e3f1f0;
  --paper: #faf9f6;
  --sand: #f1efe9;
  --ink: #22303e;
  --muted: #5d6b79;
  --line: #e2ded4;
  --white: #ffffff;

  /* Type */
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Playfair Display", Georgia, serif;

  --radius: 14px;
  --shadow: 0 6px 30px rgba(15, 46, 76, 0.08);
  --shadow-lg: 0 14px 50px rgba(15, 46, 76, 0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--teal); }

h1, h2 { font-family: var(--font-display); color: var(--navy); font-weight: 600; }

h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.15;
  margin-bottom: 1.4rem;
  letter-spacing: -0.01em;
}

h3 { color: var(--navy); }

/* ---------- Layout helpers ---------- */

.container {
  width: min(1120px, 100% - 3rem);
  margin-inline: auto;
}

.container-narrow { width: min(820px, 100% - 3rem); }

.section { padding: clamp(4rem, 9vh, 7rem) 0; }

.section-tint { background: var(--sand); }

.section-dark {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: rgba(255, 255, 255, 0.88);
}

.section-dark h2 { color: var(--white); }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.9rem;
}

.eyebrow-light { color: #6fc7c1; }

.prose { max-width: 62ch; margin-bottom: 1.15rem; }

.prose:last-child { margin-bottom: 0; }

.section-intro { margin-bottom: 2.6rem; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.85rem 1.9rem;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 6px 22px rgba(18, 133, 126, 0.35);
}

.btn:hover { background: var(--teal-dark); transform: translateY(-1px); }

.btn-small { padding: 0.55rem 1.25rem; font-size: 0.9rem; box-shadow: none; }

.btn-large { padding: 1.05rem 2.4rem; font-size: 1.1rem; }

/* ---------- Progress + sticky bar ---------- */

.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 60;
  background: transparent;
  pointer-events: none;
}

.progress-fill {
  height: 100%;
  width: 0;
  background: var(--teal);
  transition: width 0.1s linear;
}

.stickybar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem clamp(1rem, 4vw, 2.2rem);
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transform: translateY(-100%);
  transition: transform 0.35s ease;
}

.stickybar.show { transform: translateY(0); }

.stickybar-logo { height: 26px; width: auto; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(18, 133, 126, 0.28), transparent 65%),
    radial-gradient(900px 700px at -15% 110%, rgba(29, 67, 106, 0.7), transparent 60%),
    linear-gradient(165deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  overflow: hidden;
  padding: clamp(2rem, 5vh, 4rem) 0;
}

.hero-inner {
  width: min(1120px, 100% - 3rem);
  margin-inline: auto;
}

.hero-logos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin-bottom: clamp(3rem, 9vh, 6rem);
}

.hero-logo-hirable { height: 30px; width: auto; }

.hero-logo-divider {
  width: 1px;
  height: 26px;
  background: rgba(255, 255, 255, 0.28);
}

.hero-logo-slots {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
}

.hero-wordmark {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
  white-space: nowrap;
}

.hero-kicker {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6fc7c1;
  margin-bottom: 1.4rem;
}

.hero-title {
  font-size: clamp(2.9rem, 8.5vw, 5.6rem);
  line-height: 1.04;
  color: var(--white);
  letter-spacing: -0.015em;
  margin-bottom: 1.6rem;
}

.hero-lede {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.55;
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: clamp(2.4rem, 6vh, 4rem);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.4rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 1.6rem;
  max-width: 900px;
}

.hero-meta dt {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.3rem;
}

.hero-meta dd { font-size: 0.95rem; color: rgba(255, 255, 255, 0.92); }

.hero-meta-sub { font-size: 0.82rem; color: rgba(255, 255, 255, 0.6); }

.hero-scrollcue {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.65);
  padding: 0.5rem;
  animation: cue-drift 2.6s ease-in-out infinite;
}

@keyframes cue-drift {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 7px); }
}

/* Hero entrance */
.hero-fade {
  opacity: 0;
  transform: translateY(18px);
  animation: fade-rise 0.9s ease forwards;
  animation-delay: var(--d, 0ms);
}

@keyframes fade-rise {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Scroll reveal ---------- */

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0ms);
}

.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ---------- Statement ---------- */

.statement {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  line-height: 1.45;
  color: var(--navy);
  max-width: 34em;
  margin: 3.2rem auto 0;
  text-align: center;
  font-weight: 600;
}

/* ---------- Journey ---------- */

.journey {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  padding: clamp(1.4rem, 3.5vw, 3rem);
  padding-top: clamp(5rem, 10vw, 7.5rem);
}

.journey-loop {
  position: absolute;
  top: clamp(1rem, 2.5vw, 2rem);
  left: clamp(1.4rem, 3.5vw, 3rem);
  right: clamp(1.4rem, 3.5vw, 3rem);
  height: clamp(3.4rem, 7vw, 5rem);
  color: var(--teal);
  opacity: 0.38;
  transition: opacity 0.5s ease;
}

.journey-loop svg { width: 100%; height: 100%; overflow: visible; }

.journey-loop-label {
  position: absolute;
  top: -0.4rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  padding: 0 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  white-space: nowrap;
}

.journey.loop-active .journey-loop { opacity: 1; }

.journey.loop-active #loopPath { animation: loop-march 1.2s linear infinite; }

@keyframes loop-march {
  from { stroke-dashoffset: 32; }
  to { stroke-dashoffset: 0; }
}

.journey-track {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
  margin-bottom: 2rem;
}

/* base connector line behind the dots */
.journey-track::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--line);
}

.journey-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0 0.4rem;
  -webkit-tap-highlight-color: transparent;
}

.journey-dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--white);
  border: 2px solid var(--line);
  color: var(--muted);
  font-weight: 700;
  font-size: 1.05rem;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.journey-node-label {
  font-size: 0.82rem;
  line-height: 1.3;
  color: var(--muted);
  text-align: center;
  max-width: 11em;
  transition: color 0.3s ease;
}

.journey-node:hover .journey-dot { border-color: var(--teal); color: var(--teal); }

.journey-node.is-active .journey-dot {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
  transform: scale(1.12);
  box-shadow: 0 6px 18px rgba(18, 133, 126, 0.35);
}

.journey-node.is-active .journey-node-label { color: var(--navy); font-weight: 600; }

.journey-node.is-done .journey-dot { border-color: var(--teal); color: var(--teal); }

.journey-detail {
  background: var(--teal-tint);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  position: relative;
  min-height: 11.5rem;
}

.journey-panel { max-width: 60ch; }

.journey-panel.entering { animation: panel-in 0.45s ease; }

@keyframes panel-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.journey-stage-no {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.4rem;
}

.journey-panel h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin-bottom: 0.7rem;
}

.journey-nav {
  position: absolute;
  right: clamp(1rem, 2.5vw, 1.8rem);
  bottom: clamp(1rem, 2.5vw, 1.8rem);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.journey-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--teal);
  background: var(--white);
  color: var(--teal);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}

.journey-arrow:hover:not(:disabled) { background: var(--teal); color: var(--white); }

.journey-arrow:disabled { opacity: 0.35; cursor: default; }

.journey-return {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: none;
  background: var(--teal);
  color: var(--white);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  cursor: pointer;
  transition: background 0.25s ease;
}

.journey-return:hover { background: var(--teal-dark); }

/* Journey on small screens: horizontal snap-scroll pills */
@media (max-width: 860px) {
  .journey { padding-top: clamp(1.4rem, 3.5vw, 3rem); }

  .journey-loop {
    position: static;
    height: auto;
    display: flex;
    justify-content: center;
    margin-bottom: 1.1rem;
    opacity: 1;
  }

  .journey-loop svg { display: none; }

  .journey-loop-label {
    position: static;
    transform: none;
    background: var(--teal-tint);
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
  }

  .journey-track {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding-bottom: 0.6rem;
    margin-bottom: 1.2rem;
    scrollbar-width: none;
  }

  .journey-track::-webkit-scrollbar { display: none; }

  .journey-track::before { display: none; }

  .journey-track li { scroll-snap-align: center; flex-shrink: 0; }

  .journey-node {
    flex-direction: row;
    gap: 0.5rem;
    border: 1.5px solid var(--line);
    border-radius: 999px;
    padding: 0.45rem 1rem 0.45rem 0.5rem;
    background: var(--white);
    transition: border-color 0.3s ease, background 0.3s ease;
  }

  .journey-dot {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
    border-width: 1.5px;
  }

  .journey-node-label { max-width: none; white-space: nowrap; font-size: 0.85rem; }

  .journey-node.is-active { border-color: var(--teal); background: var(--teal-tint); }

  .journey-node.is-active .journey-dot { transform: none; box-shadow: none; }

  .journey-detail { padding-bottom: 5rem; }
}

/* ---------- Cards ---------- */

.cards-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.7rem;
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: 1.12rem;
  line-height: 1.35;
  margin-bottom: 0.7rem;
}

.card p { font-size: 0.97rem; color: var(--muted); }

.card-icon .icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--teal-tint);
  color: var(--teal);
  margin-bottom: 1.1rem;
}

/* ---------- Cost comparison ---------- */

.cost-chart {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  margin: 2.4rem 0;
}

.cost-row { margin-bottom: 1.8rem; }

.cost-row:last-of-type { margin-bottom: 0.9rem; }

.cost-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.2rem 1rem;
  margin-bottom: 0.55rem;
}

.cost-name { font-weight: 600; color: var(--white); font-size: 0.95rem; }

.cost-figure { font-weight: 700; color: rgba(255, 255, 255, 0.92); font-size: 0.95rem; }

.cost-figure em {
  font-style: normal;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
}

.cost-figure-teal { color: #5fd6cd; }

.cost-track {
  position: relative;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.cost-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--left);
  width: 0;
  border-radius: 8px;
  transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.cost-chart.animate .cost-bar { width: var(--width); }

.cost-bar-sf {
  background: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.34),
    rgba(255, 255, 255, 0.34) 6px,
    rgba(255, 255, 255, 0.22) 6px,
    rgba(255, 255, 255, 0.22) 12px
  );
  transition-delay: 0.15s;
}

.cost-bar-hirable {
  background: linear-gradient(90deg, var(--teal), #35b3aa);
  transition-delay: 0.5s;
}

.cost-caption {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: right;
}

.cost-quote {
  border-left: 3px solid var(--teal);
  padding-left: 1.4rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  max-width: 68ch;
}

/* ---------- Scope summary + tabs ---------- */

.scope-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem 2rem;
  background: var(--navy);
  border-radius: var(--radius);
  padding: 1.5rem clamp(1.4rem, 3vw, 2.2rem);
  margin-bottom: 2rem;
  color: var(--white);
}

.scope-stat { display: flex; align-items: baseline; gap: 0.8rem; flex-wrap: wrap; }

.scope-stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 700;
  color: #5fd6cd;
  line-height: 1;
}

.scope-stat-label { font-size: 1rem; color: rgba(255, 255, 255, 0.85); }

.scope-legend {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

.scope-legend > span { display: flex; align-items: center; gap: 0.6rem; }

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.28rem 0.8rem;
  white-space: nowrap;
}

.badge-live { background: var(--teal); color: var(--white); }

.badge-built { background: var(--navy); color: var(--white); border: 1px solid rgba(255, 255, 255, 0.25); }

.tab-panel .badge-built { border: none; }

.tabs-bar {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  padding-bottom: 0.7rem;
  margin-bottom: 1.4rem;
  scrollbar-width: none;
  border-bottom: 1px solid var(--line);
}

.tabs-bar::-webkit-scrollbar { display: none; }

.tab {
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--muted);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.5rem 1.15rem;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.tab:hover { border-color: var(--teal); color: var(--teal); }

.tab.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.tab-panel.entering { animation: panel-in 0.4s ease; }

.tab-panel-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 1.1rem;
}

.req-table {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.req-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.3rem;
  border-bottom: 1px solid var(--line);
}

.req-row:last-child { border-bottom: none; }

.req-row:nth-child(even) { background: var(--paper); }

.req { font-size: 0.95rem; }

.tab-panel-note {
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 68ch;
}

.callout {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: var(--teal-tint);
  border: 1px solid rgba(18, 133, 126, 0.25);
  border-radius: var(--radius);
  padding: 1.5rem clamp(1.3rem, 3vw, 1.9rem);
  margin-top: 1.4rem;
}

.callout-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--teal);
  color: var(--white);
}

.callout h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.callout p { font-size: 0.95rem; color: var(--ink); }

@media (max-width: 560px) {
  .req-row { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .callout { flex-direction: column; }
  .hero-logo-divider { display: none; }
}

/* ---------- Timeline ---------- */

.timeline {
  list-style: none;
  position: relative;
  padding-left: 0;
}

.timeline-item {
  position: relative;
  display: flex;
  gap: 1.4rem;
  padding-bottom: 2.4rem;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 0;
  width: 2px;
  background: var(--line);
}

.timeline-item:last-child::before { display: none; }

.timeline-dot {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
}

.timeline-item h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0.35rem 0 0.5rem;
}

.timeline-item p { color: var(--muted); font-size: 0.98rem; max-width: 62ch; }

/* ---------- Pricing ---------- */

.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
  align-items: stretch;
  margin-bottom: 2.2rem;
}

.price-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.1rem 1.8rem 1.8rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.price-card h3 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.1rem;
  font-family: var(--font-body);
}

.price-monthly { color: var(--muted); font-size: 0.92rem; margin-bottom: 0.9rem; }

.price-amount {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 0.2rem;
}

.price-setup {
  font-size: 0.88rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 0.95rem;
}

.price-card-featured {
  border: 2px solid var(--teal);
  box-shadow: var(--shadow-lg);
  transform: scale(1.04);
}

.price-card-featured h3 { color: var(--navy); }

.price-card-featured .price-amount { color: var(--teal); }

.price-flag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.32rem 1rem;
  white-space: nowrap;
}

.price-setup-waived { color: var(--teal); font-weight: 700; }

.pricing-support { color: var(--muted); font-size: 0.97rem; }

@media (max-width: 860px) {
  .price-card-featured { transform: none; }
  /* Recommended card first on mobile */
  .pricing { grid-template-columns: 1fr; }
  .price-card-featured { order: -1; }
}

/* ---------- Governance ---------- */

.gov-list { display: grid; gap: 1.1rem; }

.gov-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.7rem;
}

.gov-item h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }

.gov-item p { color: var(--muted); font-size: 0.97rem; }

/* ---------- Next steps + close ---------- */

.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 0.9rem;
  margin: 2.2rem 0 3rem;
}

.steps li {
  counter-increment: step;
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  color: rgba(255, 255, 255, 0.9);
}

.steps li::before {
  content: counter(step);
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: #5fd6cd;
}

.close-cta { text-align: center; padding-top: 1rem; }

.close-contact { margin-top: 1.2rem; color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; }

.close-contact a { color: #5fd6cd; }

/* ---------- Footer ---------- */

.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  padding: 2.6rem 1.5rem 3rem;
  font-size: 0.85rem;
}

.footer-logo { height: 22px; width: auto; margin: 0 auto 1.1rem; opacity: 0.8; }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .hero-fade,
  .fade-up {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

  .hero-scrollcue { animation: none; }

  .cost-bar { transition: none; width: var(--width); }

  .journey.loop-active #loopPath { animation: none; }

  .journey-panel.entering,
  .tab-panel.entering { animation: none; }
}

/* ============ EXPLORE IT LIVE + COVERAGE PAGE ============ */

.demo-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem);
  margin-top: 1.6rem;
}

.demo-url {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
}

.demo-url .btn { flex-shrink: 0; }

.demo-password {
  font-size: 0.95rem;
  color: var(--muted);
}

.demo-password code,
.demo-logins code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.1rem 0.45rem;
  color: var(--navy);
  white-space: nowrap;
}

.demo-logins { display: grid; gap: 0; border-top: 1px solid var(--line); }

.demo-login {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  padding: 0.8rem 0.2rem;
  border-bottom: 1px solid var(--line);
}

.demo-login-role { font-size: 0.95rem; font-weight: 600; color: var(--navy); }
.demo-login-note { font-size: 0.88rem; color: var(--muted); flex-basis: 100%; }

.demo-tour {
  margin-top: 1.4rem;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.55rem;
  font-size: 0.95rem;
  color: var(--ink);
}

.demo-tour li::marker { color: var(--teal); font-weight: 700; }

.demo-coverage-link { margin-top: 1.5rem; }

/* Coverage page */

.cov-header {
  background: var(--navy);
  color: var(--white);
  padding: clamp(2.5rem, 7vw, 4.5rem) 0 clamp(2rem, 5vw, 3rem);
}

.cov-header .eyebrow { color: #5fd6cd; }

.cov-header h1 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  line-height: 1.12;
  margin: 0.55rem 0 0.9rem;
}

.cov-header .prose { color: rgba(255, 255, 255, 0.85); max-width: 62ch; }

.cov-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.cov-count {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.92rem;
}

.cov-count strong { font-size: 1.15rem; }

.cov-section { padding: clamp(2.2rem, 5vw, 3.4rem) 0 0; }
.cov-section:last-of-type { padding-bottom: clamp(2.2rem, 5vw, 3.4rem); }

.cov-section h2 {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.cov-section-sub { color: var(--muted); font-size: 0.97rem; margin-bottom: 1.2rem; max-width: 70ch; }
.cov-section-sub a { color: var(--teal); font-weight: 600; }

.cov-table { margin-bottom: 1.4rem; }

.cov-row { align-items: flex-start; }

.cov-req { flex: 1 1 46%; min-width: 220px; font-size: 0.95rem; font-weight: 600; color: var(--navy); }
.cov-where { flex: 1 1 42%; min-width: 220px; font-size: 0.9rem; color: var(--muted); }
.cov-where a { color: var(--teal); font-weight: 600; }

.badge-partial { background: var(--sand); color: var(--navy); border: 1px solid var(--line); }
.badge-roadmap { background: transparent; color: var(--muted); border: 1px dashed var(--line); }

.cov-shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 1.1rem;
  margin: 0.4rem 0 0.8rem;
}

.cov-shot { margin: 0; }

.cov-shot a { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(15, 46, 76, 0.08); }

.cov-shot img { display: block; width: 100%; height: auto; }

.cov-shot figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 0.5rem; }

.cov-footer {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 2.2rem 0;
  text-align: center;
  font-size: 0.9rem;
}

.cov-footer a { color: #5fd6cd; font-weight: 600; }

/* Coverage lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(10, 26, 41, 0.88);
}

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

.lightbox-inner {
  max-width: min(1200px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.lightbox-inner img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 8rem);
  width: auto;
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.lightbox-caption {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover { background: rgba(255, 255, 255, 0.12); }

@media (prefers-reduced-motion: no-preference) {
  .lightbox.is-open .lightbox-inner { animation: lightboxIn 0.18s ease-out; }
  @keyframes lightboxIn {
    from { opacity: 0; transform: scale(0.97); }
    to { opacity: 1; transform: scale(1); }
  }
}
