/* ============================================================
   medtrainit V15 — premium typography-as-design
   Black-and-white. No icons. Plain English copy.
   ============================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; overflow-x: hidden; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #0B0F1A;
  background: #FFFFFF;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================================
   TOP NAV
   ============================================================ */
.topnav {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #E5E7EB;
  z-index: 100;
}
.topnav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.brand-wordmark {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: #0B0F1A;
  letter-spacing: -0.01em;
}
.brand-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4A5468;
}
.topnav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.topnav-links a {
  font-size: 14px;
  color: #4A5468;
  font-weight: 500;
  transition: color 0.2s;
}
.topnav-links a:hover { color: #0B0F1A; }
.topnav-cta {
  background: #0B0F1A;
  color: #FFFFFF !important;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600 !important;
}
.topnav-cta:hover { background: #0D5C63; }

.mobile-menu { display: none; position: relative; }
.mobile-menu summary {
  list-style: none;
  padding: 8px 14px;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu-items {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  min-width: 180px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.mobile-menu-items a {
  padding: 10px 14px;
  font-size: 14px;
  color: #0B0F1A;
  border-radius: 4px;
}
.mobile-menu-items a:hover { background: #F2F2F2; }

@media (max-width: 820px) {
  .topnav-links { display: none; }
  .mobile-menu { display: block; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 140px 0 120px;
  background: #FFFFFF;
  border-bottom: 1px solid #F2F2F2;
}
.hero-headline {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 6.5vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #0B0F1A;
  margin-bottom: 40px;
  max-width: 920px;
}
.hero-lede {
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.6;
  color: #4A5468;
  max-width: 680px;
  margin-bottom: 16px;
}
.hero-lede-strong {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.5;
  color: #0B0F1A;
  letter-spacing: -0.01em;
  max-width: 680px;
  margin-bottom: 48px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}
.btn-primary {
  display: inline-block;
  background: #0B0F1A;
  color: #FFFFFF !important;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s;
}
.btn-primary:hover { background: #0D5C63; }
.btn-secondary {
  display: inline-block;
  color: #0B0F1A;
  padding: 14px 4px;
  font-weight: 600;
  font-size: 15px;
  border-bottom: 1px solid #0B0F1A;
}
.btn-secondary:hover { color: #0D5C63; border-bottom-color: #0D5C63; }
.hero-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4A5468;
  padding-top: 16px;
  border-top: 1px solid #E5E7EB;
  display: inline-block;
}

/* ============================================================
   SECTION — generic
   ============================================================ */
.section {
  padding: 120px 0;
  background: #FFFFFF;
}
.section-alt { background: #FAFAFA; }
.section-dark { background: #0B0F1A; color: #FFFFFF; }

.micro-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0D5C63;
  font-weight: 600;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.micro-label::before {
  content: "";
  width: 24px;
  height: 1px;
  background: #0D5C63;
}
.micro-label-light { color: #A6DCD9; }
.micro-label-light::before { background: #A6DCD9; }

.headline {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #0B0F1A;
  margin-bottom: 32px;
  max-width: 880px;
}
.headline-light { color: #FFFFFF; }

.intro {
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.65;
  color: #4A5468;
  max-width: 680px;
  margin-bottom: 24px;
}
.intro em {
  font-style: italic;
  color: #0B0F1A;
  background: #FAFAFA;
  padding: 2px 8px;
  border-radius: 4px;
  border-left: 3px solid #0D5C63;
  display: inline-block;
  margin: 4px 0;
}
.intro-light { color: #A6DCD9; }
.intro-light em { color: #FFFFFF; background: rgba(255,255,255,0.06); border-left-color: #A6DCD9; }
.intro strong { color: #0B0F1A; font-weight: 600; }
.intro-bold {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #0B0F1A;
  margin-top: 12px;
  letter-spacing: -0.01em;
}

/* ============================================================
   STACK PATTERN — section 02 (the missing piece)
   ============================================================ */
.stack {
  max-width: 560px;
  margin: 72px auto 0;
}
.stack-item {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 24px 28px;
  text-align: center;
}
.stack-item-existing { opacity: 0.7; }
.stack-item-us {
  background: #0B0F1A;
  border-color: #0B0F1A;
  padding: 32px 28px;
}
.stack-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #0B0F1A;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.stack-item-us .stack-label { color: #FFFFFF; font-size: 24px; }
.stack-sub {
  font-size: 14px;
  color: #4A5468;
}
.stack-item-us .stack-sub { color: #A6DCD9; font-size: 15px; }
.stack-plus {
  font-family: 'JetBrains Mono', monospace;
  font-size: 24px;
  color: #E5E7EB;
  text-align: center;
  font-weight: 400;
  margin: 8px 0;
}
.stack-plus-emphasis { color: #0D5C63; font-weight: 700; font-size: 28px; margin: 14px 0; }
.stack-line {
  width: 80px;
  height: 2px;
  background: #0D5C63;
  margin: 28px auto 12px;
}
.stack-caption {
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4A5468;
  font-weight: 600;
}

/* ============================================================
   COMPARE GRID — section 03
   ============================================================ */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  border-top: 1px solid #E5E7EB;
  border-bottom: 1px solid #E5E7EB;
  margin: 64px 0 32px;
}
.compare-col {
  padding: 40px 24px;
  border-right: 1px solid #E5E7EB;
  text-align: center;
}
.compare-col:last-child { border-right: none; }
.compare-col-us {
  background: #0B0F1A;
}
.compare-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4A5468;
  font-weight: 600;
  margin-bottom: 20px;
}
.compare-col-us .compare-name { color: #A6DCD9; }
.compare-analogy {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
  color: #0B0F1A;
  letter-spacing: -0.01em;
}
.compare-col-us .compare-analogy { color: #FFFFFF; }
.compare-closing {
  margin-top: 32px;
  font-size: 17px;
  line-height: 1.6;
  color: #4A5468;
  max-width: 720px;
  font-style: italic;
}
.compare-closing em { color: #0B0F1A; font-weight: 600; font-style: italic; }

/* ============================================================
   NUMBERS GRID — section 04 (THE INFOGRAPHIC)
   ============================================================ */
.numbers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-top: 1px solid #E5E7EB;
  border-bottom: 1px solid #E5E7EB;
  margin: 72px 0 0;
}
.number-col {
  padding: 56px 24px;
  text-align: center;
  border-right: 1px solid #E5E7EB;
}
.number-col:last-child { border-right: none; }
.number-rank {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #4A5468;
  font-weight: 600;
  margin-bottom: 24px;
}
.number-display {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(64px, 10vw, 128px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: #0B0F1A;
  margin-bottom: 20px;
}
.number-display-accent { color: #0D5C63; }
.number-unit {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: #0B0F1A;
  margin-bottom: 10px;
}
.number-context {
  font-size: 13px;
  color: #4A5468;
  line-height: 1.55;
  max-width: 240px;
  margin: 0 auto;
}
.arithmetic-line {
  max-width: 680px;
  margin: 64px 0 0;
}
.arith-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #E5E7EB;
}
.arith-row:last-child {
  border-bottom: none;
  border-top: 2px solid #0D5C63;
  margin-top: 8px;
  padding-top: 18px;
}
.arith-label { font-size: 15px; color: #4A5468; }
.arith-row:last-child .arith-label { color: #0B0F1A; font-weight: 600; }
.arith-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  font-weight: 500;
  color: #0B0F1A;
  white-space: nowrap;
}
.arith-row:last-child .arith-value {
  color: #0D5C63;
  font-weight: 700;
  font-size: 20px;
}
.closing-quote {
  margin-top: 56px;
  padding: 28px 32px;
  background: #FFFFFF;
  border-left: 3px solid #0D5C63;
  font-size: 17px;
  line-height: 1.6;
  color: #0B0F1A;
  max-width: 720px;
}
.closing-quote strong { font-weight: 700; color: #0D5C63; }

/* ============================================================
   TEAM GRID — section 05
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 56px 0 32px;
  max-width: 880px;
}
.team-card {
  background: #FAFAFA;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 28px;
}
.team-role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0D5C63;
  font-weight: 600;
  margin-bottom: 12px;
}
.team-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: #0B0F1A;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  line-height: 1.3;
}
.team-detail {
  font-size: 14px;
  line-height: 1.55;
  color: #4A5468;
}
.team-stamp {
  font-size: 15px;
  color: #4A5468;
  max-width: 720px;
  font-style: italic;
  padding-top: 24px;
  border-top: 1px solid #E5E7EB;
}

/* ============================================================
   STEPS — section 06
   ============================================================ */
.steps {
  margin: 56px 0 0;
  max-width: 760px;
}
.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid #E5E7EB;
  align-items: baseline;
}
.steps .step:last-child {
  border-bottom: 1px solid #E5E7EB;
}
.step-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 48px;
  line-height: 1;
  color: #0D5C63;
  letter-spacing: -0.03em;
}
.step-text {
  font-size: 17px;
  line-height: 1.55;
  color: #0B0F1A;
}

/* ============================================================
   DASHBOARD — preserved from V14
   ============================================================ */
.dash-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 32px;
  max-width: 980px;
  margin: 48px auto 0;
}
.dash-card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid #E5E7EB;
}
.dash-card-name { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 22px; color: #0B0F1A; letter-spacing: -0.015em; }
.dash-card-day { font-size: 13px; color: #4A5468; }
.dash-card-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px; }
.dash-summary-box { padding: 18px 20px; border: 1px solid #E5E7EB; border-radius: 8px; }
.dash-summary-label { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: #0D5C63; font-weight: 600; margin-bottom: 10px; }
.dash-summary-value { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 38px; line-height: 1; color: #0B0F1A; letter-spacing: -0.02em; }
.dash-summary-suffix { font-weight: 500; font-size: 14px; color: #4A5468; margin-left: 4px; }
.dash-summary-trend { font-size: 12px; color: #0D5C63; margin-top: 8px; font-weight: 500; }
.dash-summary-list { font-size: 14px; line-height: 1.6; color: #0B0F1A; font-weight: 500; }
.dash-summary-verdict { font-size: 13px; line-height: 1.5; color: #0B0F1A; }
.dash-card-map { margin-bottom: 28px; }
.dash-map-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; flex-wrap: wrap; gap: 8px; }
.dash-map-title { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 15px; color: #0B0F1A; }
.dash-map-legend { display: flex; gap: 14px; flex-wrap: wrap; }
.dash-legend-item { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: #4A5468; }
.dash-legend-swatch { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.dash-swatch-closed { background: #0D5C63; }
.dash-swatch-progress { background: #A6DCD9; }
.dash-swatch-empty { background: #F2F2F2; border: 1px solid #E5E7EB; }
.dash-map-row { display: grid; grid-template-columns: 110px repeat(8, 1fr); gap: 6px; margin-bottom: 6px; align-items: center; }
.dash-map-label { font-size: 13px; font-weight: 500; color: #0B0F1A; }
.dash-cell { height: 22px; border-radius: 4px; }
.dash-c-closed { background: #0D5C63; }
.dash-c-progress { background: #A6DCD9; }
.dash-c-empty { background: #F2F2F2; border: 1px solid #E5E7EB; }
.dash-card-base {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid #F2F2F2;
}
.dash-card-private, .dash-card-updated { font-size: 11px; color: #4A5468; }
.dash-disclaimer {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #4A5468;
  margin-top: 16px;
  text-align: center;
}

/* ============================================================
   ROUTE GRID — section 09 (about the IMAT)
   ============================================================ */
.route-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin: 56px 0 0;
}
.route-item {
  padding: 32px 0;
  border-top: 2px solid #0B0F1A;
}
.route-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #0B0F1A;
  margin-bottom: 16px;
}
.route-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0D5C63;
  font-weight: 600;
  margin-bottom: 16px;
}
.route-desc {
  font-size: 14px;
  line-height: 1.55;
  color: #4A5468;
}

/* ============================================================
   WEBINAR FORM — section 10
   ============================================================ */
.webinar-form {
  margin: 56px 0 24px;
  max-width: 560px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 18px;
}
.form-row label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #A6DCD9;
  font-weight: 600;
}
.form-row input, .form-row select {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 15px;
  color: #FFFFFF;
  font-family: inherit;
  transition: border-color 0.2s;
}
.form-row input:focus, .form-row select:focus {
  outline: none;
  border-color: #A6DCD9;
  background: rgba(255,255,255,0.08);
}
.form-row select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3e%3cpath fill='%23A6DCD9' d='M6 8 0 0h12z'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }

/* Native dropdown options need dark text on light background so they're readable when opened */
.form-row select option {
  background: #FFFFFF;
  color: #0B0F1A;
  padding: 8px 12px;
  font-size: 15px;
}
.form-row select option:disabled,
.form-row select option[value=""] {
  color: #4A5468;
}
.form-submit {
  background: #FFFFFF;
  color: #0B0F1A;
  padding: 16px 32px;
  border-radius: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: background 0.2s;
  margin-top: 8px;
}
.form-submit:hover { background: #A6DCD9; }

.form-consent {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 8px 0 16px;
}
.consent-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 13px;
  line-height: 1.5;
  color: #A6DCD9;
  cursor: pointer;
}
.consent-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  accent-color: #A6DCD9;
  cursor: pointer;
}
.consent-row em {
  font-style: italic;
  opacity: 0.7;
  font-size: 12px;
}
.form-message {
  margin-top: 16px;
  font-size: 14px;
  color: #A6DCD9;
}
.form-message-success { color: #A6DCD9; font-weight: 600; }
.form-message-error { color: #FF8080; }
.form-note {
  font-size: 13px;
  color: #A6DCD9;
  max-width: 560px;
  line-height: 1.55;
  opacity: 0.8;
}

/* ============================================================
   FAQ — section 11
   ============================================================ */
.faq {
  max-width: 760px;
  margin: 56px 0 0;
}
.faq-item {
  border-top: 1px solid #E5E7EB;
}
.faq-item:last-child { border-bottom: 1px solid #E5E7EB; }
.faq-item summary {
  list-style: none;
  padding: 24px 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #0B0F1A;
  letter-spacing: -0.01em;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: 'JetBrains Mono', monospace;
  font-size: 24px;
  color: #0D5C63;
  font-weight: 400;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  padding: 0 0 24px;
  font-size: 16px;
  line-height: 1.65;
  color: #4A5468;
}
.faq-item p strong { color: #0B0F1A; font-weight: 600; }

/* ============================================================
   INFO ROWS — section 12 (contact)
   ============================================================ */
.info-rows {
  margin: 48px 0 0;
  max-width: 760px;
}
.info-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid #E5E7EB;
}
.info-rows .info-row:last-child { border-bottom: 1px solid #E5E7EB; }
.info-row dt {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0D5C63;
  font-weight: 600;
  align-self: center;
}
.info-row dd {
  font-size: 15px;
  line-height: 1.55;
  color: #0B0F1A;
}
.info-row dd strong { font-weight: 700; color: #0D5C63; }
.inline-email {
  font-size: inherit;
  color: #0D5C63;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(13,92,99,0.3);
  padding: 0;
  background: none;
}
.inline-email:hover { border-bottom-color: #0D5C63; }
.inline-link {
  color: #0D5C63;
  text-decoration: none;
  border-bottom: 1px solid rgba(13,92,99,0.3);
  font-weight: 500;
}
.inline-link:hover { border-bottom-color: #0D5C63; }

/* ============================================================
   LEGAL
   ============================================================ */
.legal-section {
  padding: 80px 0;
  background: #FAFAFA;
  border-top: 1px solid #E5E7EB;
}
.legal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 32px;
}
.legal-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #0B0F1A;
  margin-bottom: 12px;
}
.legal-block p {
  font-size: 13px;
  line-height: 1.65;
  color: #4A5468;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 32px 0;
  background: #0B0F1A;
  color: #A6DCD9;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
  align-items: center;
  font-size: 13px;
}
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-wordmark {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: #FFFFFF;
}
.footer-sub {
  font-size: 12px;
  opacity: 0.7;
}
.footer-centre { text-align: center; opacity: 0.7; font-size: 12px; }
.footer-right { text-align: right; }
.footer-right .email-copy {
  color: #A6DCD9;
  font-size: 13px;
  border-bottom: 1px solid rgba(166,220,217,0.3);
  padding: 0;
}
.footer-parent-link {
  color: #A6DCD9 !important;
  border-bottom: 1px solid rgba(166,220,217,0.3);
}

/* ============================================================
   FADE-IN ANIMATION
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.no-js .fade-in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 820px) {
  .compare-grid { grid-template-columns: 1fr 1fr; border: none; }
  .compare-col {
    border-right: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
  }
  .compare-col:nth-child(2n) { border-right: none; }
  .compare-col:nth-last-child(-n+2) { border-bottom: none; }
  .legal-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 16px; }
  .footer-left, .footer-right { text-align: center; }
}

@media (max-width: 720px) {
  .container { padding: 0 24px; }
  .hero { padding: 80px 0 64px; }
  .hero-headline { margin-bottom: 24px; }
  .hero-lede, .hero-lede-strong { font-size: 16px; }
  .hero-cta { flex-direction: column; gap: 8px; }
  .btn-primary, .btn-secondary { width: 100%; text-align: center; }
  .section { padding: 64px 0; }
  .headline { margin-bottom: 20px; }
  .intro { font-size: 16px; }
  .micro-label { margin-bottom: 28px; }
  .stack { margin-top: 48px; }
  .stack-item-us .stack-label { font-size: 20px; }
  .compare-grid { grid-template-columns: 1fr; }
  .compare-col {
    border-right: none;
    border-bottom: 1px solid #E5E7EB;
  }
  .compare-col:last-child { border-bottom: none; }
  .numbers-grid {
    grid-template-columns: 1fr;
    border-top: 1px solid #E5E7EB;
    border-bottom: none;
    margin-top: 48px;
  }
  .number-col {
    border-right: none;
    border-bottom: 1px solid #E5E7EB;
    padding: 40px 16px;
  }
  .number-display { font-size: 84px; }
  .arithmetic-line { margin-top: 40px; }
  .arith-label { font-size: 14px; }
  .arith-value { font-size: 14px; }
  .arith-row:last-child .arith-value { font-size: 17px; }
  .closing-quote { padding: 20px 24px; font-size: 15px; margin-top: 40px; }
  .team-grid { grid-template-columns: 1fr; gap: 14px; }
  .step { grid-template-columns: 60px 1fr; gap: 20px; padding: 24px 0; }
  .step-num { font-size: 36px; }
  .step-text { font-size: 15px; }
  .dash-card { padding: 20px; margin-top: 32px; }
  .dash-card-name { font-size: 18px; }
  .dash-card-day { font-size: 11px; }
  .dash-card-summary { grid-template-columns: 1fr; gap: 10px; margin-bottom: 24px; }
  .dash-summary-box { padding: 14px 16px; }
  .dash-summary-value { font-size: 32px; }
  .dash-map-row { grid-template-columns: 80px repeat(8, 1fr); gap: 3px; }
  .dash-map-label { font-size: 12px; }
  .dash-cell { height: 16px; }
  .dash-map-legend { gap: 8px; }
  .dash-legend-item { font-size: 10px; }
  .dash-card-base { flex-direction: column; gap: 4px; }
  .route-grid { grid-template-columns: 1fr; gap: 32px; }
  .info-row { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
  .legal-section { padding: 48px 0; }
}
