:root {
  --navy: #112f49;
  --blue: #194560;
  --teal: #168994;
  --aqua: #58cbc8;
  --orange: #fa8b43;
  --green: #309667;
  --ink: #173149;
  --muted: #64798a;
  --line: #dce7eb;
  --mist: #f2f7f8;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
a { color: inherit; }
button { font: inherit; }

.site-header {
  height: 76px;
  padding: 0 clamp(24px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  position: relative;
  z-index: 10;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: .05em;
}
.brand strong { color: var(--teal); }
.brand-mark {
  width: 34px;
  height: 32px;
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(2, 1fr);
}
.brand-mark i { display: block; border-radius: 3px; background: var(--navy); }
.brand-mark i:first-child { grid-row: 1 / 3; background: var(--orange); }
.brand-mark i:last-child { background: var(--aqua); }
.site-header nav { display: flex; gap: 32px; }
.site-header nav a {
  text-decoration: none;
  color: #476173;
  font-weight: 600;
  font-size: .94rem;
}
.site-header nav a:hover, .site-header nav a:focus-visible { color: var(--teal); }

.hero {
  min-height: 680px;
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  overflow: hidden;
}
.hero > img, .hero-overlay, .hero-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero > img { object-fit: cover; z-index: -3; }
.hero-overlay {
  z-index: -2;
  background: linear-gradient(90deg, rgba(10,39,61,.97) 0%, rgba(10,39,61,.86) 46%, rgba(10,39,61,.28) 100%);
}
.hero-grid {
  z-index: -1;
  opacity: .14;
  background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, black, transparent 70%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 9px;
  background: var(--orange);
}
.hero-content {
  width: min(780px, calc(100% - 48px));
  margin-left: clamp(24px, 7vw, 110px);
  padding: 80px 0 130px;
  color: var(--white);
}
.eyebrow, .kicker {
  margin: 0 0 18px;
  color: var(--teal);
  font-weight: 800;
  letter-spacing: .11em;
  font-size: .86rem;
}
.eyebrow { color: var(--aqua); }
.hero h1, h2, h3 {
  margin-top: 0;
  font-family: "Manrope", sans-serif;
  line-height: 1.08;
}
.hero h1 {
  margin-bottom: 24px;
  font-size: clamp(2.75rem, 6vw, 5.4rem);
  letter-spacing: -.045em;
  max-width: 900px;
}
.hero-copy {
  max-width: 670px;
  margin: 0 0 34px;
  color: #e4eef3;
  font-size: clamp(1.08rem, 2vw, 1.4rem);
  line-height: 1.5;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 14px 19px;
  border: 1px solid rgba(255,255,255,.5);
  color: white;
  text-decoration: none;
  font-weight: 700;
  transition: background .2s, border .2s;
}
.button:hover { background: var(--orange); border-color: var(--orange); }
.hero-summary {
  position: absolute;
  right: clamp(24px, 5vw, 76px);
  bottom: 0;
  display: grid;
  grid-template-columns: auto 54px auto;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  min-width: 470px;
  background: rgba(255,255,255,.95);
  color: var(--navy);
  box-shadow: 0 18px 42px rgba(2,27,45,.18);
}
.hero-summary span { position: absolute; left: 26px; top: -27px; color: white; font-size: .77rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero-summary strong { font-size: .9rem; }
.hero-summary i { height: 1px; background: var(--teal); position: relative; }
.hero-summary i::after { content: ""; position: absolute; right: 0; top: -4px; border: 4px solid transparent; border-left-color: var(--teal); }

.section { padding: 110px clamp(24px, 7vw, 110px); }
.section-intro {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 56px;
}
.section h2, .benefits h2, .closing h2 {
  margin-bottom: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -.035em;
}
.section-intro > p { margin: 0; color: var(--muted); font-size: 1.05rem; }

.stage-selector {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  position: relative;
}
.stage-selector::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 50%;
  height: 2px;
  background: var(--line);
  z-index: -1;
}
.stage {
  min-height: 142px;
  border: 0;
  padding: 22px;
  text-align: left;
  color: white;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 12px 28px rgba(21,55,83,.09);
  transition: transform .2s, box-shadow .2s;
}
.stage:hover, .stage:focus-visible { transform: translateY(-4px); box-shadow: 0 18px 34px rgba(21,55,83,.17); }
.stage:nth-child(1) { background: var(--navy); }
.stage:nth-child(2) { background: var(--teal); }
.stage:nth-child(3) { background: var(--orange); }
.stage:nth-child(4) { background: var(--green); }
.stage span { font-size: 1.8rem; font-weight: 700; opacity: .72; }
.stage strong { font-family: "Manrope", sans-serif; font-size: clamp(1rem, 1.8vw, 1.35rem); line-height: 1.1; }
.stage:not(.active) { opacity: .74; }
.stage.active { outline: 4px solid rgba(88,203,200,.24); outline-offset: 3px; }

.stage-panel {
  margin-top: 24px;
  min-height: 320px;
  padding: 42px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #fff 0%, var(--mist) 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 60px;
}
.panel-heading p, .status-label, .transition span, .order-card span {
  display: block;
  margin: 0 0 7px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
}
.panel-heading h3 { margin: 0; color: var(--navy); font-size: 1.7rem; }
#panel-text { margin: 0; color: var(--muted); font-size: 1.05rem; }
.status-list { display: flex; flex-wrap: wrap; gap: 8px; }
.status-list span {
  padding: 6px 11px;
  border: 1px solid #bfd6dc;
  border-radius: 999px;
  background: white;
  font-size: .86rem;
  font-weight: 600;
}
.transition {
  padding: 20px 22px;
  border-left: 4px solid var(--teal);
  background: white;
}
.transition strong { display: block; color: var(--navy); }
.transition small { display: block; margin-top: 7px; color: var(--muted); font-size: .86rem; }

.control-section {
  display: grid;
  grid-template-columns: 1fr .88fr;
  gap: clamp(50px, 8vw, 120px);
  align-items: center;
  background: var(--mist);
}
.control-copy > p:not(.kicker) { color: var(--muted); font-size: 1.05rem; }
.check-list { padding: 0; margin: 30px 0 0; list-style: none; }
.check-list li {
  position: relative;
  padding: 12px 0 12px 34px;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }
.order-card {
  background: white;
  box-shadow: 0 22px 55px rgba(17,47,73,.14);
  border-top: 6px solid var(--orange);
  padding: 32px;
}
.order-card-top { display: flex; justify-content: space-between; gap: 24px; padding-bottom: 24px; }
.order-card strong { display: block; color: var(--navy); }
.live-pill { align-self: start; padding: 6px 10px; background: #eef9f4; color: var(--green) !important; border-radius: 999px; letter-spacing: 0 !important; font-size: .76rem !important; }
.live-pill i { display: inline-block; width: 7px; height: 7px; margin-right: 4px; border-radius: 50%; background: var(--green); }
.metric-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.metric-row > div { padding: 18px; background: var(--mist); }
.journey { margin-top: 28px; }
.journey-row { position: relative; display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; padding: 11px 0; color: var(--muted); }
.journey-row i { width: 12px; height: 12px; border: 2px solid #b8c7cf; border-radius: 50%; background: white; position: relative; z-index: 2; }
.journey-row:not(:last-child)::after { content: ""; position: absolute; left: 5px; top: 29px; width: 2px; height: 22px; background: var(--line); }
.journey-row.complete, .journey-row.current { color: var(--navy); font-weight: 600; }
.journey-row.complete i { border-color: var(--green); background: var(--green); }
.journey-row.current i { border: 3px solid var(--orange); }
.journey-row time { font-size: .8rem; }

.benefits {
  padding: 110px clamp(24px, 7vw, 110px);
  background: var(--navy);
  color: white;
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 80px;
}
.kicker.light { color: var(--aqua); }
.benefits h2 { color: white; }
.benefit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.14); }
.benefit-grid article { background: var(--navy); padding: 30px; }
.benefit-grid span { color: var(--orange); font-weight: 800; font-size: .8rem; }
.benefit-grid h3 { margin: 12px 0 10px; font-size: 1.22rem; }
.benefit-grid p { margin: 0; color: #cbdce7; font-size: .94rem; }
.closing { padding: 105px 24px; text-align: center; }
.closing a { display: inline-block; margin-top: 34px; color: var(--teal); font-weight: 700; text-decoration: none; }
footer {
  padding: 26px clamp(24px, 7vw, 110px);
  background: #0c263b;
  color: #abc1ce;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: .86rem;
}
footer span:first-child { color: var(--orange); font-family: "Manrope", sans-serif; font-weight: 800; letter-spacing: .08em; }

@media (max-width: 900px) {
  .site-header nav { display: none; }
  .hero { min-height: 620px; }
  .hero-overlay { background: rgba(10,39,61,.86); }
  .hero-summary { display: none; }
  .hero-content { padding: 70px 0; }
  .section-intro, .control-section, .benefits { grid-template-columns: 1fr; gap: 48px; }
  .stage-panel { grid-template-columns: 1fr; }
  .stage-selector { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .site-header { height: 68px; }
  .brand { font-size: .88rem; }
  .brand-mark { width: 29px; height: 27px; }
  .hero { min-height: 600px; }
  .hero h1 { font-size: 2.6rem; }
  .section, .benefits { padding-top: 76px; padding-bottom: 76px; }
  .stage-selector { grid-template-columns: 1fr; }
  .stage { min-height: 94px; flex-direction: row; align-items: center; }
  .stage strong br { display: none; }
  .stage-panel { padding: 28px 22px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .order-card { padding: 24px 18px; }
  .order-card-top, footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
