/* Feature Release Blueprint — Façanha Digital */
:root {
  --cold-white: #f8f8fc;
  --lavender: #efecfa;
  --paper: #ffffff;
  --navy: #10152f;
  --navy-soft: #191f42;
  --slate: #566078;
  --line: #d9d8e7;
  --coral: #ff6b62;
  --coral-light: #ffe4e1;
  --magenta: #d92d87;
  --magenta-light: #f8ddec;
  --violet: #6d4bdb;
  --violet-dark: #4a2dad;
  --electric: #a995ff;
  --mint: #bcefd8;
  --shadow: 0 22px 55px rgba(31, 25, 75, 0.09);
  --display: "Arial Narrow", "Aptos Display", "Segoe UI", sans-serif;
  --body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --container: min(1248px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--navy);
  background: var(--cold-white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.08;
  letter-spacing: -0.038em;
}

h1 {
  max-width: 750px;
  margin-bottom: 24px;
  font-size: clamp(2.5rem, 4.15vw, 3.65rem);
  font-weight: 800;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2.15rem, 3.5vw, 3.15rem);
  font-weight: 800;
}

h3 {
  font-size: 1.45rem;
  font-weight: 800;
}

p {
  color: var(--slate);
}

code {
  font-family: var(--mono);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  min-height: 44px;
  padding: 10px 18px;
  color: var(--paper);
  background: var(--navy);
  border-radius: 8px;
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

:focus-visible {
  outline: 3px solid var(--paper);
  outline-offset: 3px;
  box-shadow: 0 0 0 9px var(--navy) !important;
  border-radius: 4px;
}

.eyebrow {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
  color: var(--violet-dark);
  font-family: var(--mono);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
}

.eyebrow > span {
  display: inline-grid;
  width: 26px;
  height: 26px;
  color: var(--navy);
  background: var(--electric);
  border-radius: 50%;
  place-items: center;
  letter-spacing: 0;
}

.eyebrow-light {
  color: #d5ccff;
}

.section {
  padding: 118px 0;
}

.section-intro {
  max-width: 785px;
  margin-bottom: 54px;
}

.section-intro > p:last-child,
.section-heading > p:last-child {
  max-width: 620px;
  font-size: 1.08rem;
}

.split-intro {
  display: grid;
  max-width: none;
  grid-template-columns: 1.15fr 0.75fr;
  gap: 9%;
  align-items: end;
}

.split-intro > p {
  padding-bottom: 8px;
}

/* Header */
.site-header {
  position: relative;
  z-index: 100;
  background: rgba(248, 248, 252, 0.94);
  border-bottom: 1px solid rgba(217, 216, 231, 0.85);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.brand > span:last-child > span {
  color: var(--violet);
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 31px;
  height: 26px;
}

.brand-mark i {
  position: absolute;
  display: block;
  width: 21px;
  height: 10px;
  background: var(--coral);
  border-radius: 3px 8px 8px 3px;
  transform: rotate(-34deg);
}

.brand-mark i:first-child {
  top: 2px;
  left: 1px;
}

.brand-mark i:last-child {
  right: 1px;
  bottom: 2px;
  background: var(--violet);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.2vw, 34px);
}

.primary-nav > a:not(.button) {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #454e68;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.primary-nav > a:not(.button):hover {
  color: var(--violet);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 10px;
  cursor: pointer;
  place-items: center;
}

.menu-lines {
  display: grid;
  width: 20px;
  gap: 5px;
}

.menu-lines i {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  border-radius: 4px;
  transition: transform 180ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-lines i:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-lines i:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 13px 22px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--paper);
  background: var(--navy);
  border: 2px solid var(--navy);
  border-radius: 10px;
  box-shadow: 0 5px 0 rgba(16, 21, 47, 0.17);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 rgba(16, 21, 47, 0.14);
}

.button-small {
  min-height: 44px;
  padding: 10px 17px;
  font-size: 0.78rem;
}

.button-primary {
  color: var(--navy);
  background: var(--coral);
  border-color: var(--navy);
}

.button-primary:hover {
  background: #ff7d74;
}

.button-large {
  min-height: 58px;
  padding: 16px 26px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 28px 0 38px;
  background-color: var(--cold-white);
  background-image: linear-gradient(rgba(16, 21, 47, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(16, 21, 47, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero-glow-one {
  top: 90px;
  right: -160px;
  width: 500px;
  height: 500px;
  background: rgba(169, 149, 255, 0.22);
}

.hero-glow-two {
  bottom: 80px;
  left: -220px;
  width: 420px;
  height: 420px;
  background: rgba(255, 107, 98, 0.11);
}

.release-bar {
  position: relative;
  display: flex;
  min-height: 38px;
  margin-bottom: 35px;
  align-items: center;
  color: var(--slate);
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.release-index {
  align-self: stretch;
  display: inline-flex;
  padding: 0 17px;
  align-items: center;
  color: var(--paper);
  background: var(--navy);
}

.release-state {
  display: inline-flex;
  padding-left: 18px;
  align-items: center;
  gap: 8px;
}

.release-state i,
.pending-status i {
  width: 7px;
  height: 7px;
  background: #43b985;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(67, 185, 133, 0.13);
}

.release-version {
  margin-left: auto;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(520px, 0.92fr);
  gap: clamp(46px, 5.5vw, 78px);
  align-items: center;
}

.hero-copy .eyebrow {
  margin-bottom: 16px;
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 27px;
  font-size: 1.03rem;
  line-height: 1.67;
}

.hero-actions {
  display: flex;
  margin-bottom: 15px;
  align-items: center;
  gap: 25px;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid var(--navy);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}

.cta-note {
  max-width: 560px;
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.5;
}

.vsl-shell {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--navy);
  border-radius: 18px;
  box-shadow: 11px 12px 0 rgba(16, 21, 47, 0.1);
}

.vsl-topline {
  display: flex;
  height: 40px;
  padding: 0 15px;
  align-items: center;
  justify-content: space-between;
  color: var(--slate);
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.pending-status {
  display: flex;
  align-items: center;
  gap: 7px;
}

.vsl-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  color: var(--paper);
  background: var(--navy);
  isolation: isolate;
}

.vsl-content {
  position: absolute;
  z-index: 2;
  left: 8%;
  bottom: 10%;
  width: 67%;
}

.vsl-kicker {
  color: #bfb3ff;
  font-family: var(--mono);
  font-size: clamp(0.5rem, 0.8vw, 0.65rem);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.vsl-play {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  color: inherit;
  background: var(--navy);
  border: 0;
  cursor: pointer;
  text-align: left;
}

.vsl-thumbnail,
.vsl-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.vsl-thumbnail {
  object-fit: cover;
  transition: transform 280ms ease;
}

.vsl-shade {
  background: linear-gradient(90deg, rgba(16, 21, 47, 0.94) 0%, rgba(16, 21, 47, 0.68) 52%, rgba(16, 21, 47, 0.14) 100%);
}

.vsl-play .vsl-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.vsl-title {
  display: block;
  margin: 8px 0 16px;
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.05vw, 1.9rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.vsl-cta {
  display: inline-flex;
  min-height: 38px;
  padding: 7px 13px;
  align-items: center;
  gap: 9px;
  color: var(--navy);
  background: var(--mint);
  border-radius: 5px;
  font-family: var(--mono);
  font-size: clamp(0.56rem, 0.8vw, 0.68rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  transition: background-color 180ms ease, transform 180ms ease;
}

.vsl-play-icon {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid currentColor;
}

.vsl-play:hover .vsl-thumbnail {
  transform: scale(1.025);
}

.vsl-play:hover .vsl-cta {
  background: #b7f4d4;
  transform: translateY(-2px);
}

.vsl-play:focus-visible {
  z-index: 3;
  outline: 4px solid var(--electric);
  outline-offset: -4px;
}

.vsl-iframe {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--navy);
  border: 0;
}

.vsl-iframe:focus-visible {
  outline: 4px solid var(--electric);
  outline-offset: -4px;
}

.flow-track {
  position: relative;
  display: grid;
  margin: 42px 0 20px;
  padding: 0;
  grid-template-columns: repeat(5, 1fr);
  list-style: none;
}

.flow-track::before {
  position: absolute;
  top: 13px;
  right: 9%;
  left: 9%;
  z-index: 0;
  height: 1px;
  background: var(--line);
  content: "";
}

.flow-track li {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  color: var(--slate);
  font-size: 0.76rem;
}

.flow-track span {
  display: grid;
  width: 27px;
  height: 27px;
  color: var(--violet-dark);
  background: var(--lavender);
  border: 1px solid var(--violet);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 0.55rem;
  place-items: center;
}

.flow-track strong {
  font-weight: 750;
}

.flow-track .flow-output span {
  color: var(--navy);
  background: var(--coral);
  border-color: var(--navy);
}

.flow-track .flow-output strong {
  color: var(--navy);
}

.hero-safety {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.73rem;
  text-align: center;
}

.hero-safety strong {
  color: var(--navy);
}

/* Problem */
.problem {
  background: var(--paper);
}

.editorial-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 10%;
  align-items: start;
}

.sticky-heading {
  position: sticky;
  top: 116px;
}

.problem-stack {
  display: grid;
  gap: 18px;
}

.issue-card {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  padding: 31px 34px 29px 38%;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.issue-card::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 32%;
  background-image: linear-gradient(rgba(16, 21, 47, 0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(16, 21, 47, 0.1) 1px, transparent 1px);
  background-size: 22px 22px;
  content: "";
}

.issue-card::after {
  position: absolute;
  top: 50%;
  left: 16%;
  width: 54px;
  height: 54px;
  border: 2px solid var(--navy);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.issue-coral::before { background-color: var(--coral); }
.issue-violet::before { background-color: var(--electric); }
.issue-magenta::before { background-color: var(--magenta-light); }
.issue-violet::after { border-radius: 5px; transform: translate(-50%, -50%) rotate(45deg); }
.issue-magenta::after { width: 65px; height: 27px; border-radius: 30px; }

.card-code,
.module-meta,
.can-become span,
.scope-header > span,
.phase-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.card-code {
  color: var(--violet-dark);
}

.issue-card h3 {
  margin: 13px 0 9px;
}

.issue-card p {
  margin: 0;
  font-size: 0.91rem;
  line-height: 1.6;
}

.endpoint-note {
  display: flex;
  padding: 23px 27px;
  align-items: flex-start;
  gap: 18px;
  color: var(--paper);
  background: var(--navy);
  border-radius: 14px;
}

.endpoint-note > span {
  color: var(--coral);
  font-size: 1.5rem;
  line-height: 1;
}

.endpoint-note p {
  margin: 0;
  color: #d9dbea;
  font-size: 0.9rem;
}

.endpoint-note strong {
  color: var(--paper);
}

/* Opportunity */
.opportunity {
  background: var(--lavender);
}

.opportunity-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  padding: 65px;
  color: var(--paper);
  background: var(--navy);
  border-radius: 24px;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 8%;
  box-shadow: var(--shadow);
}

.opportunity-panel::after {
  position: absolute;
  top: -110px;
  right: -100px;
  width: 310px;
  height: 310px;
  border: 1px solid rgba(169, 149, 255, 0.25);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(169, 149, 255, 0.05), 0 0 0 90px rgba(169, 149, 255, 0.04);
  content: "";
}

.opportunity-copy {
  position: relative;
  z-index: 1;
}

.opportunity-copy h2 {
  color: var(--paper);
}

.opportunity-copy > p:last-child {
  max-width: 620px;
  margin-bottom: 0;
  color: #bec3d7;
  font-size: 1.02rem;
}

.package-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
}

.package-list > div {
  display: grid;
  min-height: 70px;
  padding: 12px 16px;
  align-items: center;
  background: #222847;
  border: 1px solid #3b4266;
  border-radius: 8px;
  grid-template-columns: 40px 1fr auto;
  gap: 12px;
}

.package-list span {
  color: var(--coral);
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 800;
}

.package-list strong {
  font-size: 0.91rem;
}

.package-list small {
  color: #9ca4c3;
  font-size: 0.7rem;
}

.opportunity-disclaimer {
  position: relative;
  z-index: 1;
  margin: 5px 0 0;
  padding-top: 22px;
  color: #989fbb;
  border-top: 1px solid #383e5c;
  font-size: 0.73rem;
  grid-column: 1 / -1;
}

/* Modules */
.modules {
  background: var(--cold-white);
}

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

.module-card {
  position: relative;
  overflow: hidden;
  display: flex;
  min-height: 430px;
  padding: 27px;
  flex-direction: column;
  border: 1px solid rgba(16, 21, 47, 0.45);
  border-radius: 18px;
  box-shadow: 5px 6px 0 rgba(16, 21, 47, 0.08);
  grid-column: span 2;
}

.module-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.module-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.module-meta i {
  display: grid;
  width: 28px;
  height: 28px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--body);
  font-style: normal;
  place-items: center;
}

.module-icon {
  position: relative;
  height: 92px;
  margin: 23px 0 21px;
}

.icon-publish span {
  position: absolute;
  display: block;
  width: 51px;
  height: 64px;
  border: 2px solid var(--navy);
  border-radius: 6px;
}

.icon-publish span:nth-child(1) { left: 6px; bottom: 0; background: rgba(255, 255, 255, 0.35); }
.icon-publish span:nth-child(2) { left: 38px; bottom: 9px; background: rgba(255, 255, 255, 0.5); }
.icon-publish span:nth-child(3) { left: 70px; bottom: 18px; background: var(--navy); }

.icon-comments span {
  position: absolute;
  width: 79px;
  height: 48px;
  border: 2px solid var(--navy);
  border-radius: 25px 25px 25px 5px;
}

.icon-comments span:first-child { top: 8px; left: 9px; background: rgba(255, 255, 255, 0.38); }
.icon-comments span:last-child { right: 10px; bottom: 4px; background: var(--paper); transform: scale(0.78); }

.icon-direct span {
  position: absolute;
  top: 7px;
  left: 12px;
  width: 84px;
  height: 67px;
  border: 2px solid var(--navy);
  border-radius: 50% 50% 12% 50%;
  background: rgba(255, 255, 255, 0.23);
  transform: rotate(-10deg);
}

.icon-direct span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 33px;
  height: 2px;
  background: var(--navy);
  box-shadow: 0 -9px 0 var(--navy), 0 9px 0 var(--navy);
  content: "";
  transform: translate(-50%, -50%) rotate(10deg);
}

.icon-webhooks span {
  position: absolute;
  top: 50%;
  width: 34px;
  height: 34px;
  background: var(--paper);
  border: 2px solid var(--navy);
  border-radius: 50%;
  transform: translateY(-50%);
}

.icon-webhooks span:first-child { left: 3px; }
.icon-webhooks span:nth-child(2) { left: 52px; }
.icon-webhooks span:last-child { left: 101px; }
.icon-webhooks::before,
.icon-webhooks::after { position: absolute; top: 50%; width: 19px; height: 2px; background: var(--navy); content: ""; }
.icon-webhooks::before { left: 36px; }
.icon-webhooks::after { left: 85px; }

.icon-insights {
  display: flex;
  padding-left: 10px;
  align-items: flex-end;
  gap: 10px;
}

.icon-insights span {
  display: block;
  width: 24px;
  background: var(--navy);
  border-radius: 3px 3px 0 0;
}

.icon-insights span:first-child { height: 35px; }
.icon-insights span:nth-child(2) { height: 61px; }
.icon-insights span:last-child { height: 83px; }

.module-card h3 {
  margin-bottom: 10px;
  font-size: 1.65rem;
}

.module-card > p {
  margin-bottom: 18px;
  color: rgba(16, 21, 47, 0.73);
  font-size: 0.9rem;
}

.can-become {
  display: grid;
  margin-top: auto;
  padding: 14px 0;
  border-top: 1px solid rgba(16, 21, 47, 0.22);
  border-bottom: 1px solid rgba(16, 21, 47, 0.22);
  gap: 4px;
}

.can-become span {
  opacity: 0.65;
}

.can-become strong {
  font-size: 0.83rem;
  line-height: 1.4;
}

.module-card > small {
  display: block;
  margin-top: 13px;
  font-size: 0.69rem;
  line-height: 1.45;
  opacity: 0.72;
}

.module-publish { background: var(--coral); }
.module-comments { background: var(--magenta-light); }
.module-direct { color: var(--paper); background: var(--violet); border-color: var(--navy); }
.module-direct p { color: rgba(255, 255, 255, 0.84); }
.module-direct .can-become span { color: rgba(255, 255, 255, 0.84); opacity: 1; }
.module-direct > small { color: rgba(255, 255, 255, 0.84); opacity: 1; }
.module-direct .can-become { border-color: rgba(255, 255, 255, 0.25); }
.module-direct .icon-direct span { border-color: var(--paper); }
.module-direct .icon-direct span::after { background: var(--paper); box-shadow: 0 -9px 0 var(--paper), 0 9px 0 var(--paper); }
.module-webhooks { background: var(--electric); }
.module-insights { background: var(--mint); }

.module-publish > p,
.module-webhooks > p {
  color: rgba(16, 21, 47, 0.77);
}

.module-publish .can-become span,
.module-webhooks .can-become span,
.module-publish > small,
.module-webhooks > small {
  opacity: 0.77;
}

/* Architecture */
.architecture {
  background: var(--lavender);
}

.architecture-intro {
  margin-inline: auto;
  text-align: center;
}

.architecture-intro .eyebrow {
  justify-content: center;
}

.architecture-intro > p:last-child {
  margin-inline: auto;
}

.route-map {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 50px 1fr;
  align-items: stretch;
}

.route-card {
  padding: 35px;
  background: var(--paper);
  border: 1px solid var(--navy);
  border-radius: 18px;
  box-shadow: 7px 8px 0 rgba(16, 21, 47, 0.08);
}

.route-card header {
  display: flex;
  margin-bottom: 30px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.route-number,
.route-status {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.route-number {
  color: var(--violet-dark);
}

.route-status {
  padding: 6px 9px;
  background: var(--mint);
  border-radius: 5px;
}

.route-facebook .route-status {
  background: var(--coral-light);
}

.route-card h3 {
  margin-bottom: 10px;
  font-size: 1.85rem;
}

.route-card > p {
  min-height: 56px;
  margin-bottom: 25px;
  font-size: 0.9rem;
}

.route-card dl {
  margin: 0 0 22px;
  border-top: 1px solid var(--line);
}

.route-card dl > div {
  display: grid;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 92px 1fr;
  gap: 15px;
}

.route-card dt {
  color: var(--slate);
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
}

.route-card dd {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
}

.route-card code {
  color: var(--violet-dark);
  font-size: 0.78rem;
}

.route-card > small {
  color: var(--slate);
  font-size: 0.7rem;
}

.route-switch {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
}

.route-switch::before {
  position: absolute;
  top: 35px;
  bottom: 35px;
  left: 50%;
  width: 1px;
  z-index: -1;
  background: var(--navy);
  content: "";
}

.route-switch span {
  display: grid;
  width: 42px;
  height: 42px;
  color: var(--paper);
  background: var(--navy);
  border: 5px solid var(--lavender);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 0.61rem;
  font-weight: 800;
  place-items: center;
}

.architecture-alert {
  display: flex;
  max-width: 900px;
  margin: 29px auto 0;
  padding: 22px 25px;
  align-items: flex-start;
  gap: 18px;
  color: var(--paper);
  background: var(--navy);
  border-radius: 12px;
}

.alert-icon {
  display: grid;
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
  color: var(--navy);
  background: var(--coral);
  border-radius: 50%;
  font-weight: 900;
  place-items: center;
}

.architecture-alert strong {
  display: block;
  margin-bottom: 3px;
}

.architecture-alert p {
  margin: 0;
  color: #c5c9da;
  font-size: 0.79rem;
}

/* Scope */
.scope {
  background: var(--paper);
}

.scope-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
}

.scope-in,
.scope-out {
  overflow: hidden;
  border: 1px solid var(--navy);
  border-radius: 18px;
}

.scope-in {
  background: var(--cold-white);
}

.scope-out {
  color: var(--paper);
  background: var(--navy);
}

.scope-header {
  display: grid;
  padding: 25px 28px;
  border-bottom: 1px solid var(--line);
  gap: 4px;
}

.scope-out .scope-header {
  border-color: #3b405a;
}

.scope-header > span {
  color: var(--violet-dark);
}

.scope-out .scope-header > span {
  color: var(--coral);
}

.scope-header > strong {
  font-family: var(--display);
  font-size: 1.45rem;
  letter-spacing: -0.025em;
}

.check-list,
.boundary-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  padding: 20px 28px;
  align-items: flex-start;
  gap: 17px;
  border-bottom: 1px solid var(--line);
}

.check-list li > span {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  color: var(--navy);
  background: var(--mint);
  border: 1px solid var(--navy);
  border-radius: 50%;
  font-weight: 900;
  place-items: center;
}

.check-list strong {
  display: block;
  font-size: 0.9rem;
}

.check-list p {
  margin: 2px 0 0;
  font-size: 0.78rem;
}

.boundary-list {
  padding: 16px 28px 0;
}

.boundary-list li {
  position: relative;
  padding: 15px 0 15px 28px;
  color: #d5d8e6;
  border-bottom: 1px solid #393e5a;
  font-size: 0.84rem;
}

.boundary-list li::before {
  position: absolute;
  top: 23px;
  left: 0;
  width: 11px;
  height: 2px;
  background: var(--coral);
  content: "";
}

.scope-out > p {
  margin: 0;
  padding: 25px 28px 28px;
  color: #999fb8;
  font-size: 0.71rem;
}

/* Process */
.process {
  color: var(--paper);
  background: var(--navy);
}

.process-intro h2 {
  color: var(--paper);
}

.process-intro > p:last-child {
  color: #b6bbd0;
}

.phase-rail {
  position: relative;
  display: grid;
  margin: 55px 0 0;
  padding: 0;
  grid-template-columns: repeat(5, 1fr);
  list-style: none;
}

.phase-rail::before {
  position: absolute;
  top: 22px;
  right: 9%;
  left: 9%;
  height: 1px;
  background: #4a506c;
  content: "";
}

.phase-rail li {
  position: relative;
  padding-right: clamp(18px, 2vw, 30px);
}

.phase-node {
  position: relative;
  z-index: 2;
  display: grid;
  width: 45px;
  height: 45px;
  margin-bottom: 26px;
  color: var(--navy);
  background: var(--electric);
  border: 6px solid var(--navy);
  outline: 1px solid #5f6683;
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 800;
  place-items: center;
}

.phase-rail li:nth-child(3) .phase-node { background: var(--coral); }
.phase-rail li:nth-child(4) .phase-node { background: #d82d87; color: var(--paper); }
.phase-rail li:nth-child(5) .phase-node { background: var(--mint); }

.phase-label {
  color: #8f96b2;
  font-size: 0.58rem;
}

.phase-rail h3 {
  margin: 8px 0 11px;
  color: var(--paper);
  font-size: 1.17rem;
}

.phase-rail p {
  min-height: 95px;
  margin-bottom: 13px;
  color: #abb0c6;
  font-size: 0.78rem;
}

.phase-rail strong {
  display: block;
  color: #d9dbea;
  font-size: 0.7rem;
  line-height: 1.5;
}

.meta-decision {
  display: grid;
  margin-top: 55px;
  padding: 25px 28px;
  background: #242a4b;
  border: 1px solid #464d6d;
  border-top: 4px solid var(--coral);
  border-radius: 10px;
  grid-template-columns: 0.55fr 1fr;
  gap: 40px;
}

.meta-decision p {
  margin: 0;
  color: #b3b8cc;
  font-size: 0.8rem;
}

/* Authority */
.authority {
  background: var(--cold-white);
}

.authority-grid {
  display: grid;
  grid-template-columns: 0.73fr 1.27fr;
  gap: 9%;
  align-items: center;
}

.portrait-card {
  transform: rotate(-1.5deg);
}

.portrait-frame {
  position: relative;
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--navy);
  border-radius: 19px;
  box-shadow: 11px 12px 0 var(--electric);
}

.portrait-frame::before {
  position: absolute;
  top: 25px;
  right: -17px;
  width: 34px;
  height: 80px;
  z-index: -1;
  background: var(--coral);
  content: "";
}

.portrait-frame img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 11px;
}

.portrait-tag {
  position: absolute;
  right: 27px;
  bottom: 27px;
  padding: 8px 11px;
  color: var(--paper);
  background: var(--navy);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.portrait-caption {
  display: flex;
  margin: 21px 6px 0;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.62rem;
}

.portrait-caption span {
  color: var(--slate);
}

.authority-copy h2 {
  max-width: 760px;
}

.authority-copy > p {
  max-width: 730px;
}

.authority-lead {
  color: var(--navy);
  font-size: 1.14rem;
  font-weight: 650;
}

.experience-tags {
  display: flex;
  margin-top: 28px;
  flex-wrap: wrap;
  gap: 8px;
}

.experience-tags span {
  padding: 7px 11px;
  color: var(--violet-dark);
  background: var(--lavender);
  border: 1px solid #d2cbed;
  border-radius: 30px;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 800;
}

/* FAQ */
.faq {
  background: var(--lavender);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 9%;
  align-items: start;
}

.faq-list {
  border-top: 1px solid var(--navy);
}

.faq-item {
  border-bottom: 1px solid #bdbbcf;
}

.faq-item h3 {
  margin: 0;
}

.faq-question {
  display: grid;
  width: 100%;
  min-height: 76px;
  padding: 17px 5px;
  color: var(--navy);
  background: transparent;
  border: 0;
  cursor: pointer;
  grid-template-columns: 1fr 34px;
  gap: 20px;
  align-items: center;
  text-align: left;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.faq-question i {
  position: relative;
  display: block;
  width: 30px;
  height: 30px;
  border: 1px solid var(--navy);
  border-radius: 50%;
}

.faq-question i::before,
.faq-question i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1px;
  background: var(--navy);
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}

.faq-question i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-question[aria-expanded="true"] i {
  color: var(--paper);
  background: var(--navy);
}

.faq-question[aria-expanded="true"] i::before,
.faq-question[aria-expanded="true"] i::after {
  background: var(--paper);
}

.faq-question[aria-expanded="true"] i::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  padding: 0 54px 23px 5px;
}

.faq-answer p {
  margin: 0;
  font-size: 0.88rem;
}

/* Final CTA */
.final-cta {
  padding: 90px 0;
  background: var(--paper);
}

.cta-panel {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  padding: 72px clamp(38px, 7vw, 90px);
  color: var(--paper);
  background: var(--violet);
  border: 1px solid var(--navy);
  border-radius: 25px;
  box-shadow: 12px 13px 0 var(--navy);
}

.cta-panel::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  content: "";
}

.cta-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.cta-copy h2 {
  color: var(--paper);
}

.cta-copy > p {
  max-width: 610px;
  color: #f4f1ff;
}

.cta-copy .eyebrow-light {
  color: #f4f1ff;
}

.cta-copy .button {
  margin-top: 13px;
}

.cta-copy > small {
  display: block;
  max-width: 600px;
  margin-top: 18px;
  color: #f4f1ff;
  font-size: 0.7rem;
}

.cta-blueprint {
  position: absolute;
  top: 0;
  right: 0;
  width: 38%;
  height: 100%;
  background: var(--navy);
  clip-path: polygon(36% 0, 100% 0, 100% 100%, 0 100%);
}

.cta-blueprint span {
  position: absolute;
  display: block;
  border: 2px solid var(--paper);
}

.cta-blueprint span:first-child {
  top: 19%;
  right: 16%;
  width: 110px;
  height: 110px;
  background: var(--coral);
  border-radius: 50%;
}

.cta-blueprint span:nth-child(2) {
  right: 42%;
  bottom: 24%;
  width: 72px;
  height: 72px;
  background: var(--magenta);
  transform: rotate(45deg);
}

.cta-blueprint span:nth-child(3) {
  right: 12%;
  bottom: 13%;
  width: 150px;
  height: 55px;
  background: var(--electric);
  border-radius: 50px 8px;
}

.cta-blueprint i {
  position: absolute;
  top: 25%;
  right: 24%;
  width: 1px;
  height: 55%;
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(35deg);
}

/* Footer */
.site-footer {
  padding: 55px 0 30px;
  color: var(--paper);
  background: #0a0e23;
}

.footer-top {
  display: flex;
  padding-bottom: 30px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #31364f;
}

.brand-light {
  color: var(--paper);
}

.site-footer .brand > span:last-child > span {
  color: #8168e6;
}

.footer-top nav {
  display: flex;
  gap: 28px;
}

.footer-top nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #b9bed0;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-top nav a:hover {
  color: var(--paper);
}

.legal-note {
  padding: 29px 0;
  border-bottom: 1px solid #31364f;
}

.legal-note p {
  max-width: 1070px;
  margin: 0;
  color: #979db4;
  font-size: 0.72rem;
}

.footer-bottom {
  display: flex;
  padding-top: 24px;
  justify-content: space-between;
  color: #747b96;
  font-family: var(--mono);
  font-size: 0.61rem;
  letter-spacing: 0.04em;
}

/* Tablet and desktop refinements */
@media (min-width: 1280px) {
  .hero {
    min-height: 824px;
  }

  .hero-grid {
    grid-template-columns: 1.08fr 0.92fr;
  }

  .hero-copy {
    padding-top: 3px;
  }
}

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr 0.95fr;
    gap: 35px;
  }

  .hero-grid h1 {
    font-size: clamp(2.45rem, 4.6vw, 3.2rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .module-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .module-card,
  .module-card:nth-child(4) {
    grid-column: auto;
  }

  .module-card:last-child {
    grid-column: 1 / -1;
    min-height: 360px;
  }

  .phase-rail {
    grid-template-columns: repeat(6, 1fr);
    row-gap: 40px;
  }

  .phase-rail li {
    grid-column: span 2;
  }

  .phase-rail li:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .phase-rail::before {
    display: none;
  }

  .phase-rail p {
    min-height: auto;
  }
}

@media (min-width: 768px) and (max-width: 960px) {
  .hero {
    padding-bottom: 42px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-actions {
    flex-direction: row;
    align-items: center;
  }

  .vsl-shell {
    max-width: 760px;
  }

  .editorial-grid,
  .faq-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 6%;
  }

  .opportunity-panel {
    padding: 50px;
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .route-card {
    padding: 26px;
  }

  .route-card dl > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .authority-grid {
    gap: 6%;
  }
}

@media (max-width: 767px) {
  :root {
    --container: min(100% - 36px, 620px);
  }

  html {
    scroll-padding-top: 78px;
  }

  h1 {
    font-size: clamp(2.35rem, 11vw, 3.15rem);
  }

  h2 {
    font-size: clamp(2rem, 8vw, 2.7rem);
  }

  .section {
    padding: 78px 0;
  }

  .site-header {
    position: sticky;
    top: 0;
  }

  .header-inner {
    min-height: 68px;
    flex-wrap: wrap;
  }

  .js-enabled .header-inner {
    flex-wrap: nowrap;
  }

  .js-enabled .menu-toggle {
    display: grid;
  }

  .primary-nav {
    width: 100%;
    padding: 8px 0 14px;
    flex-wrap: wrap;
    gap: 0 16px;
  }

  .js-enabled .primary-nav {
    position: fixed;
    inset: 68px 0 auto;
    display: none;
    width: auto;
    max-height: calc(100vh - 68px);
    padding: 24px;
    overflow-y: auto;
    align-items: stretch;
    flex-direction: column;
    gap: 3px;
    background: var(--cold-white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 45px rgba(16, 21, 47, 0.12);
  }

  .js-enabled .primary-nav[data-open="true"] {
    display: flex;
  }

  .primary-nav > a:not(.button) {
    min-height: 50px;
    padding: 0 8px;
    border-bottom: 1px solid var(--line);
  }

  .primary-nav .button {
    margin-top: 14px;
  }

  .hero {
    padding: 18px 0 33px;
  }

  .release-bar {
    margin-bottom: 30px;
  }

  .release-version {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .hero-lead {
    font-size: 0.98rem;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-actions .text-link {
    align-self: flex-start;
  }

  .vsl-shell {
    box-shadow: 7px 8px 0 rgba(16, 21, 47, 0.1);
  }

  .vsl-content {
    width: 76%;
  }

  .flow-track {
    margin-top: 36px;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .flow-track::before {
    top: 13px;
    bottom: 13px;
    left: 13px;
    width: 1px;
    height: auto;
  }

  .flow-track li {
    min-height: 48px;
    padding-left: 42px;
    align-items: flex-start;
    flex-direction: row;
  }

  .flow-track span {
    position: absolute;
    top: 0;
    left: 0;
  }

  .flow-track strong {
    padding-top: 2px;
  }

  .hero-safety {
    text-align: left;
  }

  .editorial-grid,
  .faq-grid,
  .split-intro,
  .opportunity-panel,
  .scope-grid,
  .authority-grid {
    grid-template-columns: 1fr;
  }

  .sticky-heading {
    position: static;
  }

  .editorial-grid,
  .faq-grid {
    gap: 38px;
  }

  .issue-card {
    min-height: 0;
    padding: 130px 24px 27px;
  }

  .issue-card::before {
    top: 0;
    right: 0;
    bottom: auto;
    width: auto;
    height: 108px;
  }

  .issue-card::after {
    top: 54px;
    left: 50%;
  }

  .opportunity-panel {
    padding: 38px 26px;
    gap: 33px;
  }

  .package-list > div {
    grid-template-columns: 36px 1fr;
  }

  .package-list small {
    display: none;
  }

  .module-grid {
    grid-template-columns: 1fr;
  }

  .module-card,
  .module-card:nth-child(4),
  .module-card:last-child {
    min-height: 400px;
    grid-column: auto;
  }

  .route-map {
    grid-template-columns: 1fr;
  }

  .route-switch {
    height: 66px;
  }

  .route-switch::before {
    inset: 0 auto 0 50%;
    height: auto;
  }

  .route-switch span {
    border-color: var(--lavender);
  }

  .route-card {
    padding: 28px 23px;
  }

  .route-card header {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .route-card > p {
    min-height: 0;
  }

  .route-card dl > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .architecture-alert {
    padding: 20px;
  }

  .phase-rail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .phase-rail li,
  .phase-rail li:nth-child(4) {
    position: relative;
    display: grid;
    min-height: 190px;
    padding: 0 0 35px 70px;
    grid-column: auto;
  }

  .phase-rail li:not(:last-child)::before {
    position: absolute;
    top: 45px;
    bottom: 0;
    left: 22px;
    width: 1px;
    background: #4a506c;
    content: "";
  }

  .phase-node {
    position: absolute;
    top: 0;
    left: 0;
  }

  .phase-rail p {
    min-height: auto;
  }

  .meta-decision {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .authority-grid {
    gap: 55px;
  }

  .portrait-card {
    width: min(100%, 410px);
    margin-inline: auto;
  }

  .faq-question {
    min-height: 72px;
  }

  .final-cta {
    padding: 70px 0 76px;
  }

  .cta-panel {
    min-height: auto;
    padding: 42px 26px 270px;
    box-shadow: 7px 8px 0 var(--navy);
  }

  .cta-blueprint {
    top: auto;
    bottom: 0;
    width: 100%;
    height: 245px;
    clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 100%);
  }

  .footer-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .footer-top nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 5px 20px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 390px) {
  :root {
    --container: calc(100% - 28px);
  }

  h1 {
    font-size: 2.23rem;
  }

  h2 {
    font-size: 1.95rem;
  }

  .release-index {
    padding-inline: 11px;
  }

  .release-state {
    padding-left: 11px;
    font-size: 0.58rem;
  }

  .vsl-topline {
    padding-inline: 10px;
    font-size: 0.51rem;
  }

  .vsl-content {
    left: 7%;
    bottom: 8%;
    width: 82%;
  }

  .vsl-content p {
    margin: 5px 0 9px;
    font-size: 1.06rem;
  }

  .vsl-pending {
    min-height: 30px;
    padding: 5px 8px;
  }

  .issue-card,
  .module-card,
  .route-card {
    border-radius: 14px;
  }

  .module-card {
    min-height: 390px;
    padding: 23px;
  }

  .route-card dl > div {
    overflow-wrap: anywhere;
  }

  .check-list li,
  .scope-header,
  .boundary-list,
  .scope-out > p {
    padding-right: 20px;
    padding-left: 20px;
  }

  .meta-decision {
    padding: 21px;
  }

  .faq-answer {
    padding-right: 12px;
  }

  .cta-panel {
    padding-right: 21px;
    padding-left: 21px;
  }

  .cta-copy .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
