:root {
  --color-bg: #F7F0E1;
  --color-panel: #FDF8EE;
  --color-panel-alt: #EFE5D0;
  --color-border: #DED1B6;
  --color-border-soft: #EDE3D0;
  --color-accent: #0B6B4F;
  --color-accent-dark: #085139;
  --color-accent-bright: #1F8F6E;
  --color-text: #2A2118;
  --color-text-muted: #6B5F52;
  --color-success: #1E8E5A;
  --color-warning: #C98A1B;
  --color-error: #B93A2B;
  --color-white: #FFFFFF;
  --color-chrome: #F4EEE1;
  --color-flag-red: #D1232A;
  --color-flag-blue: #1F3F94;
  --color-flag-gold: #F2C400;
  --color-flag-black: #111111;

  --alpha-cream-12: rgba(247, 240, 225, 0.12);
  --alpha-cream-40: rgba(247, 240, 225, 0.40);
  --alpha-cream-70: rgba(247, 240, 225, 0.70);
  --alpha-white-22: rgba(255, 255, 255, 0.22);
  --alpha-white-85: rgba(255, 255, 255, 0.85);
  --alpha-edge: rgba(42, 33, 24, 0.07);
  --alpha-text-10: rgba(42, 33, 24, 0.10);
  --alpha-accent-04: rgba(11, 107, 79, 0.04);
  --alpha-accent-06: rgba(11, 107, 79, 0.06);
  --alpha-accent-07: rgba(11, 107, 79, 0.07);
  --alpha-accent-10: rgba(11, 107, 79, 0.10);
  --alpha-accent-14: rgba(11, 107, 79, 0.14);
  --alpha-accent-16: rgba(11, 107, 79, 0.16);
  --alpha-accent-30: rgba(11, 107, 79, 0.30);
  --alpha-transparent: rgba(11, 107, 79, 0);

  --gradient-hero: linear-gradient(180deg, var(--alpha-accent-07) 0%, var(--alpha-accent-04) 55%, var(--alpha-transparent) 100%);
  --gradient-accent: linear-gradient(118deg, var(--color-accent) 0%, var(--color-accent-bright) 100%);
  --gradient-exit: linear-gradient(100deg, var(--color-accent) 0%, var(--color-accent-bright) 100%);
  --gradient-plate: radial-gradient(ellipse at 100% 100%, var(--alpha-accent-06), var(--alpha-transparent) 72%);

  --shadow-panel: 0 32px 56px -18px var(--alpha-accent-14);
  --shadow-panel-small: 0 18px 36px -14px var(--alpha-accent-16);
  --shadow-near: 0 8px 18px -8px var(--alpha-text-10);
  --shadow-plate: 0 40px 80px -40px var(--alpha-accent-14);

  --radius-small: 10px;
  --radius-medium: 14px;
  --radius-large: 18px;
  --radius-xlarge: 22px;
  --radius-band: 28px;
  --radius-pill: 999px;

  --font-display: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --font-body: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;

  --header-height: 64px;
  --content-max: 1320px;
  --content-narrow: 860px;
  --gutter: 60px;
  --section-space: 96px;
  --toc-offset: 92px;
  --focus-ring: 2px solid var(--color-accent-bright);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  -webkit-text-size-adjust: 100%;
}

html.nav-open {
  overflow: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main,
section,
article,
aside,
header,
footer,
nav,
div {
  min-width: 0;
}

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

svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

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

button,
summary {
  cursor: pointer;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

p,
ul,
ol,
blockquote,
pre,
table {
  margin-top: 0;
}

p {
  margin-bottom: 1.2em;
}

h1,
h2,
h3,
h4 {
  color: var(--color-text);
  font-family: var(--font-display);
  text-wrap: balance;
}

h1 {
  margin: 0 0 24px;
  font-size: clamp(52px, 4.6vw, 68px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h2 {
  margin: 0 0 24px;
  font-size: clamp(34px, 3.5vw, 48px);
  font-weight: 850;
  letter-spacing: -0.02em;
  line-height: 1.16;
}

h3 {
  margin: 0 0 14px;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 800;
  line-height: 1.25;
}

h4 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.35;
}

code {
  overflow-wrap: anywhere;
  font-family: var(--font-mono);
  font-size: 0.92em;
}

pre {
  max-width: 100%;
  overflow-x: auto;
  padding: 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  background: var(--color-text);
  color: var(--color-bg);
  font-family: var(--font-mono);
  -webkit-overflow-scrolling: touch;
}

pre code {
  overflow-wrap: normal;
  white-space: pre;
}

hr {
  border: 0;
  border-top: 1px solid var(--color-border);
}

::selection {
  background: var(--color-accent);
  color: var(--color-white);
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: var(--focus-ring);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.prose {
  width: 100%;
  max-width: var(--content-narrow);
}

.prose h2 {
  margin-top: 2.2em;
}

.prose h3 {
  margin-top: 1.8em;
}

.prose ul,
.prose ol {
  padding-left: 1.35em;
}

.prose li + li {
  margin-top: 0.55em;
}

.section {
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
}

.section-tight {
  padding-top: 64px;
  padding-bottom: 64px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-head p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 18px;
}

.no-break {
  white-space: nowrap;
}

.muted {
  color: var(--color-text-muted);
}

.mono {
  font-family: var(--font-mono);
}

.accent-text {
  color: var(--color-accent);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.panel,
.card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);
  background: var(--color-panel);
  box-shadow: inset 0 1px 0 var(--alpha-white-85), var(--shadow-panel);
}

.card {
  padding: 28px;
}

.card-muted {
  background: var(--color-panel-alt);
}

.badge,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  max-width: 100%;
  padding: 4px 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-panel);
  box-shadow: inset 0 1px 0 var(--alpha-white-85);
  color: var(--color-text);
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.25;
}

.badge-dot,
.kicker-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 3px var(--alpha-accent-14);
}

.badge-accent {
  border-color: var(--alpha-accent-30);
  background: var(--alpha-accent-10);
  color: var(--color-accent-dark);
}

.btn {
  display: inline-flex;
  min-width: 24px;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 24px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 750;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

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

.btn-primary {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: var(--color-white);
}

.btn-primary:hover {
  border-color: var(--color-accent-dark);
  background: var(--color-accent-dark);
}

.btn-outline {
  border-color: var(--color-text);
  background: transparent;
  color: var(--color-text);
}

.btn-outline:hover {
  background: var(--color-text);
  color: var(--color-bg);
}

.btn-dark {
  border-color: var(--color-text);
  background: var(--color-text);
  color: var(--color-bg);
}

.btn-dark:hover {
  border-color: var(--color-accent-dark);
  background: var(--color-accent-dark);
}

.btn-cream {
  border-color: var(--alpha-cream-70);
  background: transparent;
  color: var(--color-bg);
}

.btn-cream:hover {
  background: var(--color-bg);
  color: var(--color-accent-dark);
}

.btn-small {
  min-height: 38px;
  padding-inline: 18px;
  font-size: 14px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-nav {
  position: relative;
  z-index: 100;
  min-height: var(--header-height);
  background: var(--color-text);
  color: var(--color-bg);
}

.site-nav-inner {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  gap: 30px;
}

.site-brand {
  display: inline-flex;
  min-height: 44px;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--color-bg);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 850;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.site-brand img {
  width: 32px;
  height: 32px;
}

.site-brand-sub {
  color: var(--alpha-cream-70);
  font-size: 14px;
  font-weight: 550;
}

.desktop-nav {
  display: flex;
  align-items: center;
  margin-left: 8px;
}

.desktop-nav-list {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.desktop-nav-list li {
  display: flex;
  align-items: center;
}

.desktop-nav-list li + li::before {
  content: "·";
  margin-inline: 13px;
  color: var(--alpha-cream-40);
  font-weight: 750;
}

.desktop-nav-list a {
  position: relative;
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  color: var(--alpha-cream-70);
  font-size: 14.5px;
  font-weight: 550;
  text-decoration: none;
}

.desktop-nav-list a:hover,
.desktop-nav-list a[aria-current="page"] {
  color: var(--color-bg);
}

.desktop-nav-list a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 2px;
  border-radius: var(--radius-pill);
  background: var(--color-accent-bright);
  content: "";
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.header-login {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding-inline: 17px;
  border: 1.5px solid var(--alpha-cream-70);
  border-radius: var(--radius-pill);
  color: var(--color-bg);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.header-login:hover {
  border-color: var(--color-bg);
  background: var(--color-bg);
  color: var(--color-text);
}

.language-switcher {
  position: relative;
}

.language-button {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: var(--alpha-cream-70);
  font-size: 13px;
}

.language-button:hover {
  color: var(--color-bg);
}

.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 170px;
  margin: 0;
  padding: 8px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  background: var(--color-panel);
  box-shadow: var(--shadow-panel), var(--shadow-near);
  color: var(--color-text);
  list-style: none;
}

.language-menu[hidden] {
  display: none;
}

.language-menu a {
  display: flex;
  min-height: 42px;
  align-items: center;
  padding-inline: 12px;
  border-radius: var(--radius-small);
  font-size: 14px;
  text-decoration: none;
}

.language-menu a:hover,
.language-menu a[aria-current="true"] {
  background: var(--color-panel-alt);
  color: var(--color-accent-dark);
}

.menu-toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--alpha-cream-40);
  border-radius: var(--radius-small);
  background: transparent;
  color: var(--color-bg);
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: var(--radius-pill);
  background: currentColor;
  content: "";
}

.menu-toggle-lines {
  position: relative;
}

.menu-toggle-lines::before {
  position: absolute;
  top: -6px;
}

.menu-toggle-lines::after {
  position: absolute;
  top: 6px;
}

.mobile-drawer {
  display: none;
}

.mobile-drawer[hidden] {
  display: none;
}

.mobile-drawer-list {
  margin: 0;
  padding: 8px var(--gutter) 18px;
  list-style: none;
}

.mobile-drawer a {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  border-bottom: 1px solid var(--alpha-cream-12);
  color: var(--color-bg);
  font-weight: 650;
  text-decoration: none;
}

.mobile-drawer a[aria-current="page"] {
  color: var(--color-accent-bright);
}

.mobile-language-list {
  display: grid;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.mobile-language-list a {
  color: var(--alpha-cream-70);
  font-size: 14px;
}

.hero {
  position: relative;
  display: flex;
  min-height: calc(100svh - var(--header-height) - 64px);
  max-width: 100%;
  align-items: center;
  overflow-x: clip;
  padding-top: 40px;
  padding-bottom: 48px;
  background: var(--gradient-hero);
}

.hero > .wrap {
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  align-items: center;
  gap: 48px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.hero-copy .kicker {
  margin-bottom: 20px;
}

.hero-title {
  margin-bottom: 28px;
  font-size: clamp(52px, 4.17vw, 62px);
  letter-spacing: -0.02em;
}

.hero-title .highlight {
  color: var(--color-accent);
  font-style: normal;
}

.hero-title .title-separator {
  display: inline-block;
  margin-inline: 0.12em;
  color: var(--color-accent-bright);
  transform: translateY(-0.04em);
}

.hero-lede {
  max-width: 520px;
  margin-bottom: 22px;
  color: var(--color-text-muted);
  font-size: 17px;
  line-height: 1.65;
}

.hero-lede strong {
  color: var(--color-text);
}

.hero-actions {
  margin-bottom: 24px;
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 10px 22px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--color-text-muted);
  font-size: 13.5px;
  font-weight: 550;
  white-space: nowrap;
}

.trust-list svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
}

.trust-list strong {
  color: var(--color-text);
}

.hero-meta-row {
  display: flex;
  max-width: 100%;
  align-items: center;
  gap: 18px;
  color: var(--color-text-muted);
}

.hero-meta-row + .hero-meta-row {
  margin-top: 14px;
}

.hero-meta-label {
  flex: 0 0 auto;
  padding-right: 14px;
  border-right: 1px solid var(--color-border);
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.12em;
  line-height: 1;
  white-space: nowrap;
}

.hero-meta-list {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 17px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-meta-list li {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
  color: var(--color-text-muted);
  font-size: 13px;
  font-weight: 550;
  white-space: nowrap;
}

.platform-icon {
  width: 16px;
  height: 16px;
  color: var(--color-text-muted);
}

.flag-icon {
  width: 22px;
  height: 15px;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 0 0 1px var(--alpha-edge);
}

.hero-stage {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.hero-plate {
  position: relative;
  margin-right: -6%;
  padding: 52px 40px 36px;
  border-radius: var(--radius-xlarge);
  background: var(--color-panel-alt);
  box-shadow: inset 0 1px 0 var(--alpha-white-85), var(--shadow-plate);
}

.hero-plate::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 62%;
  max-width: 100%;
  height: 62%;
  border-radius: inherit;
  background: var(--gradient-plate);
  content: "";
  pointer-events: none;
}

.plate-caption {
  position: absolute;
  top: 20px;
  left: 24px;
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.14em;
  line-height: 1;
}

.client-window {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: var(--radius-medium);
  background: var(--color-white);
  box-shadow: inset 0 1px 0 var(--alpha-white-85), 0 0 0 1px var(--alpha-edge), var(--shadow-panel), var(--shadow-near);
  transform: rotate(-1.5deg);
}

.client-window::after {
  position: absolute;
  inset: 0;
  border-top: 1px solid var(--alpha-accent-30);
  border-right: 1px solid var(--alpha-accent-30);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.window-bar {
  display: flex;
  height: 40px;
  align-items: center;
  gap: 12px;
  padding-inline: 14px;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-chrome);
}

.window-dots {
  display: flex;
  flex: 0 0 auto;
  gap: 6px;
}

.window-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.window-dots i:nth-child(1) {
  background: var(--color-text);
}

.window-dots i:nth-child(2) {
  background: var(--color-accent);
}

.window-dots i:nth-child(3) {
  background: var(--color-panel-alt);
  box-shadow: inset 0 0 0 1px var(--color-border);
}

.window-title {
  flex: 1;
  overflow: hidden;
  color: var(--color-text-muted);
  font-size: 12.5px;
  font-weight: 550;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.window-status {
  display: inline-flex;
  height: 22px;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
  padding-inline: 9px;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 11px;
  font-weight: 750;
}

.window-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-white);
}

.current-exit {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 18px;
  background: var(--gradient-exit);
  color: var(--color-white);
}

.current-exit .flag-icon {
  width: 27px;
  height: 18px;
  box-shadow: 0 0 0 1px var(--alpha-white-22);
}

.exit-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
}

.exit-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.12em;
}

.exit-main {
  font-size: 15px;
  font-weight: 750;
}

.exit-code {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.1em;
}

.exit-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-white);
  box-shadow: 0 0 0 4px var(--alpha-white-22);
}

.board-header,
.board-row {
  display: grid;
  grid-template-columns: 26px 132px 100px 1fr 58px;
  align-items: center;
  gap: 12px;
  padding-inline: 18px;
}

.board-header {
  height: 26px;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-panel);
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.12em;
}

.board-header span:last-child {
  text-align: right;
}

.board-row {
  height: 40px;
  border-bottom: 1px solid var(--color-border-soft);
}

.board-row:last-child {
  border-bottom: 0;
}

.board-number {
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 650;
}

.board-city {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text);
  font-size: 13.5px;
  font-weight: 650;
  white-space: nowrap;
}

.route-chip {
  display: inline-flex;
  max-width: 100%;
  min-height: 22px;
  align-items: center;
  padding-inline: 9px;
  overflow: hidden;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
}

.route-chip-iepl {
  background: var(--alpha-accent-10);
  color: var(--color-accent);
}

.route-chip-relay {
  background: var(--color-panel-alt);
  color: var(--color-text);
}

.route-chip-direct {
  box-shadow: inset 0 0 0 1px var(--color-border);
  color: var(--color-text-muted);
}

.board-tags {
  overflow: hidden;
  color: var(--color-text-muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.board-state {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}

.board-state::before {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--color-accent);
  content: "";
}

.window-footer {
  display: flex;
  height: 36px;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  padding-inline: 18px;
  border-top: 1px solid var(--color-border);
  background: var(--color-chrome);
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 550;
  white-space: nowrap;
}

.window-footer strong {
  color: var(--color-text);
}

.window-footer i {
  color: var(--color-border);
  font-style: normal;
}

.floating-refund {
  position: absolute;
  z-index: 3;
  top: -22px;
  right: -8px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 12px 16px 11px;
  border-radius: 12px;
  background: var(--color-white);
  box-shadow: inset 0 1px 0 var(--alpha-white-85), 0 0 0 1px var(--alpha-edge), var(--shadow-panel-small), var(--shadow-near);
}

.floating-refund strong {
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1;
}

.floating-refund small {
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
}

.floating-refund small span {
  display: block;
  color: var(--color-text);
}

.floating-payment {
  position: absolute;
  z-index: 3;
  bottom: 58px;
  left: -22px;
  display: inline-flex;
  height: 36px;
  align-items: center;
  gap: 8px;
  padding-inline: 16px;
  border-radius: var(--radius-pill);
  background: var(--color-panel-alt);
  box-shadow: inset 0 1px 0 var(--alpha-white-85), 0 0 0 1px var(--alpha-edge), var(--shadow-panel-small);
  color: var(--color-text);
  font-size: 12.5px;
  font-weight: 650;
  white-space: nowrap;
}

.floating-payment i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
}

.fact-band {
  position: relative;
  overflow: hidden;
  padding: 64px 48px 60px;
  border-radius: var(--radius-band);
  background: var(--gradient-accent);
  box-shadow: inset 0 1px 0 var(--alpha-white-22);
  color: var(--color-bg);
  text-align: center;
}

.fact-band-kicker {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.16em;
}

.fact-band-title {
  margin: 0 0 40px;
  color: var(--color-bg);
  font-size: 28px;
  font-weight: 850;
}

.fact-band-stats {
  display: flex;
  justify-content: center;
  gap: 72px;
  margin-bottom: 44px;
}

.fact-band-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.fact-band-stat strong,
.counter-stat {
  min-width: 1.8ch;
  font-family: var(--font-mono);
  font-size: clamp(56px, 6.6vw, 96px);
  font-variant-numeric: tabular-nums;
  font-weight: 850;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.fact-band-stat span {
  font-size: 15px;
  font-weight: 650;
}

.site-footer {
  margin-top: 80px;
  padding-top: 64px;
  padding-bottom: 30px;
  background: var(--color-text);
  color: var(--color-bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr 0.8fr;
  gap: 48px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-bg);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 850;
  text-decoration: none;
}

.footer-brand img {
  width: 36px;
  height: 36px;
}

.footer-intro {
  max-width: 340px;
  margin-top: 18px;
  color: var(--alpha-cream-70);
  font-size: 14px;
}

.footer-title {
  margin: 0 0 16px;
  color: var(--color-bg);
  font-size: 14px;
  font-weight: 750;
}

.footer-links {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  color: var(--alpha-cream-70);
  font-size: 14px;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--color-bg);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--alpha-cream-12);
  color: var(--alpha-cream-70);
  font-size: 13px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-legal a {
  min-height: 24px;
  text-decoration: none;
}

#server-status {
  position: relative;
  display: block;
  width: 100%;
  min-height: 1px;
  margin-bottom: 32px;
  overflow: hidden;
}

.reveal {
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.pending {
  opacity: 0;
  transform: translateY(16px);
}

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

body:has(.toc-tabs) section[id] {
  scroll-margin-top: var(--toc-offset);
}

@media (max-width: 1180px) {
  :root {
    --gutter: 32px;
  }

  .desktop-nav-list li + li::before {
    margin-inline: 9px;
  }

  .desktop-nav-list a {
    font-size: 13.5px;
  }

  .hero-grid {
    gap: 36px;
  }
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .header-tools {
    margin-left: auto;
  }

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

  .language-switcher {
    display: none;
  }

  .mobile-drawer {
    position: absolute;
    z-index: 4;
    top: 100%;
    right: 0;
    left: 0;
    display: block;
    max-height: calc(100dvh - var(--header-height));
    overflow-y: auto;
    overscroll-behavior: contain;
    border-top: 1px solid var(--alpha-cream-12);
    background: var(--color-text);
    box-shadow: var(--shadow-near);
  }

  .hero {
    min-height: auto;
    padding-top: 36px;
    padding-bottom: 48px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-stage {
    order: 2;
  }

  .hero-plate {
    margin-right: 0;
    padding: 24px 20px;
  }

  .plate-caption {
    display: none;
  }

  .client-window {
    transform: none;
  }

  .board-row:nth-of-type(n + 7) {
    display: none;
  }

  .floating-refund {
    top: -18px;
    right: 12px;
  }

  .floating-payment {
    bottom: -16px;
    left: 12px;
  }

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

@media (max-width: 768px) {
  :root {
    --section-space: 72px;
  }

  h1,
  .hero-title {
    font-size: clamp(32px, 9vw, 40px);
    line-height: 1.12;
  }

  h2 {
    font-size: clamp(29px, 7vw, 38px);
  }

  .hero-meta-row {
    align-items: flex-start;
  }

  .hero-meta-list {
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .fact-band-stats {
    gap: 36px;
  }

  .site-footer {
    margin-top: 64px;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 18px;
    --section-space: 64px;
  }

  .no-break {
    white-space: normal;
  }

  .tilt-card,
  [data-tilt] {
    transform: none;
  }

  .header-login {
    min-height: 36px;
    padding-inline: 13px;
  }

  .site-brand {
    gap: 7px;
    font-size: 17px;
  }

  .site-brand img {
    width: 29px;
    height: 29px;
  }

  .hero {
    padding-top: 30px;
  }

  .hero-title {
    margin-bottom: 20px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .trust-list {
    grid-template-columns: repeat(2, minmax(0, max-content));
    max-width: 100%;
    gap: 9px 15px;
  }

  .trust-list li {
    white-space: normal;
  }

  .hero-meta-label {
    display: none;
  }

  .board-header,
  .board-row {
    grid-template-columns: 22px 108px minmax(74px, 1fr) 52px;
    gap: 8px;
    padding-inline: 12px;
  }

  .board-header span:nth-child(4),
  .board-tags {
    display: none;
  }

  .window-title {
    text-align: left;
  }

  .window-status {
    padding-inline: 7px;
  }

  .current-exit {
    padding-inline: 12px;
  }

  .exit-code {
    display: none;
  }

  .floating-refund {
    right: 8px;
  }

  .floating-refund strong {
    font-size: 25px;
  }

  .fact-band {
    padding: 48px 22px;
  }

  .fact-band-stats {
    flex-direction: column;
    gap: 28px;
  }

  .fact-band-stat strong,
  .counter-stat {
    font-size: 58px;
  }

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

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .card {
    padding: 22px;
  }

  .decorative-halo,
  .stripe-halo {
    max-width: 100%;
    transform: none;
  }
}

@media (max-width: 380px) {
  :root {
    --gutter: 16px;
  }

  .site-nav-inner {
    gap: 8px;
  }

  .site-brand span {
    font-size: 16px;
  }

  .header-login {
    padding-inline: 11px;
    font-size: 13px;
  }

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

  .window-title {
    display: none;
  }

  .board-header,
  .board-row {
    grid-template-columns: 20px 98px minmax(70px, 1fr) 48px;
    font-size: 11px;
  }
}

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

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

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