:root {
  --ink: #08243a;
  --blue: #1459ff;
  --blue-bright: #2f75ff;
  --cream: #f7f4ed;
  --paper: #fffdfa;
  --line: rgba(8, 36, 58, 0.14);
  --muted: #567084;
  --shadow: 0 24px 70px rgba(8, 36, 58, 0.13);
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  top: -100px;
  left: 15px;
  z-index: 20;
  background: #fff;
  padding: 10px 18px;
}
.skip:focus { top: 15px; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h1, h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
}
h1 { margin: 0; font-size: clamp(3.2rem, 6.4vw, 6.3rem); max-width: 760px; }
h2 { margin: 0; font-size: clamp(2.65rem, 5vw, 5rem); }
h3 { margin: 0; font-size: 1.05rem; line-height: 1.3; }
p { margin: 0; }

header { position: absolute; inset: 0 0 auto; z-index: 5; }
nav { height: 90px; display: flex; align-items: center; justify-content: space-between; }
.brand {
  display: block;
  width: 236px;
  height: 40px;
  overflow: hidden;
  text-decoration: none;
}
.brand img {
  display: block;
  width: 259px;
  max-width: none;
  height: auto;
  margin: -22px 0 0 -10px;
}
footer .brand { width: 200px; height: 34px; }
footer .brand img { width: 219px; margin: -19px 0 0 -9px; }
.nav-link {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(8, 36, 58, 0.45);
  padding-bottom: 3px;
}

.hero { background: var(--cream); overflow: hidden; position: relative; }
.hero-inner { padding: 145px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.72fr; gap: 75px; align-items: center; }
.hero-copy > p:not(.eyebrow) {
  color: var(--muted);
  max-width: 680px;
  font-size: clamp(1.06rem, 1.6vw, 1.27rem);
  margin-top: 28px;
}
.hero-actions { display: flex; gap: 14px; align-items: center; margin-top: 38px; flex-wrap: wrap; }
.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 21px;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
}
.btn-primary { background: var(--blue-bright); color: #fff; box-shadow: 0 10px 30px rgba(20, 89, 255, 0.35); }
.hero-proof { display: flex; align-items: center; gap: 12px; margin-top: 24px; color: #dce7ff; font-size: 0.84rem; }
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7ee1cd;
  box-shadow: 0 0 0 6px rgba(126, 225, 205, 0.12);
}
.wedge-card {
  background: var(--ink);
  color: white;
  border-radius: 25px;
  padding: 30px;
  box-shadow: 0 28px 75px rgba(8, 36, 58, 0.22);
}
.wedge-card .eyebrow { color: #86adff; }
.wedge-card h2 { font-size: clamp(2.2rem, 3.6vw, 3.6rem); }
.wedge-card > p:not(.eyebrow) { color: #bfd0dd; margin-top: 18px; }
.wedge-card .hero-actions { margin-top: 26px; }
.wedge-jobs { display: grid; gap: 10px; margin-top: 25px; }
.wedge-job {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: #f4f8fb;
  font-size: 0.9rem;
}
.wedge-job span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(47, 117, 255, 0.22);
  color: #a9c2ff;
  font-size: 0.72rem;
  font-weight: 700;
}
.journey-frame {
  margin-top: 58px;
  background: #fbf8f2;
  border: 1px solid rgba(8, 36, 58, 0.09);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.journey-frame img { width: 100%; height: auto; display: block; }
.journey-note {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 18px 24px 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
}
.journey-note strong { color: var(--blue); }
.journey-note i { height: 1px; background: var(--line); }

.deep-dive { padding: 120px 0; }
.wedge-head { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 90px; align-items: start; }
.wedge-copy { max-width: 700px; }
.wedge-copy > p { color: var(--muted); font-size: 1.13rem; margin-top: 26px; max-width: 610px; }
.steps { margin-top: 55px; border-top: 1px solid var(--line); }
.step {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.step-no { font-family: var(--serif); color: var(--blue); font-size: 1.8rem; }
.step p { color: var(--muted); margin-top: 5px; }

.workflow { background: var(--ink); color: white; padding: 112px 0; }
.workflow .eyebrow { color: #86adff; }
.workflow-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 80px; align-items: start; }
.workflow-intro p:last-child { margin-top: 25px; color: #b8cbd9; max-width: 460px; }
.status-panel {
  background: #f9fbfe;
  color: var(--ink);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}
.demo-label {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.status-top { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 5px 5px 19px; }
.status-top small { color: var(--muted); }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  background: #e5f8f2;
  color: #13705d;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.78rem;
}
.badge[data-tone="attention"] { background: #fff1dc; color: #9a5617; }
.stage-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.stage-tab {
  border: 0;
  cursor: pointer;
  border-radius: 12px;
  padding: 11px 8px;
  color: var(--muted);
  background: #edf2f6;
  font: inherit;
  font-weight: 700;
  font-size: 0.88rem;
}
.stage-tab[aria-selected="true"] { background: var(--blue); color: #fff; }
.stage-detail { border: 1px solid var(--line); border-radius: 17px; padding: 22px; min-height: 210px; }
.detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.detail-row:last-child { border: 0; }
.detail-row span:first-child { color: var(--muted); font-size: 0.87rem; }
.detail-row strong { text-align: right; font-size: 0.9rem; max-width: 68%; overflow-wrap: anywhere; }

.principle { padding: 125px 0; text-align: center; }
.principle blockquote {
  margin: 0 auto;
  max-width: 930px;
  font-family: var(--serif);
  font-size: clamp(2.7rem, 5.6vw, 5.5rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
}
.principle p { max-width: 670px; margin: 30px auto 0; color: var(--muted); font-size: 1.08rem; }

.soft-cta { padding: 100px 0; background: var(--blue); color: #fff; }
.soft-cta-inner { display: grid; grid-template-columns: 1.1fr 0.7fr; gap: 80px; align-items: end; }
.soft-cta .eyebrow { color: #d6e3ff; }
.soft-cta p { color: #e1e9ff; font-size: 1.08rem; max-width: 520px; }
.soft-cta .btn { margin-top: 24px; background: #fff; color: var(--blue); }
.contact-note { font-size: 0.84rem; margin-top: 16px; max-width: 420px; }

.about-page { max-width: 720px; }
.about-page .hero-lead {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2rem);
  line-height: 1.25;
  margin: 32px 0 24px;
}
.about-page p + p { margin-top: 1.25rem; color: var(--muted); }
.about-page .signature { color: var(--ink); font-size: 1.25rem; margin-top: 32px; }
.about-page .signature span { display: block; font-size: 0.8125rem; color: var(--muted); margin-top: 4px; }

footer { background: var(--cream); padding: 50px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.footer-copy { color: var(--muted); font-size: 0.9rem; }
.footer-copy strong { display: block; color: var(--ink); margin-bottom: 3px; }

@media (max-width: 820px) {
  .shell { width: min(100% - 28px, 680px); }
  nav { height: 72px; }
  .hero-inner { padding: 125px 0 70px; }
  h1 { font-size: clamp(3rem, 14vw, 5rem); }
  .hero-grid, .wedge-head, .workflow-grid, .soft-cta-inner { grid-template-columns: 1fr; gap: 38px; }
  .deep-dive, .workflow, .principle, .soft-cta { padding: 82px 0; }
  .wedge-card { max-width: 620px; }
  .journey-frame { margin-top: 38px; border-radius: 18px; overflow-x: auto; }
  .journey-frame img { min-width: 900px; }
  .journey-note {
    position: sticky;
    left: 0;
    width: min(100vw - 30px, 680px);
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .journey-note i { display: none; }
  .stage-tabs { grid-template-columns: 1fr 1fr; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

.page-workflow header { position: static; background: var(--cream); }
.page-workflow .hero { overflow: visible; }
.page-workflow .hero-inner { padding: 72px 0 108px; }
.page-workflow .hero-copy { display: grid; grid-template-columns: 1.1fr 0.62fr; gap: 80px; align-items: end; }
.page-workflow .hero-copy > p:last-child {
  color: var(--muted);
  font-size: clamp(1.06rem, 1.5vw, 1.24rem);
  max-width: 470px;
  padding-bottom: 9px;
}
.back-link {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(8, 36, 58, 0.35);
  padding-bottom: 3px;
}
.workspace-wrap { margin-top: 68px; }
.workspace-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 13px;
  color: var(--muted);
  font-size: 0.78rem;
}
.workspace-label span:first-child { text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; }
.route-switch {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}
.route-button {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  color: var(--muted);
  background: transparent;
  min-height: 44px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 0.88rem;
}
.route-button[aria-pressed="true"] { color: #fff; background: var(--ink); }
.workspace {
  display: grid;
  grid-template-columns: 285px 1fr;
  min-height: 560px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(8, 36, 58, 0.1);
  background: #f9fbfe;
}
.rail { background: var(--ink); color: #fff; padding: 28px 25px; }
.rail-top { padding-bottom: 22px; border-bottom: 1px solid rgba(255, 255, 255, 0.13); }
.rail-top small { color: #9fb4c4; }
.rail-top strong { display: block; font-size: 1.05rem; margin-top: 2px; }
.timeline { margin-top: 27px; }
.stage {
  position: relative;
  display: grid;
  grid-template-columns: 25px 1fr;
  gap: 12px;
  min-height: 70px;
  color: #9fb4c4;
}
.stage:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 22px;
  height: calc(100% - 4px);
  width: 1px;
  background: rgba(255, 255, 255, 0.18);
}
.stage-dot {
  width: 15px;
  height: 15px;
  margin-top: 3px;
  border-radius: 50%;
  border: 2px solid #6f8797;
  background: var(--ink);
  z-index: 1;
}
.stage.is-done { color: #eaf2f7; }
.stage.is-done .stage-dot { background: #7ee1cd; border-color: #7ee1cd; }
.stage.is-current { color: #fff; }
.stage.is-current .stage-dot {
  background: var(--blue-bright);
  border-color: #9ab7ff;
  box-shadow: 0 0 0 5px rgba(47, 117, 255, 0.2);
}
.stage strong { display: block; font-size: 0.88rem; }
.stage small { color: inherit; opacity: 0.72; }
.work-area { padding: 30px; }
.order-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.order-head small { color: var(--muted); }
.signal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.signal {
  min-height: 125px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 17px;
  background: #fff;
}
.signal span { display: block; color: var(--muted); font-size: 0.76rem; margin-bottom: 12px; }
.signal strong { display: block; font-size: 1rem; line-height: 1.28; overflow-wrap: anywhere; }
.signal small { display: block; color: var(--muted); margin-top: 6px; }
.exception {
  margin-top: 17px;
  border: 1px solid rgba(154, 86, 23, 0.25);
  background: #fffaf2;
  border-radius: 18px;
  padding: 22px;
}
.exception-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9a5617;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.exception-content { display: grid; grid-template-columns: 1fr 0.7fr 0.95fr; gap: 25px; margin-top: 17px; }
.exception-content span { display: block; color: var(--muted); font-size: 0.76rem; margin-bottom: 5px; }
.exception-content strong { font-size: 0.9rem; line-height: 1.35; display: block; }
.message-state {
  margin-top: 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-radius: 16px;
  background: #edf3ff;
  padding: 18px 20px;
}
.message-state div:first-child { display: flex; align-items: center; gap: 12px; }
.message-icon {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  font-weight: 700;
}
.message-state small { color: var(--muted); }
.message-state blockquote {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.message-state > strong { color: var(--blue); font-size: 0.82rem; letter-spacing: 0.04em; }
.clarity { padding: 120px 0; }
.clarity-head { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 90px; align-items: start; }
.clarity-head > div:last-child > p { color: var(--muted); font-size: 1.1rem; max-width: 660px; }
.jobs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 68px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.job { padding: 30px 26px 34px 0; }
.job + .job { border-left: 1px solid var(--line); padding-left: 26px; }
.job-no { color: var(--blue); font-family: var(--serif); font-size: 1.8rem; }
.job h3 { margin-top: 22px; font-size: 1.15rem; }
.job p { color: var(--muted); margin-top: 9px; }
.boundaries { background: var(--ink); color: #fff; padding: 112px 0; }
.boundaries-grid { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: 90px; }
.boundaries .eyebrow { color: #86adff; }
.boundaries-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.boundary {
  padding: 21px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}
.boundary strong { display: block; }
.boundary p { color: #b8cbd9; margin-top: 7px; font-size: 0.9rem; }

@media (max-width: 860px) {
  .page-workflow .hero-inner { padding: 52px 0 78px; }
  .page-workflow .hero-copy,
  .clarity-head,
  .boundaries-grid { grid-template-columns: 1fr; gap: 32px; }
  .workspace { grid-template-columns: 1fr; }
  .timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .stage { min-height: 0; }
  .stage:not(:last-child)::after { display: none; }
  .signal-grid { grid-template-columns: 1fr; }
  .exception-content { grid-template-columns: 1fr; gap: 14px; }
  .jobs { grid-template-columns: 1fr; }
  .job { padding: 26px 0; }
  .job + .job { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .clarity, .boundaries { padding: 78px 0; }
  .boundaries-copy { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .workspace-label { align-items: flex-start; flex-direction: column; }
  .work-area { padding: 20px; }
  .order-head { flex-direction: column; }
  .timeline { grid-template-columns: 1fr; }
  .message-state { align-items: flex-start; flex-direction: column; }
  .detail-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .detail-row strong { text-align: left; max-width: none; }
}

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

.page-watch header,
.page-guided header { position: static; background: var(--cream); }
.page-watch .hero-inner,
.page-guided .hero-inner { padding: 36px 0 72px; }
.page-watch h1,
.page-guided h1 { font-size: clamp(2.4rem, 6vw, 4.15rem); max-width: 16ch; }
.unlisted-page { max-width: 880px; }
.review-flag {
  display: inline-block;
  margin: 0 0 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff1dc;
  color: #9a5617;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.unlisted-lead { color: var(--muted); font-size: 1.05rem; max-width: 62ch; }
.unlisted-lead + .unlisted-lead { margin-top: 12px; }
.player-frame {
  margin-top: 28px;
  background: #08243a;
  border-radius: 18px;
  overflow: hidden;
}
.player-frame video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  background: #000;
}
.caption-note { color: var(--muted); font-size: 0.9rem; margin-top: 12px; }
.caption-read { margin-top: 8px; }
.caption-read summary {
  cursor: pointer;
  font-weight: 700;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.caption-read ol { margin: 8px 0 0; padding-left: 1.2rem; color: var(--muted); }
.caption-read li { margin: 0.45rem 0; }
.caption-read time { display: block; font-size: 0.78rem; letter-spacing: 0.04em; color: var(--ink); }
.watch-contacts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.page-watch .btn-quiet,
.page-guided .btn-quiet {
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(8, 36, 58, 0.18);
}
.watch-help { color: var(--muted); font-size: 0.9rem; margin-top: 14px; max-width: 62ch; }

.guided-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.guided-actions button {
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(8, 36, 58, 0.16);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0 16px;
  cursor: pointer;
}
.guided-actions button:disabled { opacity: 0.45; cursor: not-allowed; }
.guided-actions button[data-role="reset"] { margin-left: auto; }
.page-guided .workspace-wrap { margin-top: 28px; }
.page-guided .signal small { min-height: 2.6em; }
.page-guided .rail-note { color: #c5d4df; font-size: 0.9rem; margin-top: 22px; }

@media (max-width: 820px) {
  .page-watch .hero-inner,
  .page-guided .hero-inner { padding: 28px 0 56px; }
  .guided-actions button[data-role="reset"] { margin-left: 0; }
}
