:root {
  --night: #070b14;
  --night-soft: #0d1320;
  --night-lift: #121a29;
  --mineral: #ebe9e2;
  --mineral-strong: #f2f1ec;
  --ink: #111722;
  --text: #f0efe9;
  --muted: #969ba5;
  --muted-dark: #5c626d;
  --line: rgba(226, 229, 235, 0.22);
  --line-soft: rgba(226, 229, 235, 0.1);
  --line-dark: rgba(17, 23, 34, 0.2);
  --amber: #ffb000;
  --amber-soft: rgba(255, 176, 0, 0.18);
  --green: #93d852;
  --sans: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --gutter: clamp(24px, 4.3vw, 72px);
  --section-space: clamp(104px, 12vw, 184px);
  color: var(--text);
  background: var(--night);
  font-family: var(--sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 0;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 70% 18%, rgba(25, 40, 67, 0.23), transparent 34%),
    var(--night);
}

body::before {
  position: fixed;
  z-index: 999;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E");
  content: "";
  opacity: 0.035;
  pointer-events: none;
}

body.modal-open {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

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

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
}

h1,
h2,
h3,
p,
dl,
dd,
ol {
  margin: 0;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.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: 14px;
  left: 16px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--amber);
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

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

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 88px;
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 11, 20, 0.84);
  backdrop-filter: blur(18px);
  transition: min-height 220ms ease, background 220ms ease;
}

.site-header.scrolled {
  min-height: 70px;
  background: rgba(7, 11, 20, 0.95);
}

.wordmark {
  width: max-content;
  color: var(--text);
  font-size: 39px;
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1;
}

.desktop-nav {
  display: flex;
  gap: clamp(30px, 4vw, 64px);
  align-items: center;
  color: #c7c8c7;
  font-size: 15px;
}

.desktop-nav a,
.site-footer nav a {
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.site-footer nav a:hover {
  color: var(--amber);
}

.pilot-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid rgba(240, 239, 233, 0.58);
  border-radius: 2px;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.pilot-button svg,
.product-link svg,
.source-document svg,
.decision-actions svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.pilot-button:hover {
  border-color: var(--amber);
  color: var(--night);
  background: var(--amber);
  transform: translateY(-2px);
}

.header-pilot {
  justify-self: end;
  min-width: 196px;
}

.menu-toggle,
.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: 990px;
  padding: 118px var(--gutter) 86px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::after {
  position: absolute;
  top: 88px;
  right: 39%;
  bottom: 0;
  width: 1px;
  background: linear-gradient(transparent, var(--line), transparent);
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 4;
  max-width: 720px;
  padding-top: 62px;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(68px, 5.2vw, 84px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.hero-copy > p {
  max-width: 510px;
  margin: 36px 0 38px;
  color: #aeb1b6;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.45;
}

.hero-pilot {
  min-width: 250px;
  min-height: 60px;
}

.prototype-note {
  display: block;
  max-width: 520px;
  margin: -18px 0 24px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  line-height: 1.65;
}

.hero-signal {
  position: absolute;
  z-index: 3;
  right: 2.4vw;
  bottom: 62px;
  left: 23%;
  display: grid;
  grid-template-columns: minmax(330px, 45%) 34px minmax(440px, 1fr);
  align-items: center;
  height: 510px;
}

.source-stack {
  display: grid;
  gap: 11px;
}

.source-stack > div {
  display: grid;
  grid-template-columns: 108px 1fr;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.source-stack > div > span,
.signoff-rail strong,
.signoff-rail small {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.source-stack > div > span {
  overflow: hidden;
  color: #9da4af;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-label {
  display: none;
}

.source-stack i {
  position: relative;
  display: block;
  height: 1px;
  background: linear-gradient(90deg, #727986, rgba(114, 121, 134, 0.12));
  transform-origin: right;
}

.source-stack i::before {
  position: absolute;
  top: -2px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #858c97;
  content: "";
}

.source-stack > div:nth-child(1) i,
.source-stack > div:nth-child(12) i {
  transform: rotate(16deg);
}

.source-stack > div:nth-child(2) i,
.source-stack > div:nth-child(11) i {
  transform: rotate(13deg);
}

.source-stack > div:nth-child(3) i,
.source-stack > div:nth-child(10) i {
  transform: rotate(10deg);
}

.source-stack > div:nth-child(4) i,
.source-stack > div:nth-child(9) i {
  transform: rotate(7deg);
}

.source-stack > div:nth-child(5) i,
.source-stack > div:nth-child(8) i {
  transform: rotate(4deg);
}

.source-stack > div:nth-child(7) i { transform: rotate(-1deg); }
.source-stack > div:nth-child(8) i { transform: rotate(-4deg); }
.source-stack > div:nth-child(9) i { transform: rotate(-7deg); }
.source-stack > div:nth-child(10) i { transform: rotate(-10deg); }
.source-stack > div:nth-child(11) i { transform: rotate(-13deg); }
.source-stack > div:nth-child(12) i { transform: rotate(-16deg); }

.aperture {
  position: relative;
  width: 25px;
  height: 400px;
  border-inline: 1px solid rgba(220, 224, 231, 0.45);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.02), rgba(163, 174, 191, 0.1), rgba(255, 255, 255, 0.02));
  box-shadow: 0 0 0 8px rgba(174, 183, 197, 0.025);
}

.aperture::before,
.aperture::after {
  position: absolute;
  left: -8px;
  width: 8px;
  height: 1px;
  background: rgba(220, 224, 231, 0.45);
  content: "";
}

.aperture::before {
  top: 0;
}

.aperture::after {
  bottom: 0;
}

.aperture span,
.control-aperture > span {
  position: absolute;
  inset: 25% 6px;
  background: linear-gradient(180deg, transparent, var(--amber) 46%, #fff5d8 50%, var(--amber) 54%, transparent);
  box-shadow: 0 0 22px 5px rgba(255, 176, 0, 0.38);
  animation: aperture-scan 4.8s ease-in-out infinite;
}

@keyframes aperture-scan {
  0%, 100% { transform: scaleY(0.35); opacity: 0.55; }
  50% { transform: scaleY(1); opacity: 1; }
}

.signoff-rail {
  position: relative;
  height: 400px;
}

.signal-line {
  position: absolute;
  top: 50%;
  right: 14px;
  left: 0;
  height: 1px;
  background: var(--amber);
  box-shadow: 0 0 12px rgba(255, 176, 0, 0.65);
}

.signal-line span {
  position: absolute;
  top: -3px;
  left: 0;
  width: 40px;
  height: 7px;
  background: linear-gradient(90deg, #fff7d8, var(--amber), transparent);
  filter: blur(1px);
  animation: signal-travel 4.6s linear infinite;
}

@keyframes signal-travel {
  from { transform: translateX(0); }
  to { transform: translateX(430px); }
}

.signoff-rail ol {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  padding: 0;
  list-style: none;
}

.signoff-rail li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 63px;
  min-width: 0;
}

.signoff-rail li::before {
  position: absolute;
  top: calc(50% - 12px);
  width: 5px;
  height: 24px;
  border: 1px solid rgba(240, 239, 233, 0.58);
  background: var(--night);
  box-shadow: 0 0 0 3px rgba(255, 176, 0, 0.08);
  content: "";
}

.signoff-rail small {
  color: var(--green);
  font-size: 7px;
}

.ready-node {
  gap: 36px !important;
}

.ready-node::before {
  display: none;
}

.ready-node > span {
  position: absolute;
  top: calc(50% - 20px);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--amber);
  border-radius: 50%;
  background: var(--night);
  box-shadow: 0 0 0 6px var(--amber-soft), 0 0 24px var(--amber-soft);
}

.ready-node svg,
.verified-mark svg {
  width: 20px;
  fill: none;
  stroke: var(--green);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.ready-node strong {
  color: var(--amber);
}

.system-section {
  padding-top: 90px;
  background:
    linear-gradient(90deg, rgba(31, 44, 66, 0.13) 1px, transparent 1px) 0 0 / 25% 100%,
    var(--night);
}

.system-section .section-intro h2 {
  font-size: clamp(50px, 4vw, 62px);
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(520px, 1.25fr) minmax(300px, 0.75fr);
  gap: 80px;
  align-items: end;
  padding: 0 var(--gutter);
}

.section-intro h2,
.india-index h2,
.control-copy h2,
.close-intro h2,
.final-cta h2 {
  font-size: clamp(54px, 5.8vw, 90px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.section-intro p {
  max-width: 510px;
  padding-bottom: 7px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.5;
}

.system-flow {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) 140px minmax(220px, 0.75fr) minmax(170px, 0.55fr);
  gap: 0;
  align-items: center;
  min-height: 490px;
  margin-top: 45px;
  padding: 45px var(--gutter);
  border-top: 1px solid var(--line);
}

.system-sources,
.system-outputs {
  display: grid;
}

.system-sources button,
.system-outputs > div {
  display: grid;
  grid-template-columns: 34px auto 1fr;
  gap: 16px;
  align-items: center;
  min-height: 64px;
  padding: 0;
  border: 0;
  color: var(--text);
  background: transparent;
  text-align: left;
}

.system-sources button {
  cursor: pointer;
}

.system-sources span,
.system-outputs span,
.control-aperture small {
  color: #777e8a;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.system-sources strong,
.system-outputs strong,
.close-output strong {
  font-size: clamp(16px, 1.45vw, 21px);
  font-weight: 400;
}

.system-sources i,
.system-outputs i {
  height: 1px;
  background: linear-gradient(90deg, rgba(230, 233, 239, 0.6), rgba(230, 233, 239, 0.08));
  transition: background 180ms ease, box-shadow 180ms ease;
}

.system-sources button:hover i,
.system-sources button.active i {
  background: var(--amber);
  box-shadow: 0 0 10px var(--amber-soft);
}

.system-sources button.active span,
.system-sources button.active strong {
  color: var(--amber);
}

.control-aperture {
  position: relative;
  justify-self: center;
  width: 38px;
  height: 360px;
  border-inline: 1px solid var(--line);
}

.control-aperture small {
  position: absolute;
  top: -48px;
  left: 50%;
  width: 120px;
  color: var(--amber);
  text-align: center;
  transform: translateX(-50%);
}

.control-aperture > span {
  inset: 18% 12px;
}

.system-outputs {
  gap: 34px;
}

.close-output {
  position: relative;
  display: flex;
  gap: 22px;
  align-items: center;
}

.close-output > span {
  width: 52%;
  height: 1px;
  background: var(--line);
}

.close-output > span::after {
  display: block;
  width: 7px;
  height: 7px;
  margin-top: -3px;
  margin-left: 100%;
  background: var(--text);
  content: "";
}

.record-strip {
  display: grid;
  grid-template-columns: 1.05fr 4fr auto;
  gap: 36px;
  align-items: center;
  min-height: 176px;
  padding: 30px var(--gutter);
  color: var(--ink);
  background: var(--mineral);
}

.record-strip > strong,
.record-strip dt,
.record-strip dd,
.verified-mark {
  font-family: var(--mono);
  font-size: 11px;
}

.record-strip > strong {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.record-strip dl {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.record-strip dl > div {
  min-width: 0;
  padding: 0 22px;
  border-left: 1px solid var(--line-dark);
}

.record-strip dt {
  margin-bottom: 9px;
  color: var(--muted-dark);
  text-transform: uppercase;
}

.record-strip dd {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.verified-mark {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: #39751c;
}

.india-index {
  display: grid;
  grid-template-columns: minmax(330px, 0.75fr) minmax(570px, 1.25fr);
  gap: clamp(70px, 10vw, 180px);
  padding: var(--section-space) var(--gutter);
}

.india-index > div p {
  margin-top: 26px;
  color: var(--muted);
  font-size: 18px;
}

.india-index ol {
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.india-index li {
  display: grid;
  grid-template-columns: 46px 0.65fr 1fr;
  gap: 18px;
  align-items: center;
  min-height: 102px;
  border-bottom: 1px solid var(--line);
}

.india-index li span,
.india-index li small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.5;
}

.india-index li strong {
  font-size: 19px;
  font-weight: 400;
}

.control-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(620px, 1.12fr) minmax(460px, 0.88fr);
  gap: clamp(64px, 7vw, 128px);
  align-items: center;
  padding: 48px var(--gutter) 48px max(var(--gutter), 8.5vw);
  background:
    linear-gradient(90deg, transparent 0 7%, var(--line-soft) 7% calc(7% + 1px), transparent calc(7% + 1px) 93%, var(--line-soft) 93% calc(93% + 1px), transparent calc(93% + 1px)),
    linear-gradient(0deg, rgba(20, 29, 45, 0.42), transparent 48%),
    #080d17;
}

.exception-sheet {
  color: var(--ink);
  background:
    linear-gradient(rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.08)),
    var(--mineral);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.32);
}

.exception-sheet > * {
  padding-inline: clamp(26px, 3.4vw, 56px);
}

.sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 65px;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sheet-title {
  padding-block: 34px 28px;
}

.sheet-title > small,
.evidence-chain > small,
.sheet-row small,
.decision-actions > small {
  display: block;
  margin-bottom: 14px;
  color: var(--muted-dark);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sheet-title h2 {
  margin-bottom: 29px;
  font-size: clamp(32px, 3.2vw, 50px);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.sheet-title dl {
  display: grid;
  gap: 12px;
}

.sheet-title dl > div {
  display: grid;
  grid-template-columns: 128px 1fr;
  font-family: var(--mono);
  font-size: 11px;
}

.sheet-title dt,
.exception-values dt {
  color: var(--muted-dark);
}

.exception-values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-block: 25px;
  border-block: 1px solid var(--line-dark);
}

.exception-values > div {
  padding-left: 24px;
  border-left: 1px solid rgba(17, 23, 34, 0.12);
}

.exception-values > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.exception-values dt,
.exception-values dd {
  font-family: var(--mono);
  font-size: 10px;
}

.exception-values dd {
  margin-top: 10px;
  font-size: clamp(17px, 1.5vw, 22px);
}

.exception-values > div:last-child dd {
  color: #bd7400;
}

.evidence-chain {
  padding-block: 25px;
  border-bottom: 1px solid var(--line-dark);
}

.evidence-chain ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0;
  list-style: none;
}

.evidence-chain li {
  position: relative;
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.evidence-chain li:not(:last-child)::after {
  position: absolute;
  top: 13px;
  right: 8px;
  width: 16px;
  height: 1px;
  background: var(--muted-dark);
  content: "";
}

.evidence-chain li > span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid var(--muted-dark);
  font-family: var(--mono);
  font-size: 10px;
}

.evidence-chain li strong {
  overflow: hidden;
  font-size: 12px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.evidence-chain li small {
  grid-column: 2;
  overflow: hidden;
  color: var(--muted-dark);
  font-family: var(--mono);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sheet-row {
  min-height: 86px;
  padding-block: 20px;
  border-bottom: 1px solid var(--line-dark);
}

.source-document {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.source-document strong {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
}

.source-document button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
}

.rationale p {
  max-width: 90%;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.7;
}

.decision-actions {
  padding-block: 22px 32px;
}

.decision-actions > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.decision-actions button {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border: 1px solid rgba(17, 23, 34, 0.45);
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 12px;
  transition: color 180ms ease, background 180ms ease;
}

.decision-actions .decision-primary {
  color: var(--amber);
  background: var(--ink);
}

.decision-actions button:hover {
  color: var(--amber);
  background: var(--ink);
}

.exception-sheet.decided {
  box-shadow: 0 0 0 1px var(--green), 0 35px 100px rgba(0, 0, 0, 0.32);
}

.control-copy {
  position: relative;
}

.control-copy::before {
  position: absolute;
  top: 53%;
  right: calc(100% + 20px);
  width: clamp(60px, 7vw, 125px);
  height: 1px;
  background: var(--amber);
  box-shadow: 0 0 13px var(--amber-soft);
  content: "";
}

.control-copy h2 {
  font-size: clamp(50px, 4.2vw, 66px);
}

.control-copy > p {
  max-width: 540px;
  margin-top: 27px;
  color: #a6a9ae;
  font-size: 19px;
  line-height: 1.5;
}

.decision-trace {
  position: relative;
  display: grid;
  gap: 33px;
  margin-top: 82px;
  padding: 0;
  list-style: none;
}

.decision-trace::before {
  position: absolute;
  top: 13px;
  bottom: 13px;
  left: 12px;
  width: 1px;
  background: var(--line);
  content: "";
}

.decision-trace li {
  position: relative;
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 22px;
  align-items: start;
}

.decision-trace li > span {
  z-index: 1;
  display: block;
  width: 25px;
  height: 25px;
  border: 1px solid #7e8692;
  border-radius: 50%;
  background: var(--night);
}

.decision-trace li.complete > span {
  border-color: var(--amber);
  box-shadow: inset 0 0 0 7px var(--night), inset 0 0 0 13px var(--amber);
}

.decision-trace li.verified > span {
  border-color: var(--green);
  box-shadow: inset 0 0 0 7px var(--night), inset 0 0 0 13px var(--green);
}

.decision-trace strong,
.decision-trace small {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
}

.decision-trace small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.decision-trace [data-decision-state].complete > span {
  border-color: var(--green);
  box-shadow: inset 0 0 0 7px var(--night), inset 0 0 0 13px var(--green), 0 0 20px rgba(147, 216, 82, 0.18);
}

.close-section {
  position: relative;
  min-height: 730px;
  padding: 116px var(--gutter) 92px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(90deg, transparent 76%, rgba(255, 176, 0, 0.08) 76%, transparent 93%),
    var(--night-soft);
}

.close-section::after {
  position: absolute;
  top: 0;
  right: 12.5%;
  bottom: 0;
  width: 1px;
  background: var(--amber);
  box-shadow: 0 0 16px rgba(255, 176, 0, 0.62);
  content: "";
}

.close-intro > span,
.control-statement {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.close-intro > span {
  display: block;
  margin-bottom: 42px;
  color: var(--muted);
}

.close-intro h2 {
  max-width: 1000px;
  font-size: clamp(56px, 4.7vw, 74px);
}

.close-intro p {
  margin-top: 24px;
  color: var(--muted);
  font-size: 19px;
}

.close-rail {
  position: relative;
  margin-top: 85px;
}

.rail-signal {
  position: absolute;
  top: 78px;
  right: 9%;
  left: calc(var(--gutter) * -1);
  height: 1px;
  background: linear-gradient(90deg, #5e6571 0 22%, var(--amber) 32% 100%);
  box-shadow: 0 0 10px rgba(255, 176, 0, 0.35);
}

.rail-signal span {
  position: absolute;
  width: 48px;
  height: 5px;
  margin-top: -2px;
  background: linear-gradient(90deg, transparent, #fff6d3, var(--amber), transparent);
  animation: close-travel 5.2s linear infinite;
}

@keyframes close-travel {
  from { left: 0; }
  to { left: 100%; }
}

.close-rail ol {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0;
  list-style: none;
}

.close-rail li {
  position: relative;
  display: grid;
  grid-template-rows: 56px 44px auto auto;
}

.close-rail b {
  color: #9da3ad;
  font-family: var(--mono);
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 400;
}

.close-rail li > span {
  z-index: 1;
  display: block;
  align-self: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--amber);
  border-radius: 50%;
  background: var(--night-soft);
  box-shadow: inset 0 0 0 6px var(--night-soft), inset 0 0 0 12px var(--amber);
}

.close-rail strong {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.close-rail small {
  position: relative;
  margin-top: 24px;
  padding-left: 22px;
  color: #c1c4c8;
  font-size: 14px;
}

.close-rail small::before {
  position: absolute;
  top: 2px;
  left: 0;
  width: 12px;
  height: 12px;
  border: 1px solid var(--green);
  border-radius: 50%;
  content: "";
}

.control-statement {
  margin-top: 72px;
  color: var(--muted);
  text-align: center;
}

.final-cta {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 475px;
  padding: 96px var(--gutter) 68px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 176, 0, 0.5);
  text-align: center;
}

.final-cta::before,
.final-cta::after {
  position: absolute;
  top: 82px;
  width: 33%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 176, 0, 0.55));
  content: "";
}

.final-cta::before {
  left: 0;
}

.final-cta::after {
  right: 0;
  transform: scaleX(-1);
}

.focus-mark {
  position: absolute;
  top: 0;
  left: 50%;
  width: 44px;
  height: 82px;
  border-inline: 1px solid rgba(255, 176, 0, 0.4);
  transform: translateX(-50%);
}

.focus-mark span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  background: var(--amber);
  box-shadow: 0 0 16px rgba(255, 176, 0, 0.7);
}

.final-cta h2 {
  max-width: 980px;
  font-size: clamp(54px, 5.7vw, 88px);
}

.final-cta > div:last-child {
  display: flex;
  gap: 48px;
  align-items: center;
  justify-content: center;
}

.final-pilot {
  min-width: 292px;
  border-color: var(--amber);
  color: var(--amber);
}

.product-link {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--amber);
  font-size: 16px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 128px;
  margin: 0 var(--gutter);
  border-top: 1px solid var(--line);
}

.site-footer nav {
  display: flex;
  gap: clamp(26px, 4vw, 60px);
  color: var(--muted);
  font-size: 13px;
}

.site-footer > span {
  justify-self: end;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.diagnostic-modal {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  padding: 0;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 68% 44%, rgba(22, 40, 68, 0.2), transparent 36%),
    var(--night);
}

.diagnostic-modal::backdrop {
  background: var(--night);
}

.diagnostic-modal [hidden] {
  display: none !important;
}

.diagnostic-header {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 96px;
  padding: 0 54px;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 11, 20, 0.76);
  backdrop-filter: blur(18px);
}

.diagnostic-header > span {
  color: #d8d8d5;
  font-size: 17px;
}

.diagnostic-header > button {
  justify-self: end;
  padding: 10px 0 8px;
  border: 0;
  border-bottom: 1px solid transparent;
  color: #d8d8d5;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
}

.diagnostic-header > button:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.diagnostic-form {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  height: calc(100dvh - 96px);
}

.diagnostic-progress {
  padding: 78px 44px;
  border-right: 1px solid var(--line);
}

.diagnostic-progress ol {
  position: relative;
  display: grid;
  gap: 98px;
  padding: 0;
  list-style: none;
}

.diagnostic-progress ol::before {
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 9px;
  width: 1px;
  background: var(--line);
  content: "";
}

.diagnostic-progress li {
  position: relative;
  display: grid;
  gap: 6px;
  padding-left: 35px;
  color: #969da8;
}

.diagnostic-progress li::before {
  position: absolute;
  z-index: 1;
  top: 6px;
  left: 0;
  width: 17px;
  height: 17px;
  border: 1px solid #868e9a;
  border-radius: 50%;
  background: var(--night);
  content: "";
}

.diagnostic-progress li.complete::before,
.diagnostic-progress li.active::before {
  border-color: var(--amber);
  box-shadow: inset 0 0 0 5px var(--night), inset 0 0 0 9px var(--amber), 0 0 16px rgba(255, 176, 0, 0.25);
}

.diagnostic-progress li.active {
  color: var(--text);
}

.diagnostic-progress li.active span {
  color: var(--amber);
}

.diagnostic-progress span {
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
}

.diagnostic-progress strong {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.diagnostic-stage {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding: clamp(58px, 6vw, 94px) clamp(42px, 6.2vw, 104px) 30px;
  overflow: auto;
}

.diagnostic-step {
  width: min(100%, 1160px);
  margin: 0 auto;
  animation: diagnostic-in 260ms ease both;
}

@keyframes diagnostic-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.diagnostic-intro h2,
.result-heading h2 {
  max-width: 970px;
  font-size: clamp(46px, 4.2vw, 68px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.diagnostic-intro p,
.result-heading p {
  max-width: 760px;
  margin-top: 20px;
  color: #9da3ad;
  font-size: 17px;
  line-height: 1.55;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 18px;
  margin-top: 54px;
}

.field-grid label,
.consent-field {
  display: grid;
  gap: 11px;
  color: #aeb4bd;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.field-grid label > span {
  color: #676f7b;
  text-transform: none;
}

.field-grid input,
.field-grid select,
.field-grid textarea {
  width: 100%;
  min-height: 66px;
  padding: 0 20px;
  border: 1px solid #555e6c;
  border-radius: 0;
  color: var(--text);
  background: rgba(8, 14, 24, 0.72);
  font-family: var(--sans);
  font-size: 16px;
  text-transform: none;
  transition: border-color 160ms ease, background 160ms ease;
}

.field-grid textarea {
  min-height: 108px;
  padding-block: 18px;
  resize: vertical;
  line-height: 1.5;
}

.field-grid input:hover,
.field-grid select:hover,
.field-grid textarea:hover {
  border-color: #7f8998;
}

.field-grid input::placeholder,
.field-grid textarea::placeholder {
  color: #69717e;
}

.field-span {
  grid-column: 1 / -1;
}

.system-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 0;
  margin: 44px 0 0;
  border: 0;
}

.system-selector label {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 88px;
  padding: 0 24px;
  border: 1px solid #555e6c;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.system-selector label:hover {
  border-color: #8992a0;
}

.system-selector label:has(input:checked) {
  border-color: var(--amber);
  background: rgba(255, 176, 0, 0.025);
}

.system-selector input {
  display: grid;
  place-content: center;
  width: 34px;
  height: 34px;
  margin: 0 24px 0 0;
  appearance: none;
  border: 1px solid #717a88;
  border-radius: 0;
}

.system-selector input::before {
  width: 16px;
  height: 8px;
  border-bottom: 1.5px solid var(--text);
  border-left: 1.5px solid var(--text);
  content: "";
  opacity: 0;
  transform: rotate(-45deg) translate(2px, -2px);
}

.system-selector input:checked {
  border-color: var(--amber);
}

.system-selector input:checked::before {
  opacity: 1;
}

.system-selector span {
  font-size: 18px;
}

.field-error {
  margin-top: 12px;
  color: #ffcc6a;
  font-family: var(--mono);
  font-size: 10px;
}

.compact-fields {
  margin-top: 36px;
}

.diagnostic-review {
  display: grid;
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.diagnostic-review > div {
  display: grid;
  grid-template-columns: minmax(150px, 0.28fr) 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.diagnostic-review dt {
  color: #7d8591;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.diagnostic-review dd {
  color: #d9d9d5;
  font-size: 15px;
}

.consent-field {
  grid-template-columns: 24px 1fr;
  align-items: start;
  max-width: 880px;
  margin-top: 30px;
  line-height: 1.6;
  text-transform: none;
}

.consent-field input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--amber);
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
}

.diagnostic-actions {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  width: min(100%, 1160px);
  padding-top: 28px;
  margin: auto auto 0;
  border-top: 1px solid var(--line);
}

.diagnostic-actions > span {
  color: #6e7683;
  font-family: var(--mono);
  font-size: 9px;
}

.diagnostic-back {
  justify-self: start;
  padding: 12px 0 9px;
  border: 0;
  border-bottom: 1px solid var(--amber);
  color: var(--text);
  background: transparent;
  cursor: pointer;
  font-size: 15px;
}

.diagnostic-back:disabled {
  border-color: transparent;
  color: #505764;
  cursor: default;
}

.diagnostic-next {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  justify-self: end;
  gap: 48px;
  min-width: 250px;
  min-height: 60px;
  padding: 0 24px;
  border: 1px solid var(--amber);
  border-radius: 0;
  color: var(--amber);
  background: transparent;
  cursor: pointer;
  font-size: 15px;
}

.diagnostic-next:hover {
  color: var(--night);
  background: var(--amber);
}

.diagnostic-next:disabled {
  cursor: wait;
  opacity: 0.65;
}

.diagnostic-next svg,
.result-actions svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.diagnostic-status {
  width: min(100%, 1160px);
  min-height: 20px;
  margin: 10px auto 0;
  color: #9da3ad;
  font-family: var(--mono);
  font-size: 10px;
  text-align: right;
}

.diagnostic-status[data-state="working"] {
  color: var(--amber);
}

.diagnostic-result {
  height: calc(100dvh - 96px);
  padding: clamp(52px, 6vw, 92px) clamp(28px, 7vw, 120px);
  overflow: auto;
}

.diagnostic-result > * {
  width: min(100%, 1240px);
  margin-inline: auto;
}

.result-heading > span,
.result-grid article > span,
.result-plan > div > span,
.result-plan > div > strong {
  color: var(--amber);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.result-heading h2 {
  margin-top: 30px;
}

.result-score {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 24px;
  padding: 28px 0;
  margin-top: 52px;
  border-block: 1px solid var(--line);
}

.result-score > span {
  color: var(--amber);
  font-family: var(--mono);
  font-size: clamp(70px, 8vw, 118px);
  font-weight: 400;
  letter-spacing: -0.08em;
  line-height: 0.8;
}

.result-score div {
  display: grid;
  gap: 8px;
  padding-bottom: 2px;
}

.result-score strong {
  font-size: 18px;
  font-weight: 500;
}

.result-score small {
  color: #8e96a2;
  font-family: var(--mono);
  font-size: 10px;
}

.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
}

.result-grid article {
  min-height: 280px;
  padding: 42px 42px 42px 0;
}

.result-grid article + article {
  padding-left: 42px;
  border-left: 1px solid var(--line);
}

.result-grid h3 {
  margin: 26px 0 18px;
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.result-grid p,
.result-grid li,
.result-plan p {
  color: #9da3ad;
  font-size: 15px;
  line-height: 1.6;
}

.result-grid ul {
  display: grid;
  gap: 15px;
  padding: 24px 0 0 20px;
  margin: 0;
}

.result-plan {
  padding: 45px 0 10px;
}

.result-plan > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.result-plan > div > strong {
  color: var(--green);
  font-weight: 400;
}

.result-plan ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 0;
  margin: 26px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.result-plan li {
  min-height: 180px;
  padding: 24px 24px 24px 0;
  border-bottom: 1px solid var(--line);
}

.result-plan li:not(:nth-child(3n + 1)) {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.result-plan li > span {
  color: var(--amber);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.result-plan li strong {
  display: block;
  margin: 17px 0 10px;
  font-size: 20px;
  font-weight: 500;
}

.result-actions {
  display: flex;
  align-items: center;
  gap: 42px;
  padding: 40px 0 70px;
}

.result-actions .pilot-button {
  border-color: var(--amber);
  color: var(--amber);
}

@media (max-height: 820px) and (min-width: 681px) {
  .diagnostic-header {
    min-height: 72px;
  }

  .diagnostic-form,
  .diagnostic-result {
    height: calc(100dvh - 72px);
  }

  .diagnostic-progress {
    padding: 46px 44px;
  }

  .diagnostic-progress ol {
    gap: 58px;
  }

  .diagnostic-stage {
    padding: 18px clamp(42px, 6.2vw, 88px) 12px;
  }

  .diagnostic-intro h2 {
    font-size: clamp(40px, 3.3vw, 48px);
  }

  .diagnostic-intro p {
    max-width: 930px;
    margin-top: 8px;
    font-size: 14px;
  }

  .field-grid {
    gap: 8px 18px;
    margin-top: 18px;
  }

  .field-grid input,
  .field-grid select {
    min-height: 48px;
  }

  .field-grid textarea {
    min-height: 76px;
    padding-block: 12px;
  }

  .system-selector {
    gap: 11px 16px;
    margin-top: 24px;
  }

  .system-selector label {
    min-height: 58px;
  }

  .system-selector input {
    width: 28px;
    height: 28px;
    margin-right: 18px;
  }

  .compact-fields {
    margin-top: 22px;
  }

  .diagnostic-review {
    margin-top: 24px;
  }

  .diagnostic-review > div {
    padding: 10px 0;
  }

  .consent-field {
    margin-top: 18px;
  }

  .diagnostic-actions {
    padding-top: 16px;
  }

  .diagnostic-next {
    min-height: 52px;
  }
}

.toast {
  position: fixed;
  z-index: 500;
  right: 24px;
  bottom: 24px;
  max-width: min(390px, calc(100vw - 48px));
  padding: 15px 18px;
  border: 1px solid var(--amber);
  color: var(--text);
  background: #0b111d;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .hero-signal {
    left: 19%;
    grid-template-columns: minmax(270px, 43%) 30px minmax(360px, 1fr);
  }

  .source-stack > div {
    grid-template-columns: 88px 1fr;
  }

  .source-stack span {
    font-size: 8px;
  }

  .control-section {
    grid-template-columns: minmax(560px, 1.12fr) minmax(360px, 0.88fr);
  }

  .system-flow {
    grid-template-columns: minmax(210px, 0.9fr) 100px minmax(190px, 0.75fr) minmax(150px, 0.55fr);
  }
}

@media (min-width: 981px) and (max-width: 1300px) {
  .hero-signal {
    bottom: 0;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .header-pilot {
    display: none;
  }

  .menu-toggle {
    display: grid;
    gap: 8px;
    width: 46px;
    padding: 10px 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    height: 1px;
    background: var(--text);
    transition: transform 180ms ease;
  }

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

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

  .mobile-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 0 var(--gutter);
    border-bottom: 1px solid var(--line);
    background: #070b14;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .mobile-nav.open {
    padding-bottom: 24px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-nav a {
    padding: 20px 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .mobile-nav .pilot-button {
    margin-top: 20px;
  }

  .hero {
    display: block;
    min-height: auto;
    padding-top: 150px;
  }

  .hero::after {
    display: none;
  }

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

  .hero-signal {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    height: 510px;
    margin-top: 55px;
  }

  .section-intro,
  .india-index {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .system-flow {
    grid-template-columns: minmax(210px, 1fr) 95px minmax(210px, 1fr);
  }

  .close-output {
    display: none;
  }

  .record-strip {
    grid-template-columns: 1fr;
  }

  .record-strip dl {
    border-top: 1px solid var(--line-dark);
    border-bottom: 1px solid var(--line-dark);
  }

  .record-strip dl > div {
    padding-block: 18px;
  }

  .control-section {
    grid-template-columns: 1fr;
    padding-block: 70px;
  }

  .exception-sheet {
    max-width: 760px;
  }

  .control-copy {
    padding: 50px 0 80px;
  }

  .control-copy::before {
    display: none;
  }
}

@media (max-width: 680px) {
  :root {
    --gutter: 24px;
    --section-space: 104px;
  }

  html {
    scroll-padding-top: 0;
  }

  .site-header {
    min-height: 72px;
  }

  .site-header.scrolled {
    min-height: 64px;
  }

  .wordmark {
    font-size: 34px;
  }

  .hero {
    min-height: 1040px;
    padding: 126px var(--gutter) 70px;
  }

  .hero-copy {
    padding: 0;
  }

  .hero h1 {
    max-width: 540px;
    font-size: clamp(50px, 13.3vw, 64px);
    line-height: 0.98;
  }

  .hero-copy > p {
    margin: 28px 0 30px;
    font-size: 18px;
  }

  .hero-pilot {
    width: 100%;
    min-height: 62px;
    border-color: var(--amber);
    color: var(--night);
    background: var(--amber);
  }

  .hero-signal {
    display: block;
    height: auto;
    min-height: 560px;
    margin-top: 58px;
  }

  .source-stack {
    width: 88%;
    gap: 23px;
  }

  .source-stack > div {
    grid-template-columns: 94px 1fr;
  }

  .source-stack > div:nth-child(n + 5) {
    display: none;
  }

  .source-stack .desktop-label {
    display: none;
  }

  .source-stack .mobile-label {
    display: inline;
    color: #aeb4bd;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .source-stack i,
  .source-stack > div:nth-child(n) i {
    transform: none;
  }

  .aperture {
    width: 26px;
    height: 92px;
    margin: 18px 0 0 70%;
  }

  .aperture span {
    inset: 10px 6px;
  }

  .signoff-rail {
    width: 150px;
    height: 245px;
    margin-left: calc(70% - 61px);
  }

  .signal-line {
    top: 0;
    right: auto;
    bottom: 20px;
    left: 74px;
    width: 1px;
    height: auto;
  }

  .signal-line span {
    top: 0;
    left: -3px;
    width: 7px;
    height: 42px;
    background: linear-gradient(180deg, #fff7d8, var(--amber), transparent);
    animation: signal-drop 3.8s linear infinite;
  }

  @keyframes signal-drop {
    from { transform: translateY(0); }
    to { transform: translateY(190px); }
  }

  .signoff-rail ol {
    display: block;
  }

  .signoff-rail li:not(.ready-node) {
    display: none;
  }

  .ready-node {
    position: absolute !important;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid !important;
    justify-items: center;
    gap: 42px !important;
  }

  .ready-node > span {
    position: static;
  }

  .ready-node strong {
    writing-mode: vertical-rl;
  }

  .section-intro {
    gap: 26px;
  }

  .section-intro h2,
  .india-index h2,
  .control-copy h2,
  .close-intro h2,
  .final-cta h2 {
    font-size: clamp(46px, 12vw, 62px);
  }

  .section-intro p {
    font-size: 17px;
  }

  .system-flow {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    min-height: auto;
    margin-top: 54px;
    padding-block: 58px;
  }

  .system-sources button,
  .system-outputs > div {
    min-height: 58px;
  }

  .control-aperture {
    width: 78%;
    height: 32px;
    border-block: 1px solid var(--line);
    border-inline: 0;
  }

  .control-aperture small {
    top: 50%;
    left: calc(100% + 48px);
    width: 100px;
    transform: translate(-50%, -50%);
  }

  .control-aperture > span {
    inset: 7px 22%;
    background: linear-gradient(90deg, transparent, var(--amber) 46%, #fff5d8 50%, var(--amber) 54%, transparent);
    animation: none;
  }

  .system-outputs {
    gap: 0;
  }

  .record-strip {
    margin-top: 0;
    padding-block: 34px;
  }

  .record-strip dl {
    grid-template-columns: 1fr 1fr;
  }

  .record-strip dl > div {
    border-bottom: 1px solid var(--line-dark);
  }

  .record-strip dl > div:last-child {
    grid-column: 1 / -1;
  }

  .india-index {
    gap: 48px;
  }

  .india-index li {
    grid-template-columns: 36px 1fr;
    padding: 20px 0;
  }

  .india-index li small {
    grid-column: 2;
  }

  .control-section {
    gap: 20px;
    padding: 24px 0 0;
  }

  .exception-sheet {
    margin: 0 12px;
  }

  .exception-sheet > * {
    padding-inline: 20px;
  }

  .sheet-head span:last-child {
    display: none;
  }

  .sheet-title dl > div {
    grid-template-columns: 90px 1fr;
  }

  .exception-values {
    grid-template-columns: 1fr 1fr;
    gap: 24px 0;
  }

  .exception-values > div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .evidence-chain ol {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .evidence-chain li::after {
    display: none;
  }

  .decision-actions > div {
    grid-template-columns: 1fr;
  }

  .control-copy {
    padding: 82px var(--gutter) 104px;
  }

  .control-copy > p {
    font-size: 17px;
  }

  .decision-trace {
    margin-top: 58px;
  }

  .close-section {
    min-height: auto;
    padding-block: 96px 112px;
  }

  .close-section::after {
    right: 24px;
  }

  .close-intro p {
    font-size: 17px;
    line-height: 1.5;
  }

  .close-rail {
    margin-top: 70px;
    padding-left: 13px;
  }

  .rail-signal {
    top: 0;
    bottom: 0;
    left: 23px;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, #5e6571, var(--amber));
  }

  .rail-signal span {
    width: 5px;
    height: 44px;
    margin-left: -2px;
    background: linear-gradient(180deg, transparent, #fff6d3, var(--amber), transparent);
    animation: close-drop 4.5s linear infinite;
  }

  @keyframes close-drop {
    from { top: 0; }
    to { top: calc(100% - 44px); }
  }

  .close-rail ol {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .close-rail li {
    grid-template-columns: 58px 1fr;
    grid-template-rows: auto auto auto;
    min-height: 120px;
  }

  .close-rail b {
    grid-column: 2;
    font-size: 34px;
  }

  .close-rail li > span {
    grid-row: 1 / 4;
    align-self: start;
    margin-top: 8px;
  }

  .close-rail strong,
  .close-rail small {
    grid-column: 2;
  }

  .close-rail small {
    margin-top: 16px;
  }

  .control-statement {
    margin-top: 42px;
    text-align: left;
    line-height: 1.7;
  }

  .final-cta {
    min-height: 520px;
    padding-top: 130px;
  }

  .final-cta > div:last-child {
    width: 100%;
    flex-direction: column;
    gap: 26px;
  }

  .final-pilot {
    width: 100%;
    min-width: 0;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    gap: 34px;
    padding: 34px 0;
  }

  .site-footer nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 30px;
  }

  .site-footer > span {
    grid-column: 2;
    grid-row: 1;
  }

  .diagnostic-header {
    grid-template-columns: 1fr auto;
    min-height: 72px;
    padding: 0 22px;
  }

  .diagnostic-header > span {
    display: none;
  }

  .diagnostic-header > button {
    font-size: 13px;
  }

  .diagnostic-form {
    grid-template: auto minmax(0, 1fr) / 1fr;
    height: calc(100dvh - 72px);
  }

  .diagnostic-progress {
    padding: 22px 22px 18px;
    overflow: hidden;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .diagnostic-progress ol {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .diagnostic-progress ol::before {
    top: 9px;
    right: 20px;
    bottom: auto;
    left: 9px;
    width: auto;
    height: 1px;
  }

  .diagnostic-progress li {
    gap: 5px;
    padding: 28px 0 0;
    min-width: 0;
  }

  .diagnostic-progress li::before {
    top: 0;
  }

  .diagnostic-progress span {
    font-size: 18px;
  }

  .diagnostic-progress strong {
    max-width: 72px;
    font-size: 8px;
    line-height: 1.35;
  }

  .diagnostic-stage {
    padding: 38px 22px 24px;
  }

  .diagnostic-intro h2,
  .result-heading h2 {
    font-size: clamp(42px, 12vw, 56px);
  }

  .diagnostic-intro p,
  .result-heading p {
    font-size: 15px;
  }

  .field-grid,
  .system-selector {
    grid-template-columns: 1fr;
  }

  .field-grid {
    gap: 22px;
    margin-top: 40px;
  }

  .field-span {
    grid-column: auto;
  }

  .system-selector {
    gap: 12px;
    margin-top: 36px;
  }

  .system-selector label {
    min-height: 68px;
  }

  .system-selector input {
    width: 28px;
    height: 28px;
  }

  .compact-fields {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .diagnostic-review > div {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .diagnostic-actions {
    grid-template-columns: auto 1fr;
    gap: 18px;
    padding-top: 22px;
  }

  .diagnostic-actions > span {
    display: none;
  }

  .diagnostic-next {
    min-width: min(225px, 70vw);
  }

  .diagnostic-status {
    text-align: left;
  }

  .diagnostic-result {
    height: calc(100dvh - 72px);
    padding: 44px 22px;
  }

  .result-score {
    margin-top: 42px;
  }

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

  .result-grid article {
    min-height: 0;
    padding: 36px 0;
  }

  .result-grid article + article {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .result-plan > div {
    align-items: flex-start;
    flex-direction: column;
  }

  .result-plan ol {
    grid-template-columns: 1fr;
  }

  .result-plan li,
  .result-plan li:not(:nth-child(3n + 1)) {
    min-height: 0;
    padding: 24px 0;
    border-left: 0;
  }

  .result-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 24px;
  }

  .result-actions .product-link,
  .result-actions .diagnostic-back {
    width: max-content;
  }
}

@media print {
  body > *:not(.diagnostic-modal),
  .diagnostic-header,
  .diagnostic-form,
  .result-actions,
  .toast {
    display: none !important;
  }

  .diagnostic-modal,
  .diagnostic-result {
    position: static;
    display: block !important;
    width: 100%;
    height: auto;
    max-height: none;
    overflow: visible;
    color: #111722;
    background: #fff;
  }

  .diagnostic-result {
    padding: 32px;
  }

  .diagnostic-result * {
    color: #111722 !important;
    box-shadow: none !important;
  }

  .result-grid,
  .result-plan ol {
    break-inside: avoid;
  }
}

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

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

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