/* ═══════════════════════════════════════════════════════════
   1 · TOKENS – brand colour application per spec section 5
   ═══════════════════════════════════════════════════════════ */
:root {
  /* Brand */
  --navy-dark:  #01183a;   /* hero, AI band, footer */
  --navy-light: #192A4F;   /* mid-tone section backgrounds */
  --blue:       #344379;   /* primary brand blue, secondary surfaces */
  --red:        #f45053;   /* CTA, accents, graphic shapes */
  --red-dark:   #DE3B43;   /* hover / pressed on red */
  --red-deep:   #BF142D;   /* red as TEXT on light – 6.3:1 on white */
  --white:      #FFFFFF;
  --grey-body:  #393434;   /* body copy on light */

  /* Derived neutrals – biased toward the navy, never a flat grey */
  --grey-50:   #f6f7fa;
  --grey-100:  #eef1f7;
  --grey-200:  #e0e5ef;
  --grey-line: #dbe1ed;
  --grey-mute: #5f6875;
  --grey-faint:#667085;

  /* On dark */
  --on-dark:      #ffffff;
  --on-dark-body: #c3cde0;
  --on-dark-mute: #93a1bd;
  --on-dark-line: rgba(255,255,255,.16);

  --font-display: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body:    'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --maxw: 1360px;
  --gutter: 24px;
  --pad-y: 72px;
  --radius: 16px;

  --shadow-card: 0 2px 4px rgba(1,24,58,.04), 0 12px 32px -16px rgba(1,24,58,.16);
  --shadow-shot: 0 24px 60px -24px rgba(1,24,58,.42), 0 4px 14px -6px rgba(1,24,58,.18);
}
@media (min-width: 768px) {
  :root { --gutter: 48px; --pad-y: 120px; }
}

/* ═══════════════════════════════════════════════════════════
   2 · BASE
   ═══════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }

html { overflow-x: hidden; }
body {
  margin: 0;
  background: var(--white);
  color: var(--grey-body);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
  border-radius: 4px;
}

h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(36px, 5.2vw, 64px); line-height: 1.0; letter-spacing: -0.025em; }
h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.02; letter-spacing: -0.022em; }
h3 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.08; letter-spacing: -0.018em; }
h4 { font-size: 19px; line-height: 1.2; letter-spacing: -0.01em; }
p  { margin: 0; }

.sub  { font-family: var(--font-display); font-weight: 600; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.2; }
.body { font-size: 17px; line-height: 1.6; }
.small{ font-size: 14px; line-height: 1.5; }

.red-line { color: var(--red); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.sec  { padding-block: var(--pad-y); }
.sec--tight { padding-block: calc(var(--pad-y) * .6); }

.bg-white { background: var(--white); }
.bg-grey  { background: var(--grey-50); }
.bg-navy  { background: var(--navy-dark); color: var(--on-dark); }
.bg-navy-light { background: var(--navy-light); color: var(--on-dark); }
.bg-navy p, .bg-navy-light p { color: var(--on-dark-body); }

/* ═══════════════════════════════════════════════════════════
   3 · COMPONENTS – build once, reuse (spec 5, "Components")
   ═══════════════════════════════════════════════════════════ */

/* 3.1 Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 16px; line-height: 1;
  border: 2px solid transparent; cursor: pointer; text-align: center; white-space: nowrap;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn--secondary { background: var(--blue); color: var(--white); }
.btn--secondary:hover { background: var(--navy-dark); transform: translateY(-2px); }
.btn--ghost { border-color: var(--grey-line); color: var(--navy-dark); background: transparent; }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--ghost-light { border-color: rgba(255,255,255,.45); color: var(--white); background: transparent; }
.btn--ghost-light:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn--sm { padding: 11px 22px; font-size: 15px; }
.btn .arw { transition: transform .2s ease; }
.btn:hover .arw { transform: translateX(3px); }

/* 3.2 Section header block */
.shead { max-width: 840px; display: flex; flex-direction: column; gap: 18px; }
.shead--center { margin-inline: auto; text-align: center; align-items: center; }
.eyebrow {
  font-family: var(--font-display); font-weight: 600;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--red-deep);
}
.eyebrow--light { color: #ff8f91; }
.shead p { color: var(--grey-mute); font-size: 18px; line-height: 1.55; }
.bg-navy .shead p, .bg-navy-light .shead p { color: var(--on-dark-body); }

/* 3.3 Feature card */
.card {
  position: relative;
  background: var(--white); color: var(--grey-body);
  border: 1px solid var(--grey-line); border-radius: var(--radius);
  padding: 30px 28px; display: flex; flex-direction: column; gap: 12px;
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 6px 12px rgba(1,24,58,.06), 0 22px 48px -20px rgba(1,24,58,.24); }
.card h3, .card h4 { color: var(--navy-dark); }
.card p { color: var(--grey-mute); font-size: 15.5px; line-height: 1.55; }
.card .ico { width: 30px; height: 30px; color: var(--red); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }

/* 3.4 Step marker (how it works) */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 32px; position: relative; }
.step { display: flex; flex-direction: column; gap: 14px; position: relative; }
.step-num {
  width: 52px; height: 52px; border-radius: 50%; background: var(--red); color: var(--white);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.02em;
  position: relative; z-index: 2; flex: none;
}
.step::after {
  content: ""; position: absolute; left: 52px; top: 26px; right: -32px; height: 2px;
  background: var(--grey-200); z-index: 1;
}
.js-reveal .step::after {
  transform: scaleX(0); transform-origin: left center;
  transition: transform .55s cubic-bezier(.22,.61,.36,1);
}
.steps.in .step::after { transform: scaleX(1); }
.js-reveal .step-num, .js-reveal .step h4, .js-reveal .step p { opacity: 0; transform: translateY(8px); transition: opacity .3s ease-out, transform .3s ease-out; }
.steps.in .step-num, .steps.in .step h4, .steps.in .step p { opacity: 1; transform: none; }
.steps.in .step:nth-child(2)::after, .steps.in .step:nth-child(2) > * { transition-delay: .18s; }
.steps.in .step:nth-child(3)::after, .steps.in .step:nth-child(3) > * { transition-delay: .36s; }
.steps.in .step:nth-child(4)::after, .steps.in .step:nth-child(4) > * { transition-delay: .54s; }
.step:last-child::after { display: none; }
@media (max-width: 900px) { .step::after { display: none; } }
.step p { color: var(--grey-mute); font-size: 15.5px; line-height: 1.55; }

/* 3.5 Screenshot frame */
.shot { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--grey-200); box-shadow: var(--shadow-shot); background: var(--white); }
.shot--dark { border-color: rgba(255,255,255,.14); }
.shot-cap { margin-top: 12px; font-size: 13px; color: var(--grey-faint); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.bg-navy .shot-cap { color: var(--on-dark-mute); }

/* 3.6 Image + copy row */
.row2 { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.row2--flip .row2-copy { order: 2; }
.row2--flip .row2-media { order: 1; }
@media (max-width: 900px) {
  .row2 { grid-template-columns: 1fr; }
  .row2--flip .row2-copy, .row2--flip .row2-media { order: initial; }
}
.row2-copy { display: flex; flex-direction: column; gap: 18px; }
.row2-copy p { color: var(--grey-mute); font-size: 17px; line-height: 1.6; }
.bg-navy .row2-copy p { color: var(--on-dark-body); }

/* 3.7 Bullet list */
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.ticks li { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.5; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .45em;
  width: 10px; height: 10px; border-radius: 50%; background: var(--red);
}
.bg-navy .ticks li { color: var(--on-dark-body); }

/* 3.8 Brand shapes */
.circle-icon {
  width: 56px; height: 56px; border-radius: 50%; background: var(--red);
  display: grid; place-items: center; color: var(--white); flex: none;
}
.circle-icon svg { width: 26px; height: 26px; }

/* 3.9 Quote / proof block */
.proof {
  border-left: 4px solid var(--red); padding: 6px 0 6px 26px;
  display: flex; flex-direction: column; gap: 14px; max-width: 720px;
}
.proof .sub { color: var(--navy-dark); }

/* 3.9b Status pill – release state */
.pill {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-family: var(--font-display); font-size: 12px; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase;
  padding: 5px 13px; border-radius: 999px;
  background: #fdecec; color: var(--red-deep); border: 1px solid #f6d3d4;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); flex: none; }
.pill--light { background: rgba(255,255,255,.12); color: #ffb3b4; border-color: rgba(255,255,255,.24); }

/* 3.9c Waitlist / apply panel – stands in where there is no product to show */
.panel {
  background: var(--navy-light); color: var(--on-dark); border-radius: var(--radius);
  padding: 34px 32px; display: flex; flex-direction: column; gap: 16px;
  position: relative; overflow: hidden;
}
.panel::before {
  content: ""; position: absolute; right: -70px; top: -70px;
  width: 190px; height: 190px; border-radius: 50%; background: var(--red); opacity: .18;
}
.panel > * { position: relative; z-index: 2; }
.panel h3 { color: var(--on-dark); }
.panel p { color: var(--on-dark-body); font-size: 15.5px; line-height: 1.6; }
.panel .ticks li { color: var(--on-dark-body); font-size: 15.5px; }

/* 3.9d Compliance chip – marks the capabilities that carry an obligation */
.chip {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  font-family: var(--font-display); font-size: 11px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
  background: var(--grey-100); color: var(--blue); border: 1px solid var(--grey-200);
}
.chip svg { width: 12px; height: 12px; }
.card > .chip { position: absolute; top: 22px; right: 22px; }
.card--chip { padding-top: 58px; }

/* 3.9e Evidence strip – the claim that covers the whole grid */
.evidence {
  margin-top: 40px; display: flex; gap: 20px; align-items: flex-start;
  border: 1px solid var(--on-dark-line); border-radius: var(--radius);
  padding: 26px 28px; background: rgba(255,255,255,.05);
}
.evidence svg { width: 26px; height: 26px; color: #ff8f91; flex: none; margin-top: 2px; }
.evidence h4 { color: var(--on-dark); margin-bottom: 8px; }
.evidence p { color: var(--on-dark-body); font-size: 15.5px; line-height: 1.6; max-width: 88ch; }

/* 3.9f Problem grid – four pain points, each with an icon */
.problem-row {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px); align-items: center;
}
.problem-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 32px; }
@media (max-width: 980px) {
  .problem-row { grid-template-columns: 1fr; }
  .problem-media { width: 100%; max-width: 540px; margin-inline: auto; }
}
@media (max-width: 560px) { .problem-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Photo with the scattered tools floating around it */
.problem-media { position: relative; padding: 28px 8%; }
.problem-photo {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: 24px; box-shadow: var(--shadow-shot);
}
.scatter {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px 9px 10px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--grey-line);
  box-shadow: 0 10px 24px -10px rgba(1,24,58,.35);
  font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--navy-dark);
  white-space: nowrap;
  animation: scatter-bob 7s ease-in-out infinite alternate;
}
.scatter svg { width: 22px; height: 22px; padding: 4px; border-radius: 7px; color: var(--white); flex: none; }
.scatter--sheet { left: 0; top: 6%; transform: rotate(-4deg); }
.scatter--sheet svg { background: #2f8f6b; }
.scatter--mail { right: 0; top: 18%; transform: rotate(3deg); animation-delay: -2s; }
.scatter--mail svg { background: var(--blue); }
.scatter--chat { left: -2%; top: 52%; transform: rotate(2deg); animation-delay: -4s; }
.scatter--chat svg { background: #b8791f; }
.scatter--call { right: 2%; bottom: 22%; transform: rotate(-3deg); animation-delay: -1s; }
.scatter--call svg { background: var(--red); }
.scatter--doc { left: 14%; bottom: 2%; transform: rotate(-2deg); animation-delay: -3s; }
.scatter--doc svg { background: var(--grey-500, #5f6472); }
@keyframes scatter-bob { from { translate: 0 0; } to { translate: 0 -8px; } }
@media (max-width: 560px) {
  .problem-media { padding: 22px 0; }
  .scatter { font-size: 11.5px; padding: 7px 11px 7px 8px; }
  .scatter svg { width: 20px; height: 20px; }
  .scatter--chat { left: 0; }
  .scatter--call { right: 0; }
}
@media (prefers-reduced-motion: reduce) { .scatter { animation: none; } }
.problem { display: flex; flex-direction: column; gap: 12px; }
.problem p { color: var(--grey-mute); font-size: 17px; line-height: 1.6; }
.problem-ico {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fdecec; color: var(--red-deep);
}
.problem-ico svg { width: 24px; height: 24px; }

/* The duty-of-care question that closes the problem section */
.duty { margin-top: 56px; text-align: center; }
.duty .sub { max-width: 58ch; margin-inline: auto; color: var(--navy-dark); }
.duty .duty-q { margin-top: 8px; color: var(--red-deep); }

/* 3.9g AI banner – a short pointer to the platform page */
.ai-banner {
  display: grid; grid-template-columns: minmax(0, 1.4fr) auto auto;
  gap: clamp(24px, 4vw, 56px); align-items: center;
  border: 1px solid var(--grey-line); border-radius: var(--radius);
  padding: clamp(28px, 3vw, 40px); background: var(--grey-50);
  box-shadow: var(--shadow-card);
}
.ai-banner-copy { display: flex; flex-direction: column; gap: 12px; }
.ai-banner-copy h3 { color: var(--navy-dark); }
.ai-banner-copy p { color: var(--grey-mute); font-size: 17px; line-height: 1.6; }
.ai-banner-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ai-banner-points li {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--navy-dark);
}
.ai-banner-points svg { width: 20px; height: 20px; color: var(--red-deep); flex: none; }
@media (max-width: 900px) {
  .ai-banner { grid-template-columns: 1fr; gap: 24px; }
  .ai-banner .btn { justify-self: start; }
  .ai-banner-points { flex-direction: row; flex-wrap: wrap; gap: 10px 22px; }
}
@media (max-width: 600px) {
  .ai-banner { border: 0; background: none; box-shadow: none; padding: 0; }
}

/* What people can report: two real app screens beside the three report types */
.report-row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(36px, 6vw, 88px); align-items: center; margin-top: clamp(44px, 5vw, 64px);
}
.report-phones { position: relative; width: min(100%, 470px); margin-inline: auto; aspect-ratio: 470 / 560; }
.report-phone { width: 58%; filter: drop-shadow(0 26px 40px rgba(1,24,58,.28)); }
.report-phone--back { position: absolute; left: 0; top: 0; }
.report-phone--front { position: absolute; right: 0; bottom: 0; }
.report-types { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 26px; }
.report-type { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.report-type h4 { color: var(--navy-dark); }
.report-type p { color: var(--grey-mute); font-size: 16.5px; line-height: 1.6; margin-top: 6px; }
.report-type-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.report-type-ico svg { width: 24px; height: 24px; }
.report-type-ico--injury { background: #fdecec; color: var(--red-deep); }
.report-type-ico--illness { background: #e9edf7; color: var(--blue); }
.report-type-ico--mental { background: #f1ecf9; color: #6a4fa3; }
.report-type-ico--sprout { background: #e7f6ee; color: #2f8f6b; }
.report-ai {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 30px;
  padding: 16px 18px; border-radius: 14px; background: var(--white); border: 1px solid var(--grey-line);
  color: var(--grey-mute); font-size: 15px; line-height: 1.55;
}
.report-ai svg { width: 20px; height: 20px; color: var(--red); flex: none; margin-top: 2px; }
.report-ai b { color: var(--navy-dark); }

/* Early intervention: its own panel with its own screen */
.ei-panel {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
  margin-top: clamp(56px, 6vw, 88px); padding: clamp(28px, 4vw, 56px);
  background: var(--white); border: 1px solid var(--grey-line); border-radius: 24px; box-shadow: var(--shadow-card);
}
.ei-copy { display: flex; flex-direction: column; gap: 16px; }
.ei-copy h3 { color: var(--navy-dark); }
.ei-copy > p { color: var(--grey-mute); font-size: 17px; line-height: 1.6; }
.ei-eyebrow { display: inline-flex; align-items: center; gap: 12px; color: #2f8f6b; }
.ei-eyebrow .report-type-ico { width: 36px; height: 36px; border-radius: 10px; }
.ei-eyebrow .report-type-ico svg { width: 20px; height: 20px; }
.ei-media { display: flex; justify-content: center; }
.report-type-ico--chronic { background: #e9edf7; color: var(--blue); }
.chronic-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); margin-top: clamp(28px, 3vw, 40px); }
.chronic-eyebrow { color: var(--blue); }
.chronic-media .laptop { width: min(100%, 520px); }
.ei-evidence { margin-top: 8px; padding-top: 22px; border-top: 1px solid var(--grey-line); }
.ei-evidence-label {
  font-family: var(--font-display); font-weight: 600; font-size: 12px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--grey-mute);
}
.ei-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 14px; }
.ei-stat { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 16px; background: #e7f6ee; }
.ei-stat b { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 3vw, 40px); line-height: 1; color: #1f6e51; }
.ei-stat span { font-size: 14.5px; line-height: 1.45; color: var(--navy-dark); }
.ei-source { margin-top: 12px; font-size: 13px; color: var(--grey-mute); }
.ei-source a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 480px) { .ei-stats { grid-template-columns: 1fr; } }
.ei-media .report-phone { width: min(100%, 260px); }

/* Phone frame drawn in CSS around a raw app screenshot – bezel, rounded corners, notch */
.device-phone {
  position: relative; width: min(100%, 270px);
  padding: 1.8%; border-radius: 13.5% / 6.3%;
  background: #3a3e4a; box-shadow: inset 0 0 0 1px #5a5f6c, 0 22px 36px rgba(1,24,58,.22);
}
.device-phone img { display: block; width: 100%; height: auto; border-radius: 12% / 5.6%; }
.device-phone::before {
  content: ""; position: absolute; top: 1.8%; left: 50%; transform: translateX(-50%);
  width: 26%; height: 2.4%; border-radius: 0 0 12px 12px; background: #3a3e4a; z-index: 2;
}
@media (max-width: 900px) {
  .report-row, .ei-panel { grid-template-columns: 1fr; }
  .report-phones { width: min(100%, 380px); }
  .ei-media { order: 2; }
}

/* What Mira does: stacked capability pills beside the app tour */
/* Heading on top; the GIF spans exactly from the first pill to the last */
.does-row {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  grid-template-areas: "head ." "pills media";
  column-gap: clamp(36px, 6vw, 88px); align-items: stretch;
}
.does-copy { display: contents; }
.does-copy > .shead { grid-area: head; }
.cap-pills { grid-area: pills; list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.does-media { grid-area: media; margin-top: 40px; position: relative; min-height: 0; }
.cap-pill {
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center;
  padding: 14px 22px 14px 14px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid var(--on-dark-line);
  transition: background .2s ease, transform .2s ease;
}
.cap-pill:hover { background: rgba(255,255,255,.1); transform: translateX(4px); }
.cap-ico {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red); color: var(--white);
}
.cap-ico svg { width: 22px; height: 22px; }
.cap-pill h4 { color: var(--on-dark); font-size: 17px; }
.cap-pill p { color: var(--on-dark-body); font-size: 14.5px; line-height: 1.45; margin-top: 3px; }
/* The GIF is a 1080×1350 square-ish frame; this window crops it to just the phone */
/* Absolutely placed so the pills alone set the height; the phone then fills exactly that height */
.app-tour {
  position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%);
  aspect-ratio: 580 / 1150; overflow: hidden; filter: drop-shadow(0 30px 50px rgba(0,0,0,.45));
}
/* The phone sits at 250,100 – 830,1250 inside the 1080×1350 GIF; this crops to exactly that */
.app-tour img { width: 186.21%; max-width: none; margin: -17.24% 0 0 -43.1%; }
@media (max-width: 900px) {
  .does-row { grid-template-columns: 1fr; grid-template-areas: "head" "pills" "media"; }
  .does-media { margin-top: 44px; }
  .app-tour { position: relative; top: auto; bottom: auto; left: auto; transform: none; margin-inline: auto; height: auto; width: min(78%, 300px); }
}
@media (max-width: 560px) {
  .cap-pill { border-radius: 22px; padding: 12px 16px 12px 12px; gap: 12px; align-items: start; }
  .cap-ico { width: 40px; height: 40px; }
}

/* Inner pages: spacing that used to be written inline */
.pintro-copy { display: flex; flex-direction: column; gap: 20px; }
.pintro-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.blocks { margin-top: 52px; }
.steps.blocks { margin-top: 52px; }
.muted { color: var(--grey-mute); }
.role-row { margin-top: clamp(60px, 7vw, 88px); }
.two-jobs { margin-top: 56px; align-items: start; }
.bg-navy-light .card .ico { color: var(--red); }

/* Sector page tops: a photo of the sector with a Mira screen floating over it */
.sector-visual { position: relative; padding: 0 0 48px 10%; }
.sector-photo {
  width: 100%; aspect-ratio: 5 / 4; object-fit: cover;
  border-radius: 20px; box-shadow: var(--shadow-shot);
  border: 1px solid rgba(255,255,255,.12);
}
.sector-visual--workers .sector-photo { object-position: 50% 25%; }
.sector-visual--rugby .sector-photo { object-position: 42% 45%; }
.sector-visual--clinical .sector-photo { object-position: 60% 40%; }
.sector-visual--doctor { padding: 0; }
.sector-visual--doctor .sector-photo { aspect-ratio: 4 / 3; object-position: 40% 30%; }
.sector-device { position: absolute; left: 0; bottom: 0; z-index: 2; animation: hero-float 9s ease-in-out infinite alternate; }
.sector-device--phone { width: 30%; max-width: 190px; filter: drop-shadow(0 26px 44px rgba(0,0,0,.5)); }
.sector-device--laptop { width: 62%; }
@media (max-width: 900px) {
  .sector-visual { padding: 0 0 40px 8%; max-width: 560px; margin-inline: auto; }
  .sector-visual--doctor { padding: 0; }
}
@media (prefers-reduced-motion: reduce) { .sector-device { animation: none; } }

/* Sports: who it is for, with a photo beside the intro */
.who-row { align-items: center; }
.who-photo {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow-shot);
}
.who-photo--recovery { object-position: 30% 62%; }
.who-photo--warehouse { object-position: 50% 30%; }
.who-photo--office { object-position: 62% 60%; }
.who-photo--consult { object-position: 70% 35%; }
.who-photo--bedside { object-position: 50% 30%; }

.trust--under { margin-top: clamp(64px, 7vw, 96px); padding-top: clamp(48px, 5vw, 72px); border-top: 1px solid var(--grey-line); }

/* Visually hidden, still read aloud */
.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;
}

/* 3.9f Spec table */
.tbl-wrap { overflow-x: auto; margin-top: 40px; border: 1px solid var(--grey-line); border-radius: var(--radius); background: var(--white); }
.tbl { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 14.5px; }
.tbl th, .tbl td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--grey-line); vertical-align: top; }
.tbl thead th {
  font-family: var(--font-display); font-size: 11.5px; font-weight: 600;
  letter-spacing: .11em; text-transform: uppercase; color: var(--grey-mute);
  background: var(--grey-50); white-space: nowrap;
}
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl td:first-child { font-weight: 500; color: var(--navy-dark); }
.tbl .lvl { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font-weight: 600; font-size: 12.5px; }
.tbl .lvl::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.lvl-3 { color: var(--red-deep); }
.lvl-2 { color: #a86a17; }
.lvl-1 { color: var(--blue); }
.lvl-0 { color: var(--grey-mute); }

/* 3.9g Definition rows – label left, detail right */
.deflist { display: flex; flex-direction: column; margin-top: 40px; border-top: 1px solid var(--grey-line); }
.defrow { display: grid; grid-template-columns: 260px minmax(0,1fr); gap: 28px; padding: 22px 2px; border-bottom: 1px solid var(--grey-line); }
@media (max-width: 760px) { .defrow { grid-template-columns: 1fr; gap: 8px; } }
.defrow dt { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--navy-dark); margin: 0; }
.defrow dd { margin: 0; color: var(--grey-mute); font-size: 15.5px; line-height: 1.6; }
.deflist--dark { border-top-color: var(--on-dark-line); }
.deflist--dark .defrow { border-bottom-color: var(--on-dark-line); }
.deflist--dark dt { color: var(--on-dark); }
.deflist--dark dd { color: var(--on-dark-body); }

/* 3.10 Trust band */
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 30px; }
.trust-item { display: flex; gap: 14px; align-items: flex-start; }
.trust-item svg { width: 22px; height: 22px; color: var(--red); flex: none; margin-top: 2px; }
.trust-item p { font-size: 15.5px; line-height: 1.5; color: var(--grey-mute); }
.tbc {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--red-deep); background: #fdecec;
  padding: 2px 8px; border-radius: 999px; margin-left: 6px; white-space: nowrap;
}

/* 3.11 Form */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 620px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 14px; font-weight: 600; color: var(--on-dark); font-family: var(--font-display); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 16px; color: var(--navy-dark);
  padding: 13px 15px; border-radius: 10px; border: 1.5px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.96); width: 100%;
}
.field textarea { min-height: 92px; resize: vertical; }
.captcha-field { min-height: 65px; display: flex; align-items: center; }
.form-note { font-size: 13.5px; color: var(--on-dark-mute); line-height: 1.5; }
.form-done {
  display: none; border: 1.5px solid rgba(255,255,255,.3); border-radius: var(--radius);
  padding: 22px 24px; background: rgba(255,255,255,.07); max-width: 620px;
}
.form-done.show { display: block; }
.form-done h4 { color: var(--on-dark); margin-bottom: 8px; }
.form-done p { color: var(--on-dark-body); font-size: 15.5px; line-height: 1.55; }

/* 3.12 CTA band */
.cta-band { position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; right: -160px; top: 50%; transform: translateY(-50%);
  width: 620px; height: 620px; border-radius: 50%; background: var(--red); opacity: .16;
}
.cta-band .wrap { position: relative; z-index: 2; }

/* ═══════════════════════════════════════════════════════════
   4 · NAVIGATION (spec 4.1)
   ═══════════════════════════════════════════════════════════ */
.nav { position: sticky; top: 0; z-index: 100; background: var(--white); transition: box-shadow .2s ease; }
.nav.scrolled { box-shadow: 0 1px 0 var(--grey-200), 0 6px 20px -10px rgba(1,24,58,.18); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 80px; }
.nav-logo img { height: 32px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-link {
  font-family: var(--font-display); font-weight: 500; font-size: 15.5px; color: var(--navy-dark);
  padding: 10px 13px; border-radius: 999px; background: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display);
}
.nav-link:hover { background: var(--grey-100); }
.nav-link[aria-current="page"] { color: var(--red-dark); }
.nav-drop { position: relative; }
.nav-drop-panel {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px;
  background: var(--white); border: 1px solid var(--grey-line); border-radius: var(--radius);
  box-shadow: 0 20px 44px -18px rgba(1,24,58,.28); padding: 10px;
  display: none; flex-direction: column; gap: 2px;
}
.nav-drop.open .nav-drop-panel { display: flex; }
.nav-drop-panel a,
.nav-drop-panel button {
  display: block; text-align: left; background: none; border: 0; cursor: pointer; padding: 11px 13px; border-radius: 10px;
  font-family: var(--font-display); font-size: 15.5px; font-weight: 600; line-height: 1.3; color: var(--navy-dark);
}
.nav-drop-panel a:hover,
.nav-drop-panel button:hover { background: var(--grey-100); }
.nav-drop-panel a span,
.nav-drop-panel button span { display: block; font-weight: 400; font-size: 13px; line-height: 1.4; color: var(--grey-mute); margin-top: 3px; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-login {
  font-family: var(--font-display); font-weight: 500; font-size: 16px; color: var(--navy-dark);
  background: none; border: 0; cursor: pointer; padding: 8px 4px;
}
.nav-login:hover { color: var(--blue); }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; margin-left: auto; padding: 8px; color: var(--navy-dark); }
@media (max-width: 1120px) {
  .nav-menu, .nav-right .nav-login { display: none; }
  .nav-burger { display: block; }
  .nav-right { margin-left: auto; }
}
@media (max-width: 560px) {
  .nav-in { height: 68px; gap: 12px; }
  .nav-logo img { height: 26px; }
  .nav-right .btn { padding: 10px 16px; font-size: 14px; }
}
/* Mobile overlay */
.mnav {
  position: fixed; inset: 0; z-index: 200; background: var(--navy-dark); color: var(--white);
  padding: 28px var(--gutter); display: none; flex-direction: column; gap: 8px; overflow-y: auto;
}
.mnav.open { display: flex; }
.mnav-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.mnav-top img { height: 30px; width: auto; }
.mnav button.mnav-item {
  background: none; border: 0; border-bottom: 1px solid var(--on-dark-line); color: var(--white);
  font-family: var(--font-display); font-weight: 600; font-size: 22px; text-align: left; padding: 18px 0; cursor: pointer;
}
.mnav .mnav-sub { font-size: 17px; font-weight: 500; padding-left: 16px; color: var(--on-dark-body); }
.mnav-close { background: none; border: 0; color: var(--white); cursor: pointer; padding: 6px; }
.mnav .btn { margin-top: 22px; }

/* ═══════════════════════════════════════════════════════════
   5 · HERO (spec 4.2)
   ═══════════════════════════════════════════════════════════ */
.hero { position: relative; overflow: hidden; background: var(--navy-dark); color: var(--on-dark); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.13) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(115deg, rgba(0,0,0,.85), transparent 62%);
  mask-image: linear-gradient(115deg, rgba(0,0,0,.85), transparent 62%);
}
.hero::after {
  content: ""; position: absolute; right: -220px; top: 50%; transform: translateY(-50%);
  width: 780px; height: 780px; border-radius: 50%; background: var(--red); opacity: .17;
}
.hero-in { position: relative; z-index: 3; display: grid; grid-template-columns: 57fr 43fr; gap: clamp(40px, 4.5vw, 64px); align-items: center; padding-block: clamp(96px, 10.5vw, 176px); min-height: min(94vh, 940px); }
@media (max-width: 980px) { .hero-in { grid-template-columns: 1fr; gap: 52px; } }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.hero-copy h1 { max-width: 19ch; }
.hero-copy h1 .red-line { display: block; }
.hero-copy .sub { color: var(--on-dark-body); font-weight: 400; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
/* What Mira is, stated plainly between the headline and the question */
.hero-kicker {
  align-self: flex-start;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(17px, 1.6vw, 21px); line-height: 1.3; color: var(--on-dark);
  padding-left: 16px; border-left: 4px solid var(--red);
}

/* Hero collage: the three sectors in photos, with the product floating on top.
   Corporate leads, sports follows, clinical is the smallest tile. */
.hero-visual { position: relative; padding: 28px 0 104px; }
.hero-collage {
  position: relative;
  display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px;
  height: clamp(460px, 44vw, 640px);
}
.tile { position: relative; margin: 0; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-shot); }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(1,24,58,.55));
}
.tile--corporate { grid-row: 1 / 3; }
.tile--corporate img { object-position: 50% 20%; }
.tile--sport img { object-position: 42% 45%; }
.tile--recovery img { object-position: 30% 60%; }
.tile--clinical {
  position: absolute; right: -8%; bottom: -96px; width: 36%; aspect-ratio: 4 / 3;
  border: 4px solid var(--navy-dark); z-index: 4;
}
.tile--clinical img { object-position: 70% 40%; }
.tile-tag {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  font-family: var(--font-display); font-weight: 600; font-size: 12px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--white);
  padding: 6px 12px; border-radius: 999px;
  background: rgba(1,24,58,.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.22);
}
.tile-tag--top { top: 14px; bottom: auto; left: auto; right: 14px; }
.tile-tag--right { left: auto; right: 14px; }
.hero-dash {
  position: absolute; left: -7%; bottom: -48px; width: 58%; z-index: 4;
  animation: hero-float 10s ease-in-out infinite alternate;
}

/* Laptop frame drawn in CSS – screen bezel plus an aluminium base */
.laptop { filter: drop-shadow(0 24px 40px rgba(0,0,0,.45)); }
.laptop-screen {
  position: relative; background: #1b1a1f;
  border: 1px solid #3a3a40; border-radius: 12px 12px 4px 4px;
  padding: 3.2% 3.2% 4.2%;
}
.laptop-screen::before {
  content: ""; position: absolute; top: 1.2%; left: 50%; transform: translateX(-50%);
  width: 5px; height: 5px; border-radius: 50%; background: #4a4a52;
}
.laptop-screen img { display: block; width: 100%; height: auto; border-radius: 2px; }
.laptop-base {
  position: relative; margin-inline: -7%; height: 12px;
  background: linear-gradient(180deg, #e6e8ee 0%, #c9ccd4 55%, #9aa1b1 100%);
  border-radius: 2px 2px 12px 12px;
}
.laptop-base::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 16%; height: 5px; background: #b7bbc5; border-radius: 0 0 6px 6px;
}

/* Care Network: copy and list on the left, the photo on its own on the right */
.cn-row { align-items: stretch; }
.cn-looking { display: flex; flex-direction: column; gap: 14px; margin-top: 6px; }
.cn-looking h4 { color: var(--navy-dark); }
.cn-looking .ticks li { color: var(--grey-body); font-size: 16px; }
.cn-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }
.cn-photo {
  width: 100%; height: 100%; min-height: 420px; object-fit: cover; object-position: 38% 30%;
  border-radius: var(--radius); box-shadow: var(--shadow-shot);
}
@media (max-width: 600px) { .laptop-base { margin-inline: -3.5%; height: 9px; } }
@media (max-width: 900px) { .cn-photo { height: auto; min-height: 0; aspect-ratio: 4 / 3; } }
.hero-phone {
  position: absolute; left: 52.4%; top: 50%; width: 27%; max-width: 180px; z-index: 5;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 26px 44px rgba(0,0,0,.5));
  animation: hero-phone-float 8s ease-in-out infinite alternate;
}
.hero-dot { position: absolute; border-radius: 50%; z-index: 1; }
.hero-dot--a { width: 22px; height: 22px; background: var(--red); right: -18px; top: -10px; }
.hero-dot--b { width: 14px; height: 14px; background: var(--blue); left: -26px; top: 34%; }
@keyframes hero-float {
  from { transform: translateY(0); }
  to   { transform: translateY(-12px); }
}
@keyframes hero-phone-float {
  from { transform: translate(-50%, -50%); }
  to   { transform: translate(-50%, calc(-50% - 14px)); }
}
@media (max-width: 980px) {
  .hero-visual { padding: 0 0 clamp(96px, 26vw, 140px); }
  .hero-collage { height: auto; aspect-ratio: 20 / 21; gap: 10px; max-width: 500px; margin-inline: auto; }
  .tile { border-radius: 16px; }
  .tile--clinical { right: 0; bottom: -18.5%; width: 40%; }
  .hero-dash { left: 0; bottom: -21%; width: 58%; }
  .hero-phone { width: 30%; }
  .hero-dot { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   5b · APP INTRO – the individual's surface, block two
   ═══════════════════════════════════════════════════════════ */
.appintro { position: relative; overflow: hidden; }
.appintro-grid {
  display: grid; grid-template-columns: 1fr minmax(340px, auto) 1fr;
  gap: clamp(32px, 5vw, 76px); align-items: center; margin-top: clamp(44px, 5vw, 72px);
}
.appintro-stage { position: relative; display: grid; place-items: center; padding-block: 24px; }
.appintro-stage::before,
.appintro-stage::after {
  content: ""; position: absolute; border-radius: 50%;
  z-index: 0; will-change: transform;
}
.appintro-stage::before {
  width: min(348px, 80vw); aspect-ratio: 1 / 1;
  background: var(--red); opacity: .15;
  animation: drift-a 16s ease-in-out infinite alternate;
}
.appintro-stage::after {
  width: min(216px, 52vw); aspect-ratio: 1 / 1;
  background: var(--blue); opacity: .14;
  animation: drift-b 21s ease-in-out infinite alternate;
}
@keyframes drift-a {
  from { transform: translate3d(-44px, -30px, 0) scale(.96); }
  to   { transform: translate3d(42px, 34px, 0) scale(1.1); }
}
@keyframes drift-b {
  from { transform: translate3d(96px, 74px, 0) scale(1.06); }
  to   { transform: translate3d(-72px, -58px, 0) scale(.9); }
}
.appintro-stage img {
  position: relative; z-index: 2; width: min(272px, 60vw);
  filter: drop-shadow(0 34px 62px rgba(1,24,58,.34));
}
.appfeat { display: flex; flex-direction: column; gap: clamp(28px, 3.4vw, 44px); max-width: 360px; }
.appfeat--left { margin-left: auto; }
.appfeat-item { display: flex; flex-direction: column; gap: 9px; }
.appfeat-item h4 { color: var(--navy-dark); }
.appfeat-item p { color: var(--grey-mute); font-size: 15.5px; line-height: 1.55; }
.appfeat-item .bar { width: 34px; height: 3px; border-radius: 999px; background: var(--red); margin-bottom: 4px; }
.appfeat--left { text-align: right; }
.appfeat--left .bar { margin-left: auto; }
@media (max-width: 980px) {
  .appintro-grid { grid-template-columns: 1fr; gap: 40px; }
  .appfeat, .appfeat--left { max-width: none; margin-left: 0; }
  .appintro-stage { order: -1; }
  .appfeat--left { text-align: left; }
  .appfeat--left .bar { margin-left: 0; }
  .appfeat { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px; }
}

/* ═══════════════════════════════════════════════════════════
   6 · VERTICAL SELECTOR (spec 4.3)
   ═══════════════════════════════════════════════════════════ */
.vcard { display: flex; flex-direction: column; gap: 16px; }
.vcard h3 { font-size: clamp(24px, 2vw, 30px); }
.vcard .go { margin-top: auto; padding-top: 10px; font-weight: 600; font-family: var(--font-display); display: inline-flex; align-items: center; gap: 8px; color: var(--blue); background: none; border: 0; cursor: pointer; font-size: 16px; padding-inline: 0; }
.vcard .go .arw { transition: transform .2s ease; }
.vcard:hover .go .arw { transform: translateX(4px); }

/* ═══════════════════════════════════════════════════════════
   7 · ROLES LADDER (moved to /security)
   ═══════════════════════════════════════════════════════════ */
.ladder { border-top: 1px solid var(--on-dark-line); }
.rung { display: grid; grid-template-columns: 210px minmax(0,1fr) 230px; gap: 28px; align-items: center; padding: 26px 2px; border-bottom: 1px solid var(--on-dark-line); }
@media (max-width: 860px) { .rung { grid-template-columns: 1fr; gap: 12px; } }
.rung-role { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--on-dark); }
.rung-role span { display: block; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-mute); margin-top: 5px; }
.rung-desc { color: var(--on-dark-body); font-size: 16px; line-height: 1.55; }
.rung-desc b { color: var(--on-dark); font-weight: 600; }
.reach { display: flex; flex-direction: column; gap: 9px; }
.reach-bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; }
.reach-fill { height: 100%; border-radius: 999px; background: var(--red); }
.reach-label { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-mute); }

/* ═══════════════════════════════════════════════════════════
   8 · FOOTER (spec 4.12)
   ═══════════════════════════════════════════════════════════ */
.foot { background: var(--navy-dark); color: var(--on-dark-body); padding-block: 72px 32px; }
.foot-top { display: grid; grid-template-columns: 1fr; gap: 36px; }
@media (min-width: 700px) { .foot-top { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 40px; } }
@media (min-width: 1020px) { .foot-top { grid-template-columns: minmax(0,1.4fr) repeat(4, minmax(0,1fr)); gap: 44px; } }
.foot-brand img { height: 32px; width: auto; }
.foot-brand p a { color: var(--on-dark); text-decoration: underline; text-underline-offset: 3px; }
.foot-brand p { margin-top: 18px; max-width: 34ch; font-size: 15px; line-height: 1.55; color: var(--on-dark-body); }
.foot-col h4 { font-size: 13px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--on-dark-mute); margin-bottom: 16px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.foot-col a, .foot-col button, .foot-col span { background: none; border: 0; padding: 0; cursor: pointer; color: var(--on-dark-body); font-family: var(--font-body); font-size: 15px; text-align: left; text-decoration: none; transition: color .15s ease; }
.foot-col a:hover, .foot-col button:hover { color: var(--red); }
.foot-col a.active { color: var(--white); font-weight: 600; }
.foot-col .soon { color: var(--on-dark-mute); cursor: default; font-size: 15px; }
.foot-offices { margin-top: 52px; padding-top: 30px; border-top: 1px solid var(--on-dark-line); display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 26px; font-size: 14.5px; line-height: 1.55; }
.foot-offices strong { display: block; color: var(--on-dark); font-size: 12.5px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 7px; }
.ack { margin-top: 44px; padding: 26px 28px; background: rgba(255,255,255,.05); border-radius: var(--radius); font-size: 14.5px; line-height: 1.6; max-width: 82ch; }
.ack strong { display: block; color: var(--on-dark); font-weight: 600; margin-bottom: 8px; }
.foot-legal { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--on-dark-line); display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 13.5px; color: var(--on-dark-mute); align-items: center; }
.foot-legal .sp { margin-left: auto; }

/* ═══════════════════════════════════════════════════════════
   9 · ROUTER + MOTION
   ═══════════════════════════════════════════════════════════ */
.js-reveal .rise { opacity: 0; transform: translateY(12px); transition: opacity .2s ease-out, transform .2s ease-out; }
.rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rise { opacity: 1; transform: none; transition: none; }
  .appintro-stage::before, .appintro-stage::after { animation: none; }
  .hero-dash, .hero-phone { animation: none; }
  .step::after { transform: scaleX(1); }
  .step-num, .step h4, .step p { opacity: 1; transform: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

.notice {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(20px);
  background: var(--navy-dark); color: var(--white); padding: 14px 22px; border-radius: 999px;
  font-size: 14.5px; box-shadow: 0 18px 40px -14px rgba(1,24,58,.6); z-index: 300;
  opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
}
.notice.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Page intro band for sub-pages */
.pintro { background: var(--navy-dark); color: var(--on-dark); position: relative; overflow: hidden; }
.pintro::after {
  content: ""; position: absolute; right: -180px; top: -160px; width: 520px; height: 520px;
  border-radius: 50%; background: var(--red); opacity: .15;
}
.pintro .wrap { position: relative; z-index: 2; }
.pintro-in { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: clamp(32px,5vw,64px); align-items: center; padding-block: clamp(52px, 6vw, 84px); }
@media (max-width: 900px) { .pintro-in { grid-template-columns: 1fr; } }
.pintro h1 { max-width: 15ch; }
.pintro p { color: var(--on-dark-body); font-size: 18px; line-height: 1.55; max-width: 56ch; }
.crumb { font-size: 13px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: #ff8f91; }
.phone-shot { width: min(260px, 70%); margin-inline: auto; filter: drop-shadow(0 30px 55px rgba(0,0,0,.45)); }

/* ═══════════════════════════════════════════════════════════
   10 · LEGAL PAGES (Terms of Use, Privacy Policy)
   ═══════════════════════════════════════════════════════════ */
.legal-sec { padding-block: clamp(48px, 6vw, 88px); background: var(--white); }
.legal-layout { display: grid; grid-template-columns: 1fr; gap: 44px; max-width: 900px; margin-inline: auto; }
@media (min-width: 1040px) {
  .legal-layout { grid-template-columns: 270px minmax(0, 1fr); gap: 52px; max-width: 1200px; align-items: start; }
  .legal-sidebar { position: sticky; top: 96px; overflow: visible; }
}
.legal-sidebar-nav { background: var(--grey-50); border: 1px solid var(--grey-line); border-radius: var(--radius); padding: 18px 20px; }
.legal-sidebar-title { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-mute); margin-bottom: 12px; }
.legal-sidebar-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.legal-sidebar-nav a { font-size: 12.5px; line-height: 1.35; color: var(--grey-mute); text-decoration: none; transition: color .15s ease; display: block; }
.legal-sidebar-nav a:hover { color: var(--red); }
.legal-content h2 { font-size: clamp(22px, 2.2vw, 26px); font-weight: 600; color: var(--navy-dark); margin-top: 44px; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--grey-line); letter-spacing: -0.01em; scroll-margin-top: 92px; }
.legal-content h3 { font-size: 18.5px; font-weight: 600; color: var(--blue); margin-top: 28px; margin-bottom: 12px; scroll-margin-top: 92px; }
.legal-content p { font-size: 16px; line-height: 1.7; color: var(--grey-body); margin-bottom: 18px; }
.legal-content ul, .legal-content ol { padding-left: 22px; margin-bottom: 20px; }
.legal-content li { font-size: 15.5px; line-height: 1.65; color: var(--grey-body); margin-bottom: 9px; }
.legal-content li strong { color: var(--navy-dark); }
.legal-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.legal-content a:hover { color: var(--red); }
.legal-box { background: var(--grey-50); border: 1px solid var(--grey-line); border-radius: var(--radius); padding: 20px 24px; margin-block: 24px; }
.legal-box p:last-child { margin-bottom: 0; }
.legal-contact-card { background: #fdf2f2; border: 1px solid rgba(244,80,83,.25); border-radius: var(--radius); padding: 24px 28px; margin-top: 40px; }
.legal-contact-card h4 { margin: 0 0 10px; color: var(--navy-dark); font-size: 17px; }
.legal-contact-card p { margin-bottom: 6px; font-size: 15px; }
.legal-contact-card a { color: var(--red-deep); font-weight: 500; }


