:root {
  --web-ink: #07285f;
  --web-ink-soft: #29476f;
  --web-night: #062863;
  --web-night-2: #0b3f88;
  --web-paper: #f2f8fd;
  --web-cream: #ffffff;
  --web-white: #ffffff;
  --web-coral: #0aa7bc;
  --web-coral-dark: #0755b4;
  --web-mint: #48c5e8;
  --web-amber: #8bdcf0;
  --web-blue: #0755b4;
  --web-line: rgba(7, 57, 128, 0.13);
  --web-line-dark: rgba(255, 255, 255, 0.18);
  --web-shadow: 0 18px 44px rgba(6, 35, 93, 0.1);
  --web-radius: 20px;
  --web-max: 1180px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 8.5rem;
}

body.web-app-page {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--web-ink);
  background: linear-gradient(180deg, #f8fbff 0%, #eef6fd 100%);
  font-family: "Manrope", "Segoe UI", sans-serif;
}

body.web-app-page *,
body.web-app-page *::before,
body.web-app-page *::after {
  box-sizing: border-box;
}

.web-main img {
  max-width: 100%;
}

.web-main a {
  color: inherit;
}

.web-main h1,
.web-main h2,
.web-main h3,
.web-main p,
.web-main ul,
.web-main ol,
.web-main dl,
.web-main figure {
  margin-top: 0;
}

.web-main h1,
.web-main h2,
.web-main h3 {
  color: inherit;
  font-family: "Sora", "Segoe UI", sans-serif;
  line-height: 1.12;
  text-wrap: balance;
}

.web-main h2 {
  margin-bottom: 1.1rem;
  font-size: clamp(2rem, 4.2vw, 3.85rem);
  letter-spacing: -0.045em;
}

.web-main h3 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.08rem, 1.8vw, 1.38rem);
  letter-spacing: -0.02em;
}

.web-main p,
.web-main li,
.web-main dd {
  color: var(--web-ink-soft);
  font-size: 1rem;
  line-height: 1.72;
}

.web-main p:last-child,
.web-main ul:last-child,
.web-main ol:last-child {
  margin-bottom: 0;
}

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 0.6rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--web-night);
  background: var(--web-mint);
  border: 2px solid var(--web-night);
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 150ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.web-main {
  width: min(var(--web-max), calc(100% - 2rem));
  margin: 3.5rem auto;
  padding: 0;
}

.web-main > * {
  min-width: 0;
}

.web-main > section,
.web-main > header,
.web-main > aside {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}

.eyebrow {
  margin-bottom: 0.75rem;
  color: var(--web-coral-dark);
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.web-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  min-height: 660px;
  overflow: hidden;
  color: var(--web-ink);
  background:
    radial-gradient(circle at 4% 5%, rgba(10, 167, 188, 0.13), transparent 34%),
    radial-gradient(circle at 94% 18%, rgba(7, 85, 180, 0.11), transparent 32%),
    linear-gradient(145deg, #ffffff 0%, #f3f8ff 100%);
  border: 1px solid var(--web-line);
  border-radius: 30px;
  box-shadow: var(--web-shadow);
}

.web-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 300px;
  height: 300px;
  top: -120px;
  left: -80px;
  border: 1px solid rgba(10, 167, 188, 0.24);
  border-radius: 50%;
  box-shadow:
    0 0 0 45px rgba(10, 167, 188, 0.035),
    0 0 0 90px rgba(7, 85, 180, 0.025);
}

.web-hero::after {
  content: "WEB / PRODUCT / SYSTEM";
  position: absolute;
  left: 2.35rem;
  bottom: 1.6rem;
  color: rgba(7, 85, 180, 0.25);
  font-family: "Sora", sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.web-hero__copy {
  min-width: 0;
  align-self: center;
  padding: clamp(2.1rem, 5vw, 5rem) clamp(1.4rem, 4.2vw, 4.2rem) 5rem;
}

.web-hero .eyebrow {
  color: #0a548f;
}

.web-hero h1 {
  max-width: 760px;
  margin-bottom: 1.35rem;
  color: var(--web-ink);
  font-size: clamp(2.25rem, 4.2vw, 4rem);
  letter-spacing: -0.035em;
  overflow-wrap: normal;
  word-break: normal;
}

.web-hero__lede {
  max-width: 680px;
  margin-bottom: 1.6rem;
  color: #173f70 !important;
  font-size: clamp(1rem, 1.6vw, 1.15rem) !important;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.1rem;
  align-items: center;
}

.primary-btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.2rem;
  color: #ffffff !important;
  background: linear-gradient(130deg, #0755b4, #0aa7bc);
  border: 1px solid rgba(7, 85, 180, 0.22);
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(7, 65, 145, 0.22);
  font-family: "Sora", sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.primary-btn:hover {
  background: linear-gradient(130deg, #06499c, #078fa1);
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(7, 65, 145, 0.27);
}

.primary-btn:focus-visible,
.text-link:focus-visible,
.chapter-nav a:focus-visible,
.web-app-page summary:focus-visible,
.web-app-page a:focus-visible {
  outline: 3px solid var(--web-amber);
  outline-offset: 4px;
}

.text-link {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  color: inherit;
  font-weight: 800;
  line-height: 1.4;
  text-decoration-color: currentColor;
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.28em;
}

.web-hero .text-link {
  color: var(--web-ink);
}

.text-link span {
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.content-attribution {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 2rem;
  color: #58718d;
  font-size: 0.75rem;
  font-weight: 600;
}

.web-hero__visual {
  position: relative;
  align-self: center;
  min-width: 0;
  margin: 2.1rem 2.1rem 2.1rem 0;
  padding: 1.85rem 0.7rem 0.7rem;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(7, 85, 180, 0.15);
  border-radius: 22px;
  box-shadow: 0 22px 48px rgba(6, 35, 93, 0.16);
  transform: none;
}

.web-hero__visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1672 / 941;
  object-fit: cover;
  border: 1px solid rgba(7, 57, 128, 0.12);
}

.browser-chrome {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  gap: 0.35rem;
  align-items: center;
  height: 1.85rem;
  padding: 0 0.7rem;
}

.browser-chrome i {
  display: block;
  width: 0.46rem;
  height: 0.46rem;
  background: #0755b4;
  border-radius: 50%;
}

.browser-chrome i:nth-child(2) {
  background: #0aa7bc;
}
.browser-chrome i:nth-child(3) {
  background: #48c5e8;
}
.browser-chrome span {
  width: 46%;
  height: 0.38rem;
  margin-left: 0.35rem;
  background: rgba(7, 57, 128, 0.1);
  border-radius: 999px;
}

.web-hero__visual figcaption {
  padding: 0.65rem 0.25rem 0;
  color: #58718d;
  font-size: 0.69rem;
  line-height: 1.5;
}

.decision-brief {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: calc(100% - 4rem);
  margin: -1.25rem auto 0;
  background: var(--web-white);
  border: 1px solid var(--web-line);
  box-shadow: 0 14px 45px rgba(31, 26, 67, 0.1);
}

.decision-brief > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  padding: 1.25rem;
}

.decision-brief > div + div {
  border-left: 1px solid var(--web-line);
}

.brief-index {
  color: var(--web-coral-dark);
  font-family: "Sora", sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
}

.decision-brief p {
  margin: 0;
  font-size: 0.83rem !important;
  line-height: 1.55 !important;
}

.decision-brief strong {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--web-ink);
}

.chapter-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.2rem;
  align-items: center;
  margin: 2.6rem 0 0;
  padding: 1rem 1.2rem;
  background: #ffffff;
  border: 1px solid var(--web-line);
  border-radius: 18px;
  box-shadow: var(--web-shadow);
}

.chapter-nav span {
  margin-right: auto;
  color: var(--web-coral-dark);
  font-family: "Sora", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.chapter-nav a {
  color: var(--web-ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.chapter-nav a:hover {
  color: var(--web-coral-dark);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.chapter {
  display: grid;
  grid-template-columns: minmax(72px, 0.14fr) minmax(0, 0.86fr);
  gap: clamp(1rem, 3vw, 3rem);
  margin-top: 1.35rem;
  padding: clamp(2rem, 5vw, 4.5rem);
  background: #ffffff;
  border: 1px solid var(--web-line);
  border-radius: 28px;
  box-shadow: var(--web-shadow);
}

.format-chapter,
.cost-chapter,
.faq-chapter {
  background: #f8fbff;
}

.chapter-mark {
  position: sticky;
  top: 8.5rem;
  align-self: start;
  padding-top: 0.45rem;
  color: var(--web-coral-dark);
  font-family: "Sora", sans-serif;
  font-size: clamp(2.7rem, 6vw, 5.7rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.08em;
  opacity: 0.24;
}

.chapter-copy {
  min-width: 0;
}

.chapter-copy > p:not(.eyebrow):not(.answer-lede):not(.example-disclosure) {
  max-width: 830px;
}

.answer-lede {
  max-width: 980px;
  color: var(--web-ink) !important;
  font-size: clamp(1.15rem, 2vw, 1.45rem) !important;
  line-height: 1.65 !important;
}

.answer-lede strong {
  font-weight: 800;
}

.spectrum {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2.6rem;
  border: 1px solid var(--web-ink);
  background: var(--web-white);
}

.spectrum article {
  min-height: 230px;
  padding: clamp(1.2rem, 2.5vw, 2rem);
}

.spectrum article + article {
  border-left: 1px solid var(--web-ink);
}

.spectrum article:nth-child(2) {
  color: var(--web-cream);
  background: var(--web-night-2);
}

.spectrum article:nth-child(2) p {
  color: rgba(255, 255, 255, 0.76);
}
.spectrum article:nth-child(3) {
  background: #eaf8fc;
}
.spectrum span,
.quality-matrix span,
.related-grid span,
.story-board > article > span {
  display: block;
  margin-bottom: 1.8rem;
  color: var(--web-coral-dark);
  font-family: "Sora", sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.spectrum article:nth-child(2) span {
  color: var(--web-mint);
}
.spectrum p {
  margin: 0;
  font-size: 0.91rem !important;
}

.format-chapter {
  position: relative;
}

.use-case-ledger {
  margin-top: 2.3rem;
  border-top: 2px solid var(--web-ink);
}

.use-case-ledger article {
  display: grid;
  grid-template-columns: 50px minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: 1.2rem;
  align-items: start;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--web-line);
}

.ledger-no {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--web-night);
  background: var(--web-amber);
  border-radius: 50%;
  font-family: "Sora", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
}

.use-case-ledger p {
  margin: 0;
  font-size: 0.91rem !important;
}
.ledger-test {
  padding-left: 1rem;
  border-left: 2px solid var(--web-mint);
}

.ledger-test strong {
  color: var(--web-ink);
}

.format-note,
.architecture-choice {
  margin-top: 2.2rem;
  padding: clamp(1.3rem, 3vw, 2.25rem);
  background: #eaf5ff;
  border-left: 8px solid var(--web-coral);
}

.format-note p,
.architecture-choice p {
  max-width: 940px;
  margin-bottom: 0;
}

.decision-table-wrap {
  margin: 2.2rem 0;
  overflow-x: auto;
  border: 1px solid var(--web-ink);
  background: var(--web-white);
}

.decision-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.decision-table th,
.decision-table td {
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--web-line);
  text-align: left;
  vertical-align: top;
  font-size: 0.9rem;
  line-height: 1.55;
}

.decision-table thead th {
  color: var(--web-cream);
  background: var(--web-night);
  font-family: "Sora", sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.decision-table tbody th {
  color: var(--web-ink);
  font-family: "Sora", sans-serif;
  white-space: nowrap;
}

.decision-table tbody tr:last-child th,
.decision-table tbody tr:last-child td {
  border-bottom: 0;
}
.decision-table tbody tr:nth-child(even) {
  background: rgba(10, 167, 188, 0.07);
}

.not-fit {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  margin: 2.8rem 0;
  padding: clamp(1.4rem, 3.5vw, 3rem);
  color: var(--web-cream);
  background: var(--web-night);
  border-radius: 0 34px 0 0;
}

.not-fit .eyebrow {
  color: var(--web-mint);
}
.not-fit h3 {
  font-size: clamp(1.45rem, 2.6vw, 2.2rem);
}
.not-fit ul {
  margin: 0;
  padding-left: 1.2rem;
}
.not-fit li {
  color: rgba(255, 255, 255, 0.78);
}
.not-fit li::marker {
  color: var(--web-coral);
}

.subheading {
  margin-top: 3rem;
  font-size: clamp(1.55rem, 2.7vw, 2.3rem) !important;
}

.example-disclosure {
  max-width: 820px;
  color: #58718d !important;
  font-size: 0.82rem !important;
}

.story-board {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.story-board article {
  padding: clamp(1.3rem, 3vw, 2.3rem);
  background: var(--web-white);
  border: 1px solid var(--web-line);
}

.story-board article:first-child {
  grid-row: span 2;
  display: flex;
  min-height: 500px;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--web-cream);
  background:
    linear-gradient(150deg, rgba(6, 40, 99, 0.72), rgba(6, 40, 99, 0.98)),
    radial-gradient(circle at 25% 20%, #0aa7bc, transparent 45%),
    var(--web-night);
}

.story-board article:first-child p {
  color: rgba(255, 255, 255, 0.78);
}
.story-board article:nth-child(2) {
  border-top: 8px solid var(--web-mint);
}
.story-board article:nth-child(3) {
  border-top: 8px solid var(--web-amber);
}
.story-board p {
  font-size: 0.9rem !important;
}
.story-board > article > span {
  margin-bottom: auto;
}
.story-board article:first-child > span {
  color: var(--web-mint);
}
.story-board strong {
  color: inherit;
}

.architecture-chapter,
.quality-chapter {
  position: relative;
  width: 100%;
  margin-left: 0;
  color: var(--web-cream);
  background: linear-gradient(145deg, #062863 0%, #0b3f88 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.architecture-chapter .chapter-mark,
.quality-chapter .chapter-mark {
  color: var(--web-mint);
}
.architecture-chapter .eyebrow,
.quality-chapter .eyebrow {
  color: var(--web-mint);
}
.architecture-chapter p,
.quality-chapter p {
  color: rgba(255, 255, 255, 0.76);
}
.architecture-chapter .architecture-intro {
  color: #f2f9ff;
  font-weight: 550;
}
.architecture-chapter a,
.quality-chapter a {
  color: var(--web-cream);
}

.architecture-map {
  max-width: 1040px;
  margin: 2.5rem 0;
}

.arch-layer {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 1rem;
  padding: 1.2rem 1.35rem;
  background: var(--web-night-2);
  border: 1px solid var(--web-line-dark);
}

.arch-layer > span {
  color: var(--web-coral);
  font-family: "Sora", sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
}

.arch-layer h3 {
  margin-bottom: 0.25rem;
}
.arch-layer p {
  margin: 0;
  font-size: 0.86rem !important;
}
.arch-layer--experience {
  border-top: 6px solid var(--web-coral);
}
.arch-layer--foundation {
  border-bottom: 6px solid var(--web-mint);
}
.arch-connector {
  height: 32px;
  padding-left: 1.4rem;
  color: var(--web-mint);
  font-size: 1.2rem;
  line-height: 32px;
}

.arch-split {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.architecture-choice {
  color: var(--web-ink);
  background: var(--web-amber);
  border-left-color: var(--web-coral);
}

.architecture-choice p {
  color: #173f70;
}

.stack-strip {
  display: grid;
  grid-template-columns: 0.72fr 1fr 1.15fr;
  gap: 1.4rem;
  margin-top: 1rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--web-line-dark);
  border-bottom: 1px solid var(--web-line-dark);
}

.stack-strip ul {
  margin: 0;
  padding-left: 1.1rem;
  columns: 2;
  column-gap: 1.5rem;
}
.stack-strip li {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
  break-inside: avoid;
}
.stack-strip p {
  margin-bottom: 0;
  font-size: 0.9rem !important;
}

.delivery-track {
  position: relative;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.delivery-track::before {
  content: "";
  position: absolute;
  top: 1.2rem;
  bottom: 1.2rem;
  left: 25px;
  width: 2px;
  background: linear-gradient(
    var(--web-coral),
    var(--web-amber),
    var(--web-mint)
  );
}

.delivery-track li {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) minmax(190px, 0.37fr);
  gap: 1.35rem;
  align-items: start;
  padding: 0 0 2.2rem;
}

.track-no {
  position: relative;
  z-index: 1;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: var(--web-night);
  background: var(--web-paper);
  border: 2px solid var(--web-coral);
  border-radius: 50%;
  font-family: "Sora", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
}

.delivery-track li:nth-child(2n) .track-no {
  border-color: var(--web-amber);
}
.delivery-track li:nth-child(3n) .track-no {
  border-color: var(--web-mint);
}
.delivery-track p {
  margin-bottom: 0;
  font-size: 0.93rem !important;
}
.delivery-track em {
  padding: 0.7rem 0 0.7rem 1rem;
  color: #58718d;
  border-left: 2px solid var(--web-line);
  font-size: 0.79rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.5;
}

.quality-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2.3rem;
  border-top: 1px solid var(--web-line-dark);
  border-left: 1px solid var(--web-line-dark);
}

.quality-matrix article {
  min-height: 280px;
  padding: 1.5rem;
  border-right: 1px solid var(--web-line-dark);
  border-bottom: 1px solid var(--web-line-dark);
}

.quality-matrix article:nth-child(2),
.quality-matrix article:nth-child(6) {
  background: rgba(72, 197, 232, 0.08);
}
.quality-matrix article:nth-child(4) {
  background: rgba(10, 167, 188, 0.08);
}
.quality-matrix span {
  color: var(--web-mint);
}
.quality-matrix p {
  font-size: 0.88rem !important;
}
.quality-matrix strong {
  display: block;
  color: var(--web-cream);
  font-size: 0.82rem;
  line-height: 1.5;
}
.quality-matrix a {
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.22em;
}

.release-evidence {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 2rem;
  margin-top: 2.3rem;
  padding: 2rem;
  color: var(--web-ink);
  background: var(--web-mint);
}

.release-evidence .eyebrow {
  color: #0755b4;
}
.release-evidence ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem 1.5rem;
  margin: 0;
  padding-left: 1.1rem;
}

.release-evidence li {
  color: var(--web-ink);
  font-size: 0.87rem;
}

.cost-equation {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: stretch;
  margin: 2.2rem 0;
  padding: 1.2rem;
  background: var(--web-white);
  border: 1px solid var(--web-ink);
}

.cost-equation span,
.cost-equation strong {
  display: flex;
  min-height: 70px;
  flex: 1 1 150px;
  align-items: center;
  padding: 0.9rem;
  color: var(--web-ink);
  background: #edf5fb;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
}

.cost-equation strong {
  color: var(--web-cream);
  background: var(--web-night);
}
.cost-equation b {
  align-self: center;
  color: var(--web-coral-dark);
}

.cost-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--web-ink);
  border: 1px solid var(--web-ink);
}

.cost-columns > div {
  padding: clamp(1.3rem, 3vw, 2.3rem);
  background: var(--web-white);
}
.cost-columns > div:nth-child(2) {
  background: #eaf8fc;
}
.cost-columns ul {
  padding-left: 1.15rem;
}
.cost-columns li {
  margin-bottom: 0.35rem;
  font-size: 0.91rem;
}
.cost-columns a {
  color: #0755b4;
  font-weight: 800;
}

.ownership-register {
  margin: 2.2rem 0;
}

.ownership-register > h3 {
  margin: 0;
  padding: 1rem 1.2rem;
  color: var(--web-cream);
  background: var(--web-night);
}

.ownership-register dl {
  margin: 0;
  border: 1px solid var(--web-ink);
  border-top: 0;
}
.ownership-register dl > div {
  display: grid;
  grid-template-columns: minmax(170px, 0.3fr) 1fr;
  border-top: 1px solid var(--web-line);
}
.ownership-register dl > div:first-child {
  border-top: 0;
}
.ownership-register dt,
.ownership-register dd {
  margin: 0;
  padding: 1rem 1.2rem;
}
.ownership-register dt {
  color: var(--web-ink);
  background: rgba(72, 197, 232, 0.14);
  border-right: 1px solid var(--web-line);
  font-family: "Sora", sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
}
.ownership-register dd {
  background: var(--web-white);
  font-size: 0.9rem;
}
.ownership-chapter a {
  color: #0755b4;
  font-weight: 800;
}

.trust-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.4rem;
  margin-top: 2.2rem;
}

.trust-statement {
  padding-right: 1.2rem;
  font-size: 1.04rem;
}
.trust-statement a {
  color: #0755b4;
  font-weight: 800;
}
.evidence-policy {
  padding: clamp(1.4rem, 3vw, 2.4rem);
  color: var(--web-cream);
  background: var(--web-night);
  border-radius: 0 30px 0 0;
  box-shadow: 10px 10px 0 var(--web-coral);
}
.evidence-policy > span {
  display: block;
  margin-bottom: 2rem;
  color: var(--web-mint);
  font-family: "Sora", sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.evidence-policy p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem !important;
}

.partner-checklist {
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--web-ink);
}
.partner-checklist li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--web-line);
}
.partner-checklist span {
  color: var(--web-coral-dark);
  font-family: "Sora", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
}
.partner-checklist p {
  margin: 0;
  font-size: 0.94rem !important;
}
.partner-checklist strong {
  color: var(--web-ink);
}

.faq-list {
  max-width: 980px;
  margin-top: 2rem;
  border-top: 2px solid var(--web-ink);
}
.faq-list details {
  border-bottom: 1px solid var(--web-line);
}
.faq-list summary {
  position: relative;
  padding: 1.25rem 3.5rem 1.25rem 0;
  color: var(--web-ink);
  cursor: pointer;
  font-family: "Sora", sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  font-weight: 700;
  line-height: 1.45;
  list-style: none;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0.25rem;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--web-night);
  background: var(--web-mint);
  border-radius: 50%;
  transform: translateY(-50%);
}
.faq-list details[open] summary::after {
  content: "−";
  background: var(--web-coral);
}
.faq-list details p {
  max-width: 850px;
  padding: 0 3.5rem 1.4rem 0;
}

.research-paths {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: clamp(2rem, 5vw, 5rem);
  margin-top: 1.35rem;
  padding: clamp(2rem, 5vw, 4.5rem);
  background: #ffffff;
  border: 1px solid var(--web-line);
  border-radius: 28px;
  box-shadow: var(--web-shadow);
}
.research-paths h2 {
  font-size: clamp(2rem, 3.7vw, 3.2rem);
}
.related-grid {
  border-top: 2px solid var(--web-ink);
}
.related-grid a {
  display: grid;
  grid-template-columns: 110px 0.7fr 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--web-line);
  text-decoration: none;
  transition:
    padding 150ms ease,
    background 150ms ease;
}
.related-grid a:hover {
  padding-left: 0.7rem;
  background: rgba(10, 167, 188, 0.08);
}
.related-grid span {
  margin: 0;
  color: var(--web-coral-dark);
}
.related-grid strong {
  font-family: "Sora", sans-serif;
  font-size: 0.92rem;
}
.related-grid p {
  margin: 0;
  font-size: 0.82rem !important;
  line-height: 1.5 !important;
}

.guide-library {
  margin: 1.35rem 0 2.5rem;
  padding: 0 1.35rem;
  background: #ffffff;
  border: 1px solid var(--web-line);
  border-radius: 18px;
  box-shadow: var(--web-shadow);
}
.guide-library details > summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 0;
  cursor: pointer;
  list-style: none;
}
.guide-library summary::-webkit-details-marker {
  display: none;
}
.guide-library summary > span:first-child {
  display: grid;
  gap: 0.2rem;
}
.guide-library summary small {
  color: var(--web-coral-dark);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.guide-library summary strong {
  font-family: "Sora", sans-serif;
  font-size: clamp(1rem, 2vw, 1.35rem);
}
.guide-library summary > span:last-child {
  color: var(--web-coral-dark);
  font-size: 1.8rem;
}
.guide-library details[open] summary > span:last-child {
  transform: rotate(45deg);
}
.library-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  padding: 0 0 1.4rem;
}
.library-links a {
  padding: 0.75rem;
  background: var(--web-white);
  border: 1px solid var(--web-line);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}
.library-links a:hover {
  border-color: var(--web-coral);
  color: #0755b4;
}

.web-cta {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 2rem;
  align-items: end;
  padding: clamp(2rem, 5vw, 4.5rem);
  color: var(--web-cream);
  background:
    linear-gradient(
      90deg,
      transparent 49.8%,
      rgba(255, 255, 255, 0.08) 50%,
      transparent 50.2%
    ),
    var(--web-night);
  border-radius: 28px;
  box-shadow: var(--web-shadow);
}
.web-cta .eyebrow {
  color: var(--web-mint);
}
.web-cta h2 {
  margin-bottom: 0.9rem;
  font-size: clamp(2rem, 4vw, 3.6rem);
}
.web-cta p {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.78);
}
.web-cta .cta-actions {
  justify-content: flex-end;
}
.web-cta .text-link {
  color: var(--web-cream);
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

/* Explicit contrast for every dark-blue surface. */
.spectrum article:nth-child(2) h3,
.not-fit h3,
.story-board article:first-child h3,
.architecture-chapter > .chapter-copy > h2,
.arch-layer h3,
.quality-chapter > .chapter-copy > h2,
.quality-matrix h3,
.ownership-register > h3,
.evidence-policy h3,
.web-cta h2 {
  color: #ffffff !important;
}

.spectrum article:nth-child(2) p,
.not-fit li,
.story-board article:first-child p,
.architecture-chapter .architecture-intro,
.arch-layer p,
.architecture-chapter .stack-strip p,
.architecture-chapter .stack-strip li,
.quality-chapter > .chapter-copy > p:not(.eyebrow),
.quality-matrix p,
.evidence-policy p,
.web-cta p {
  color: #e7f4ff !important;
}

.architecture-chapter .stack-strip h3 {
  color: #ffffff !important;
}

.architecture-chapter a,
.quality-chapter a,
.web-cta a:not(.primary-btn) {
  color: #ffffff !important;
}

@media (max-width: 1080px) {
  .web-hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
  }
  .web-hero__copy {
    padding-bottom: 2rem;
  }
  .web-hero__visual {
    width: calc(100% - 4rem);
    margin: 0 2rem 4rem;
  }
  .web-hero::after {
    display: none;
  }
  .stack-strip {
    grid-template-columns: 1fr 1fr;
  }
  .stack-strip > p {
    grid-column: 1 / -1;
  }
  .quality-matrix {
    grid-template-columns: repeat(2, 1fr);
  }
  .research-paths {
    grid-template-columns: 1fr;
  }
  .related-grid a {
    grid-template-columns: 100px 0.8fr 1fr;
  }
}

@media (max-width: 820px) {
  .web-main {
    width: min(calc(100% - 1rem), var(--web-max));
  }
  .decision-brief {
    grid-template-columns: 1fr;
    width: calc(100% - 1rem);
  }
  .decision-brief > div + div {
    border-top: 1px solid var(--web-line);
    border-left: 0;
  }
  .chapter {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
  .chapter-mark {
    position: static;
    font-size: 2.4rem;
  }
  .spectrum {
    grid-template-columns: 1fr;
  }
  .spectrum article {
    min-height: 0;
  }
  .spectrum article + article {
    border-top: 1px solid var(--web-ink);
    border-left: 0;
  }
  .use-case-ledger article {
    grid-template-columns: 46px 1fr;
  }
  .ledger-test {
    grid-column: 2;
  }
  .not-fit,
  .release-evidence,
  .trust-layout,
  .web-cta {
    grid-template-columns: 1fr;
  }
  .story-board {
    grid-template-columns: 1fr;
  }
  .story-board article:first-child {
    grid-row: auto;
    min-height: 390px;
  }
  .arch-split {
    grid-template-columns: 1fr;
  }
  .delivery-track li {
    grid-template-columns: 52px 1fr;
  }
  .delivery-track em {
    grid-column: 2;
  }
  .cost-columns {
    grid-template-columns: 1fr;
  }
  .related-grid a {
    grid-template-columns: 90px 1fr;
  }
  .related-grid p {
    grid-column: 2;
  }
  .library-links {
    grid-template-columns: repeat(2, 1fr);
  }
  .web-cta .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  html {
    scroll-padding-top: 7rem;
  }
  .web-main {
    width: min(calc(100% - 0.75rem), var(--web-max));
  }
  .site-tier-trail {
    padding-left: 0.2rem;
  }
  .web-hero {
    border-radius: 6px 6px 28px 6px;
  }
  .web-hero__copy {
    padding: 2rem 1.1rem 1.6rem;
  }
  .web-hero h1 {
    font-size: clamp(2.05rem, 10.8vw, 3.1rem);
  }
  .web-hero__visual {
    width: calc(100% - 2rem);
    margin: 0 1rem 3rem;
    box-shadow: 0 16px 34px rgba(6, 35, 93, 0.16);
  }
  .hero-actions,
  .cta-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .primary-btn {
    width: 100%;
    text-align: center;
  }
  .content-attribution {
    align-items: flex-start;
    flex-direction: column;
  }
  .content-attribution span[aria-hidden] {
    display: none;
  }
  .chapter-nav {
    gap: 0.7rem 1rem;
  }
  .chapter-nav span {
    width: 100%;
  }
  .chapter {
    padding: 2.3rem 1rem;
  }
  .use-case-ledger article {
    grid-template-columns: 40px 1fr;
    gap: 0.75rem;
  }
  .quality-matrix {
    grid-template-columns: 1fr;
  }
  .quality-matrix article {
    min-height: 0;
  }
  .release-evidence {
    padding: 1.3rem;
  }
  .release-evidence ul {
    grid-template-columns: 1fr;
  }
  .architecture-chapter,
  .quality-chapter {
    width: 100%;
    margin-left: 0;
    padding-right: 1rem;
    padding-left: 1rem;
  }
  .arch-layer {
    grid-template-columns: 34px 1fr;
    gap: 0.55rem;
    padding: 1rem 0.75rem;
  }
  .stack-strip {
    grid-template-columns: 1fr;
  }
  .stack-strip > p {
    grid-column: auto;
  }
  .stack-strip ul {
    columns: 1;
  }
  .delivery-track li {
    grid-template-columns: 44px 1fr;
    gap: 0.8rem;
  }
  .delivery-track::before {
    left: 21px;
  }
  .track-no {
    width: 44px;
    height: 44px;
  }
  .delivery-track em {
    grid-column: 2;
  }
  .cost-equation b {
    display: none;
  }
  .cost-equation span,
  .cost-equation strong {
    flex-basis: 100%;
    min-height: 0;
  }
  .ownership-register dl > div {
    grid-template-columns: 1fr;
  }
  .ownership-register dt {
    border-right: 0;
    border-bottom: 1px solid var(--web-line);
  }
  .evidence-policy {
    box-shadow: 6px 6px 0 var(--web-coral);
  }
  .partner-checklist li {
    grid-template-columns: 42px 1fr;
  }
  .faq-list details p {
    padding-right: 0;
  }
  .related-grid a {
    grid-template-columns: 1fr;
  }
  .related-grid p {
    grid-column: 1;
  }
  .library-links {
    grid-template-columns: 1fr;
  }
  .web-cta {
    padding: 2rem 1.15rem;
  }
}

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

@media print {
  body.web-app-page {
    background: #fff;
  }
  .site-header,
  .skip-link,
  .chapter-nav,
  .hero-actions,
  .cta-actions,
  .guide-library {
    display: none !important;
  }
  .web-main {
    width: 100%;
    padding: 0;
  }
  .web-hero,
  .architecture-chapter,
  .quality-chapter,
  .web-cta {
    color: #000;
    background: #fff;
    box-shadow: none;
  }
  .web-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .web-hero__visual {
    display: none;
  }
  .web-hero p,
  .architecture-chapter p,
  .quality-chapter p,
  .web-cta p {
    color: #222 !important;
  }
  .chapter {
    break-inside: avoid;
  }
}
