/* National infrastructure, procurement and private planning */
.national-gateway,
.explorer,
.device-stage,
.atlas-world,
.console {
  background:
    radial-gradient(ellipse at 68% 45%, #14355a, transparent 65%), #061326;
  color: white;
}
.national-gateway .wrap {
  padding-block: 58px;
}
.national-gateway .eyebrow,
.console small,
.atlas-world small,
.planner aside .eyebrow {
  color: var(--gold);
}
.national-gateway p,
.explorer p,
.console p {
  line-height: 1.65;
  color: #d3e0ee;
  max-width: 69ch;
}
.national-gateway a.more:hover,
.layers a:hover {
  color: var(--gold);
}
.gateway-art .device-stage {
  background: none;
  padding: 0;
}
.gateway-art {
  display: block;
  color: white;
}
.gateway-art:hover {
  color: white;
}
.national-intro h2,
.government h2,
.national-gateway h2,
.explorer h2 {
  text-wrap: balance;
}
.policy-links {
  margin: 25px 0 44px;
  border-top: 1px solid var(--rule);
}
.policy-links a,
.path-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid var(--rule);
  font-weight: 570;
  font-size: 1.1rem;
}
.policy-links .arrow,
.path-link .arrow {
  color: var(--blue);
}
.path-link {
  background: var(--paper);
  padding: 24px;
}
.explorer {
  padding: clamp(44px, 6vw, 92px) 0;
}
.explorer-grid,
.device-layout,
.office,
.planner,
.package-list article,
.recognition article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6%;
  align-items: start;
}
.explorer-grid {
  margin-top: 36px;
}
.stack-art {
  position: sticky;
  top: 18px;
  text-align: center;
}
.stack {
  width: 100%;
  max-height: 68vh;
}
.stack [data-plane] {
  color: #639eda;
  transition: color 0.3s;
}
.stack .lit {
  color: #ffca75;
  filter: drop-shadow(0 0 5px #ffb33685);
}
.stack-art small,
.design-label {
  color: #bccfe2;
  letter-spacing: 0.03em;
}
.signal {
  animation: transfer 3s linear 1;
}
@keyframes transfer {
  to {
    stroke-dashoffset: -48;
  }
}
.layers details {
  border-color: #364c65;
  padding: 15px 0;
}
.layers summary {
  justify-content: start;
  align-items: center;
  font-size: 1.1rem;
}
.layers summary span,
.layers details[open] summary,
.layers a {
  color: var(--gold);
}
.layers summary span {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}
.layers summary:after {
  margin-left: auto;
  color: #efc581;
}
.layers p strong {
  display: block;
  color: white;
  font-size: 0.94rem;
}
.layers a {
  margin: 9px 0;
}
.device-layout,
.office {
  align-items: center;
  margin-bottom: 44px;
}
.device-stage {
  padding: 40px 20px 28px;
  text-align: center;
  --brand: #164876;
  --accent: #efc581;
}
.device-stage[data-theme="jade"] {
  --brand: #06574f;
  --accent: #c9ede0;
}
.device-stage[data-theme="wine"] {
  --brand: #742545;
  --accent: #ffdf9f;
}
.phone {
  width: min(100%, 278px);
  margin: auto;
  text-align: left;
  overflow: hidden;
  background: #f5f8fc;
  color: #13283e;
  border: 6px solid #111c2a;
  outline: 2px solid #9cabbc;
  border-radius: 38px;
  box-shadow: 0 20px 45px #020b18aa;
  overflow-wrap: anywhere;
}
.speaker {
  height: 31px;
  background: var(--brand);
  display: grid;
  place-items: center;
}
.speaker:after {
  content: "";
  height: 14px;
  width: 70px;
  background: #080f18;
  border-radius: 12px;
}
.screen-head {
  background: var(--brand);
  color: white;
  padding: 12px 20px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.screen-head img {
  width: 28px;
}
.screen-head strong {
  min-width: 0;
}
.screen-body {
  padding: 21px 18px;
  font-size: 0.87rem;
}
.screen-body small,
.screen-body b {
  display: block;
  margin-bottom: 9px;
}
.credential {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: 4px;
  padding: 16px;
  border-radius: 12px;
  background: linear-gradient(120deg, var(--brand), #07192b);
  color: white;
  margin: 12px 0 22px;
}
.seal {
  font-size: 2rem;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 20px;
}
.credential strong {
  font-size: 1.15rem;
}
.engraved {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-radial-gradient(
    ellipse at 115% -40%,
    transparent 0 5px,
    var(--accent) 6px,
    transparent 7px
  );
  opacity: 0.35;
  mask-image: linear-gradient(220deg, black, transparent 72%);
}
.phone-line {
  border-top: 1px solid #c6d3df;
  margin: 12px 0;
}
.phone-base {
  text-align: center;
  padding: 16px 4px 21px;
  background: white;
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 650;
}
.design-label {
  display: block;
  max-width: 40ch;
  margin: 25px auto 0;
  font-size: 0.79rem;
}
.palette,
.planner fieldset {
  border: 0;
  padding: 0;
  margin: 28px 0;
  min-width: 0;
}
.palette label,
.planner .tick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 8px 20px 6px 0;
}
.palette input,
.tick input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--blue);
}
.fine {
  font-size: 0.94rem;
  color: #526477;
}
.journey {
  margin-top: 26px;
}
.journey .text {
  display: inline-block;
  margin-top: 18px;
}
.office {
  border-top: 1px solid var(--rule);
  padding-top: 46px;
}
.console {
  padding: clamp(22px, 3vw, 42px);
}
.console h3 {
  margin: 16px 0 25px;
}
.console p {
  display: grid;
  gap: 4px;
  padding: 13px 0;
  border-top: 1px solid #45617b;
}
.console strong {
  color: white;
}
.recognition {
  border-top: 1px solid var(--rule);
  padding: 58px 0;
}
.recognition > p {
  max-width: 76ch;
  line-height: 1.7;
}
.map-switch:not([hidden]) {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.map-switch button {
  border: 1px solid #97aabe;
  padding: 10px 18px;
  border-radius: 4px;
}
.map-switch button[aria-pressed="true"] {
  background: var(--ink);
  color: white;
}
.atlas-world {
  margin: 23px 0;
  padding: 20px;
  text-align: center;
}
.atlas-world svg {
  width: 100%;
  max-height: 420px;
}
[data-route] {
  display: none;
}
[data-route].active {
  display: block;
}
[data-route] path {
  stroke-dasharray: 10 6;
  animation: transfer 4s linear 1;
}
.recognition article {
  padding: 18px 0;
}
.recognition h3 {
  margin-top: 9px;
}
.recognition article p {
  margin-bottom: 16px;
  line-height: 1.7;
}
.recognition small,
.package-list small,
.timeline small,
.downloads small {
  color: var(--blue);
  font-weight: 650;
  letter-spacing: 0.06em;
}
.atlas-world small {
  color: #cadbed;
  font-weight: 400;
  letter-spacing: normal;
}
.package-list {
  margin-top: 34px;
}
.package-list article {
  border-top: 1px solid var(--rule);
  padding: 38px 0;
}
.package-list .text {
  display: inline-block;
  margin-top: 19px;
}
.package-list dl {
  margin: 0;
}
.package-list dt {
  font-weight: 640;
}
.package-list dd {
  margin: 6px 0 18px;
  color: #40536a;
}
.timeline {
  padding: 0;
  list-style: none;
  counter-reset: stage;
  margin: 42px 0;
}
.timeline li {
  counter-increment: stage;
  display: grid;
  grid-template-columns: 45px 1fr 1.45fr;
  gap: 4%;
  border-top: 1px solid var(--rule);
  padding: 27px 0;
  margin: 0;
}
.timeline li:before {
  content: counter(stage, decimal-leading-zero);
  color: var(--blue);
  font-weight: 620;
}
.timeline small {
  display: block;
  margin-bottom: 9px;
}
.timeline p + p {
  margin-top: 12px;
}
.policy-box {
  padding: 30px;
  background: var(--paper);
  border-left: 3px solid var(--blue);
}
.downloads {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 30px 0 45px;
}
.downloads a {
  background: var(--paper);
  padding: 25px;
  border-top: 2px solid #7e9abb;
}
.downloads h3 {
  margin-top: 15px;
}
.table-scroll {
  overflow-x: auto;
  margin: 32px 0 55px;
}
.table-scroll table {
  border-collapse: collapse;
  min-width: 715px;
  text-align: left;
}
.table-scroll th,
.table-scroll td {
  vertical-align: top;
  padding: 18px;
  border-bottom: 1px solid var(--rule);
}
.table-scroll th {
  background: var(--ink);
  color: white;
}
.planner {
  grid-template-columns: 1.15fr 1fr;
  margin-bottom: 50px;
}
.planner legend {
  font-size: 1.45rem;
  font-weight: 570;
  padding-top: 14px;
}
.planner fieldset {
  border-top: 1px solid var(--rule);
}
.planner label {
  margin: 20px 0;
}
.planner input,
.planner select,
.planner textarea {
  font-weight: 400;
}
.planner aside {
  padding: clamp(22px, 3vw, 42px);
  background: #091e35;
  color: white;
  min-width: 0;
}
.planner aside p {
  color: #d5e3f1;
}
.planner aside .text {
  color: white;
  margin: 12px;
}
#plan-status {
  scroll-margin-top: 24px;
}
#plan-actions {
  margin-top: 22px;
}
#results h3 {
  border-top: 1px solid #44627f;
  padding-top: 16px;
  margin-top: 22px;
  font-size: 1rem;
  color: #efc581;
}
#results p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
#results p:first-of-type {
  font-size: 1.5rem;
}
@media (min-width: 1221px) and (max-width: 1480px) {
  #nav {
    gap: 12px;
    font-size: 0.86rem;
  }
  .bar {
    width: 94%;
  }
  .actions {
    gap: 14px;
  }
}
@media (min-width: 1221px) {
  .dropdown:last-of-type .drop {
    right: 0;
    left: auto;
  }
}
@media (max-width: 860px) {
  .explorer-grid,
  .device-layout,
  .office,
  .planner,
  .package-list article,
  .recognition article,
  .downloads {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }
  .stack-art {
    position: static;
  }
  .stack {
    max-height: 340px;
  }
  .timeline li {
    grid-template-columns: 34px 1fr;
    gap: 10px;
  }
  .timeline li > div:last-child {
    grid-column: 2;
  }
  .government .device-layout > .device-stage {
    order: 2;
  }
  .national-gateway .wrap {
    padding-block: 40px;
  }
  .device-stage {
    padding-inline: 12px;
  }
  .planner form {
    min-width: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .signal,
  [data-route] path {
    animation: none;
  }
}
@media print {
  body:has(#results)
    :is(
      header,
      footer,
      .subhero,
      .policy-links,
      .library,
      .spaced,
      form,
      #plan-actions,
      #plan-status,
      .row,
      .skip
    ) {
    display: none !important;
  }
  body:has(#results) :is(.planner, .planner aside, .government) {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    background: white;
  }
  body:has(#results) .planner aside * {
    color: #111 !important;
  }
  #results h3 {
    break-after: avoid;
  }
}

.library .phone-edition {
  margin-right: 12px;
}
.library .present-link:has(+ .phone-edition) {
  margin-right: 20px;
}
@media (max-width: 355px) {
  .bar {
    gap: 5px;
    width: 94%;
  }
  .bar .brand {
    font-size: 1.4rem;
  }
  .bar .actions {
    gap: 5px;
  }
}
@media print {
  body:has(#results) .planner aside > .eyebrow {
    display: none;
  }
  #results {
    overflow: visible;
  }
}
