* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

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

a {
  color: inherit;
}

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

:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: white;
  color: black;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: none;
}

.concept-jump {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
}

.concept-jump a {
  min-width: 28px;
  min-height: 28px;
  display: inline-grid;
  place-items: center;
  border: 1px solid currentColor;
  text-decoration: none;
}

.concept-jump a[aria-current="page"] {
  background: currentColor;
}

.concept-jump a[aria-current="page"] span {
  color: var(--jump-active, white);
}

.phone-shot {
  overflow: hidden;
  background: #07111f;
}

.phone-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.route-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  font-weight: 800;
  text-decoration: none;
}

.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;
}

/* 1. Night Dispatch */

.night {
  --jump-active: #07131c;
  background: #07131c;
  color: #f4f7f8;
  font-family: "Segoe UI", Arial, sans-serif;
}

.night .night-shell {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.night .night-nav {
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 28px;
  align-items: center;
  border-bottom: 1px solid #244150;
}

.night .night-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #f4f7f8;
  font-family: Bahnschrift, "Arial Narrow", sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.night .night-brand b {
  padding: 7px 8px;
  background: #ffb000;
  color: #07131c;
}

.night .night-links {
  display: flex;
  gap: 22px;
  color: #9fb0ba;
  font-size: 0.9rem;
}

.night .night-links a {
  text-decoration: none;
}

.night .night-links a:hover {
  color: #56d6e9;
}

.night .night-hero {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr) minmax(280px, 390px);
  min-height: 690px;
  border-bottom: 1px solid #244150;
}

.night .status-rail {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 38px 16px 38px 0;
  border-right: 1px solid #244150;
  color: #9fb0ba;
}

.night .status-rail p {
  margin: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: Bahnschrift, "Arial Narrow", sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
}

.night .status-light {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #56d6e9;
  box-shadow: 0 0 22px rgba(86, 214, 233, 0.75);
}

.night .night-copy {
  align-self: center;
  padding: 64px clamp(28px, 6vw, 78px);
}

.night .night-copy h1 {
  max-width: 760px;
  margin: 0;
  font-family: Bahnschrift, "Arial Narrow", sans-serif;
  font-size: clamp(3.4rem, 7.5vw, 7.6rem);
  font-stretch: condensed;
  line-height: 0.86;
  letter-spacing: -0.055em;
}

.night .night-copy > p {
  max-width: 610px;
  margin: 30px 0 0;
  color: #bac7cd;
  font-size: 1.12rem;
  line-height: 1.65;
}

.night .night-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.night .route-button.primary {
  background: #ffb000;
  color: #07131c;
}

.night .route-button.secondary {
  border: 1px solid #3b5d6e;
  color: #f4f7f8;
}

.night .release-line {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-top: 28px;
  color: #9fb0ba;
  font-size: 0.84rem;
}

.night .release-line strong {
  color: #56d6e9;
}

.night .night-visual {
  position: relative;
  align-self: center;
  padding: 54px 0;
}

.night .night-visual::before {
  content: "";
  position: absolute;
  inset: 90px -20px 90px 45%;
  border: solid #294858;
  border-width: 1px 0 1px 1px;
}

.night .night-visual::after {
  content: "approved path";
  position: absolute;
  right: 0;
  bottom: 78px;
  padding: 5px 8px;
  background: #56d6e9;
  color: #07131c;
  font-size: 0.72rem;
  font-weight: 800;
}

.night .phone-shot {
  position: relative;
  z-index: 1;
  aspect-ratio: 1080 / 1900;
  margin-right: 34px;
  border: 8px solid #102838;
  border-radius: 34px;
  box-shadow: 18px 20px 0 #ffb000;
}

.night .night-process {
  padding: 74px 0 90px;
}

.night .night-process h2 {
  max-width: 780px;
  margin: 0 0 40px;
  font-family: Bahnschrift, "Arial Narrow", sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.95;
}

.night .process-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 4px solid #ffb000;
}

.night .process-track article {
  min-height: 190px;
  padding: 22px 22px 10px 0;
  border-right: 1px solid #244150;
}

.night .process-track article:last-child {
  border-right: 0;
}

.night .process-track span {
  color: #ffb000;
  font-weight: 900;
}

.night .process-track h3 {
  margin: 34px 0 8px;
  font-size: 1.08rem;
}

.night .process-track p {
  margin: 0;
  color: #9fb0ba;
  line-height: 1.55;
}

.night .night-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 0 44px;
  border-top: 1px solid #244150;
  color: #9fb0ba;
}

/* 2. Permit Ledger */

.ledger {
  --jump-active: #f5f3ec;
  background: #f5f3ec;
  color: #17263b;
  font-family: Arial, Helvetica, sans-serif;
}

.ledger .ledger-wrap {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.ledger .ledger-nav {
  min-height: 82px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  border-bottom: 2px solid #17263b;
}

.ledger .ledger-brand {
  font-family: Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
}

.ledger .ledger-brand small {
  display: block;
  color: #566273;
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
}

.ledger .ledger-download {
  padding: 11px 16px;
  background: #174ea6;
  color: white;
  font-weight: 700;
  text-decoration: none;
}

.ledger .ledger-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
  gap: clamp(38px, 8vw, 110px);
  align-items: center;
  padding: 72px 0 86px;
}

.ledger .ledger-copy h1 {
  max-width: 720px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 6.2vw, 6.6rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.ledger .ledger-copy > p {
  max-width: 570px;
  margin: 28px 0 0;
  color: #465467;
  font-size: 1.1rem;
  line-height: 1.7;
}

.ledger .ledger-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.ledger .route-button.primary {
  background: #174ea6;
  color: white;
}

.ledger .route-button.secondary {
  border-bottom: 2px solid #174ea6;
  padding-inline: 5px;
  color: #174ea6;
}

.ledger .permit-sheet {
  position: relative;
  padding: 30px 32px 34px;
  background: #fffef9;
  border: 1px solid #aeb5bc;
  box-shadow: 13px 15px 0 #d9d7cf;
  transform: rotate(1.2deg);
}

.ledger .permit-sheet::after {
  content: "Verified";
  position: absolute;
  right: 28px;
  bottom: 42px;
  padding: 9px 14px;
  border: 4px double #287d52;
  color: #287d52;
  font-weight: 900;
  transform: rotate(-7deg);
}

.ledger .sheet-head {
  padding-bottom: 18px;
  border-bottom: 3px solid #17263b;
  font-family: Georgia, serif;
  font-size: 1.5rem;
}

.ledger .permit-sheet dl {
  margin: 24px 0 90px;
}

.ledger .permit-sheet div {
  display: grid;
  grid-template-columns: 110px 1fr;
  padding: 12px 0;
  border-bottom: 1px solid #c8cdd2;
}

.ledger .permit-sheet dt {
  color: #657080;
  font-size: 0.78rem;
}

.ledger .permit-sheet dd {
  margin: 0;
  font-weight: 700;
}

.ledger .proof {
  padding: 70px 0 88px;
  border-top: 1px solid #aeb5bc;
}

.ledger .proof h2 {
  max-width: 700px;
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(2.4rem, 4vw, 4.4rem);
  font-weight: 400;
  line-height: 1;
}

.ledger .proof-chain {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 48px;
}

.ledger .proof-chain::before {
  content: "";
  position: absolute;
  left: 12.5%;
  right: 12.5%;
  top: 17px;
  border-top: 2px solid #174ea6;
}

.ledger .proof-chain article {
  position: relative;
  padding-right: 28px;
}

.ledger .proof-chain span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 2px solid #174ea6;
  border-radius: 50%;
  background: #f5f3ec;
  color: #174ea6;
  font-weight: 800;
}

.ledger .proof-chain h3 {
  margin: 22px 0 8px;
  font-family: Georgia, serif;
  font-size: 1.24rem;
}

.ledger .proof-chain p {
  margin: 0;
  color: #566273;
  line-height: 1.55;
}

.ledger .ledger-release {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: center;
  margin-bottom: 76px;
  padding: 24px 0;
  border-top: 3px solid #17263b;
  border-bottom: 1px solid #aeb5bc;
}

.ledger .ledger-release p {
  margin: 3px 0 0;
  color: #566273;
}

.ledger .ledger-footer {
  padding: 28px 0 46px;
  border-top: 1px solid #aeb5bc;
  color: #566273;
}

/* 3. High-Visibility Cab */

.hivis {
  --jump-active: #ffd400;
  background: #ffd400;
  color: #101010;
  font-family: "Trebuchet MS", Arial, sans-serif;
}

.hivis .hivis-nav {
  width: min(1280px, calc(100% - 36px));
  min-height: 78px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  margin: 0 auto;
  border-bottom: 5px solid #101010;
}

.hivis .hivis-brand {
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 1.6rem;
  text-decoration: none;
}

.hivis .hivis-brand span {
  color: #123cc7;
}

.hivis .nav-action {
  padding: 12px 18px;
  background: #101010;
  color: white;
  font-weight: 900;
  text-decoration: none;
}

.hivis .hivis-hero {
  width: min(1280px, calc(100% - 36px));
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(270px, 0.48fr);
  gap: 34px;
  margin: 0 auto;
  padding: 54px 0 72px;
}

.hivis .hivis-copy h1 {
  max-width: 900px;
  margin: 0;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(4.8rem, 11vw, 11.5rem);
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: -0.035em;
}

.hivis .hivis-copy > p {
  max-width: 650px;
  margin: 34px 0 0;
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.5;
}

.hivis .hivis-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hivis .route-button.primary {
  background: #123cc7;
  color: white;
}

.hivis .route-button.secondary {
  border: 3px solid #101010;
}

.hivis .hivis-phone {
  position: relative;
  align-self: end;
}

.hivis .hivis-phone::before {
  content: "Live route";
  position: absolute;
  z-index: 2;
  left: -25px;
  top: 45px;
  padding: 10px 14px;
  background: #ff6b00;
  border: 3px solid #101010;
  font-weight: 900;
  transform: rotate(-4deg);
}

.hivis .phone-shot {
  height: 570px;
  border: 7px solid #101010;
  border-radius: 26px;
  box-shadow: 16px 16px 0 #123cc7;
}

.hivis .rule-banner {
  padding: 26px 20px;
  overflow: hidden;
  background: #101010;
  color: white;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(1.8rem, 4.5vw, 4.2rem);
  line-height: 1;
  text-align: center;
}

.hivis .hivis-process {
  background: #e8e8e3;
  border-bottom: 12px solid #123cc7;
}

.hivis .process-wrap {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 78px 0 88px;
}

.hivis .process-wrap h2 {
  margin: 0 0 38px;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(3.1rem, 7vw, 7rem);
  font-weight: 900;
  line-height: 0.9;
}

.hivis .road-steps {
  display: grid;
  gap: 14px;
}

.hivis .road-steps article {
  display: grid;
  grid-template-columns: 72px 210px 1fr;
  gap: 20px;
  align-items: center;
  padding: 18px 24px;
  background: white;
  border: 3px solid #101010;
}

.hivis .road-steps span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffd400;
  border: 3px solid #101010;
  font-family: Impact, sans-serif;
  font-size: 1.6rem;
}

.hivis .road-steps h3,
.hivis .road-steps p {
  margin: 0;
}

.hivis .road-steps h3 {
  font-size: 1.25rem;
}

.hivis .road-steps p {
  color: #3d3d3d;
}

.hivis .hivis-release {
  width: min(1180px, calc(100% - 36px));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin: 0 auto;
  padding: 42px 0;
  font-weight: 800;
}

/* 4. Route Atlas */

.atlas {
  --jump-active: #f7f0de;
  background: #f7f0de;
  color: #28352f;
  font-family: Verdana, Geneva, sans-serif;
}

.atlas .atlas-wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.atlas .atlas-nav {
  min-height: 82px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.atlas .site-header { position: relative; z-index: 20; }
.atlas .site-menu-button {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 11px 17px;
  border: 1px solid #28352f;
  background: transparent;
  color: #28352f;
  font: 700 0.95rem Verdana, Geneva, sans-serif;
  cursor: pointer;
}
.atlas .site-menu-button:hover,
.atlas .site-menu-button[aria-expanded="true"] { background: #1b4332; color: #f7f0de; }
.atlas .site-menu-icon { font-size: 1.2rem; line-height: 1; }
.atlas .site-menu[hidden] { display: none; }
.atlas .site-menu {
  position: absolute;
  top: calc(100% - 2px);
  right: 0;
  width: min(560px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 12px;
  border: 2px solid #1b4332;
  background: #fffaf0;
  box-shadow: 10px 12px 0 rgba(27, 67, 50, 0.18);
}
.atlas .site-menu a {
  padding: 15px 18px;
  color: #28352f;
  text-decoration: none;
  font-weight: 700;
}
.atlas .site-menu a:hover,
.atlas .site-menu a[aria-current="page"] { background: #d8c39b; }
.atlas .site-menu-button:focus-visible,
.atlas .site-menu a:focus-visible { outline: 3px solid #b5482d; outline-offset: 3px; }

.atlas .atlas-links {
  display: flex;
  gap: 17px;
  color: #5b655f;
  font-size: 0.82rem;
}

.atlas .atlas-links a {
  text-decoration: none;
}

.atlas .atlas-links a:hover {
  color: #b5482d;
}

.atlas .atlas-brand {
  flex-shrink: 0;
  font-family: Palatino, "Book Antiqua", serif;
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.atlas .atlas-brand::before {
  content: "◎";
  margin-right: 9px;
  color: #b5482d;
}

.atlas .atlas-hero {
  position: relative;
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 360px);
  gap: 70px;
  align-items: center;
  padding: 54px 0 78px;
}

.atlas .contours {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.23;
  pointer-events: none;
}

.atlas .atlas-copy,
.atlas .atlas-inset {
  position: relative;
  z-index: 1;
}

.atlas .atlas-copy h1 {
  max-width: 800px;
  margin: 0;
  font-family: Palatino, "Book Antiqua", serif;
  font-size: clamp(3.6rem, 7vw, 7.2rem);
  font-weight: 400;
  line-height: 0.93;
  letter-spacing: -0.045em;
}

.atlas .atlas-copy > p {
  max-width: 620px;
  margin: 30px 0 0;
  font-size: 1.08rem;
  line-height: 1.75;
}

.atlas .atlas-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.atlas .route-button.primary {
  background: #1b4332;
  color: #f7f0de;
}

.atlas .route-button.secondary {
  border-bottom: 2px solid #b5482d;
  color: #b5482d;
}

.atlas .atlas-inset {
  padding: 13px;
  background: #d8c39b;
  border: 1px solid #7c816b;
  transform: rotate(2deg);
}

.atlas .atlas-inset img {
  width: 100%;
  height: 510px;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.82) sepia(0.08);
}

.atlas .atlas-inset p {
  margin: 12px 4px 2px;
  font-family: Palatino, serif;
  font-style: italic;
}

.atlas .route-spine {
  position: relative;
  padding: 72px 0 100px;
  background: #1b4332;
  color: #f7f0de;
}

.atlas .route-spine h2 {
  max-width: 720px;
  margin: 0 0 58px;
  font-family: Palatino, serif;
  font-size: clamp(2.6rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 1;
}

.atlas .atlas-route {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 46px 110px;
}

.atlas .atlas-route::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -28px;
  bottom: -30px;
  width: 5px;
  background: #d8c39b;
  transform: rotate(3deg);
}

.atlas .atlas-stop {
  position: relative;
  min-height: 170px;
  padding: 24px 28px;
  border: 1px solid #74917f;
}

.atlas .atlas-stop:nth-child(odd)::after,
.atlas .atlas-stop:nth-child(even)::before {
  content: "";
  position: absolute;
  top: 48px;
  width: 56px;
  border-top: 2px dashed #d8c39b;
}

.atlas .atlas-stop:nth-child(odd)::after {
  right: -84px;
}

.atlas .atlas-stop:nth-child(even)::before {
  left: -84px;
}

.atlas .atlas-stop h3 {
  margin: 0;
  font-family: Palatino, serif;
  font-size: 1.45rem;
}

.atlas .atlas-stop p {
  margin: 12px 0 0;
  color: #cfddd3;
  line-height: 1.6;
}

.atlas .atlas-field-notes {
  padding: 34px 0;
  background: #fffaf0;
  border-bottom: 1px solid #a89f87;
}

.atlas .field-note-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.atlas .field-note {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 24px;
  min-height: 138px;
  padding: 22px clamp(24px, 4vw, 54px);
  align-items: start;
}

.atlas .field-note:first-child {
  padding-left: 0;
  border-right: 1px solid #a89f87;
}

.atlas .field-note:last-child {
  padding-right: 0;
}

.atlas .field-note > span,
.atlas .map-key {
  color: #b5482d;
  font-size: 0.75rem;
  font-weight: 700;
}

.atlas .field-note > span {
  padding-top: 5px;
  border-top: 3px solid #b5482d;
}

.atlas .pdf-note > span {
  color: #2a6f97;
  border-color: #2a6f97;
}

.atlas .field-note h2 {
  margin: 0;
  font-family: Palatino, "Book Antiqua", serif;
  font-size: 1.35rem;
  line-height: 1.15;
}

.atlas .field-note p {
  margin: 11px 0 0;
  color: #5b655f;
  font-size: 0.9rem;
  line-height: 1.6;
}

.atlas .atlas-bulletin {
  padding: 88px 0 96px;
}

.atlas .bulletin-grid,
.atlas .coverage-atlas-grid,
.atlas .atlas-log-grid,
.atlas .atlas-install-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1fr);
  gap: clamp(54px, 9vw, 120px);
  align-items: start;
}

.atlas .map-key {
  margin: 0 0 16px;
}

.atlas .bulletin-grid h2,
.atlas .coverage-atlas-grid h2,
.atlas .atlas-screens-heading h2,
.atlas .atlas-log-grid h2,
.atlas .atlas-install-intro h2 {
  max-width: 700px;
  margin: 0;
  font-family: Palatino, "Book Antiqua", serif;
  font-size: clamp(2.7rem, 4.8vw, 5rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.atlas .bulletin-grid header > p:not(.map-key),
.atlas .coverage-atlas-grid header > p:not(.map-key),
.atlas .atlas-screens-heading > p:not(.map-key),
.atlas .atlas-log-grid header > p:not(.map-key),
.atlas .atlas-install-intro > p:not(.map-key) {
  max-width: 600px;
  margin: 20px 0 0;
  color: #5b655f;
  line-height: 1.7;
}

.atlas .atlas-build-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.atlas .atlas-build-facts div {
  padding-top: 12px;
  border-top: 2px solid #28352f;
}

.atlas .atlas-build-facts dt {
  color: #6e746b;
  font-size: 0.74rem;
}

.atlas .atlas-build-facts dd {
  margin: 5px 0 0;
  font-family: Palatino, serif;
  font-weight: 700;
}

.atlas .atlas-current-notes {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid #28352f;
}

.atlas .atlas-current-notes li {
  position: relative;
  padding: 22px 0 22px 42px;
  border-bottom: 1px solid #a89f87;
  color: #4c5851;
  line-height: 1.65;
}

.atlas .atlas-current-notes li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 28px;
  width: 13px;
  height: 13px;
  border: 3px solid #f7f0de;
  border-radius: 50%;
  background: #b5482d;
  box-shadow: 0 0 0 1px #b5482d;
}

.atlas .atlas-coverage {
  padding: 88px 0 98px;
  background: #1b4332;
  color: #f7f0de;
}

.atlas .atlas-coverage .map-key {
  color: #d8c39b;
}

.atlas .coverage-atlas-grid header > p:not(.map-key) {
  color: #cfddd3;
}

.atlas .atlas-coverage-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid #d8c39b;
}

.atlas .atlas-coverage-table th,
.atlas .atlas-coverage-table td {
  height: 92px;
  padding: 18px 0;
  border-bottom: 1px solid #74917f;
  text-align: left;
  vertical-align: middle;
}

.atlas .atlas-coverage-table th {
  width: 40%;
  padding-right: 24px;
}

.atlas .atlas-coverage-table th span {
  width: 12px;
  height: 12px;
  display: inline-block;
  margin-right: 11px;
  border-radius: 50%;
  vertical-align: middle;
}

.atlas .atlas-ready th span {
  background: #68c7a0;
}

.atlas .atlas-partial th span {
  background: #e4bd58;
}

.atlas .atlas-progress th span {
  background: #e97658;
}

.atlas .atlas-unsupported th span {
  background: #86978e;
}

.atlas .atlas-coverage-table td {
  color: #cfddd3;
  line-height: 1.55;
}

.atlas .atlas-coverage-note {
  grid-column: 2;
  margin: -10px 0 0;
  color: #afc5b6;
  font-size: 0.86rem;
  line-height: 1.6;
}

.atlas .coverage-more { grid-column: 2; margin: 5px 0 0; line-height: 1.6; }
.atlas .coverage-more a { color: #f7f0de; font-weight: 700; text-underline-offset: 4px; }
.atlas .download-coverage-reminder { padding: 12px 16px; border-left: 4px solid #b5482d; background: #eddfc1; line-height: 1.5; }
.atlas .download-coverage-reminder a { color: #1b4332; font-weight: 700; }

.atlas .atlas-explore { padding: 76px 0 84px; background: #e7d7b7; }
.atlas .atlas-explore h2 { margin: 0 0 32px; font: 400 clamp(2.5rem, 5vw, 4.5rem)/1 Palatino, "Book Antiqua", serif; letter-spacing: -0.04em; }
.atlas .atlas-explore-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 30px; }
.atlas .atlas-explore-links a { display: grid; gap: 8px; padding: 20px 0; border-top: 1px solid #8d856e; color: #28352f; text-decoration: none; }
.atlas .atlas-explore-links a:hover strong { color: #b5482d; text-decoration: underline; }
.atlas .atlas-explore-links strong { font: 700 1.5rem Palatino, "Book Antiqua", serif; }
.atlas .atlas-explore-links span { color: #4c5851; line-height: 1.5; }

.atlas .atlas-share { min-height: 70vh; padding: 55px 0 90px; background: #1b4332; }
.atlas .atlas-share .permit-research-callout { margin-top: 0; }
.atlas .permit-research-copy h1,
.atlas .atlas-screens-heading h1,
.atlas .atlas-log-grid h1 { margin: 0; font: 400 clamp(2.7rem, 4.8vw, 5rem)/0.98 Palatino, "Book Antiqua", serif; letter-spacing: -0.04em; }
.atlas .bulletin-grid h1,
.atlas .atlas-install-intro h1 {
  margin: 0 0 20px;
  font: 400 clamp(2.4rem, 4.5vw, 4rem)/1.08 Palatino, "Book Antiqua", serif;
  letter-spacing: -0.035em;
}
.atlas .permit-research-copy h1 { font-size: clamp(2.15rem, 4vw, 4.1rem); }

.atlas .permit-research-callout {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 88px);
  margin-top: 34px;
  padding: clamp(30px, 5vw, 58px);
  border-top: 7px solid #e4bd58;
  background: #f7f0de;
  color: #28352f;
}

.atlas .permit-research-copy .map-key {
  color: #2a6f97;
}

.atlas .permit-research-copy h3 {
  margin: 0;
  font-family: Palatino, "Book Antiqua", serif;
  font-size: clamp(2.15rem, 4vw, 4.1rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;
}

.atlas .permit-research-copy > p:not(.map-key) {
  margin: 22px 0 0;
  color: #4c5851;
  line-height: 1.68;
}

.atlas .permit-research-copy .permit-privacy-note {
  padding: 16px 18px;
  border-left: 4px solid #b5482d;
  background: #eddfc1;
  font-size: 0.9rem;
}

.atlas .permit-email-note {
  font-size: 0.88rem;
}

.atlas .permit-email-note a {
  color: #2a6f97;
  font-weight: 700;
}

.atlas .permit-research-form {
  display: grid;
  gap: 18px;
  align-content: start;
  padding-left: clamp(0px, 4vw, 52px);
  border-left: 1px solid #a89f87;
}

.atlas .permit-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.atlas .permit-research-form label:not(.permit-consent):not(.permit-trap) {
  display: grid;
  gap: 8px;
  color: #28352f;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.025em;
}

.atlas .permit-research-form label > span {
  font-weight: 400;
}

.atlas .permit-research-form input[type="text"],
.atlas .permit-research-form input[type="email"],
.atlas .permit-research-form textarea {
  width: 100%;
  border: 1px solid #7c816b;
  border-radius: 0;
  background: #fffdf5;
  color: #28352f;
  font: inherit;
  font-size: 1rem;
}

.atlas .permit-research-form input[type="text"],
.atlas .permit-research-form input[type="email"] {
  min-height: 49px;
  padding: 11px 13px;
}

.atlas .permit-research-form textarea {
  min-height: 116px;
  padding: 13px;
  resize: vertical;
  line-height: 1.5;
}

.atlas .permit-research-form input:focus-visible,
.atlas .permit-research-form textarea:focus-visible {
  outline-color: #2a6f97;
}

.atlas .permit-file-drop {
  padding: 18px;
  border: 2px dashed #2a6f97;
  background: #eaf0e9;
}

.atlas .permit-file-drop > span,
.atlas .permit-file-drop > small,
.atlas .permit-file-drop > output {
  display: block;
}

.atlas .permit-file-drop > span {
  font-family: Palatino, "Book Antiqua", serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.atlas .permit-file-drop > small,
.atlas .permit-file-drop > output {
  color: #5b655f;
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
}

.atlas .permit-file-drop input[type="file"] {
  width: 100%;
  margin: 7px 0 2px;
  color: #4c5851;
  font: inherit;
  font-size: 0.86rem;
}

.atlas .permit-file-drop input[type="file"]::file-selector-button {
  min-height: 38px;
  margin-right: 10px;
  padding: 8px 13px;
  border: 0;
  background: #2a6f97;
  color: white;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.atlas .permit-consent {
  display: grid;
  grid-template-columns: 21px 1fr;
  gap: 10px;
  align-items: start;
  color: #4c5851;
  font-size: 0.86rem;
  line-height: 1.5;
}

.atlas .permit-consent input {
  width: 19px;
  height: 19px;
  margin: 1px 0 0;
  accent-color: #1b4332;
}

.atlas .permit-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.atlas .permit-submit {
  width: 100%;
  border: 0;
  background: #1b4332;
  color: #f7f0de;
  font: inherit;
  cursor: pointer;
}

.atlas .permit-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.atlas .permit-form-status {
  min-height: 24px;
  margin: -4px 0 0;
  color: #4c5851;
  font-size: 0.88rem;
  line-height: 1.5;
}

.atlas .permit-form-status[data-state="success"] {
  color: #1b6b48;
  font-weight: 700;
}

.atlas .permit-form-status[data-state="error"] {
  color: #a43b25;
  font-weight: 700;
}

.atlas .atlas-screens {
  overflow: hidden;
  padding: 92px 0 110px;
  background: #e7d7b7;
}

.atlas .atlas-screens-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(260px, 0.5fr);
  gap: 50px;
  align-items: end;
}

.atlas .atlas-screens-heading .map-key {
  grid-column: 1 / -1;
  margin-bottom: -28px;
}

.atlas .atlas-screens-heading > p:not(.map-key) {
  margin-top: 0;
}

.atlas .atlas-contact-sheet {
  width: min(1480px, calc(100% - 40px));
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  margin: 58px auto 0;
}

.atlas .atlas-contact-sheet figure {
  margin: 0;
  padding: 10px 10px 13px;
  background: #fffaf0;
  border: 1px solid #a89f87;
  box-shadow: 7px 9px 0 rgba(98, 82, 52, 0.16);
}

.atlas .atlas-contact-sheet figure:nth-child(even) {
  transform: translateY(34px) rotate(1deg);
}

.atlas .atlas-contact-sheet figure:nth-child(odd) {
  transform: rotate(-0.7deg);
}

.atlas .atlas-contact-sheet img {
  width: 100%;
  aspect-ratio: 1080 / 2240;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.9);
}

.atlas .atlas-contact-sheet figcaption {
  padding-top: 10px;
  font-family: Palatino, serif;
  font-size: 0.82rem;
  font-style: italic;
  text-align: center;
}

.atlas .atlas-log {
  padding: 92px 0 106px;
  background: #fffaf0;
}

.atlas .atlas-release-history {
  border-top: 2px solid #28352f;
}

.atlas .atlas-release-history > p {
  color: #5b655f;
}

.atlas .history-release {
  border-bottom: 1px solid #a89f87;
}

.atlas .history-release summary {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 72px;
  padding: 17px 42px 17px 0;
  cursor: pointer;
  list-style: none;
  font-family: Palatino, serif;
  font-weight: 700;
}

.atlas .history-release summary::-webkit-details-marker {
  display: none;
}

.atlas .history-release summary::after {
  content: "+";
  position: absolute;
  right: 3px;
  color: #b5482d;
  font-family: Verdana, sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
}

.atlas .history-release[open] summary::after {
  content: "−";
}

.atlas .history-release[open] summary {
  color: #b5482d;
}

.atlas .history-release-date {
  color: #6e746b;
  font-family: Verdana, sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
}

.history-release-version {
  min-width: 0;
  overflow-wrap: anywhere;
}

.history-release-meta {
  display: grid;
  gap: 5px;
  text-align: right;
}

.history-release-count {
  color: #5b655f;
  font-family: Verdana, sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
}

.history-release summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

@media (max-width: 760px) {
  .atlas .history-release summary,
  .clear .history-release summary {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .history-release-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    text-align: left;
  }
}

.atlas .history-release-notes {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0 28px 27px 22px;
  color: #4c5851;
  line-height: 1.6;
}

.atlas .atlas-install {
  padding: 92px 0 98px;
  background: #d8c39b;
}

.atlas .atlas-install-qr {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 32px;
}

.atlas .atlas-install-qr img {
  width: 96px;
  height: 96px;
  padding: 6px;
  background: white;
}

.atlas .atlas-install-qr p,
.atlas .atlas-install-qr strong,
.atlas .atlas-install-qr span {
  display: block;
  margin: 0;
}

.atlas .atlas-install-qr span {
  margin-top: 5px;
  color: #5b655f;
  font-size: 0.86rem;
}

.atlas .atlas-install-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: atlas-install;
  border-top: 2px solid #28352f;
}

.atlas .atlas-install-steps li {
  position: relative;
  min-height: 92px;
  padding: 20px 0 20px 68px;
  border-bottom: 1px solid #9d8a65;
  counter-increment: atlas-install;
}

.atlas .atlas-install-steps li::before {
  content: counter(atlas-install);
  position: absolute;
  left: 0;
  top: 17px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 2px solid #b5482d;
  border-radius: 50%;
  color: #b5482d;
  font-family: Palatino, serif;
  font-weight: 700;
}

.atlas .atlas-install-steps strong,
.atlas .atlas-install-steps span {
  display: block;
}

.atlas .atlas-install-steps span {
  margin-top: 5px;
  color: #5b655f;
  line-height: 1.55;
}

.atlas .atlas-release {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 26px;
  align-items: center;
  padding: 54px 0 64px;
}

.atlas .atlas-release img {
  width: 104px;
  background: white;
}

.atlas .atlas-release p {
  margin: 5px 0 0;
  color: #5b655f;
}

.atlas .atlas-footer {
  padding: 28px 0 45px;
  border-top: 1px solid #a89f87;
}

.atlas .atlas-404 {
  width: min(760px, calc(100% - 40px));
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  padding: 80px 0;
}

.atlas .atlas-404 h1 {
  max-width: 720px;
  margin: 0;
  font-family: Palatino, "Book Antiqua", serif;
  font-size: clamp(3.4rem, 8vw, 7.4rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.atlas .atlas-404 > p:not(.map-key) {
  max-width: 600px;
  margin: 28px 0;
  color: #5b655f;
  line-height: 1.7;
}

.atlas .atlas-404 .route-button {
  align-self: flex-start;
}

.atlas .atlas-404-route {
  display: flex;
  align-items: center;
  width: min(520px, 74vw);
  margin-bottom: 54px;
  border-top: 3px solid #2a6f97;
}

.atlas .atlas-404-route span {
  width: 18px;
  height: 18px;
  border: 4px solid #f7f0de;
  border-radius: 50%;
  background: #2a6f97;
  box-shadow: 0 0 0 2px #2a6f97;
  transform: translateY(-10px);
}

.atlas .atlas-404-route span:last-child {
  margin-left: auto;
  background: #b5482d;
  box-shadow: 0 0 0 2px #b5482d;
}

/* 5. Clear Passage */

.clear {
  --jump-active: #f3f8fc;
  background: #f3f8fc;
  color: #14213d;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
}

.clear .clear-wrap {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.clear .clear-nav {
  min-height: 80px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.clear .clear-brand {
  justify-self: start;
  font-weight: 800;
  text-decoration: none;
}

.clear .clear-brand i {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  margin-right: 8px;
  border-radius: 50%;
  background: #1677ff;
  color: white;
  font-style: normal;
}

.clear .clear-links {
  display: flex;
  gap: 24px;
  color: #66758a;
  font-size: 0.92rem;
}

.clear .clear-links a {
  text-decoration: none;
}

.clear .clear-nav .route-button {
  justify-self: end;
  min-height: 44px;
  padding: 10px 17px;
  border-radius: 999px;
  background: #14213d;
  color: white;
}

.clear .clear-hero {
  padding: 86px 0 64px;
  text-align: center;
}

.clear .hero-concept-jump {
  justify-content: center;
  margin-bottom: 30px;
}

.clear .clear-hero h1 {
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(3rem, 6.5vw, 6.5rem);
  font-weight: 750;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.clear .clear-hero > p {
  max-width: 660px;
  margin: 26px auto 0;
  color: #66758a;
  font-size: 1.14rem;
  line-height: 1.65;
}

.clear .clear-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.clear .route-button.primary {
  border-radius: 999px;
  background: #1677ff;
  color: white;
}

.clear .route-button.secondary {
  border-radius: 999px;
  border: 1px solid #a9b8c8;
  color: #14213d;
}

.clear .trip-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 72px;
  text-align: left;
}

.clear .trip-line::before {
  content: "";
  position: absolute;
  left: 12.5%;
  right: 12.5%;
  top: 15px;
  height: 4px;
  border-radius: 4px;
  background: #b9d8ff;
}

.clear .trip-line article {
  position: relative;
  padding: 0 18px;
}

.clear .trip-line span {
  position: relative;
  width: 34px;
  height: 34px;
  display: block;
  margin-bottom: 20px;
  border: 8px solid #f3f8fc;
  border-radius: 50%;
  background: #1677ff;
  box-shadow: 0 0 0 2px #1677ff;
}

.clear .trip-line article:last-child span {
  background: #f2554a;
  box-shadow: 0 0 0 2px #f2554a;
}

.clear .trip-line h3 {
  margin: 0 0 7px;
  font-size: 1rem;
}

.clear .trip-line p {
  margin: 0;
  color: #66758a;
  font-size: 0.9rem;
  line-height: 1.5;
}

.clear .clear-notices {
  padding: 34px 0;
  background: white;
  border-top: 1px solid #d8e2ec;
  border-bottom: 1px solid #d8e2ec;
}

.clear .notice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.clear .notice-grid article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: start;
  padding: 10px clamp(24px, 4vw, 54px);
}

.clear .notice-grid article:first-child {
  padding-left: 0;
  border-right: 1px solid #d8e2ec;
}

.clear .notice-grid article:last-child {
  padding-right: 0;
}

.clear .notice-grid article > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 850;
}

.clear .testing-notice > span {
  background: #f2554a;
  color: white;
  font-size: 1.2rem;
}

.clear .pdf-notice > span {
  background: #dcecff;
  color: #1677ff;
  font-size: 0.72rem;
}

.clear .notice-grid h2 {
  margin: 1px 0 7px;
  font-size: 1rem;
}

.clear .notice-grid p {
  margin: 0;
  color: #66758a;
  font-size: 0.92rem;
  line-height: 1.55;
}

.clear .clear-updates {
  padding: 88px 0;
  background: white;
}

.clear .updates-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1fr);
  gap: clamp(54px, 9vw, 120px);
  align-items: start;
}

.clear .updates-heading h2,
.clear .coverage-grid h2,
.clear .screens-heading h2,
.clear .history-grid h2 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(2.5rem, 4.5vw, 4.7rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.clear .updates-heading > p,
.clear .coverage-grid header > p,
.clear .screens-heading > p,
.clear .history-grid header > p {
  max-width: 600px;
  margin: 20px 0 0;
  color: #66758a;
  line-height: 1.7;
}

.clear .build-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.clear .build-facts div {
  padding-top: 12px;
  border-top: 2px solid #14213d;
}

.clear .build-facts dt {
  color: #66758a;
  font-size: 0.78rem;
}

.clear .build-facts dd {
  margin: 5px 0 0;
  font-weight: 800;
}

.clear .current-notes {
  margin: 0;
  padding: 0;
  list-style: none;
}

.clear .current-notes li {
  position: relative;
  padding: 20px 0 20px 46px;
  border-top: 1px solid #d8e2ec;
  color: #43536a;
  line-height: 1.6;
}

.clear .current-notes li:last-child {
  border-bottom: 1px solid #d8e2ec;
}

.clear .current-notes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 18px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dcecff;
  color: #1677ff;
  font-size: 0.82rem;
  font-weight: 900;
}

.clear .clear-coverage {
  padding: 88px 0 96px;
  background: #eaf3fb;
}

.clear .coverage-grid {
  display: grid;
  grid-template-columns: minmax(270px, 0.7fr) minmax(0, 1fr);
  gap: 34px clamp(54px, 9vw, 120px);
  align-items: start;
}

.clear .coverage-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid #14213d;
}

.clear .coverage-row th,
.clear .coverage-row td {
  height: 92px;
  padding: 18px 0;
  border-bottom: 1px solid #b8c9d8;
  text-align: left;
  vertical-align: middle;
}

.clear .coverage-row th {
  width: 40%;
  padding-right: 24px;
}

.clear .coverage-row th span {
  width: 12px;
  height: 12px;
  display: inline-block;
  margin-right: 11px;
  border-radius: 50%;
  vertical-align: middle;
}

.clear .coverage-row.ready th span {
  background: #1677ff;
}

.clear .coverage-row.partial th span {
  background: #f3a712;
}

.clear .coverage-row.progress th span {
  background: #f2554a;
}

.clear .coverage-row.unsupported th span {
  background: #8a96a8;
}

.clear .coverage-row td {
  color: #43536a;
  line-height: 1.55;
}

.clear .coverage-note {
  grid-column: 2;
  max-width: 720px;
  margin: -10px 0 0;
  color: #66758a;
  font-size: 0.88rem;
  line-height: 1.6;
}

.clear .clear-screens {
  overflow: hidden;
  padding: 90px 0 102px;
  background: white;
}

.clear .screens-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.55fr);
  gap: 50px;
  align-items: end;
}

.clear .screens-heading > p {
  margin-top: 0;
}

.clear .screen-gallery {
  width: min(1480px, calc(100% - 40px));
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  margin: 52px auto 0;
  padding-bottom: 4px;
}

.clear .screen-gallery figure {
  margin: 0;
}

.clear .screen-gallery figure:nth-child(even) {
  margin-top: 54px;
}

.clear .screen-gallery img {
  width: 100%;
  aspect-ratio: 1080 / 2080;
  object-fit: cover;
  object-position: center top;
  border: 5px solid #14213d;
  border-radius: 26px;
  box-shadow: 0 14px 34px rgba(20, 33, 61, 0.14);
}

.clear .screen-gallery figcaption {
  padding: 13px 5px 0;
  color: #66758a;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}

.clear .clear-history {
  padding: 92px 0 104px;
  background: #f3f8fc;
}

.clear .history-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1fr);
  gap: clamp(54px, 9vw, 120px);
  align-items: start;
}

.clear .release-history {
  border-top: 2px solid #14213d;
}

.clear .release-history > p {
  color: #66758a;
}

.clear .history-release {
  border-bottom: 1px solid #b8c9d8;
}

.clear .history-release summary {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 72px;
  padding: 17px 42px 17px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 800;
}

.clear .history-release summary::-webkit-details-marker {
  display: none;
}

.clear .history-release summary::after {
  content: "+";
  position: absolute;
  right: 3px;
  color: #1677ff;
  font-size: 1.6rem;
  font-weight: 500;
}

.clear .history-release[open] summary::after {
  content: "−";
}

.clear .history-release[open] summary {
  color: #1677ff;
}

.clear .history-release-date {
  color: #66758a;
  font-size: 0.82rem;
  font-weight: 500;
}

.clear .history-release-notes {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0 28px 26px 22px;
  color: #43536a;
  line-height: 1.55;
}

.clear .clear-install {
  padding: 86px 0;
  background: #14213d;
  color: white;
}

.clear .install-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: clamp(54px, 9vw, 120px);
  align-items: start;
}

.clear .install-intro h2 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(2.5rem, 4.5vw, 4.7rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.clear .install-intro > p {
  max-width: 520px;
  margin: 22px 0 0;
  color: #b8c7d9;
  line-height: 1.7;
}

.clear .install-qr {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.clear .install-qr img {
  width: 96px;
  height: 96px;
  padding: 6px;
  background: white;
  border-radius: 12px;
}

.clear .install-qr p,
.clear .install-qr span {
  display: block;
  margin: 0;
}

.clear .install-qr span {
  margin-top: 5px;
  color: #b8c7d9;
  font-size: 0.9rem;
}

.clear .install-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: install;
}

.clear .install-steps li {
  position: relative;
  min-height: 92px;
  padding: 20px 0 20px 72px;
  border-top: 1px solid #34415c;
  counter-increment: install;
}

.clear .install-steps li:last-child {
  border-bottom: 1px solid #34415c;
}

.clear .install-steps li::before {
  content: counter(install);
  position: absolute;
  left: 0;
  top: 17px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #1677ff;
  color: white;
  font-weight: 800;
}

.clear .install-steps strong,
.clear .install-steps span {
  display: block;
}

.clear .install-steps span {
  margin-top: 5px;
  color: #b8c7d9;
  line-height: 1.55;
}

.clear .clear-release {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 25px;
  align-items: center;
  padding: 54px 0;
}

.clear .clear-release p {
  margin: 5px 0 0;
  color: #66758a;
}

.clear .clear-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 46px;
  border-top: 1px solid #d8e2ec;
  color: #66758a;
}

@media (max-width: 1050px) {
  .atlas .atlas-links {
    display: none;
  }
}

@media (max-width: 880px) {
  .night .night-links,
  .clear .clear-links {
    display: none;
  }

  .night .night-nav,
  .clear .clear-nav {
    grid-template-columns: 1fr auto;
  }

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

  .night .night-visual {
    display: none;
  }

  .night .process-track,
  .ledger .proof-chain {
    grid-template-columns: repeat(2, 1fr);
  }

  .ledger .proof-chain::before {
    display: none;
  }

  .ledger .ledger-hero,
  .hivis .hivis-hero,
  .atlas .atlas-hero,
  .atlas .field-note-grid,
  .atlas .bulletin-grid,
  .atlas .coverage-atlas-grid,
  .atlas .atlas-screens-heading,
  .atlas .atlas-log-grid,
  .atlas .atlas-install-grid,
  .clear .notice-grid,
  .clear .updates-grid,
  .clear .coverage-grid,
  .clear .screens-heading,
  .clear .history-grid,
  .clear .install-grid {
    grid-template-columns: 1fr;
  }

  .atlas .field-note {
    padding: 24px 0;
  }

  .atlas .field-note:first-child {
    border-right: 0;
    border-bottom: 1px solid #a89f87;
  }

  .atlas .atlas-coverage-note {
    grid-column: auto;
    margin-top: 0;
  }

  .atlas .coverage-more { grid-column: auto; }

  .atlas .permit-research-callout {
    grid-template-columns: 1fr;
  }

  .atlas .permit-research-form {
    padding-top: 32px;
    padding-left: 0;
    border-top: 1px solid #a89f87;
    border-left: 0;
  }

  .atlas .atlas-screens-heading .map-key {
    grid-column: auto;
    margin-bottom: 0;
  }

  .atlas .atlas-screens-heading > p:not(.map-key) {
    margin-top: 0;
  }

  .atlas .atlas-contact-sheet {
    grid-template-columns: repeat(3, 1fr);
  }

  .clear .notice-grid article {
    padding: 24px 0;
  }

  .clear .notice-grid article:first-child {
    border-right: 0;
    border-bottom: 1px solid #d8e2ec;
  }

  .clear .coverage-note {
    grid-column: auto;
    margin-top: 0;
  }

  .clear .screens-heading > p {
    margin-top: 0;
  }

  .ledger .permit-sheet {
    width: min(520px, 94%);
    margin: 0 auto;
  }

  .hivis .hivis-phone {
    width: min(390px, 90%);
    margin: 0 auto;
  }

  .atlas .atlas-inset {
    width: min(380px, 88%);
    margin: 0 auto;
  }

}

@media (max-width: 620px) {
  .concept-jump > span,
  .night .night-nav > .concept-jump,
  .ledger .ledger-nav > .concept-jump,
  .hivis .hivis-nav > .concept-jump,
  .atlas .atlas-nav > .concept-jump,
  .clear .clear-nav > .concept-jump {
    display: none;
  }

  .night .night-shell,
  .ledger .ledger-wrap,
  .atlas .atlas-wrap,
  .clear .clear-wrap {
    width: min(100% - 26px, 1180px);
  }

  .night .night-hero {
    display: block;
    min-height: 0;
  }

  .night .status-rail {
    display: none;
  }

  .night .night-copy {
    padding: 62px 0 68px;
  }

  .night .night-copy h1 {
    font-size: clamp(3.7rem, 19vw, 5.5rem);
  }

  .night .process-track,
  .ledger .proof-chain,
  .atlas .atlas-route,
  .clear .trip-line {
    grid-template-columns: 1fr;
  }

  .night .process-track article {
    min-height: 0;
    padding: 20px 0 22px;
    border-right: 0;
    border-bottom: 1px solid #244150;
  }

  .night .process-track h3 {
    margin-top: 8px;
  }

  .night .night-footer,
  .clear .clear-footer,
  .hivis .hivis-release {
    align-items: flex-start;
    flex-direction: column;
  }

  .ledger .ledger-hero {
    padding-top: 52px;
  }

  .ledger .ledger-copy h1 {
    font-size: clamp(3.1rem, 15vw, 5.2rem);
  }

  .ledger .permit-sheet {
    width: calc(100% - 12px);
    padding: 24px 20px;
  }

  .ledger .proof-chain {
    gap: 28px;
  }

  .ledger .proof-chain article {
    padding: 0;
  }

  .ledger .proof-chain h3 {
    margin-top: 12px;
  }

  .ledger .ledger-release,
  .clear .clear-release {
    grid-template-columns: 1fr;
  }

  .hivis .hivis-nav,
  .hivis .hivis-hero,
  .hivis .process-wrap,
  .hivis .hivis-release {
    width: min(100% - 26px, 1280px);
  }

  .hivis .hivis-copy h1 {
    font-size: clamp(4.6rem, 24vw, 7.5rem);
  }

  .hivis .road-steps article {
    grid-template-columns: 58px 1fr;
  }

  .hivis .road-steps p {
    grid-column: 1 / -1;
  }

  .atlas .atlas-route::before,
  .atlas .atlas-stop::before,
  .atlas .atlas-stop::after {
    display: none;
  }

  .atlas .atlas-release {
    grid-template-columns: auto 1fr;
  }

  .atlas .atlas-release .route-button {
    grid-column: 1 / -1;
  }

  .atlas .field-note {
    grid-template-columns: 92px 1fr;
    gap: 18px;
  }

  .atlas .atlas-bulletin,
  .atlas .atlas-coverage,
  .atlas .atlas-screens,
  .atlas .atlas-log,
  .atlas .atlas-install {
    padding-top: 68px;
    padding-bottom: 74px;
  }

  .atlas .bulletin-grid h2,
  .atlas .coverage-atlas-grid h2,
  .atlas .atlas-screens-heading h2,
  .atlas .atlas-log-grid h2,
  .atlas .atlas-install-intro h2 {
    font-size: 2.65rem;
  }

  .atlas .atlas-build-facts {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .atlas .permit-research-callout {
    padding: 26px 20px;
  }

  .atlas .permit-field-grid {
    grid-template-columns: 1fr;
  }

  .atlas .atlas-coverage-table tr {
    display: block;
    padding: 18px 0;
    border-bottom: 1px solid #74917f;
  }

  .atlas .atlas-coverage-table th,
  .atlas .atlas-coverage-table td {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 0;
  }

  .atlas .atlas-coverage-table th {
    padding: 0;
  }

  .atlas .atlas-coverage-table td {
    padding: 8px 0 0 23px;
  }

  .atlas .atlas-contact-sheet {
    width: min(100% - 24px, 620px);
    grid-template-columns: repeat(2, 1fr);
    gap: 13px;
    margin-top: 40px;
  }

  .atlas .atlas-contact-sheet figure,
  .atlas .atlas-contact-sheet figure:nth-child(even),
  .atlas .atlas-contact-sheet figure:nth-child(odd) {
    transform: none;
  }

  .atlas .history-release summary {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .atlas .history-release-date {
    grid-row: 2;
  }

  .clear .clear-hero {
    padding-top: 58px;
  }

  .clear .trip-line {
    gap: 0;
    margin-top: 50px;
  }

  .clear .trip-line::before {
    left: 32px;
    right: auto;
    top: 16px;
    bottom: 16px;
    width: 4px;
    height: auto;
  }

  .clear .trip-line article {
    min-height: 120px;
    padding-left: 74px;
  }

  .clear .trip-line span {
    position: absolute;
    left: 16px;
  }

  .clear .clear-updates,
  .clear .clear-coverage,
  .clear .clear-screens,
  .clear .clear-history,
  .clear .clear-install {
    padding-top: 68px;
    padding-bottom: 72px;
  }

  .clear .updates-heading h2,
  .clear .coverage-grid h2,
  .clear .screens-heading h2,
  .clear .history-grid h2,
  .clear .install-intro h2 {
    font-size: 2.55rem;
  }

  .clear .build-facts {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .clear .coverage-row {
    display: block;
    padding: 18px 0;
    border-bottom: 1px solid #b8c9d8;
  }

  .clear .coverage-row th,
  .clear .coverage-row td {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 0;
  }

  .clear .coverage-row th {
    padding: 0;
  }

  .clear .coverage-row td {
    padding: 8px 0 0 23px;
  }

  .clear .screen-gallery {
    width: 100%;
    grid-template-columns: repeat(6, 230px);
    gap: 16px;
    overflow-x: auto;
    margin-top: 38px;
    padding: 0 16px 24px;
    scroll-padding-inline: 16px;
    scroll-snap-type: x mandatory;
  }

  .clear .screen-gallery figure,
  .clear .screen-gallery figure:nth-child(even) {
    margin-top: 0;
    scroll-snap-align: start;
  }

  .clear .history-release summary {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .clear .history-release-date {
    grid-row: 2;
  }
}

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

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

/* Device-specific APK choices extend the current field bulletin. */
.apk-download-status { font-size: 0.9rem; line-height: 1.5; }
.apk-download-options { margin-top: 1rem; }
.apk-download-options[hidden] { display: none; }
.apk-download-options summary { cursor: pointer; font-weight: 700; }
.apk-download-options label { display: block; margin: 1rem 0 0.5rem; }
.apk-download-options select {
  width: 100%; max-width: 100%; padding: 0.75rem; font: inherit;
  color: #172f40; background: #fff; border: 1px solid #52738a; border-radius: 4px;
}
.apk-download-options p { font-size: 0.9rem; line-height: 1.5; }

/* Google Material Android mark; source and license: assets/android.LICENSE.txt. */
a[data-download] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

a[data-download]::before {
  content: "";
  display: block;
  flex: 0 0 1.5rem;
  width: 1.5rem;
  height: 1.5rem;
  background-color: currentColor;
  -webkit-mask: url("../assets/android.svg") center / contain no-repeat;
  mask: url("../assets/android.svg") center / contain no-repeat;
}

.apk-universal-download { margin-top: 0.75rem; white-space: normal; text-align: center; }
.apk-update-notice { padding: 0.9rem 1rem; border-left: 3px solid #52738a; background: #edf2ed; font-size: 0.95rem; line-height: 1.6; }
.apk-update-notice strong { display: block; color: #28352f; }

@media (max-width: 600px) {
  .atlas .atlas-nav { flex-wrap: wrap; gap: 12px; padding: 12px 0; }
  .atlas .atlas-brand { white-space: normal; flex-shrink: 1; }
  .atlas .atlas-nav-download { max-width: 100%; }
  .atlas .site-menu { grid-template-columns: 1fr; }
  .atlas .atlas-explore-links { grid-template-columns: 1fr; }
}
