/* ============================================================
   RosterHire marketing site — shared stylesheet
   Design tokens mirror the app (src/theme.ts): deep athletic
   navy + turf green, light surfaces, soft card shadows.
   No external fonts, no frameworks, no network requests.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* brand */
  --navy: #0E2A47;
  --navy-dark: #0B1B2B;
  --ink: #0B1B2B;
  --turf: #16C172;
  --turf-dark: #0FA457;
  --turf-soft: #E6F8EF;
  --navy-soft: #E8EEF5;

  /* neutrals */
  --bg: #F4F7FA;
  --card: #FFFFFF;
  --border: #E6EBF1;
  --border-strong: #D3DCE6;
  --text: #0B1B2B;
  --text-2: #566373;
  --text-3: #8A98A6;

  /* status */
  --danger: #E5484D;
  --gold: #F2B134;
  --warn: #F2994A;

  /* on-navy */
  --white-overlay: rgba(255, 255, 255, 0.16);
  --white-muted: rgba(255, 255, 255, 0.78);

  /* shape */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-pill: 999px;

  /* elevation */
  --shadow-card: 0 6px 14px rgba(11, 27, 43, 0.06);
  --shadow-lift: 0 14px 34px rgba(11, 27, 43, 0.12);
  --shadow-phone: 0 30px 80px rgba(11, 27, 43, 0.35);

  /* type */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* layout */
  --container: 1120px;
  --header-h: 68px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }

a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--turf-dark); }

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

::selection { background: var(--turf); color: var(--navy-dark); }

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

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -48px; left: 16px;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 0 0 var(--r-md) var(--r-md);
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- Type scale ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--turf-dark);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 3px;
  border-radius: 2px;
  background: var(--turf);
}
.on-navy .eyebrow { color: var(--turf); }

.display {
  font-size: clamp(2.3rem, 1.4rem + 3.4vw, 3.8rem);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.h2 {
  font-size: clamp(1.7rem, 1.25rem + 1.7vw, 2.4rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.h3 {
  font-size: 1.19rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--navy);
}

.lede {
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.2rem);
  line-height: 1.65;
  color: var(--text-2);
  max-width: 46em;
}
.on-navy .lede { color: var(--white-muted); }

.accent { color: var(--turf); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 5vw + 40px, 104px); }
.section-tight { padding-block: clamp(44px, 3vw + 28px, 64px); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 4vw, 56px); }
.section-head .h2 { margin-top: 12px; }
.section-head .lede { margin-top: 14px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lede { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  padding: 15px 26px;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--turf);
  color: var(--navy-dark);
  box-shadow: 0 6px 18px rgba(22, 193, 114, 0.35);
}
.btn-primary:hover {
  background: #13B268;
  color: var(--navy-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(22, 193, 114, 0.4);
}

.btn-quiet {
  background: transparent;
  color: var(--navy);
  border-color: var(--border-strong);
}
.btn-quiet:hover { border-color: var(--navy); color: var(--navy); transform: translateY(-1px); }

.on-navy .btn-quiet {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.on-navy .btn-quiet:hover { border-color: #fff; color: #fff; }

.btn-sm { padding: 10px 18px; font-size: 14.5px; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--turf-dark);
  text-decoration: none;
}
.arrow-link svg { transition: transform 0.15s ease; }
.arrow-link:hover svg { transform: translateX(3px); }

/* ---------- App Store badge ---------- */
.appstore-badge {
  display: inline-block;
  border-radius: 10px;
  line-height: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.appstore-badge:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(11, 27, 43, 0.35); }
.appstore-badge svg { height: 52px; width: auto; }
.appstore-badge.badge-sm svg { height: 44px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(244, 247, 250, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 18px rgba(11, 27, 43, 0.05);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-mark { width: 34px; height: 34px; border-radius: 9px; }
.brand-word {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.brand:hover .brand-word { color: var(--navy); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav > a:not(.btn) {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text-2);
  text-decoration: none;
  padding: 6px 2px;
}
.site-nav > a:not(.btn):hover { color: var(--navy); }
.site-nav > a[aria-current="page"] {
  color: var(--navy);
  box-shadow: inset 0 -2px 0 var(--turf);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  background: var(--card);
  color: var(--navy);
  cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 859px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 24px 20px;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 30px rgba(11, 27, 43, 0.1);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav > a:not(.btn) {
    padding: 13px 4px;
    font-size: 17px;
    border-bottom: 1px solid var(--border);
  }
  .site-nav > a[aria-current="page"] { box-shadow: none; color: var(--turf-dark); }
  .site-nav .btn { margin-top: 14px; }
}

/* ---------- Hero (landing) ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 480px at 82% -10%, rgba(22, 193, 114, 0.16), transparent 60%),
    radial-gradient(700px 520px at -8% 110%, rgba(255, 255, 255, 0.07), transparent 60%),
    var(--navy);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  /* faint field lines */
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 100% 96px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 96px 100%;
  mask-image: radial-gradient(85% 90% at 50% 10%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(85% 90% at 50% 10%, #000 30%, transparent 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(40px, 5vw, 72px);
  padding-block: clamp(72px, 8vw, 120px) clamp(88px, 9vw, 136px);
}

.hero h1 { color: #fff; }
.hero .lede { margin-top: 22px; }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 22px;
  font-size: 14px;
  color: var(--white-muted);
}
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note svg { color: var(--turf); flex: none; }

@media (max-width: 959px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero .lede { margin-inline: auto; }
  .hero-ctas, .hero-note { justify-content: center; }
  .hero-visual { margin-top: 8px; }
}

/* ---------- Phone mockup ---------- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone {
  position: relative;
  width: min(330px, 82vw);
  background: #05121F;
  border-radius: 52px;
  padding: 12px;
  box-shadow: var(--shadow-phone), 0 0 0 1px rgba(255, 255, 255, 0.09);
}
.phone-screen {
  position: relative;
  background: var(--bg);
  border-radius: 40px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  aspect-ratio: 10 / 20.4;
}
.phone-notch {
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 96px; height: 24px;
  background: #05121F;
  border-radius: 14px;
  z-index: 5;
}

/* mini app UI (decorative, aria-hidden) */
.app-top {
  background: var(--navy);
  color: #fff;
  padding: 44px 16px 12px;
}
.app-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.app-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.app-brand img { width: 20px; height: 20px; border-radius: 5px; }
.app-bell {
  position: relative;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  background: var(--white-overlay);
  border-radius: 999px;
}
.app-bell i {
  position: absolute;
  top: 5px; right: 6px;
  width: 7px; height: 7px;
  background: var(--turf);
  border-radius: 999px;
}
.app-search {
  margin-top: 11px;
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 11px;
  padding: 8px 11px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
}
.app-chips {
  display: flex;
  gap: 6px;
  padding: 10px 16px 4px;
}
.app-chip {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-2);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4.5px 11px;
  white-space: nowrap;
}
.app-chip.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.app-feed { padding: 8px 12px 0; display: grid; gap: 9px; }

.app-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  box-shadow: var(--shadow-card);
}
.app-card-head {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}
.app-avatar {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
}
.app-title-wrap { min-width: 0; }
.app-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}
.app-org { font-size: 11px; color: var(--text-2); font-weight: 500; margin-top: 1px; }
.app-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: var(--text-3);
  margin-top: 3px;
}
.app-meta .ok { color: var(--turf-dark); display: inline-flex; align-items: center; gap: 3px; font-weight: 600; }
.app-pills { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.app-pill {
  font-size: 9.5px;
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 8px;
  background: var(--navy-soft);
  color: var(--navy);
}
.app-pill.turf { background: var(--turf-soft); color: var(--turf-dark); }
.app-pill.red { background: #FDECEC; color: var(--danger); }
.app-pill.gold { background: #FDF3DD; color: #9A6A08; }
.app-pill.plain { background: var(--bg); color: var(--text-2); }
.app-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid var(--border);
}
.app-pay { font-size: 12.5px; font-weight: 800; color: var(--turf-dark); }
.app-when { font-size: 10px; color: var(--text-3); }

.app-card.urgent { border-color: #F6C6C8; background: linear-gradient(0deg, rgba(229, 72, 77, 0.04), rgba(229, 72, 77, 0.04)), var(--card); }

.app-tabbar {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--border);
  background: var(--card);
  padding: 9px 6px 20px;
}
.app-tab {
  display: grid;
  justify-items: center;
  gap: 3px;
  font-size: 8.5px;
  font-weight: 600;
  color: var(--text-3);
}
.app-tab svg { width: 17px; height: 17px; }
.app-tab.active { color: var(--turf-dark); }
.app-tab .dot-badge {
  position: relative;
}
.app-tab .dot-badge::after {
  content: "2";
  position: absolute;
  top: -4px; right: -8px;
  background: var(--danger);
  color: #fff;
  font-size: 7.5px;
  font-weight: 700;
  border-radius: 999px;
  padding: 1px 4px;
  line-height: 1.2;
}

/* floating chips beside phone */
.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-lift);
  padding: 9px 15px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.float-chip svg { flex: none; }
.float-hired { top: 17%; right: max(-26px, -4vw); }
.float-avail { bottom: 21%; left: max(-40px, -5vw); }
.float-chip .dot {
  width: 9px; height: 9px;
  background: var(--turf);
  border-radius: 999px;
  box-shadow: 0 0 0 3px var(--turf-soft);
}
@media (max-width: 1100px) {
  .float-hired { right: 0; }
  .float-avail { left: 0; }
}
@media (max-width: 639px) {
  .float-chip { display: none; }
}

/* ---------- Audience strip ---------- */
.audience { border-bottom: 1px solid var(--border); background: var(--card); }
.audience-inner {
  padding-block: 34px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  text-align: center;
}
.audience-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.chip {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
}

/* ---------- Two-sided cards ---------- */
.split-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}
.side-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(26px, 3vw, 38px);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.side-card .kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--turf-dark);
}
.side-card .kicker .k-icon {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--turf-soft);
  color: var(--turf-dark);
}
.side-card.navy-card .kicker { color: var(--navy); }
.side-card.navy-card .kicker .k-icon { background: var(--navy-soft); color: var(--navy); }
.side-card h3 { margin-top: 16px; font-size: 1.35rem; }
.side-card > p { margin-top: 10px; color: var(--text-2); }
.check-list { margin-top: 18px; display: grid; gap: 12px; }
.check-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 1.55;
}
.check-list li strong { color: var(--text); font-weight: 700; }
.check-list .tick {
  flex: none;
  width: 22px; height: 22px;
  margin-top: 2px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--turf-soft);
  color: var(--turf-dark);
}
.side-card .arrow-link { margin-top: 22px; }

/* ---------- Steps (landing condensed + how-it-works) ---------- */
.tracks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}
.track {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(26px, 3vw, 36px);
  box-shadow: var(--shadow-card);
}
.track h3 { font-size: 1.25rem; display: flex; align-items: center; gap: 10px; }
.steps { margin-top: 20px; display: grid; gap: 0; counter-reset: step; }
.step {
  position: relative;
  padding: 0 0 22px 46px;
  counter-increment: step;
}
.step:last-child { padding-bottom: 0; }
.step::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 30px; height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-size: 13.5px;
  font-weight: 800;
}
.step::after {
  content: "";
  position: absolute;
  left: 14.5px;
  top: 34px;
  bottom: 6px;
  width: 1.5px;
  background: var(--border-strong);
}
.step:last-child::after { display: none; }
.step h4 { margin: 3px 0 4px; font-size: 16.5px; font-weight: 700; color: var(--text); }
.step p { font-size: 14.5px; color: var(--text-2); }
.track .turf-steps .step::before { background: var(--turf); color: var(--navy-dark); }

/* ---------- Feature rows ---------- */
.feature-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding-block: clamp(30px, 3.5vw, 48px);
}
.feature-row + .feature-row { border-top: 1px solid var(--border); }
.feature-copy .h3 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); }
.feature-copy p { margin-top: 12px; color: var(--text-2); max-width: 34em; }
.feature-copy .fine { margin-top: 10px; font-size: 13.5px; color: var(--text-3); }
.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--turf-dark);
  background: var(--turf-soft);
  border-radius: 999px;
  padding: 6px 13px;
  margin-bottom: 14px;
}
.feature-tag.red { color: var(--danger); background: #FDECEC; }
.feature-tag.navy { color: var(--navy); background: var(--navy-soft); }
.feature-tag.gold { color: #9A6A08; background: #FDF3DD; }

@media (min-width: 860px) {
  .feature-row.flip .feature-visual { order: -1; }
}

/* vignettes — framed mini-UI moments */
.vignette {
  position: relative;
  background:
    radial-gradient(420px 260px at 20% 0%, rgba(22, 193, 114, 0.09), transparent 60%),
    var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-card);
  padding: clamp(22px, 3vw, 34px);
  display: grid;
  gap: 12px;
  justify-items: stretch;
}
.vignette .app-card { max-width: 400px; width: 100%; margin-inline: auto; }

.pipeline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
}
.pipe-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  padding: 8px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-2);
}
.pipe-chip.done { background: var(--card); color: var(--navy); }
.pipe-chip.done svg { color: var(--turf-dark); }
.pipe-chip.hired {
  background: var(--turf);
  border-color: var(--turf);
  color: var(--navy-dark);
}
.pipe-arrow { color: var(--text-3); flex: none; }

.chat {
  display: grid;
  gap: 9px;
  max-width: 400px;
  width: 100%;
  margin-inline: auto;
}
.chat-banner {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  background: var(--navy-soft);
  border-radius: 10px;
  padding: 8px 12px;
}
.bubble {
  max-width: 85%;
  font-size: 13.5px;
  line-height: 1.45;
  padding: 10px 14px;
  border-radius: 16px;
}
.bubble.them {
  background: var(--card);
  border: 1px solid var(--border);
  border-bottom-left-radius: 6px;
  justify-self: start;
  color: var(--text);
}
.bubble.me {
  background: var(--navy);
  color: #fff;
  border-bottom-right-radius: 6px;
  justify-self: end;
}
.chat-meta { font-size: 11px; color: var(--text-3); justify-self: end; }

.avail-demo {
  display: grid;
  gap: 14px;
  justify-items: center;
}
.avail-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  padding: 13px 18px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
}
.switch {
  width: 44px; height: 26px;
  border-radius: 999px;
  background: var(--turf);
  position: relative;
  flex: none;
}
.switch::after {
  content: "";
  position: absolute;
  top: 3px; right: 3px;
  width: 20px; height: 20px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(11, 27, 43, 0.3);
}
.badge-avail {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  padding: 7px 14px;
}
.badge-avail .b-dot { width: 9px; height: 9px; border-radius: 999px; flex: none; }
.badge-avail.green { background: var(--turf-soft); color: var(--turf-dark); }
.badge-avail.green .b-dot { background: var(--turf); }
.badge-avail.gold { background: #FDF3DD; color: #9A6A08; }
.badge-avail.gold .b-dot { background: var(--gold); }
.avail-flip { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.avail-flip .pipe-arrow { color: var(--text-3); }
.avail-note { font-size: 12.5px; color: var(--text-3); text-align: center; }

/* ---------- Feature grid (small) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}
@media (min-width: 1000px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}
.feature-cell {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.feature-cell:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.feature-cell .f-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--navy-soft);
  color: var(--navy);
  margin-bottom: 14px;
}
.feature-cell:nth-child(even) .f-icon { background: var(--turf-soft); color: var(--turf-dark); }
.feature-cell h3 { font-size: 16.5px; font-weight: 700; color: var(--text); }
.feature-cell p { margin-top: 7px; font-size: 14.5px; color: var(--text-2); }

/* ---------- Trust band ---------- */
.trust-band {
  background: var(--card);
  border-block: 1px solid var(--border);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 26px;
}
.trust-item { display: flex; gap: 14px; align-items: flex-start; }
.trust-item .t-icon {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--turf-soft);
  color: var(--turf-dark);
}
.trust-item h3 { font-size: 15.5px; font-weight: 700; }
.trust-item p { margin-top: 4px; font-size: 14px; color: var(--text-2); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin-inline: auto; display: grid; gap: 12px; }
.faq {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev {
  flex: none;
  color: var(--text-3);
  transition: transform 0.2s ease;
}
.faq[open] summary .chev { transform: rotate(180deg); color: var(--turf-dark); }
.faq summary:hover { color: var(--turf-dark); }
.faq .faq-body {
  padding: 0 22px 20px;
  color: var(--text-2);
  font-size: 15.5px;
}
.faq .faq-body p + p { margin-top: 10px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(720px 400px at 85% 120%, rgba(22, 193, 114, 0.22), transparent 60%),
    radial-gradient(600px 400px at 8% -30%, rgba(255, 255, 255, 0.08), transparent 60%),
    var(--navy);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(48px, 6vw, 84px) clamp(24px, 5vw, 72px);
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band .lede { margin: 16px auto 0; }
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}
.cta-support { margin-top: 22px; font-size: 14px; color: var(--white-muted); }
.cta-support a { color: #fff; font-weight: 600; }
.cta-support a:hover { color: var(--turf); }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  background:
    radial-gradient(800px 380px at 90% -40%, rgba(22, 193, 114, 0.1), transparent 60%),
    var(--card);
  border-bottom: 1px solid var(--border);
  padding-block: clamp(56px, 7vw, 96px);
}
.page-hero .display { color: var(--navy); font-size: clamp(2.1rem, 1.3rem + 3vw, 3.3rem); }
.page-hero .lede { margin-top: 18px; }
.page-hero .eyebrow { margin-bottom: 14px; }

/* ---------- Prose / doc pages ---------- */
.doc-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 899px) {
  .doc-layout { grid-template-columns: 1fr; }
  .doc-toc { position: static !important; display: none; }
}
.doc-toc {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  font-size: 14px;
}
.doc-toc h2 {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 12px;
}
.doc-toc ol { display: grid; gap: 2px; }
.doc-toc a {
  display: block;
  padding: 6px 12px;
  border-left: 2px solid var(--border);
  color: var(--text-2);
  text-decoration: none;
  line-height: 1.4;
}
.doc-toc a:hover { color: var(--navy); border-left-color: var(--turf); }

.prose { max-width: 74ch; }
.prose h2 {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 44px 0 14px;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.08rem; font-weight: 700; color: var(--navy); margin: 26px 0 8px; }
.prose p { margin: 0 0 14px; color: #243447; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 24px; color: #243447; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--turf-dark); }
.prose strong { color: var(--text); }
.prose a { color: var(--navy); font-weight: 600; }
.doc-meta { font-size: 14px; color: var(--text-3); margin-top: 14px; }

.tldr {
  background: var(--turf-soft);
  border: 1px solid #CBEEDD;
  border-radius: var(--r-lg);
  padding: 22px 26px;
  margin: 28px 0 12px;
}
.tldr h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.05rem;
  margin: 0 0 10px;
  color: var(--turf-dark);
}
.tldr ul { margin-bottom: 0; }
.tldr li { color: #1D3A2E; }

.tablewrap {
  overflow-x: auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  margin: 6px 0 18px;
}
.tablewrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  min-width: 480px;
}
.tablewrap th, .tablewrap td {
  text-align: left;
  vertical-align: top;
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
  color: #243447;
}
.tablewrap thead th {
  color: var(--navy);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--bg);
}
.tablewrap tr:last-child td { border-bottom: none; }

/* ---------- Support page ---------- */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}
.topic-card {
  display: flex;
  align-items: center;
  gap: 13px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 17px 18px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 15.5px;
  box-shadow: var(--shadow-card);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.topic-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
  border-color: var(--border-strong);
  color: var(--navy);
}
.topic-card .t-icon {
  flex: none;
  width: 38px; height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--navy-soft);
  color: var(--navy);
}
.topic-card:nth-child(even) .t-icon { background: var(--turf-soft); color: var(--turf-dark); }

.support-section h2 {
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.support-section { margin-top: clamp(44px, 5vw, 64px); }
.support-section > .h2 { display: flex; align-items: center; gap: 12px; }
.support-section > .lede { margin-top: 8px; }
.support-section .faq-list { margin-top: 24px; max-width: none; }

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--shadow-card);
}
.contact-card .f-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--turf-soft);
  color: var(--turf-dark);
  margin-bottom: 14px;
}
.contact-card h3 { font-size: 16.5px; }
.contact-card p { margin-top: 7px; font-size: 14.5px; color: var(--text-2); }
.contact-card ol, .contact-card ul { margin: 10px 0 0; padding-left: 20px; font-size: 14.5px; color: var(--text-2); }
.contact-card li { margin-bottom: 6px; }
.contact-card a { font-weight: 700; }

.alert-note {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  background: #FDECEC;
  border: 1px solid #F6C6C8;
  border-radius: var(--r-lg);
  padding: 18px 20px;
  margin-top: 18px;
  font-size: 14.5px;
  color: #7B2A2D;
}
.alert-note svg { flex: none; color: var(--danger); margin-top: 2px; }
.alert-note strong { color: #7B2A2D; }

/* ---------- About page ---------- */
.mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.mv-card {
  border-radius: var(--r-xl);
  padding: clamp(26px, 3vw, 38px);
}
.mv-card.mission { background: var(--navy); color: #fff; }
.mv-card.vision { background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow-card); }
.mv-card .mv-label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mv-card.mission .mv-label { color: var(--turf); }
.mv-card.vision .mv-label { color: var(--turf-dark); }
.mv-card p {
  margin-top: 12px;
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.01em;
}
.mv-card.mission p { color: #fff; }
.mv-card.vision p { color: var(--navy); }

.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.story-copy p { margin-top: 14px; color: var(--text-2); }
.story-copy p:first-of-type { margin-top: 18px; }
.story-copy strong { color: var(--text); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
@media (min-width: 1000px) {
  .values-grid { grid-template-columns: repeat(3, 1fr); }
}
.value-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.value-card .f-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--turf-soft);
  color: var(--turf-dark);
  margin-bottom: 13px;
}
.value-card:nth-child(even) .f-icon { background: var(--navy-soft); color: var(--navy); }
.value-card h3 { font-size: 16px; }
.value-card p { margin-top: 6px; font-size: 14.5px; color: var(--text-2); }

.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.help-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.help-card h3 { font-size: 16px; color: var(--navy); }
.help-card p { margin-top: 7px; font-size: 14.5px; color: var(--text-2); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: var(--white-muted);
  margin-top: clamp(64px, 6vw, 96px);
}
.footer-inner {
  padding-block: clamp(48px, 5vw, 72px) 36px;
  display: grid;
  grid-template-columns: minmax(240px, 1.3fr) repeat(3, minmax(140px, 1fr));
  gap: 40px;
}
@media (max-width: 859px) {
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 519px) {
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}
.footer-brand .brand-word { color: #fff; }
.footer-brand p {
  margin-top: 14px;
  font-size: 14.5px;
  max-width: 30em;
}
.footer-col h2 {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 14px;
}
.footer-col ul { display: grid; gap: 9px; }
.footer-col a {
  color: var(--white-muted);
  text-decoration: none;
  font-size: 14.5px;
}
.footer-col a:hover { color: var(--turf); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.7); text-decoration: none; }
.footer-bottom a:hover { color: var(--turf); }
.footer-tagline { color: rgba(255, 255, 255, 0.55); }

/* ---------- Reveal on scroll ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: 0.08s; }
.js .reveal-d2 { transition-delay: 0.16s; }
.js .reveal-d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .cta-band, .skip-link, .nav-toggle { display: none !important; }
  body { background: #fff; }
}
