:root {
  --ink: #07110D;
  --pitch: #0E2419;
  --moss: #1B3D2C;
  --line: #2C4A3A;
  --bone: #F2F5E9;
  --mist: #A9B8A9;
  --lime: #C9F24D;
  --lime-dim: #7FA22F;
  --ember: #E98A3C;
  --paper: #E7EBDD;
  --white: #FFFFFF;
  --paper-ink: #14291D;
  --line-soft: rgba(44, 74, 58, 0.72);
  --line-faint: rgba(242, 245, 233, 0.12);
  --moss-wash: rgba(27, 61, 44, 0.42);
  --lime-wash: rgba(201, 242, 77, 0.10);
  --ember-wash: rgba(233, 138, 60, 0.12);
  --font-display: "Barlow Condensed", "Arial Narrow", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 1220px;
  --gutter: clamp(18px, 4vw, 56px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 132px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% -10%, rgba(201, 242, 77, 0.06), transparent 34rem),
    linear-gradient(180deg, var(--ink) 0%, var(--ink) 62%, #0a1711 100%);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

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

a {
  color: inherit;
}

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

button {
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

figure,
blockquote,
dl,
dd,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

[hidden] {
  display: none !important;
}

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
}

#main-content {
  scroll-margin-top: 132px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  transform: translateY(-180%);
  padding: 10px 14px;
  border: 1px solid var(--ember);
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-mono);
  font-size: 12px;
  text-decoration: none;
  transition: transform 160ms var(--ease);
}

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

.wrap {
  width: min(var(--wrap), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(7, 17, 13, 0.94);
  border-bottom: 1px solid var(--line-faint);
  backdrop-filter: blur(14px);
}

.header-band {
  width: 100%;
}

.header-brand-band {
  background: linear-gradient(90deg, rgba(14, 36, 25, 0.98), rgba(7, 17, 13, 0.94) 58%, rgba(14, 36, 25, 0.78));
  border-bottom: 1px solid var(--line-soft);
  transition: background 180ms var(--ease);
}

.header-brand-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 32px);
  padding-block: 18px;
  transition: padding-block 180ms var(--ease);
}

.brand-mark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  min-width: 0;
  text-decoration: none;
}

.brand-name {
  color: var(--bone);
  font-family: var(--font-display);
  font-size: clamp(25px, 3.2vw, 40px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.015em;
  transition: color 160ms var(--ease);
}

.brand-mark:hover .brand-name {
  color: var(--lime);
}

.brand-note {
  color: var(--mist);
  font-family: var(--font-serif);
  font-size: clamp(11px, 0.95vw, 13px);
  line-height: 1.4;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.header-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 2vw, 24px);
  min-width: 0;
}

.round-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid var(--line-soft);
  background: rgba(27, 61, 44, 0.36);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.round-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(201, 242, 77, 0.12);
}

.round-label {
  color: var(--mist);
}

.round-value {
  color: var(--lime);
}

.header-mail {
  max-width: 24ch;
  overflow: hidden;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.2;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}

.header-mail:hover {
  color: var(--bone);
  border-color: var(--lime);
}

.header-nav-band {
  background: rgba(7, 17, 13, 0.97);
}

.header-nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 50px;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 7px 10px;
  border: 1px solid var(--line-soft);
  background: transparent;
  color: var(--bone);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  transition: border-color 160ms var(--ease), color 160ms var(--ease);
}

.nav-toggle:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.nav-toggle-label {
  line-height: 1;
}

.nav-toggle-bars {
  position: relative;
  width: 18px;
  height: 2px;
  background: var(--lime);
  box-shadow: 0 -6px 0 var(--lime), 0 6px 0 var(--lime);
  transition: background 160ms var(--ease), box-shadow 160ms var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
  box-shadow: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before,
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ember);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  transform: rotate(-45deg);
}

.site-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.nav-list {
  counter-reset: nav;
  display: flex;
  align-items: stretch;
  gap: clamp(10px, 2.2vw, 32px);
  flex-wrap: nowrap;
}

.nav-item {
  display: flex;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-block: 14px;
  color: var(--mist);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms var(--ease);
}

.nav-link::before {
  counter-increment: nav;
  content: counter(nav, decimal-leading-zero);
  color: var(--lime-dim);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1;
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--ember);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 180ms var(--ease), background 160ms var(--ease);
}

.nav-link:hover {
  color: var(--bone);
}

.nav-link:hover::after {
  transform: scaleX(0.55);
}

.nav-link[aria-current="page"] {
  color: var(--bone);
}

.nav-link[aria-current="page"]::before {
  color: var(--lime);
}

.nav-link[aria-current="page"]::after {
  background: var(--lime);
  transform: scaleX(1);
}

.nav-aside {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  padding-left: 18px;
  border-left: 1px solid var(--line-soft);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.nav-aside::before {
  content: "";
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ember);
}

.site-header.is-compact .header-brand-inner {
  padding-block: 8px;
}

.site-header.is-compact .brand-name {
  font-size: clamp(22px, 2.2vw, 28px);
}

.site-header.is-compact .brand-note {
  display: none;
}

.site-header.is-compact .round-badge {
  padding-block: 5px;
}

.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  background: var(--pitch);
  color: var(--mist);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    linear-gradient(to right, transparent 0, transparent calc(50% - 1px), rgba(201, 242, 77, 0.05) 50%, transparent calc(50% + 1px)),
    repeating-linear-gradient(0deg, transparent 0 71px, rgba(44, 74, 58, 0.32) 72px);
  background-size: auto, 100% 72px;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 1.25fr 1.4fr;
  gap: clamp(28px, 4vw, 64px);
  padding-block: clamp(52px, 7vw, 84px) clamp(34px, 5vw, 60px);
}

.footer-brand,
.footer-nav,
.footer-help,
.footer-contact {
  min-width: 0;
}

.footer-brand-link {
  display: inline-block;
  color: var(--bone);
  font-family: var(--font-display);
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: color 160ms var(--ease);
}

.footer-brand-link:hover {
  color: var(--lime);
}

.footer-brand-copy {
  max-width: 24em;
  margin-top: 16px;
  color: var(--mist);
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 1.85;
}

.footer-icp {
  display: inline-block;
  margin-top: 22px;
  padding: 4px 8px;
  border: 1px solid var(--line-soft);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.footer-heading {
  margin-bottom: 16px;
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.16em;
}

.footer-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 18px;
}

.footer-list a {
  display: inline-block;
  padding-block: 5px;
  border-bottom: 1px solid transparent;
  color: var(--mist);
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}

.footer-list a:hover {
  color: var(--bone);
  border-color: var(--lime);
}

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

.footer-help-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--bone);
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
  transition: color 160ms var(--ease), padding-left 160ms var(--ease);
}

.footer-help-link::after {
  content: "↗";
  color: var(--lime-dim);
  font-family: var(--font-mono);
  line-height: 1;
  transition: color 160ms var(--ease);
}

.footer-help-link:hover {
  padding-left: 4px;
  color: var(--lime);
}

.footer-help-link:hover::after {
  color: var(--ember);
}

.footer-help-note {
  max-width: 28em;
  margin-top: 14px;
  color: var(--mist);
  font-size: 12px;
  line-height: 1.7;
}

.footer-contact-list {
  display: grid;
  gap: 10px;
}

.footer-contact-row {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  align-items: baseline;
}

.footer-contact-label {
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.7;
}

.footer-contact-value {
  overflow-wrap: anywhere;
  color: var(--bone);
  font-size: 13px;
  line-height: 1.7;
}

.footer-contact-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 9px 12px;
  border: 1px solid var(--ember);
  background: var(--ember);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition: background 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease);
}

.footer-contact-cta:hover {
  border-color: var(--bone);
  background: var(--bone);
  color: var(--ink);
}

.footer-contact-note {
  max-width: 28em;
  margin-top: 12px;
  color: var(--mist);
  font-size: 11px;
  line-height: 1.7;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding-block: 16px 22px;
  border-top: 1px solid var(--line-soft);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.footer-bottom-note {
  color: var(--lime-dim);
}

.section {
  padding-block: clamp(56px, 8vw, 110px);
}

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

.section--paper {
  background: var(--paper);
  color: var(--paper-ink);
}

.section--paper .display-title,
.section--paper .section-title {
  color: var(--paper-ink);
}

.section--paper .lede,
.section--paper .serif-note {
  color: rgba(20, 41, 29, 0.74);
}

.section--paper .body-copy {
  color: var(--paper-ink);
}

.section--paper .eyebrow {
  color: var(--moss);
}

.section--paper .rule {
  border-color: rgba(20, 41, 29, 0.20);
}

.display-title {
  color: var(--bone);
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 84px);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

.section-title {
  color: var(--bone);
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 750;
  line-height: 1.05;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.eyebrow {
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.lede {
  max-width: 34em;
  color: var(--mist);
  font-size: clamp(18px, 2.1vw, 20px);
  line-height: 1.72;
}

.body-copy {
  max-width: 34em;
  color: var(--bone);
  font-size: 16px;
  line-height: 1.8;
}

.body-copy p + p {
  margin-top: 1em;
}

.serif-note {
  max-width: 34em;
  padding-left: clamp(14px, 2vw, 24px);
  border-left: 1px solid var(--lime-dim);
  color: var(--mist);
  font-family: var(--font-serif);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.8;
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.rule {
  border: 0;
  border-top: 1px solid var(--line-soft);
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 32px);
}

.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-9 { grid-column: span 9; }
.col-12 { grid-column: span 12; }
.start-3 { grid-column-start: 3; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 11px 17px;
  border: 1px solid var(--line-soft);
  border-radius: 0;
  background: transparent;
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease), transform 160ms var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  border-color: var(--ember);
  background: var(--ember);
  color: var(--ink);
}

.btn-primary:hover {
  border-color: var(--bone);
  background: var(--bone);
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--bone);
  border-color: var(--line-soft);
}

.btn-ghost:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.btn-quiet {
  min-height: auto;
  padding: 0 0 2px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--mist);
}

.btn-quiet:hover {
  border-color: var(--lime);
  color: var(--bone);
  transform: none;
}

.btn-sm {
  min-height: 34px;
  padding: 7px 12px;
  font-size: 12px;
}

.breadcrumbs {
  padding-block: 18px;
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-item:not(:last-child)::after {
  content: "/";
  color: var(--line);
}

.breadcrumb-link {
  border-bottom: 1px solid transparent;
  color: var(--mist);
  text-decoration: none;
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}

.breadcrumb-link:hover {
  color: var(--bone);
  border-color: var(--lime);
}

.breadcrumb-current {
  color: var(--lime);
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 7px;
  border: 1px solid var(--line-soft);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.tag-lime {
  border-color: rgba(201, 242, 77, 0.46);
  background: var(--lime-wash);
  color: var(--lime);
}

.tag-ember {
  border-color: rgba(233, 138, 60, 0.46);
  background: var(--ember-wash);
  color: var(--ember);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-soft);
  background: rgba(14, 36, 25, 0.64);
}

.data-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  color: var(--bone);
  font-size: 14px;
  line-height: 1.6;
}

.data-table caption {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 11px;
  text-align: left;
}

.data-table th,
.data-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.data-table tbody tr:nth-child(even) {
  background: rgba(27, 61, 44, 0.28);
}

.data-table tbody tr:hover {
  background: rgba(201, 242, 77, 0.06);
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  border: 1px solid var(--line-soft);
  background: var(--line-soft);
}

.stat {
  padding: 16px;
  background: var(--pitch);
}

.stat-value {
  display: block;
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 500;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  display: block;
  margin-top: 6px;
  color: var(--mist);
  font-size: 12px;
  line-height: 1.5;
}

.step-stack {
  display: grid;
  gap: 28px;
}

.step-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(14px, 2.2vw, 28px);
  padding: clamp(18px, 2.5vw, 28px);
  border: 1px solid var(--line-soft);
  background: rgba(27, 61, 44, 0.18);
  transition: border-color 160ms var(--ease), background 160ms var(--ease);
}

.step-card:hover {
  border-color: rgba(201, 242, 77, 0.42);
  background: rgba(27, 61, 44, 0.28);
}

.step-index {
  color: var(--lime-dim);
  font-family: var(--font-mono);
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 500;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}

.step-body {
  min-width: 0;
}

.step-title {
  color: var(--bone);
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  line-height: 1.2;
}

.step-text {
  max-width: 38em;
  margin-top: 8px;
  color: var(--mist);
  font-size: 14px;
  line-height: 1.75;
}

.note-block {
  padding: clamp(16px, 2.4vw, 24px);
  border-left: 2px solid var(--lime);
  background: rgba(14, 36, 25, 0.8);
}

.note-label {
  display: block;
  margin-bottom: 8px;
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.12em;
}

.note-text {
  max-width: 34em;
  color: var(--mist);
  font-size: 14px;
  line-height: 1.75;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--bone);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color 160ms var(--ease), border-color 160ms var(--ease), gap 160ms var(--ease);
}

.link-arrow::after {
  content: "→";
  color: var(--lime);
  font-family: var(--font-mono);
  line-height: 1;
}

.link-arrow:hover {
  gap: 12px;
  color: var(--lime);
  border-color: var(--lime);
}

.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line-soft);
  background:
    linear-gradient(135deg, rgba(201, 242, 77, 0.06), transparent 42%),
    var(--pitch);
}

.media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.04) brightness(0.9);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 17, 13, 0.08), rgba(7, 17, 13, 0.22)),
    linear-gradient(90deg, rgba(14, 36, 25, 0.14), transparent 60%);
}

.media-frame figcaption {
  position: absolute;
  right: 14px;
  bottom: 12px;
  left: 14px;
  z-index: 1;
  color: var(--bone);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.media-frame--wide {
  aspect-ratio: 21 / 9;
}

.media-frame--portrait {
  aspect-ratio: 3 / 4;
}

.media-frame--square {
  aspect-ratio: 1 / 1;
}

.scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 120;
  height: 2px;
  background: linear-gradient(90deg, var(--lime), var(--ember));
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
  will-change: transform;
}

@media (max-width: 1050px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 900px) {
  .grid-12 {
    grid-template-columns: 1fr;
  }

  .col-3,
  .col-4,
  .col-5,
  .col-6,
  .col-7,
  .col-8,
  .col-9,
  .col-12 {
    grid-column: span 12;
  }

  .start-3 {
    grid-column-start: auto;
  }
}

@media (max-width: 880px) {
  html {
    scroll-padding-top: 108px;
  }

  #main-content {
    scroll-margin-top: 108px;
  }

  .header-brand-inner {
    gap: 12px;
    padding-block: 10px;
  }

  .brand-name {
    font-size: clamp(22px, 6vw, 30px);
  }

  .brand-note {
    display: none;
  }

  .header-meta .round-badge {
    display: none;
  }

  .header-nav-inner {
    gap: 10px;
    min-height: 48px;
  }

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

  .site-nav {
    position: absolute;
    top: 100%;
    right: calc(-1 * var(--gutter));
    left: calc(-1 * var(--gutter));
    display: none;
    flex: 0 0 100%;
    padding: 12px var(--gutter) 16px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--pitch);
    box-shadow: 0 16px 24px rgba(7, 17, 13, 0.34);
  }

  .site-nav[data-open="true"] {
    display: block;
  }

  .nav-list {
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav-item {
    flex: 0 0 auto;
  }

  .nav-link {
    padding: 9px 11px;
    border: 1px solid var(--line-soft);
    background: rgba(27, 61, 44, 0.4);
    font-size: 12px;
  }

  .nav-link::before {
    font-size: 9px;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link[aria-current="page"] {
    border-color: var(--lime);
    background: var(--lime);
    color: var(--ink);
  }

  .nav-link[aria-current="page"]::before {
    color: var(--ink);
  }

  .nav-aside {
    display: none;
  }

  .site-header.is-compact .header-brand-inner {
    padding-block: 8px;
  }
}

@media (max-width: 640px) {
  .header-mail {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    max-width: none;
    overflow: visible;
    padding: 0;
    border: 1px solid var(--line-soft);
    border-radius: 50%;
    font-size: 0;
  }

  .header-mail::before {
    content: "@";
    color: var(--lime);
    font-family: var(--font-mono);
    font-size: 15px;
    line-height: 1;
  }

  .brand-name {
    font-size: 24px;
    white-space: nowrap;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-block: 44px 34px;
  }

  .footer-brand {
    grid-column: auto;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }

  .step-card {
    grid-template-columns: 1fr;
  }

  .step-index {
    font-size: 34px;
  }

  .display-title {
    font-size: clamp(36px, 12vw, 54px);
  }
}

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

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

  .btn:hover,
  .footer-help-link:hover {
    transform: none;
  }
}
