:root {
  --navy: #071b2b;
  --navy-2: #0b2d42;
  --navy-3: #12475a;
  --ice: #f5fcff;
  --cream: #fff9ec;
  --glacier: #bdefff;
  --cyan: #25c7e8;
  --teal: #087783;
  --amber: #ffaa3b;
  --pink: #ff648b;
  --ink: #0b2938;
  --muted: #56707b;
  --line: rgba(11, 41, 56, 0.16);
  --shadow: 0 24px 70px rgba(3, 20, 32, 0.18);
  --shell: min(1180px, calc(100vw - 40px));
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--ice);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(37, 199, 232, 0.045), transparent 42%),
    repeating-linear-gradient(115deg, transparent 0 48px, rgba(8, 119, 131, 0.025) 49px 50px);
  pointer-events: none;
}

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

a {
  color: var(--teal);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #045c66;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.55em;
  color: inherit;
  font-family: "Avenir Next", "Trebuchet MS", ui-sans-serif, sans-serif;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2.65rem, 6vw, 5.7rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.55rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

p,
ul,
ol {
  margin: 0 0 1.15rem;
}

code {
  padding: 0.08rem 0.34rem;
  border: 1px solid rgba(8, 119, 131, 0.2);
  background: rgba(189, 239, 255, 0.35);
  color: #075d68;
  font: 0.9em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  overflow-wrap: anywhere;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  translate: 0 -180%;
  padding: 0.7rem 1rem;
  background: var(--amber);
  color: var(--navy);
  font-weight: 800;
}

.skip-link:focus {
  translate: 0;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(189, 239, 255, 0.17);
  background: rgba(7, 27, 43, 0.94);
  color: var(--ice);
  backdrop-filter: blur(16px);
}

.nav-row {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: var(--ice);
  font-family: "Avenir Next", "Trebuchet MS", sans-serif;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: -0.015em;
  line-height: 1.1;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
}

.brand span span {
  display: block;
  color: var(--glacier);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.14rem;
}

.site-nav a {
  padding: 0.55rem 0.62rem;
  border-bottom: 2px solid transparent;
  color: rgba(245, 252, 255, 0.78);
  font-size: 0.85rem;
  font-weight: 730;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-color: var(--cyan);
  color: white;
}

.site-nav .play-link {
  margin-left: 0.45rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(255, 170, 59, 0.62);
  background: rgba(255, 170, 59, 0.12);
  color: #ffd798;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
}

.nav-toggle {
  display: none;
  margin-left: auto;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(189, 239, 255, 0.32);
  background: transparent;
  color: white;
  font-weight: 800;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 3px;
  background: var(--amber);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.72rem;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.72rem 1.05rem;
  border: 1px solid currentColor;
  color: var(--ink);
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

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

.button-primary:hover {
  border-color: #ffd28c;
  background: #ffd28c;
  color: var(--navy);
}

.button-ice {
  border-color: rgba(189, 239, 255, 0.65);
  background: rgba(189, 239, 255, 0.12);
  color: white;
}

.button-ice:hover {
  background: rgba(189, 239, 255, 0.25);
  color: white;
}

.home-hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: var(--navy);
  color: white;
  isolation: isolate;
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  margin: 0;
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 27, 43, 0.98) 0%, rgba(7, 27, 43, 0.86) 42%, rgba(7, 27, 43, 0.35) 78%, rgba(7, 27, 43, 0.64) 100%),
    linear-gradient(0deg, rgba(7, 27, 43, 0.98), transparent 55%);
}

.hero-art::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: -30% -35%;
  background: linear-gradient(110deg, transparent 38%, rgba(245, 252, 255, 0.35) 48%, transparent 58%);
  transform: translateX(-70%);
  animation: frost-sheen 1.35s ease-out 0.15s both;
  pointer-events: none;
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  filter: saturate(1.04) contrast(1.03);
}

.hero-art figcaption {
  position: absolute;
  z-index: 2;
  right: max(20px, calc((100vw - 1180px) / 2));
  bottom: 20px;
  max-width: 350px;
  padding: 0.48rem 0.7rem;
  background: rgba(7, 27, 43, 0.82);
  color: rgba(245, 252, 255, 0.78);
  font-size: 0.72rem;
}

.hero-layout {
  min-height: 720px;
  padding: 88px 0 76px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.75fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6.4rem);
}

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

.hero-copy .eyebrow {
  color: var(--glacier);
}

.hero-copy h1 {
  max-width: 800px;
  color: white;
  text-wrap: balance;
}

.hero-copy > p {
  max-width: 670px;
  color: rgba(245, 252, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.27rem);
}

.identity-strip {
  margin-top: 1.7rem;
  padding: 0.95rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.35rem;
  border-block: 1px solid rgba(189, 239, 255, 0.22);
  color: var(--glacier);
  font-size: 0.78rem;
  font-weight: 760;
}

.identity-strip span::before {
  content: "◆";
  margin-right: 0.4rem;
  color: var(--amber);
  font-size: 0.65rem;
}

.opening-panel {
  position: relative;
  padding: 1.5rem;
  border: 1px solid rgba(189, 239, 255, 0.42);
  background: rgba(7, 27, 43, 0.78);
  box-shadow: var(--shadow);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
  backdrop-filter: blur(12px);
}

.opening-panel::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 28px;
  height: 28px;
  background: linear-gradient(45deg, rgba(37, 199, 232, 0.28) 49%, var(--amber) 50% 57%, transparent 58%);
}

.opening-panel .eyebrow {
  color: #ffd798;
}

.opening-panel h2 {
  font-size: clamp(1.65rem, 2.6vw, 2.35rem);
}

.opening-steps {
  position: relative;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.opening-steps::before {
  content: "";
  position: absolute;
  top: 1.05rem;
  bottom: 1.05rem;
  left: 1rem;
  width: 3px;
  transform-origin: top;
  background: linear-gradient(var(--amber), var(--pink));
  animation: route-draw 0.9s ease-out 0.35s both;
}

.opening-steps li {
  position: relative;
  padding: 0 0 1.1rem 3rem;
}

.opening-steps li:last-child {
  padding-bottom: 0;
}

.opening-steps b {
  position: absolute;
  top: 0;
  left: 0;
  width: 2.05rem;
  height: 2.05rem;
  display: grid;
  place-items: center;
  border: 2px solid var(--navy);
  border-radius: 50%;
  background: var(--amber);
  color: var(--navy);
  font-family: "Avenir Next", "Trebuchet MS", sans-serif;
  font-size: 0.83rem;
}

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

.opening-steps strong {
  color: white;
}

.opening-steps span {
  color: rgba(245, 252, 255, 0.7);
  font-size: 0.86rem;
}

.section {
  padding: clamp(70px, 9vw, 116px) 0;
}

.section-cream {
  background: var(--cream);
}

.section-ice {
  background: linear-gradient(145deg, var(--ice), #e5f8fc);
}

.section-dark {
  background: var(--navy);
  color: var(--ice);
}

.section-teal {
  background: var(--teal);
  color: white;
}

.section-head {
  margin-bottom: clamp(2rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.72fr);
  align-items: end;
  gap: 2rem;
}

.section-head > p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.section-dark .section-head > p,
.section-teal .section-head > p {
  color: rgba(245, 252, 255, 0.75);
}

.answer-lead {
  margin: 0 0 2rem;
  padding: 1.25rem 1.35rem;
  border-left: 5px solid var(--amber);
  background: rgba(255, 170, 59, 0.12);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 620;
}

.source-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.52rem;
  border: 1px solid rgba(8, 119, 131, 0.26);
  background: rgba(189, 239, 255, 0.35);
  color: #075d68;
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-transform: uppercase;
}

.source-badge::before {
  content: "●";
  color: var(--teal);
  font-size: 0.56rem;
}

.boundary {
  margin: 1.5rem 0;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(255, 170, 59, 0.42);
  background: #fff4d9;
  color: #50380e;
}

.boundary strong {
  color: #7d4e00;
}

.route-check {
  display: block;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: 0;
  border: 1px solid rgba(189, 239, 255, 0.25);
  background: var(--navy-2);
  box-shadow: var(--shadow);
  color: var(--ice);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}

.route-choices {
  display: none;
  padding: 1.4rem;
  border-right: 1px solid rgba(189, 239, 255, 0.18);
  background: rgba(7, 27, 43, 0.54);
}

.js .route-check {
  display: grid;
}

.js .route-choices {
  display: block;
}

.route-choices h3 {
  margin-bottom: 1rem;
  font-size: 1rem;
  letter-spacing: 0;
}

.choice-list {
  display: grid;
  gap: 0.45rem;
}

.route-choice {
  width: 100%;
  padding: 0.72rem 0.78rem;
  border: 1px solid rgba(189, 239, 255, 0.2);
  background: transparent;
  color: rgba(245, 252, 255, 0.8);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 760;
  text-align: left;
}

.route-choice:hover,
.route-choice[aria-pressed="true"] {
  border-color: var(--amber);
  background: rgba(255, 170, 59, 0.11);
  color: white;
}

.route-result {
  min-height: 410px;
  padding: clamp(1.55rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(37, 199, 232, 0.1), transparent 52%),
    var(--navy-2);
}

.route-result[data-state="ready"] > * {
  animation: result-in 0.24s ease-out both;
}

.route-result .eyebrow {
  color: var(--glacier);
}

.route-result h3 {
  max-width: 700px;
  font-size: clamp(1.8rem, 3.8vw, 3rem);
}

.route-result p {
  color: rgba(245, 252, 255, 0.78);
}

.route-result dl {
  margin: 1rem 0 1.4rem;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.45rem 0.9rem;
}

.route-result dt {
  color: var(--glacier);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.route-result dd {
  margin: 0;
  color: rgba(245, 252, 255, 0.82);
}

.route-result .source-badge {
  width: fit-content;
  border-color: rgba(189, 239, 255, 0.28);
  background: rgba(189, 239, 255, 0.1);
  color: var(--glacier);
}

.no-js-note {
  margin-top: 1rem;
  color: rgba(245, 252, 255, 0.65);
  font-size: 0.8rem;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: white;
}

.route-table-wrap {
  margin-top: 2.2rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  color: var(--ink);
  font-size: 0.91rem;
}

caption {
  padding: 1rem 1.15rem;
  color: var(--muted);
  font-weight: 650;
  text-align: left;
}

th,
td {
  padding: 0.92rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

thead th {
  position: sticky;
  z-index: 2;
  top: 75px;
  background: var(--navy);
  color: white;
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

tbody tr:last-child > * {
  border-bottom: 0;
}

tbody tr:hover {
  background: rgba(189, 239, 255, 0.16);
}

tbody th {
  min-width: 170px;
  color: var(--teal);
}

.route-table tbody th {
  border-left: 4px solid var(--cyan);
}

.route-table td:nth-child(3) {
  background: rgba(255, 170, 59, 0.065);
}

.coverage-band {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.coverage-meter {
  padding: 1.5rem;
  border: 1px solid rgba(189, 239, 255, 0.25);
  background: rgba(189, 239, 255, 0.08);
}

.coverage-meter > span {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--glacier);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.coverage-rail {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
}

.coverage-rail i {
  height: 10px;
  background: rgba(189, 239, 255, 0.18);
}

.coverage-rail i:first-child {
  background: linear-gradient(90deg, var(--cyan), var(--amber));
}

.coverage-labels {
  margin-top: 0.7rem;
  display: flex;
  justify-content: space-between;
  color: rgba(245, 252, 255, 0.65);
  font-size: 0.76rem;
}

.owner-list {
  border-top: 1px solid var(--line);
}

.owner-link {
  position: relative;
  padding: 1.25rem 0;
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  gap: 1.2rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.owner-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(189, 239, 255, 0.18);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.owner-link:hover::before {
  transform: scaleX(1);
}

.owner-link span {
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.owner-link strong {
  font-family: "Avenir Next", "Trebuchet MS", sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.owner-link b {
  color: var(--amber);
  font-size: 1.4rem;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(76px, 10vw, 128px) 0 70px;
  background:
    linear-gradient(115deg, transparent 0 62%, rgba(37, 199, 232, 0.09) 62% 64%, transparent 64%),
    var(--navy);
  color: white;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -8vw;
  bottom: -28vw;
  width: 48vw;
  height: 48vw;
  border: 1px solid rgba(189, 239, 255, 0.15);
  transform: rotate(38deg);
}

.page-hero .shell {
  position: relative;
  z-index: 1;
}

.page-hero .eyebrow {
  color: var(--glacier);
}

.page-hero h1 {
  max-width: 920px;
  font-size: clamp(2.65rem, 6vw, 5.15rem);
  text-wrap: balance;
}

.page-hero p {
  max-width: 760px;
  color: rgba(245, 252, 255, 0.76);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.breadcrumb {
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: rgba(245, 252, 255, 0.58);
  font-size: 0.78rem;
}

.breadcrumb a {
  color: var(--glacier);
}

.page-stamp {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.page-stamp .source-badge {
  border-color: rgba(189, 239, 255, 0.24);
  background: rgba(189, 239, 255, 0.09);
  color: var(--glacier);
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 245px;
  gap: clamp(2.5rem, 7vw, 6.5rem);
  align-items: start;
}

.prose {
  min-width: 0;
  font-size: 1.01rem;
}

.prose > :first-child {
  margin-top: 0;
}

.prose h2 {
  margin-top: 2.4rem;
  padding-top: 0.45rem;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

.prose h3 {
  margin-top: 1.6rem;
}

.prose li + li {
  margin-top: 0.5rem;
}

.local-rail {
  position: sticky;
  top: 100px;
  padding-left: 1.2rem;
  border-left: 2px solid var(--glacier);
  font-size: 0.84rem;
}

.local-rail strong {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--teal);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.local-rail a {
  display: block;
  padding: 0.32rem 0;
  color: var(--ink);
  font-weight: 680;
  text-decoration: none;
}

.local-rail a:hover {
  color: var(--teal);
}

.rail-note {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.76rem;
}

.task-steps {
  position: relative;
  margin: 1.7rem 0 2rem;
  padding: 0;
  list-style: none;
  counter-reset: task-step;
}

.task-steps::before {
  content: "";
  position: absolute;
  top: 1.5rem;
  bottom: 1.5rem;
  left: 1.35rem;
  width: 3px;
  background: linear-gradient(var(--cyan), var(--amber));
}

.task-steps li {
  position: relative;
  min-height: 4rem;
  padding: 0.15rem 0 2rem 4.2rem;
  counter-increment: task-step;
}

.task-steps li::before {
  content: counter(task-step, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  border: 2px solid var(--teal);
  border-radius: 50%;
  background: var(--ice);
  color: var(--teal);
  font: 850 0.72rem "Avenir Next", "Trebuchet MS", sans-serif;
}

.task-steps h3 {
  margin: 0 0 0.35rem;
}

.task-steps p {
  color: #34515e;
}

.success-check {
  margin-top: 0.75rem;
  padding: 0.68rem 0.8rem;
  border-left: 3px solid var(--teal);
  background: rgba(189, 239, 255, 0.28);
  color: #174957;
  font-size: 0.88rem;
}

.transition-media {
  margin: 2.2rem 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.68fr);
  align-items: stretch;
  border: 1px solid var(--line);
  background: var(--navy);
  color: white;
}

.transition-media img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.transition-media figcaption {
  padding: clamp(1.3rem, 4vw, 2.4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: rgba(245, 252, 255, 0.76);
}

.transition-media figcaption strong {
  display: block;
  margin-bottom: 0.55rem;
  color: white;
  font: 800 clamp(1.3rem, 2.8vw, 2rem) "Avenir Next", "Trebuchet MS", sans-serif;
}

.branch-list {
  border-top: 1px solid var(--line);
}

.branch {
  padding: 1.4rem 0;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.4rem;
  border-bottom: 1px solid var(--line);
}

.branch h3 {
  margin: 0;
  color: var(--teal);
}

.branch p:last-child {
  margin-bottom: 0;
}

.run-only {
  margin: 2rem 0;
  padding: 1.3rem;
  border: 1px dashed rgba(8, 119, 131, 0.5);
  background: rgba(189, 239, 255, 0.2);
}

.run-only strong {
  color: var(--teal);
}

.snapshot-strip {
  margin-bottom: 1.5rem;
  padding: 1rem 1.15rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1rem;
  border: 1px solid rgba(8, 119, 131, 0.25);
  background: rgba(189, 239, 255, 0.22);
}

.snapshot-strip strong {
  color: var(--teal);
}

.pass-table .price {
  color: #7d4e00;
  font-weight: 900;
  white-space: nowrap;
}

.pass-table .empty {
  color: var(--muted);
  font-style: italic;
}

.pass-table code {
  white-space: nowrap;
}

.status-key {
  margin-bottom: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.34rem 0.58rem;
  border: 1px solid var(--line);
  background: white;
  font-size: 0.76rem;
  font-weight: 800;
}

.status-chip.verified::before,
.status-chip.unverified::before {
  content: "";
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 50%;
}

.status-chip.verified::before {
  background: var(--teal);
}

.status-chip.unverified::before {
  background: var(--amber);
}

.place-table tr[data-status="covered"] th {
  border-left: 5px solid var(--teal);
}

.place-table tr[data-status="unverified"] th {
  border-left: 5px solid var(--amber);
}

.empty-state {
  margin-bottom: 2.2rem;
  padding: clamp(1.5rem, 5vw, 2.8rem);
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 1.2rem;
  border: 1px solid rgba(8, 119, 131, 0.27);
  background: linear-gradient(135deg, rgba(189, 239, 255, 0.35), rgba(255, 249, 236, 0.9));
}

.empty-state-mark {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 2px solid var(--teal);
  border-radius: 50%;
  color: var(--teal);
  font: 900 2rem "Avenir Next", "Trebuchet MS", sans-serif;
}

.empty-state h2 {
  margin-bottom: 0.35rem;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.empty-state p {
  margin-bottom: 0;
}

.source-ledger {
  border-top: 1px solid var(--line);
}

.source-row {
  padding: 1.25rem 0;
  display: grid;
  grid-template-columns: minmax(170px, 0.55fr) minmax(0, 1.45fr);
  gap: 1.3rem;
  border-bottom: 1px solid var(--line);
}

.source-row h3 {
  margin: 0;
  font-size: 1.05rem;
}

.source-row p:last-child {
  margin-bottom: 0;
}

.next-routes {
  padding: 2.5rem 0 0;
  border-top: 1px solid var(--line);
}

.next-routes h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.next-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.next-links a {
  min-height: 120px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.next-links a span {
  color: var(--teal);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.next-links a:hover {
  border-color: var(--cyan);
  background: rgba(189, 239, 255, 0.18);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.trust-grid section {
  padding: clamp(1.3rem, 4vw, 2.2rem);
  background: white;
}

.trust-grid h2 {
  margin-top: 0;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.site-footer {
  padding: 62px 0 26px;
  background: #04131f;
  color: rgba(245, 252, 255, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) repeat(3, minmax(130px, 0.65fr));
  gap: 2rem;
}

.footer-brand p {
  max-width: 350px;
  margin-top: 1rem;
  font-size: 0.86rem;
}

.footer-grid h2 {
  margin-bottom: 0.75rem;
  color: var(--glacier);
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-grid nav a {
  display: block;
  padding: 0.22rem 0;
  color: rgba(245, 252, 255, 0.75);
  font-size: 0.85rem;
  text-decoration: none;
}

.footer-grid nav a:hover {
  color: white;
}

.footer-note {
  margin-top: 2.6rem;
  padding-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.7rem;
  border-top: 1px solid rgba(189, 239, 255, 0.12);
  font-size: 0.72rem;
}

.not-found {
  min-height: calc(100vh - 76px);
  padding: 80px 0;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: white;
  text-align: center;
}

.not-found-mark {
  width: 110px;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 16px 36px rgba(37, 199, 232, 0.2));
}

.not-found h1 {
  font-size: clamp(3rem, 9vw, 7rem);
}

.not-found p {
  max-width: 570px;
  margin-inline: auto;
  color: rgba(245, 252, 255, 0.72);
}

.not-found .button-row {
  justify-content: center;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@keyframes frost-sheen {
  to { transform: translateX(70%); }
}

@keyframes route-draw {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

@keyframes result-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1000px) {
  .hero-layout {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 2rem;
  }

  .opening-panel {
    max-width: 680px;
  }

  .footer-grid {
    grid-template-columns: 1.3fr repeat(2, 0.7fr);
  }

  .footer-grid > :last-child {
    grid-column: 2 / -1;
  }
}

@media (max-width: 900px) {
  .nav-row {
    flex-wrap: wrap;
    padding-block: 12px;
  }

  .site-nav {
    width: 100%;
    margin: 0;
    flex-wrap: wrap;
    padding-bottom: 0.5rem;
  }

  .js .nav-toggle {
    display: inline-flex;
  }

  .js .site-nav {
    display: none;
  }

  .js .site-nav[data-open] {
    display: flex;
  }

  .site-nav .play-link {
    margin-left: 0;
  }

  .section-head,
  .coverage-band,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .local-rail {
    position: static;
    order: -1;
    padding: 0 0 1rem;
    border: 0;
    border-bottom: 1px solid var(--line);
  }

  .local-rail a {
    display: inline-block;
    margin-right: 0.8rem;
  }

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

  .route-choices {
    border-right: 0;
    border-bottom: 1px solid rgba(189, 239, 255, 0.18);
  }

  .choice-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .route-result {
    min-height: 350px;
  }

  .transition-media {
    grid-template-columns: 1fr;
  }

  .transition-media img {
    max-height: 420px;
  }
}

@media (max-width: 720px) {
  :root {
    --shell: min(100% - 28px, 1180px);
  }

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

  .nav-row {
    min-height: 66px;
  }

  .brand span {
    max-width: 145px;
  }

  .site-nav a {
    width: calc(50% - 0.2rem);
  }

  .site-nav .play-link {
    width: 100%;
  }

  .home-hero,
  .hero-layout {
    min-height: auto;
  }

  .hero-layout {
    padding: 64px 0 82px;
  }

  .hero-art::after {
    background: linear-gradient(0deg, rgba(7, 27, 43, 0.99) 12%, rgba(7, 27, 43, 0.76) 72%, rgba(7, 27, 43, 0.66));
  }

  .hero-art img {
    object-position: 62% center;
  }

  .hero-art figcaption {
    right: 14px;
    bottom: 12px;
    max-width: calc(100% - 28px);
  }

  .identity-strip {
    display: grid;
    gap: 0.45rem;
  }

  .opening-panel {
    padding: 1.15rem;
  }

  .button-row .button {
    width: 100%;
  }

  .owner-link {
    grid-template-columns: 1fr auto;
  }

  .owner-link span {
    grid-column: 1 / -1;
  }

  .choice-list {
    grid-template-columns: 1fr;
  }

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

  .route-result dd + dt {
    margin-top: 0.5rem;
  }

  .branch,
  .source-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .empty-state {
    grid-template-columns: 1fr;
  }

  .task-steps li {
    padding-left: 3.7rem;
  }

  .table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .responsive-table,
  .responsive-table tbody,
  .responsive-table tr,
  .responsive-table td,
  .responsive-table th {
    display: block;
  }

  .responsive-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .responsive-table caption {
    display: block;
    width: 100%;
  }

  .responsive-table tr {
    margin-bottom: 0.85rem;
    border: 1px solid var(--line);
    background: white;
  }

  .responsive-table th,
  .responsive-table td {
    min-width: 0;
    padding: 0.72rem 0.82rem;
    border-bottom: 1px solid var(--line);
  }

  .responsive-table tbody th {
    border-left: 4px solid var(--cyan);
    background: rgba(189, 239, 255, 0.2);
  }

  .responsive-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.2rem;
    color: var(--teal);
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .responsive-table tr > :last-child {
    border-bottom: 0;
  }

  .next-links,
  .trust-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid > :last-child {
    grid-column: auto;
  }

  .footer-note {
    display: block;
  }

  .footer-note span {
    display: block;
    margin-top: 0.4rem;
  }
}

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

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .button-row,
  .route-choices,
  .local-rail {
    display: none !important;
  }

  body,
  .section,
  .page-hero {
    background: white !important;
    color: black !important;
  }

  .content-layout,
  .route-check {
    display: block;
  }

  .route-result {
    min-height: 0;
    background: white;
    color: black;
  }
}
