:root {
  --paper: #f3f7f6;
  --paper-strong: #ffffff;
  --ink: #162125;
  --ink-soft: #5f6f73;
  --muted: #7a898d;
  --line: rgba(21, 35, 39, 0.14);
  --deep: #10191d;
  --teal: #009c9f;
  --red: #d85d4f;
  --gold: #d8a826;
  --green: #2f9e62;
  --blue: #3b77cc;
  --shadow: 0 20px 55px rgba(24, 42, 48, 0.14);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(0, 156, 159, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0, 156, 159, 0.05) 1px, transparent 1px),
    var(--paper);
  background-size: 34px 34px;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.75;
  letter-spacing: 0;
}

body::selection {
  color: #061013;
  background: rgba(216, 168, 38, 0.46);
}

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

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

p {
  margin: 0 0 16px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0;
}

h1 {
  max-width: 860px;
  font-size: clamp(32px, 4.6vw, 56px);
}

h2 {
  font-size: clamp(22px, 2.6vw, 32px);
}

h3 {
  font-size: 22px;
}

button,
summary {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 10px 14px;
  color: #061013;
  background: var(--gold);
  border-radius: 6px;
}

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

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.site-top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

main {
  padding-top: 76px;
}

.nav-wrap {
  width: min(calc(100% - 32px), 1280px);
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-size: 21px;
  font-weight: 900;
  color: var(--deep);
  white-space: nowrap;
  transition: transform 0.2s ease, color 0.2s ease;
}

.brand-mark img {
  width: 45px;
  height: 45px;
  object-fit: cover;
  border: 1px solid rgba(16, 25, 29, 0.16);
  border-radius: 8px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.brand-mark:hover,
.brand-mark:focus-visible {
  color: var(--teal);
  transform: translateY(-1px);
}

.brand-mark:hover img,
.brand-mark:focus-visible img {
  transform: rotate(-3deg) scale(1.04);
  box-shadow: 0 10px 24px rgba(0, 156, 159, 0.2);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  color: var(--ink-soft);
  font-size: 15px;
}

.site-nav a {
  position: relative;
  overflow: hidden;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 7px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  transition: transform 0.22s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--deep);
  background: rgba(0, 156, 159, 0.1);
  transform: translateY(-1px);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.site-nav .nav-download {
  color: #061013;
  background: linear-gradient(135deg, #84efe8, #f0c84c);
  border: 1px solid rgba(6, 16, 19, 0.08);
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(0, 156, 159, 0.16);
}

.site-nav .nav-download:hover,
.site-nav .nav-download:focus-visible {
  color: #061013;
  background: linear-gradient(135deg, #92fff6, #f4d45f);
  box-shadow: 0 14px 30px rgba(0, 156, 159, 0.24);
}

.site-nav .nav-download::after {
  display: none;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--deep);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span:nth-child(1) {
  transform: translate(-50%, -50%) translateY(-7px);
}

.nav-toggle span:nth-child(2) {
  transform: translate(-50%, -50%);
}

.nav-toggle span:nth-child(3) {
  transform: translate(-50%, -50%) translateY(7px);
}

.nav-toggle em {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.cover-ledger {
  position: relative;
  min-height: min(760px, calc(100vh - 20px));
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: #0d1518;
}

.cover-ledger__image,
.cover-ledger__scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cover-ledger__image {
  object-fit: cover;
  object-position: center;
}

.cover-ledger__scrim {
  background:
    linear-gradient(90deg, rgba(6, 12, 14, 0.9), rgba(6, 12, 14, 0.5) 54%, rgba(6, 12, 14, 0.18)),
    linear-gradient(0deg, rgba(6, 12, 14, 0.72), rgba(6, 12, 14, 0.06) 42%);
}

.cover-ledger__content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 96px 0 170px;
}

.lead {
  max-width: 780px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 1.8vw, 21px);
}

.overline {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.cover-ledger .overline {
  color: #8cf5e9;
}

.cover-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  position: relative;
  overflow: hidden;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 900;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%) skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.48), transparent);
  transition: transform 0.55s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-3px);
}

.btn:hover::before,
.btn:focus-visible::before {
  transform: translateX(120%) skewX(-18deg);
}

.btn-solid {
  color: #061013;
  background: linear-gradient(135deg, #84efe8, #f0c84c);
  box-shadow: 0 16px 36px rgba(0, 156, 159, 0.22);
}

.btn-solid:hover,
.btn-solid:focus-visible {
  box-shadow: 0 22px 46px rgba(0, 156, 159, 0.34);
}

.btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.09);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.15);
}

.cover-facts {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 0;
  width: min(calc(100% - 48px), var(--max));
  margin: 0;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: var(--shadow);
}

.cover-facts div {
  position: relative;
  padding: 24px;
  border-right: 1px solid var(--line);
  transition: background 0.22s ease, transform 0.22s ease;
}

.cover-facts div::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--teal), var(--red), var(--gold));
  transition: transform 0.22s ease;
}

.cover-facts div:hover {
  background: #fff;
  transform: translateY(-2px);
}

.cover-facts div:hover::before {
  transform: scaleX(1);
}

.cover-facts div:last-child {
  border-right: 0;
}

.cover-facts dt {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.cover-facts dd {
  margin: 0;
  font-weight: 900;
}

.section {
  padding: 92px 0;
}

.section-label {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-label p:not(.overline) {
  color: var(--ink-soft);
  font-size: 17px;
}

.section-label.narrow {
  max-width: 460px;
}

.section-label.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.brief-grid {
  background: var(--paper-strong);
}

.brief-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.brief-card {
  position: relative;
  min-height: 270px;
  padding: 26px;
  background: #fff;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.brief-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid transparent;
  border-radius: inherit;
  transition: border-color 0.25s ease;
}

.brief-card:hover {
  background: linear-gradient(180deg, #fff, #f2fbfa);
}

.brief-card:hover::before {
  border-color: rgba(0, 156, 159, 0.32);
}

.brief-card strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  color: #fff;
  background: var(--deep);
  border-radius: 50%;
  font-size: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.brief-card:hover strong {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 12px 24px rgba(16, 25, 29, 0.18);
}

.brief-card:nth-child(2) strong {
  background: var(--teal);
}

.brief-card:nth-child(3) strong {
  background: var(--red);
}

.brief-card:nth-child(4) strong {
  background: var(--gold);
  color: #1a1609;
}

.brief-card h3 {
  margin-bottom: 12px;
}

.brief-card p {
  color: var(--ink-soft);
}

.system-board {
  background: linear-gradient(180deg, rgba(0, 156, 159, 0.08), rgba(216, 93, 79, 0.05));
}

.board-layout,
.update-layout,
.build-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: 54px;
  align-items: start;
}

.system-list {
  display: grid;
  gap: 14px;
}

.system-row {
  position: relative;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px 22px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(21, 35, 39, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(24, 42, 48, 0.06);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.system-row::after {
  content: "";
  position: absolute;
  inset: auto 18px 0;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--teal), var(--blue), var(--gold));
  transition: transform 0.25s ease;
}

.system-row:hover {
  background: #fff;
  border-color: rgba(0, 156, 159, 0.28);
}

.system-row:hover::after {
  transform: scaleX(1);
}

.system-row span {
  grid-row: 1 / 3;
  align-self: start;
  display: inline-flex;
  justify-content: center;
  padding: 6px 10px;
  color: #fff;
  background: var(--teal);
  border-radius: 6px;
  font-weight: 900;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.system-row:hover span {
  transform: translateX(3px);
  filter: saturate(1.18);
}

.system-row:nth-child(2) span {
  background: var(--red);
}

.system-row:nth-child(3) span {
  background: var(--blue);
}

.system-row:nth-child(4) span {
  background: var(--green);
}

.system-row h3 {
  font-size: 21px;
}

.system-row p {
  grid-column: 2;
  margin: 0;
  color: var(--ink-soft);
}

.route-map {
  background: var(--paper-strong);
}

.route-list {
  counter-reset: route;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.route-item {
  position: relative;
  min-height: 320px;
  padding: 72px 24px 24px;
  background: #f7fbfb;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.route-item::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 18% 8%, rgba(0, 156, 159, 0.13), transparent 34%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.route-item:hover {
  background: #fff;
  border-color: rgba(216, 93, 79, 0.28);
}

.route-item:hover::after {
  opacity: 1;
}

.route-item::before {
  counter-increment: route;
  content: counter(route, decimal-leading-zero);
  position: absolute;
  top: 16px;
  right: 18px;
  color: rgba(22, 33, 37, 0.12);
  font-size: 64px;
  line-height: 1;
  font-weight: 900;
  transition: color 0.25s ease, transform 0.25s ease;
}

.route-item:hover::before {
  color: rgba(0, 156, 159, 0.18);
  transform: scale(1.05);
}

.route-item time {
  position: absolute;
  top: 22px;
  left: 22px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.route-item h3 {
  margin-bottom: 12px;
}

.route-item p {
  color: var(--ink-soft);
}

.build-lab {
  background: #eaf2f1;
}

.build-layout {
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
}

.build-shot {
  margin: 0;
  overflow: hidden;
  background: #111;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.build-shot img {
  width: 100%;
  min-height: 330px;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.35s ease;
}

.build-shot:hover img {
  transform: scale(1.04);
  filter: saturate(1.12) contrast(1.04);
}

.build-shot figcaption {
  padding: 12px 16px;
  color: rgba(255, 255, 255, 0.78);
  background: #11191d;
  font-size: 14px;
}

.build-copy p {
  color: var(--ink-soft);
}

.build-table {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.build-table > div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease;
}

.build-table > div:hover {
  background: rgba(0, 156, 159, 0.07);
}

.build-table > div:last-child {
  border-bottom: 0;
}

.build-table strong,
.build-table span {
  padding: 14px 16px;
}

.build-table strong {
  color: #fff;
  background: var(--deep);
}

.build-table span {
  color: var(--ink-soft);
}

.media-strip {
  background: #11191d;
  color: #fff;
}

.media-strip .section-label h2 {
  color: #fff;
}

.media-strip .overline {
  color: #83efe7;
}

.media-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 430px);
  gap: 18px;
  overflow-x: auto;
  padding: 2px 0 18px;
  scroll-snap-type: x proximity;
}

.media-track::-webkit-scrollbar {
  height: 10px;
}

.media-track::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
}

.media-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  scroll-snap-align: start;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.media-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.55s ease, filter 0.35s ease;
}

.media-card:hover {
  border-color: rgba(132, 239, 232, 0.5);
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.25);
}

.media-card:hover img {
  transform: scale(1.06);
  filter: saturate(1.16) contrast(1.05);
}

.media-card figcaption {
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.82);
}

.update-index {
  background: var(--paper-strong);
}

.update-list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0 0 0 24px;
}

.update-list::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 5px;
  width: 2px;
  background: linear-gradient(var(--teal), var(--red), var(--gold));
}

.update-list li {
  position: relative;
  padding: 0 0 28px 26px;
  transition: color 0.25s ease;
}

.update-list li::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 7px;
  width: 12px;
  height: 12px;
  background: #fff;
  border: 3px solid var(--teal);
  border-radius: 50%;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.update-list li:hover::before {
  transform: scale(1.18);
  border-color: var(--red);
  box-shadow: 0 0 0 6px rgba(216, 93, 79, 0.12);
}

.update-list time {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--red);
  font-weight: 900;
}

.update-list h3 {
  margin-bottom: 8px;
}

.update-list p {
  color: var(--ink-soft);
}

.faq-dock {
  background: linear-gradient(180deg, rgba(216, 168, 38, 0.1), rgba(0, 156, 159, 0.08));
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.faq-list details {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(21, 35, 39, 0.13);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(24, 42, 48, 0.07);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.faq-list details:hover,
.faq-list details[open] {
  background: #fff;
  border-color: rgba(0, 156, 159, 0.32);
  box-shadow: 0 18px 40px rgba(24, 42, 48, 0.12);
}

.faq-list summary {
  cursor: pointer;
  min-height: 60px;
  padding: 18px 44px 18px 20px;
  color: var(--deep);
  font-weight: 900;
  list-style: none;
  transition: color 0.2s ease;
}

.faq-list summary:hover {
  color: var(--teal);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  margin-right: -24px;
  color: var(--teal);
  font-size: 24px;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list details p {
  padding: 0 20px 20px;
  color: var(--ink-soft);
}

.download-panel {
  padding: 84px 0;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(0, 156, 159, 0.86), rgba(216, 93, 79, 0.72)),
    #11191d;
  background-size: 160% 160%;
  animation: panel-shift 9s ease-in-out infinite alternate;
}

.download-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.download-inner .overline {
  color: #f8df87;
}

.download-inner h2 {
  max-width: 860px;
}

.site-footer {
  padding: 44px 0;
  color: rgba(255, 255, 255, 0.72);
  background: #10191d;
}

.footer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 42px;
}

.footer-layout strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 18px;
}

.footer-layout p {
  max-width: 720px;
  margin: 0;
}

.footer-layout nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.footer-layout nav a {
  color: rgba(255, 255, 255, 0.82);
}

.legal {
  grid-column: 1 / -1;
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.brief-card.reveal,
.system-row.reveal,
.route-item.reveal,
.build-shot.reveal,
.media-card.reveal,
.update-list li.reveal {
  transition:
    opacity 0.6s ease,
    transform 0.28s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes panel-shift {
  from {
    background-position: 0% 50%;
  }

  to {
    background-position: 100% 50%;
  }
}

.brief-card.reveal.is-visible:hover,
.system-row.reveal.is-visible:hover,
.route-item.reveal.is-visible:hover,
.media-card.reveal.is-visible:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.build-shot.reveal.is-visible:hover {
  transform: translateY(-4px);
}

.update-list li.reveal.is-visible:hover {
  transform: translateX(4px);
}

@media (max-width: 1100px) {
  .site-nav {
    gap: 2px;
    font-size: 14px;
  }

  .site-nav a {
    padding: 0 8px;
  }

  .brief-cards,
  .route-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .board-layout,
  .update-layout,
  .build-layout {
    grid-template-columns: 1fr;
  }

  .section-label.narrow {
    max-width: 820px;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    justify-content: flex-start;
    min-height: 46px;
    padding: 0 12px;
  }

  .cover-ledger {
    min-height: auto;
    display: block;
    padding-bottom: 24px;
  }

  .cover-ledger__image {
    object-position: 58% center;
  }

  .cover-ledger__scrim {
    background:
      linear-gradient(90deg, rgba(6, 12, 14, 0.92), rgba(6, 12, 14, 0.62)),
      linear-gradient(0deg, rgba(6, 12, 14, 0.78), rgba(6, 12, 14, 0.16));
  }

  .cover-ledger__content {
    padding: 72px 0 24px;
  }

  .cover-facts {
    position: relative;
    left: auto;
    bottom: auto;
    grid-template-columns: 1fr;
    transform: none;
    margin: 0 auto;
  }

  .cover-facts div {
    padding: 17px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .cover-facts div:last-child {
    border-bottom: 0;
  }

  .brief-cards,
  .route-list,
  .faq-list,
  .download-inner,
  .footer-layout {
    grid-template-columns: 1fr;
  }

  .brief-card,
  .route-item {
    min-height: auto;
  }

  .system-row {
    grid-template-columns: 1fr;
  }

  .system-row span,
  .system-row p {
    grid-column: auto;
    grid-row: auto;
  }

  .build-table > div {
    grid-template-columns: 1fr;
  }

  .download-inner {
    align-items: start;
  }

  .footer-layout nav {
    justify-content: flex-start;
  }
}

@media (max-width: 540px) {
  .container,
  .cover-ledger__content,
  .cover-facts,
  .nav-wrap {
    width: calc(100% - 28px);
  }

  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 22px;
  }

  h3 {
    font-size: 20px;
  }

  .brand-mark span {
    max-width: 156px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .section {
    padding: 68px 0;
  }

  .cover-actions,
  .download-inner .btn {
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .media-track {
    grid-auto-columns: minmax(252px, 86vw);
  }
}

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

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