:root {
  --navy: #031d36;
  --navy-2: #082b4b;
  --blue: #087fd1;
  --cyan: #20c7f5;
  --gold: #d99a26;
  --gold-strong: #edae32;
  --white: #ffffff;
  --ink: #09233e;
  --muted: #506477;
  --line: #ccd9e3;
  --focus: #72d9ff;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: var(--white);
  color: var(--navy);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 30;
  height: 88px;
  background: var(--navy);
  color: var(--white);
}
.header-inner {
  width: min(calc(100% - 48px), var(--max));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  flex: 0 0 310px;
  text-decoration: none;
}
.brand-lockup {
  display: flex;
  width: 310px;
  min-height: 78px;
  padding: 5px 12px 6px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: var(--white);
  color: var(--navy);
  flex-direction: column;
}
.brand-lockup img { width: 276px; height: auto; }
.brand-tagline,
.brand-powered {
  display: block;
  line-height: 1.18;
  text-align: center;
  white-space: nowrap;
}
.brand-tagline { margin-top: 1px; font-size: 10px; font-style: normal; }
.brand-tagline em { color: var(--blue); font-style: normal; font-weight: 700; }
.brand-powered { margin-top: 2px; color: #41566b; font-size: 8px; }
.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
  font-size: 14px;
  font-weight: 650;
}
.primary-nav a {
  text-decoration: none;
  white-space: nowrap;
}
.primary-nav a:not(.nav-sign-in):hover,
.primary-nav a:not(.nav-sign-in):focus-visible { color: var(--cyan); }
.nav-sign-in {
  display: inline-flex;
  min-width: 94px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  border-radius: 5px;
  background: var(--gold);
  color: #07192b;
}
.nav-sign-in:hover,
.nav-sign-in:focus-visible { background: var(--gold-strong); }
.menu-toggle { display: none; }

.hero {
  position: relative;
  min-height: 742px;
  overflow: hidden;
  background: #06182a;
  color: var(--white);
}
.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}
.hero-image {
  background-image: url("assets/claimstream-terminal-hero.png");
  background-position: center center;
  background-size: cover;
}
.hero-shade { background: rgba(0, 13, 26, 0.28); }
.hero-inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 48px), var(--max));
  min-height: 742px;
  margin: 0 auto;
  padding: 92px 0 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-copy { max-width: 620px; }
.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold-strong);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 610px;
  margin: 0;
  font-size: 60px;
  line-height: 1.03;
  font-weight: 760;
  letter-spacing: 0;
  text-wrap: balance;
}
.gold-rule {
  display: block;
  width: 64px;
  height: 4px;
  margin: 24px 0;
  background: var(--gold);
}
.gold-rule.centered { margin: 18px auto 54px; }
.hero-lede {
  margin: 0;
  font-size: 21px;
  line-height: 1.45;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  min-height: 48px;
  padding: 0 24px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 5px;
  font-weight: 750;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--gold); color: #07192b; }
.button-primary:hover,
.button-primary:focus-visible { background: var(--gold-strong); }
.button-secondary { border-color: var(--gold); color: var(--white); background: rgba(2, 22, 42, 0.68); }
.button-secondary:hover,
.button-secondary:focus-visible { background: var(--navy); }
.accountable {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 25px 0 0;
  font-weight: 700;
}
.accountable-mark {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  color: var(--cyan);
  font-size: 12px;
}

.hero-lifecycle {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin: 54px 0 0;
  padding: 0;
  list-style: none;
}
.hero-lifecycle::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: rgba(114, 217, 255, 0.64);
}
.hero-lifecycle li {
  position: relative;
  z-index: 1;
  min-width: 0;
  text-align: center;
}
.stage-number {
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--focus);
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 0 0 rgba(32, 199, 245, 0);
  transition: background-color 260ms ease, border-color 260ms ease, box-shadow 260ms ease, color 260ms ease;
}
.hero-lifecycle li.is-active .stage-number {
  border-color: var(--gold-strong);
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 0 24px rgba(237, 174, 50, 0.7);
}
.hero-lifecycle strong,
.hero-lifecycle small { display: block; }
.hero-lifecycle strong { margin-top: 10px; font-size: 15px; }
.hero-lifecycle small { margin-top: 3px; color: #d3e3ef; font-size: 12px; }

.section-inner {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}
.process-section { padding: 78px 0 86px; background: var(--white); }
.process-section h2,
.resources-section h2 {
  margin: 0;
  color: var(--navy);
  font-size: 38px;
  line-height: 1.15;
  text-align: center;
}
.process-section .section-kicker { text-align: center; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.process-grid li {
  position: relative;
  padding: 0 20px;
  border-left: 1px solid var(--line);
}
.process-grid li:first-child { border-left: 0; }
.process-number {
  display: block;
  color: var(--gold);
  font-size: 28px;
  font-weight: 800;
}
.process-grid h3 { margin: 10px 0 9px; font-size: 18px; }
.process-grid p { margin: 0; color: var(--muted); font-size: 14px; }

.carrier-section { padding: 82px 0 88px; background: #f3f8fb; }
.carrier-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 44px 72px;
  align-items: start;
}
.carrier-intro h2 {
  max-width: 600px;
  margin: 0;
  color: var(--navy);
  font-size: 38px;
  line-height: 1.15;
}
.carrier-intro > p:last-child { max-width: 620px; margin: 0; color: var(--muted); font-size: 17px; }
.intelligence-panel {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  padding: 28px 0 30px 30px;
  border-left: 4px solid var(--gold);
}
.intelligence-mark {
  display: inline-flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 17px;
  font-weight: 800;
}
.intelligence-label {
  margin: 0 0 5px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.intelligence-panel h3 { margin: 0 0 10px; color: var(--navy); font-size: 22px; line-height: 1.25; }
.intelligence-panel p:last-child { margin: 0; color: var(--muted); }
.carrier-roster {
  grid-column: 1 / -1;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.carrier-roster > p { margin: 0 0 16px; color: var(--navy); font-size: 14px; font-weight: 800; }
.preparation-points {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 0;
}
.preparation-points span {
  min-width: 0;
  padding: 12px 16px 12px 0;
  border-top: 1px solid rgba(204, 217, 227, 0.7);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.platform-band { padding: 70px 0; background: var(--navy); color: var(--white); }
.platform-layout { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: 82px; align-items: start; }
.platform-band h2,
.closing-band h2 { margin: 0 0 16px; font-size: 34px; line-height: 1.2; }
.platform-band p { margin: 0; max-width: 560px; color: #d3e3ef; }
.section-kicker-light { color: var(--gold-strong) !important; }
.role-list { display: grid; gap: 0; }
.role-list div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 26px;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}
.role-list div:first-child { border-top: 0; padding-top: 0; }
.role-list strong { color: var(--gold-strong); }
.role-list span { color: #d3e3ef; }

.resources-section { padding: 82px 0; }
.resources-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 80px;
  align-items: center;
}
.resources-section h2 { text-align: left; }
.resources-section p:not(.section-kicker) { max-width: 720px; color: var(--muted); font-size: 18px; }
.resources-actions { display: grid; justify-items: start; gap: 18px; }
.text-link { color: var(--blue); font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 4px; }

.closing-band { padding: 52px 0; background: var(--navy-2); color: var(--white); }
.closing-layout { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.closing-band p { margin: 0; color: #d3e3ef; }

.site-footer { padding: 48px 0 24px; background: var(--white); }
.footer-inner,
.footer-legal {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}
.footer-inner {
  display: grid;
  grid-template-columns: 280px 1fr auto;
  gap: 46px;
  align-items: center;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--gold);
}
.footer-brand-lockup { width: 280px; min-height: 82px; }
.footer-brand-lockup img { width: 248px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; font-size: 13px; font-weight: 700; }
.footer-links a { text-decoration: none; }
.footer-links a:hover,
.footer-links a:focus-visible { color: var(--blue); }
.footer-inner p { margin: 0; color: var(--gold); font-size: 14px; }
.footer-inner p strong { color: var(--navy); }
.footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-top: 24px;
  color: var(--muted);
  font-size: 12px;
}

.reveal { opacity: 1; transform: none; }

a:focus-visible,
button:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

@media (max-width: 1040px) {
  .brand { flex-basis: 250px; }
  .brand-lockup { width: 250px; }
  .brand-lockup img { width: 222px; }
  .brand-tagline { font-size: 8px; }
  .brand-powered { font-size: 7px; }
  .primary-nav { gap: 18px; font-size: 13px; }
  .hero h1 { font-size: 52px; }
  .process-grid { grid-template-columns: repeat(3, 1fr); row-gap: 44px; }
  .process-grid li:nth-child(4) { border-left: 0; }
  .preparation-points { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
  .site-header { height: 76px; }
  .header-inner { width: min(calc(100% - 32px), var(--max)); }
  .brand { flex-basis: 220px; }
  .brand-lockup { width: 220px; min-height: 66px; padding: 4px 8px; }
  .brand-lockup img { width: 198px; }
  .brand-tagline { font-size: 7px; }
  .brand-powered { font-size: 6px; }
  .menu-toggle {
    display: inline-flex;
    min-width: 70px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold);
    border-radius: 4px;
    background: transparent;
    color: var(--white);
    font: inherit;
    font-weight: 750;
  }
  .primary-nav {
    position: absolute;
    top: 76px;
    right: 0;
    left: 0;
    display: none;
    padding: 18px 24px 24px;
    align-items: stretch;
    background: var(--navy);
    flex-direction: column;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 8px 0; }
  .nav-sign-in { width: 100%; margin-top: 4px; }
  .hero,
  .hero-inner { min-height: 790px; }
  .hero-image { background-position: 63% center; }
  .hero-shade { background: rgba(0, 13, 26, 0.58); }
  .hero-inner { width: min(calc(100% - 32px), var(--max)); padding-top: 66px; }
  .hero-copy { max-width: 570px; }
  .hero h1 { font-size: 46px; }
  .hero-lede { font-size: 18px; }
  .hero-lifecycle { grid-template-columns: repeat(3, 1fr); row-gap: 22px; }
  .hero-lifecycle::before { display: none; }
  .platform-layout,
  .resources-layout,
  .carrier-layout { grid-template-columns: 1fr; gap: 40px; }
  .carrier-roster { grid-column: auto; }
  .closing-layout { align-items: flex-start; flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-legal { flex-direction: column; gap: 8px; }
}

@media (max-width: 560px) {
  .header-inner,
  .section-inner,
  .footer-inner,
  .footer-legal { width: min(calc(100% - 28px), var(--max)); }
  .brand { flex-basis: 190px; }
  .brand-lockup { width: 190px; min-height: 58px; }
  .brand-lockup img { width: 174px; }
  .brand-tagline { font-size: 6px; }
  .brand-powered { font-size: 5px; }
  .hero,
  .hero-inner { min-height: 840px; }
  .hero-inner { width: min(calc(100% - 28px), var(--max)); padding-top: 52px; }
  .hero h1 { font-size: 40px; }
  .hero-lede br { display: none; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .accountable { font-size: 14px; }
  .hero-lifecycle strong { font-size: 13px; }
  .hero-lifecycle small { display: none; }
  .stage-number { width: 48px; height: 48px; }
  .process-section { padding: 62px 0; }
  .process-section h2,
  .resources-section h2 { font-size: 32px; }
  .process-grid { grid-template-columns: 1fr; row-gap: 0; }
  .process-grid li,
  .process-grid li:nth-child(4) { padding: 22px 0; border-left: 0; border-top: 1px solid var(--line); }
  .process-grid li:first-child { border-top: 0; }
  .gold-rule.centered { margin-bottom: 30px; }
  .carrier-section { padding: 62px 0; }
  .carrier-intro h2 { font-size: 32px; }
  .intelligence-panel { grid-template-columns: 48px 1fr; gap: 14px; padding-left: 18px; }
  .intelligence-mark { width: 48px; height: 48px; font-size: 13px; }
  .preparation-points { grid-template-columns: 1fr 1fr; }
  .role-list div { grid-template-columns: 1fr; gap: 3px; }
  .footer-links { flex-direction: column; gap: 12px; }
}

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