:root {
  color-scheme: light;
  --navy: #041E3B;
  --navy-panel: #041A36;
  --navy-footer: #031B3C;
  --red: #B80B11;
  --red-dark: #96090E;
  --blue-panel: #E1F0FC;
  --ink: #1C2B3A;
  --muted: #4A5A6B;
  --line: #E4E9F0;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
}

.container { max-width: 1260px; margin: 0 auto; padding: 0 24px; }

.ico { width: 1em; height: 1em; fill: currentColor; vertical-align: -0.12em; }
.leaf { width: 0.9em; height: 0.9em; fill: var(--red); }

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
}

.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }

.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #0A3159; }

.btn-outline {
  border: 2px solid var(--navy);
  color: var(--navy);
  background: #fff;
}
.btn-outline:hover { background: #F2F6FB; }

.btn:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* ---------- Explainer video ---------- */
.video-modal { width: min(94vw, 1100px); max-width: none; padding: 0; border: 0; border-radius: 12px; background: var(--navy-panel); color: #fff; box-shadow: 0 24px 80px rgba(0,0,0,.35); }
.video-modal::backdrop { background: rgba(3,27,60,.82); }
.video-modal-inner { padding: 18px; }
.video-modal-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 12px; }
.video-modal-header h2 { font-family: var(--serif); font-size: 1.35rem; }
.video-modal-close { border: 0; background: transparent; color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; padding: 0 8px; }
.video-modal video { display: block; width: 100%; height: auto; background: #000; border-radius: 6px; }
.video-modal-actions { display: flex; gap: 12px; flex-wrap: wrap; padding: 16px 0 6px; }
.video-modal-actions .btn-outline { color: #fff; border-color: #fff; background: transparent; }
.video-modal-actions .btn-outline:hover { background: rgba(255,255,255,.12); }
.video-transcript { color: #DCE7F2; font-size: .9rem; margin-top: 8px; }
.video-transcript summary { cursor: pointer; font-weight: 600; }
.video-transcript p { margin-top: 8px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.portal { color: var(--navy); border-color: #B9C4D2; }
.portal:hover { background: #F2F6FB; border-color: var(--navy); }

/* ---------- Top bar ---------- */

.topbar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.logo {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.logo-r { color: var(--red); position: relative; }

.logo-r .leaf {
  position: absolute;
  top: -0.55em;
  left: 50%;
  transform: translateX(-50%);
  width: 0.55em;
  height: 0.55em;
}

.tm { font-size: 0.85rem; color: var(--navy); font-family: var(--sans); }

.brand-tag { font-size: 0.8rem; color: var(--muted); margin-top: 2px; }

.mainnav { display: flex; gap: 26px; flex-wrap: wrap; }

.mainnav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 4px 0;
}

.mainnav a:hover { color: var(--red); }

.mainnav a.active {
  color: var(--red);
  border-bottom: 2px solid var(--red);
}

.nav-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

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

.hero { background: #fff; }

.hero-inner {
  display: grid;
  grid-template-columns: minmax(300px, 5fr) 7fr;
  align-items: center;
  gap: 28px;
  padding-top: 34px;
  padding-bottom: 34px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 3.6vw, 3.1rem);
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero h1 .red { color: var(--red); }

.hero-lede {
  font-size: 1.08rem;
  color: var(--ink);
  max-width: 26rem;
  margin-bottom: 1.6rem;
}

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-art {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

/* ---------- Services strip ---------- */

.services {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  padding: 26px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px 26px;
}

@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
}

.service { display: flex; gap: 12px; align-items: flex-start; }

.s-icon {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.s-icon svg { width: 24px; height: 24px; fill: #fff; }

.service h3 { font-size: 0.98rem; color: var(--navy); margin-bottom: 2px; }

.service h3 a { color: inherit; text-decoration: none; }
.service h3 a:hover { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.service h3 a:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.service p { font-size: 0.85rem; color: var(--muted); }

/* ---------- Two panels ---------- */

.panels {
  display: grid;
  grid-template-columns: 11fr 10fr;
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 40px;
}

.panel { border-radius: 16px; overflow: hidden; }

.panel-light {
  background: var(--blue-panel);
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: 18px;
  align-items: center;
  padding: 28px;
}

.panel-light h2 {
  font-family: var(--serif);
  color: var(--navy);
  font-size: 1.65rem;
  line-height: 1.2;
  margin-bottom: 0.7rem;
}

.panel-lede { font-size: 0.95rem; margin-bottom: 1.1rem; }

.checks { list-style: none; }

.checks li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 0.65rem;
  font-size: 0.93rem;
  font-weight: 500;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--navy);
}

.checks li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  width: 9px;
  height: 5px;
  border-left: 2.5px solid #fff;
  border-bottom: 2.5px solid #fff;
  transform: rotate(-45deg);
}

.panel-light img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.panel-navy {
  background: var(--navy-panel);
  color: #fff;
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: 10px;
  align-items: center;
  padding: 28px 0 28px 28px;
}

.soon { color: #FF5A5F; font-weight: 700; font-size: 0.95rem; }

.panel-navy h2 {
  font-family: var(--serif);
  font-size: 2rem;
  margin: 0.15rem 0 0.2rem;
}

.panel-navy .sub { font-weight: 600; font-size: 0.95rem; margin-bottom: 1rem; }

.features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 1.2rem;
  margin-bottom: 1.4rem;
}

.features li {
  position: relative;
  padding-left: 24px;
  font-size: 0.9rem;
}

.features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-radius: 4px;
}

.panel-navy .map {
  width: 100%;
  height: 100%;
  align-self: stretch;
  object-fit: contain;
  object-position: right center;
  background: var(--navy-panel);
}

/* ---------- Waitlist ---------- */

.waitlist { margin-bottom: 0.4rem; }

.waitlist-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.waitlist-row { display: flex; gap: 10px; flex-wrap: wrap; }

.waitlist-input {
  flex: 1 1 190px;
  min-width: 0;
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
  border: 2px solid transparent;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
}

.waitlist-input::placeholder { color: #8494A6; }
.waitlist-input:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.waitlist-input:disabled { background: #DDE5EE; cursor: not-allowed; }

.waitlist .btn:disabled { opacity: 0.65; cursor: not-allowed; }

.waitlist-note {
  font-size: 0.8rem;
  color: #B9C9DA;
  margin-top: 0.6rem;
}

.waitlist-note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* Honeypot: off-screen rather than display:none, which some bots skip. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

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

.footer {
  background: var(--navy-footer);
  color: #fff;
  padding: 20px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.foot-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
}

.foot-left .parent {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}


.foot-quote {
  font-family: "Snell Roundhand", "Apple Chancery", "Segoe Script", cursive;
  font-size: 1.35rem;
}

.foot-social { display: inline-flex; gap: 12px; }

.foot-social a { color: #fff; text-decoration: none; }

.soc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  color: var(--navy-footer);
  font-weight: 800;
  font-size: 1rem;
}

.soc svg { width: 20px; height: 20px; fill: var(--navy-footer); }

.foot-social a:focus-visible .soc,
.foot-social a:hover .soc { background: var(--red); color: #fff; }

.foot-social a:hover .soc svg { fill: #fff; }

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; }
  .panels { grid-template-columns: 1fr; }
  .panel-navy { padding: 28px; }
  .panel-navy .map { min-height: 0; border-radius: 10px; }
}

@media (max-width: 700px) {
  .topbar-inner, .footer-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
  }
  .mainnav { justify-content: center; gap: 8px 16px; }
  .mainnav a { font-size: 0.88rem; }
  .nav-actions { justify-content: center; }
  .nav-actions .btn { padding: 0.55rem 0.9rem; font-size: 0.85rem; }
  .hero-copy { text-align: center; }
  .hero-lede { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
  .panel-light { grid-template-columns: 1fr; }
  .panel-light, .panel-navy { padding: 22px; }
}

/* ---------- Story pages ---------- */

.logo a { color: inherit; text-decoration: none; }

.panel-light .btn { margin-top: 0.4rem; }

.story-hero {
  background: var(--navy);
  color: #fff;
  padding: 38px 0 32px;
}

.story-hero .story-eyebrow { color: #FF5A5F; }

.story-hero h1 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.story-hero-lede { color: #C9D6E6; max-width: 44rem; font-size: 1.02rem; }

.stories-nav {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.stories-nav-inner { display: flex; gap: 10px; flex-wrap: wrap; }

.chip {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  white-space: nowrap;
}

.chip:hover { border-color: var(--red); color: var(--red); }

.chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }

.chip:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

.story-panels {
  display: grid;
  gap: 24px;
  padding-top: 32px;
  padding-bottom: 44px;
}

.pair-heading {
  font-family: var(--serif);
  color: var(--navy);
  font-size: 1.35rem;
  margin: 6px 0 -6px;
}

.story-panel {
  background: var(--blue-panel);
  border-radius: 16px;
  padding: 28px;
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: 26px;
  align-items: center;
}

.story-panel--flip .story-art { order: 2; }

.story-panel--navy { background: var(--navy-panel); color: #fff; }
.story-panel--navy .story-eyebrow { color: #FF5A5F; }
.story-panel--navy .checks li::before { background: var(--red); }

.story-eyebrow {
  color: var(--red);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.story-panel h2 {
  font-family: var(--serif);
  color: var(--navy);
  font-size: 1.65rem;
  line-height: 1.2;
  margin-bottom: 0.7rem;
}

.story-panel--navy h2 { color: #fff; }

.story-lede { font-size: 0.95rem; margin-bottom: 1.1rem; }

.story-panel .checks { margin-bottom: 1.2rem; }

.btn-outline-light {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); }

.story-art { width: 100%; }

.story-art img { display: block; width: 100%; height: auto; border-radius: 10px; }

/* ---------- Homepage crew strip ---------- */

.crew-strip { border-bottom: 1px solid var(--line); padding: 30px 0; }

.crew-strip-inner {
  display: grid;
  grid-template-columns: minmax(260px, 4fr) 7fr;
  gap: 30px;
  align-items: center;
}

.crew-strip-copy h2 {
  font-family: var(--serif);
  color: var(--navy);
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.crew-strip-copy p {
  font-size: 0.93rem;
  color: var(--muted);
  margin-bottom: 1rem;
  max-width: 30rem;
}

.crew-strip-faces {
  list-style: none;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.crew-strip-faces li { text-align: center; width: 92px; }

/* Source art is full-body; zoom into the head so faces read at 92px. */
.crew-strip-faces .face {
  display: block;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--blue-panel);
  box-shadow: inset 0 0 0 3px var(--blue-panel);
}

.crew-strip-faces img {
  width: 100%;
  height: auto;
  display: block;
  transform: scale(2.6);
  transform-origin: 50% 15%;
}

.crew-strip-faces span {
  display: block;
  margin-top: 7px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
}

@media (max-width: 900px) {
  .crew-strip-inner { grid-template-columns: 1fr; }
  .crew-strip-faces { justify-content: flex-start; }
}

@media (max-width: 700px) {
  .crew-strip-copy { text-align: center; }
  .crew-strip-copy p { margin-left: auto; margin-right: auto; }
  .crew-strip-faces { justify-content: center; gap: 14px; }
  .crew-strip-faces li, .crew-strip-faces .face { width: 76px; }
  .crew-strip-faces .face { height: 76px; }
}

/* ---------- Landing page: hero CTAs + capability grid ---------- */

.hero-ctas { margin-top: 1.3rem; }

.caps { padding-top: 36px; padding-bottom: 4px; }

.caps-title {
  font-family: var(--serif);
  color: var(--navy);
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.caps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px 28px;
}

.cap { border-top: 3px solid var(--red); padding-top: 12px; }

.cap h3 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 5px;
}

.cap p { font-size: 0.89rem; color: var(--muted); }

/* ---------- Stories hub ---------- */

.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  padding-top: 34px;
  padding-bottom: 8px;
}

.hub-card {
  background: var(--blue-panel);
  border-radius: 14px;
  padding: 22px 22px 18px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  border: 2px solid transparent;
}

.hub-card:hover { border-color: var(--red); }
.hub-card:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.hub-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.hub-icon svg { width: 23px; height: 23px; fill: #fff; }

.hub-card h2 {
  font-family: var(--serif);
  color: var(--navy);
  font-size: 1.18rem;
  line-height: 1.2;
  margin-bottom: 0.4rem;
}

.hub-card p { font-size: 0.89rem; color: var(--ink); flex: 1; }

.hub-count {
  margin-top: 14px;
  color: var(--red);
  font-weight: 700;
  font-size: 0.73rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* ---------- Crew page ---------- */

.crew-section { padding-top: 34px; padding-bottom: 8px; }

.crew-intro { max-width: 46rem; margin-bottom: 22px; }

.crew-intro h2 {
  font-family: var(--serif);
  color: var(--navy);
  font-size: 1.7rem;
  margin-bottom: 0.5rem;
}

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

.crew-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 24px;
}

.crew-card {
  background: var(--blue-panel);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.crew-portrait {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center top;
  display: block;
  background: #D6E7F7;
}

.crew-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }

.crew-body h3 {
  font-family: var(--serif);
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1.25;
}

.crew-role {
  color: var(--red);
  font-weight: 700;
  font-size: 0.73rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin: 3px 0 8px;
}

.crew-blurb { font-size: 0.87rem; color: var(--ink); flex: 1; }

.crew-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
}

.crew-link:hover { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.crew-link:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.story-band {
  background: var(--navy-panel);
  border-radius: 16px;
  color: #fff;
  text-align: center;
  padding: 54px 28px;
}

.story-band h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  margin-bottom: 0.6rem;
}

.story-band .story-lede {
  color: #C9D6E6;
  max-width: 38rem;
  margin: 0 auto 1.5rem;
}

.story-band--policy {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  background:
    linear-gradient(90deg, rgba(4, 26, 54, 0.9) 0%, rgba(4, 26, 54, 0.68) 48%, rgba(4, 26, 54, 0.38) 100%),
    url("/images/stories/ehcharr_clearwater_policy_thesis_wide_v001_20260803.jpg") center / cover no-repeat;
}

.story-band--policy .story-lede {
  color: #fff;
  margin-left: 0;
}

.story-band--policy .cta-row { justify-content: flex-start; }

@media (max-width: 1000px) {
  .story-panel { grid-template-columns: 1fr; }
  .story-panel--flip .story-art { order: 0; }
}

@media (max-width: 700px) {
  .story-panel { padding: 22px; }
  .story-hero { text-align: center; }
  .story-hero-lede { margin: 0 auto; }
  .stories-nav-inner { justify-content: center; }
  .story-band--policy {
    align-items: center;
    text-align: center;
  }
  .story-band--policy .story-lede { margin-left: auto; }
  .story-band--policy .cta-row { justify-content: center; }
}

/* Waitlist form inside a navy closing band */
.story-band .waitlist--band { max-width: 30rem; margin: 0 auto; text-align: left; }
.story-band .waitlist-note { color: #B9C9DA; }
.band-alt { margin-top: 1.1rem; }

/* ---------- Contact / demo form pages ---------- */

.formpage {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 44px;
  padding-top: 38px;
  padding-bottom: 48px;
  align-items: start;
}

.enquiry { max-width: 34rem; }

.field { margin-bottom: 18px; }

.field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.field .opt { font-weight: 400; color: var(--muted); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 2px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
}

.field textarea { resize: vertical; min-height: 7rem; }

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
  border-color: var(--navy);
}

.enquiry button[type=submit] { border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.enquiry button[disabled] { opacity: 0.65; cursor: not-allowed; }

.form-note { margin-top: 12px; font-size: 0.87rem; color: var(--muted); }

.formaside {
  background: var(--blue-panel);
  border-radius: 14px;
  padding: 24px;
}

.formaside h2 {
  font-family: var(--serif);
  color: var(--navy);
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.formaside h2 + p, .formaside h2 + ul { margin-bottom: 1.3rem; }
.formaside p { font-size: 0.9rem; color: var(--ink); }
.formaside a { color: var(--navy); font-weight: 600; }

@media (max-width: 860px) {
  .formpage { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- About: parent-company page ---------- */

.hero-hint { margin-top: 10px; font-size: 0.9rem; color: #C9D6E6; }
.hero-hint a { color: #fff; font-weight: 600; }
.story-hero-lede .hero-link { color: #fff; font-weight: 600; }

.about-lede {
  max-width: 46rem;
  color: var(--muted);
  font-size: 0.95rem;
  margin: -0.4rem 0 1.3rem;
}

.match-list { list-style: none; border-top: 1px solid var(--line); }

.match-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1.15fr);
  align-items: baseline;
  gap: 10px;
  padding: 12px 2px;
  border-bottom: 1px solid var(--line);
}

.match-mod { font-weight: 700; color: var(--navy); }
.match-mod a { color: inherit; text-decoration: none; border-bottom: 2px solid #E3E9F1; }
.match-mod a:hover { border-bottom-color: var(--red); color: var(--red); }
.match-arrow { color: var(--red); font-weight: 700; text-align: center; }
.match-svc { color: var(--muted); font-size: 0.93rem; }

.about-note {
  margin-top: 1.2rem;
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 46rem;
}
.about-note a { color: var(--navy); font-weight: 600; }

/* ---------- Legal pages ---------- */

.legal { max-width: 46rem; padding-top: 34px; padding-bottom: 46px; }

.legal-meta {
  font-size: 0.85rem;
  color: var(--muted);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.6rem;
}

.legal h2 {
  font-family: var(--serif);
  color: var(--navy);
  font-size: 1.22rem;
  margin: 1.9rem 0 0.5rem;
}

.legal p { color: var(--ink); font-size: 0.96rem; line-height: 1.65; margin-bottom: 0.9rem; }
.legal a { color: var(--navy); font-weight: 600; }
.legal-list { list-style: disc; padding-left: 1.2rem; margin-bottom: 1rem; }
.legal-list li { color: var(--ink); font-size: 0.96rem; line-height: 1.6; margin-bottom: 0.5rem; }

@media (max-width: 620px) {
  .match-list li { grid-template-columns: 1fr; gap: 2px; }
  .match-arrow { display: none; }
  .match-svc { font-size: 0.9rem; }
}

/* ---------- Portal hint + parent-company band ---------- */

.portal-hint {
  font-size: 0.85rem;
  color: #C9D6E6;
  margin-top: 0.55rem;
}
.portal-hint a { color: #fff; font-weight: 600; }

.company-band {
  border-top: 1px solid var(--line);
  background: #F7F9FC;
  padding: 30px 0;
}

.company-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
}

.company-band h2 {
  font-family: var(--serif);
  color: var(--navy);
  font-size: 1.5rem;
  line-height: 1.2;
  margin: 0.15rem 0 0.5rem;
}

.company-band p { font-size: 0.95rem; color: var(--muted); max-width: 44rem; }
.company-band p a { color: var(--navy); font-weight: 600; }

.company-band-cta { display: flex; flex-direction: column; gap: 10px; }
.company-band-cta .btn { justify-content: center; }

.band-signin {
  margin-top: 0.9rem;
  font-size: 0.87rem;
  color: #C9D6E6;
}
.band-signin a { color: #fff; font-weight: 600; }

@media (max-width: 820px) {
  .company-band-inner { grid-template-columns: 1fr; }
  .company-band-cta { flex-direction: row; flex-wrap: wrap; }
}

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

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.plans { padding-top: 34px; padding-bottom: 8px; }

.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}

.plan {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.plan--featured {
  border: 2px solid var(--red);
  box-shadow: 0 10px 28px rgba(4, 30, 59, 0.09);
}

.plan-flag {
  color: var(--red);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.plan-name {
  font-family: var(--serif);
  color: var(--navy);
  font-size: 1.5rem;
  line-height: 1.1;
}

.plan-seats { font-size: 0.85rem; color: var(--muted); margin-top: 2px; }

.plan-price { margin: 0.8rem 0 0.2rem; display: flex; align-items: baseline; gap: 4px; }
.plan-amount { font-family: var(--serif); font-size: 2.2rem; color: var(--navy); line-height: 1; }
.plan-per { font-size: 0.85rem; color: var(--muted); font-weight: 600; }

.plan-note { font-size: 0.88rem; color: var(--ink); margin-bottom: 1rem; min-height: 2.4em; }

.plan-checks { margin-bottom: 1rem; }
.plan-checks li { font-size: 0.88rem; font-weight: 500; }

.plan-excluded {
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 0.7rem;
  margin-bottom: 1rem;
}

.plan-cta { margin-top: auto; justify-content: center; }

.plans-foot {
  margin-top: 1.4rem;
  font-size: 0.87rem;
  color: var(--muted);
  max-width: 52rem;
}

.table-scroll { overflow-x: auto; }

.plan-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  font-size: 0.92rem;
}

.plan-table th, .plan-table td { padding: 11px 14px; text-align: left; }

.plan-table thead th {
  color: var(--navy);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--navy);
}

.plan-table tbody th { font-weight: 600; color: var(--ink); }
.plan-table tbody tr { border-bottom: 1px solid var(--line); }
.plan-table tbody tr:nth-child(even) { background: #F7F9FC; }
.plan-table .yes { color: var(--navy); font-weight: 600; }
.plan-table .no { color: var(--muted); }

.plan-select-row { margin-bottom: 0.9rem; }
.plan-select-row select {
  width: 100%;
  max-width: 24rem;
  cursor: pointer;
}

@media (max-width: 1000px) {
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .plan-grid { grid-template-columns: 1fr; }
  .plan-note { min-height: 0; }
}
