:root {
  color-scheme: dark;
  --bg: #051d2b;
  --bg-panel: #082636;
  --bg-panel-2: #0d3043;
  --border: #1d4558;
  --accent: #2cf0a0;
  --accent-2: #22d3c5;
  --accent-dark: #0fbf7c;
  --link: #3d9bff;
  --text: #e8f1f4;
  --text-soft: #bcd0d8;
  --text-muted: #8fa9b5;
  --text-dim: #5f7f8c;
  --success: #3ddc84;
  --warn: #f2c14e;
  --error: #ff6b6b;
  --reject-ink: #e8a2a2;
  --ink-on-accent: #03261b;
  --mark-fill: #ffffff;
  --field-glow: #3df5a8;
  --field-mid: #0e6b52;
  --field-deep: #0b3a43;
  --grid-line: rgba(255, 255, 255, 0.04);
  --stroke-06: rgba(255, 255, 255, 0.06);
  --stroke-10: rgba(255, 255, 255, 0.10);
  --stroke-16: rgba(255, 255, 255, 0.16);
  --stroke-22: rgba(255, 255, 255, 0.22);
  --inner-hi: rgba(255, 255, 255, 0.07);
  --btn-hi: rgba(255, 255, 255, 0.38);
  --dash: rgba(143, 169, 181, 0.38);
  --veil-1: rgba(255, 255, 255, 0.018);
  --accent-a08: rgba(44, 240, 160, 0.08);
  --accent-a16: rgba(44, 240, 160, 0.16);
  --accent-a35: rgba(44, 240, 160, 0.35);
  --accent-a45: rgba(44, 240, 160, 0.45);
  --link-a12: rgba(61, 155, 255, 0.12);
  --link-a40: rgba(61, 155, 255, 0.40);
  --reject-a10: rgba(255, 107, 107, 0.10);
  --reject-a32: rgba(255, 107, 107, 0.32);
  --shadow-far: rgba(1, 9, 14, 0.72);
  --shadow-near: rgba(1, 9, 14, 0.46);
  --mask-solid: #000000;
  --mask-clear: transparent;

  --font-display: "Inter", "Noto Sans SC", "Noto Sans JP", "Noto Sans KR", "PingFang SC", "Hiragino Sans", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Inter", "Noto Sans SC", "Noto Sans JP", "Noto Sans KR", "PingFang SC", "Hiragino Sans", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --font-mono-cjk: "JetBrains Mono", "Noto Sans SC", "PingFang SC", ui-monospace, "SF Mono", Menlo, monospace;
  --weight-regular: 400;
  --weight-medium: 500;
  --size-body: 16px;
  --size-small: 13px;
  --size-caption: 12px;
  --size-h1: clamp(34px, 3.3vw + 4px, 48px);
  --size-h2: clamp(26px, 3vw, 38px);
  --size-h3: 22px;
  --tracking-title: -0.02em;
  --leading-body: 1.75;
  --leading-title: 1.15;

  --r-section: 40px;
  --r-cell: 32px;
  --r-panel: 20px;
  --r-slip: 16px;
  --r-btn: 12px;
  --r-frame: 8px;
  --r-focus: 6px;
  --r-mark: 7px;
  --r-shot: 10px;
  --r-pill: 999px;
  --r-round: 50%;
  --r-none: 0;

  --gutter: 24px;
  --wrap: 1240px;
  --reading: 820px;
  --header-width: 1280px;
  --mast-h: 72px;
  --section-gap: 144px;
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 40px;
  --space-7: 48px;
  --space-8: 64px;
  --ease: cubic-bezier(0.2, 0.65, 0.3, 1);
  --time-fast: 0.2s;
  --time-medium: 0.35s;
  --time-reveal: 0.6s;
  --shadow-panel: inset 0 1px 0 var(--inner-hi), 0 18px 48px -28px var(--shadow-near);
  --gradient-accent: linear-gradient(90deg, var(--accent), var(--accent-2));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
html.nav-open {
  overflow: hidden;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--size-body);
  font-weight: var(--weight-regular);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
[hidden] {
  display: none !important;
}
img,
svg {
  max-width: 100%;
}
img {
  vertical-align: middle;
}
svg {
  flex-shrink: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
summary,
a {
  -webkit-tap-highlight-color: var(--accent-a16);
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
}
a {
  color: inherit;
  text-decoration: none;
}
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible,
.is-focus {
  outline: 2px solid var(--link);
  outline-offset: 3px;
  border-radius: var(--r-focus);
}
::selection {
  background: var(--accent-a35);
  color: var(--text);
}
h1,
h2,
h3,
h4 {
  margin-top: 0;
  font-family: var(--font-display);
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-title);
  line-height: var(--leading-title);
  text-wrap: balance;
  overflow-wrap: normal;
}
h1 {
  font-size: var(--size-h1);
}
h2 {
  margin-bottom: var(--space-4);
  font-size: var(--size-h2);
}
h3 {
  margin-bottom: var(--space-3);
  font-size: var(--size-h3);
}
h4 {
  font-size: 18px;
}
p {
  margin-top: 0;
  margin-bottom: var(--space-3);
}
strong,
b {
  font-weight: var(--weight-medium);
}
code,
kbd,
pre {
  font-family: var(--font-mono);
}
code {
  font-size: 0.9em;
  overflow-wrap: anywhere;
}
pre {
  min-width: 0;
  max-width: 100%;
  margin: var(--space-4) 0;
  padding: var(--space-4);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  border: 1px solid var(--border);
  border-radius: var(--r-slip);
  background: var(--bg-panel);
  color: var(--text-soft);
  line-height: 1.8;
  tab-size: 2;
}
pre code {
  font-size: var(--size-small);
  white-space: pre;
  overflow-wrap: normal;
  word-break: normal;
}
hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: var(--space-6) 0;
}
:where(main, section, article, aside, nav, header, footer, div, li) {
  min-width: 0;
}
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.reading {
  width: 100%;
  max-width: calc(var(--reading) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  margin-top: var(--section-gap);
}
.section-heading {
  max-width: 760px;
  margin-bottom: var(--space-6);
}
.section-heading p,
.muted {
  color: var(--text-muted);
}
.eyebrow {
  margin-bottom: var(--space-3);
  font: var(--size-caption)/1.6 var(--font-mono-cjk);
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.keep {
  white-space: nowrap;
}
.grad-line {
  background: var(--gradient-accent);
  color: var(--mask-clear);
  -webkit-background-clip: text;
  background-clip: text;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  top: var(--space-2);
  left: var(--gutter);
  z-index: 100;
  padding: var(--space-2) var(--space-3);
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  border-radius: var(--r-btn);
  background: var(--accent);
  color: var(--ink-on-accent);
}
.skip-link:focus {
  clip-path: none;
  width: auto;
  height: auto;
  padding: var(--space-2) var(--space-3);
  white-space: normal;
}
.prose {
  min-width: 0;
  line-height: var(--leading-body);
  color: var(--text-soft);
}
.prose h2,
.prose h3,
.prose h4 {
  color: var(--text);
  scroll-margin-top: var(--space-5);
}
.prose h2 {
  margin-top: var(--space-8);
}
.prose h3 {
  margin-top: var(--space-6);
}
.prose :where(ul, ol) {
  padding-left: 1.5em;
}
.prose li + li {
  margin-top: var(--space-1);
}
.prose a:not(.btn):not(.app-store) {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.prose :where(div, section, article) {
  max-width: 100%;
}
.panel,
.card {
  border: 1px solid var(--stroke-10);
  box-shadow: var(--shadow-panel);
  background: var(--bg-panel);
  color: var(--text);
}
.panel {
  padding: var(--space-6);
  border-radius: var(--r-section);
}
.card {
  padding: var(--space-5);
  border-radius: var(--r-cell);
}
.card--raised {
  background: var(--bg-panel-2);
  color: var(--text);
}
.card p:last-child,
.panel p:last-child {
  margin-bottom: 0;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}
.button-row,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
}
.cta-row {
  margin-top: 20px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  min-height: 46px;
  padding: 10px 22px;
  border: 1px solid var(--mask-clear);
  border-radius: var(--r-btn);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: var(--weight-medium);
  line-height: 1.6;
  letter-spacing: -0.005em;
  text-align: center;
  transition: transform var(--time-fast) var(--ease), box-shadow var(--time-fast) var(--ease), border-color var(--time-fast) var(--ease), background-color var(--time-fast) var(--ease);
}
.btn svg {
  width: 17px;
  height: 17px;
}
.btn--store {
  background: var(--gradient-accent);
  color: var(--ink-on-accent);
  box-shadow: inset 0 1px 0 var(--btn-hi), 0 10px 26px -12px var(--accent-a45);
}
.btn--store:hover,
.btn--store.is-hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 var(--btn-hi), 0 14px 30px -12px var(--accent-a45);
}
.btn--ghost {
  border-color: var(--stroke-22);
  background: var(--mask-clear);
  color: var(--text);
}
.btn--ghost:hover,
.btn--ghost.is-hover {
  border-color: var(--text-muted);
  background: var(--veil-1);
  color: var(--text);
}
.btn--ghost svg {
  width: 15px;
  height: 15px;
}
.btn:active {
  transform: translateY(1px);
}
.btn:disabled,
.btn[aria-disabled="true"] {
  background: var(--bg-panel-2);
  color: var(--text-muted);
  border-color: var(--border);
  box-shadow: none;
  transform: none;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: var(--size-small);
  color: var(--link);
  transition: gap var(--time-fast) var(--ease);
}
.text-link:hover {
  gap: 9px;
}
.page-shell {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
}
.page-shell::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 980px;
  z-index: -1;
  background-image: linear-gradient(var(--grid-line) 1px, var(--mask-clear) 1px), linear-gradient(90deg, var(--grid-line) 1px, var(--mask-clear) 1px);
  background-size: 72px 72px;
  background-position: center -1px;
  -webkit-mask-image: radial-gradient(ellipse 72% 62% at 50% 34%, var(--mask-solid) 38%, var(--mask-clear) 86%);
  mask-image: radial-gradient(ellipse 72% 62% at 50% 34%, var(--mask-solid) 38%, var(--mask-clear) 86%);
  pointer-events: none;
}
.decorated {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
}
.mast,
#site-header {
  position: relative;
  z-index: 30;
  height: var(--mast-h);
}
.mast-row {
  position: relative;
  width: 100%;
  max-width: min(100%, calc(var(--header-width) + var(--gutter) * 2));
  height: var(--mast-h);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 11px;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.brand-mark {
  display: block;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: var(--r-mark);
  background: var(--mark-fill);
  color: var(--ink-on-accent);
  box-shadow: inset 0 0 0 1px var(--stroke-16), 0 4px 12px -4px var(--shadow-near);
}
.route-nav {
  min-width: 0;
  margin-inline: auto;
}
.route-nav ul,
.route-nav ol {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.route-nav li {
  flex-shrink: 0;
}
.route-nav li + li::before {
  content: "/";
  margin-inline: 13px;
  color: var(--text-dim);
  font-size: var(--size-small);
}
.route-nav a {
  display: inline-block;
  padding-top: 4px;
  padding-bottom: 4px;
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--time-fast) var(--ease);
}
.route-nav a:hover {
  color: var(--text);
}
.route-nav a[aria-current="page"] {
  color: var(--text);
  box-shadow: inset 0 -1px 0 var(--accent);
}
.header-tools {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: var(--space-1);
  margin-left: auto;
}
.language-control {
  position: relative;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid var(--stroke-10);
  border-radius: var(--r-pill);
  background: var(--mask-clear);
  color: var(--text-muted);
  font: var(--size-small)/1.6 var(--font-body);
  white-space: nowrap;
}
.lang-switch:hover {
  color: var(--text);
  border-color: var(--stroke-16);
}
.lang-switch svg {
  width: 15px;
  height: 15px;
}
.lang-short {
  display: none;
}
.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 4;
  min-width: 180px;
  padding: 6px;
  border: 1px solid var(--stroke-16);
  border-radius: var(--r-slip);
  background: var(--bg-panel-2);
  color: var(--text);
  box-shadow: 0 18px 42px -12px var(--shadow-far);
}
.language-menu a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: var(--r-frame);
  color: var(--text-soft);
}
.language-menu a:hover,
.language-menu a[aria-current="true"] {
  background: var(--bg-panel);
  color: var(--text);
}
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
  border: 1px solid var(--stroke-16);
  border-radius: var(--r-btn);
  background: var(--bg-panel);
  color: var(--text);
}
.menu-toggle svg {
  width: 20px;
  height: 20px;
}
.mobile-drawer {
  position: fixed;
  inset: var(--mast-h) 0 auto;
  z-index: 3;
  max-height: calc(100dvh - var(--mast-h));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: var(--space-3) var(--gutter) var(--space-5);
  border-bottom: 1px solid var(--border);
  background: var(--bg-panel);
  color: var(--text);
}
.mobile-drawer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.mobile-drawer a {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: var(--r-frame);
  color: var(--text-soft);
}
.mobile-drawer a:hover,
.mobile-drawer a[aria-current] {
  background: var(--bg-panel-2);
  color: var(--text);
}
.drawer-languages {
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
}
.drawer-languages p {
  padding-inline: 16px;
  font-size: var(--size-small);
  color: var(--text-muted);
}
.nav-veil {
  position: fixed;
  inset: var(--mast-h) 0 0;
  z-index: 1;
  width: 100%;
  height: calc(100dvh - var(--mast-h));
  padding: 0;
  border: 0;
  background: var(--shadow-far);
  color: var(--text);
  cursor: default;
}
.site-footer {
  margin-top: var(--section-gap);
  padding-top: var(--space-8);
  padding-bottom: 108px;
  border-top: 1px solid var(--stroke-10);
  background: var(--bg);
  color: var(--text-muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr 1.2fr 0.7fr;
  gap: var(--space-6);
}
.footer-brand p {
  max-width: 29em;
  margin-top: var(--space-4);
  font-size: 14px;
}
.footer-heading {
  margin-bottom: var(--space-4);
  color: var(--text);
  font-size: 15px;
}
.footer-links {
  display: grid;
  gap: var(--space-1);
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: var(--size-small);
}
.footer-links a {
  display: inline-block;
  padding-top: 4px;
  padding-bottom: 4px;
  overflow-wrap: anywhere;
}
.footer-links a:hover {
  color: var(--text);
}
.footer-links a[aria-current="true"] {
  color: var(--accent);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3) var(--space-5);
  margin-top: var(--space-7);
  padding-top: var(--space-4);
  border-top: 1px solid var(--stroke-10);
  font-size: var(--size-caption);
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.reveal {
  opacity: 1;
}
.reveal-ready .reveal:not(.shown) {
  opacity: 0;
  transform: translateY(16px);
}
.reveal-ready .reveal {
  transition: opacity var(--time-reveal) var(--ease), transform var(--time-reveal) var(--ease);
}
.reveal-ready .reveal.shown {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .mast-row {
    gap: var(--space-3);
  }
  .mast-row > .route-nav {
    display: none;
  }
  .header-tools {
    margin-left: auto;
  }
  .menu-toggle {
    display: inline-flex;
  }
}
@media (min-width: 1101px) {
  .mobile-drawer,
  .nav-veil {
    display: none !important;
  }
}
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  :root {
    --size-h1: clamp(24px, 4vw, 30px);
    --size-h2: clamp(24px, 5vw, 30px);
  }
}
@media (max-width: 640px) {
  :root {
    --gutter: 16px;
  }
  .wrap,
  .reading {
    width: 100%;
    padding-inline: var(--gutter);
  }
  .panel,
  .card {
    padding: var(--space-4);
  }
  .card-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-5);
  }
  .footer-bottom {
    display: block;
  }
  .footer-legal {
    margin-top: var(--space-3);
  }
  .tilt,
  [data-tilt] {
    transform: none !important;
  }
  .lang-full {
    display: none;
  }
  .lang-short {
    display: inline;
  }
  .lang-switch {
    min-height: 44px;
  }
}
@media (max-width: 400px) {
  .brand {
    gap: 8px;
    font-size: 12px;
  }
  .brand-suffix {
    display: block;
    font-size: 11px;
    line-height: 1.35;
  }
  .brand-mark {
    width: 28px;
    height: 28px;
  }
  .mast-row {
    gap: var(--space-1);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal-ready .reveal:not(.shown) {
    opacity: 1;
    transform: none;
  }
  .btn--store:hover {
    transform: none;
  }
}