:root {
  --color-bg: #080d1a;
  --color-bg-deep: #050914;
  --color-panel: #0e1628;
  --color-panel-raised: #152139;
  --color-panel-soft: #111c31;
  --color-border: #2a3852;
  --color-border-bright: #465978;
  --color-accent: #f0a24a;
  --color-accent-soft: #ffd19a;
  --color-accent-dark: #a95626;
  --color-accent-deep: #65311e;
  --color-text: #f4f7fb;
  --color-text-muted: #9ba9bd;
  --color-text-dim: #6f7f97;
  --color-success: #42b88a;
  --color-warn: #d88b35;
  --color-error: #d85b67;
  --color-aurora-blue: #176bb0;
  --color-aurora-cyan: #1ca5a0;
  --color-aurora-green: #42b88a;
  --color-aurora-orange: #d96e32;
  --color-aurora-gold: #f0a24a;
  --color-transparent: transparent;
  --color-grid-line: rgba(155, 169, 189, 0.08);
  --color-grid-dot: rgba(244, 247, 251, 0.12);
  --color-border-glass: rgba(244, 247, 251, 0.13);
  --color-panel-glass: rgba(14, 22, 40, 0.78);
  --color-panel-glass-strong: rgba(14, 22, 40, 0.94);
  --color-accent-glass: rgba(240, 162, 74, 0.16);
  --color-accent-line: rgba(240, 162, 74, 0.68);
  --color-accent-shadow: rgba(240, 162, 74, 0.2);
  --color-success-glass: rgba(66, 184, 138, 0.11);
  --color-error-glass: rgba(216, 91, 103, 0.12);
  --color-dark-shadow: rgba(0, 0, 0, 0.42);
  --color-scene-shade: rgba(5, 9, 20, 0.7);
  --color-scene-clear: rgba(5, 9, 20, 0);
  --color-white-soft: rgba(244, 247, 251, 0.78);
  --color-white-faint: rgba(244, 247, 251, 0.05);
  --font-display: "Inter", "Noto Sans SC", "Noto Sans JP", "Noto Sans KR", system-ui, sans-serif;
  --font-body: "Inter", "Noto Sans SC", "Noto Sans JP", "Noto Sans KR", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  --radius-xs: 6px;
  --radius-sm: 9px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 999px;
  --page-width: 1320px;
  --reading-width: 768px;
  --header-height: 72px;
  --frame-width: 820px;
  --frame-height: 286px;
  --bracket-size: 82px;
  --bracket-weight: 14px;
  --gutter: clamp(16px, 4vw, 28px);
  --section-space: clamp(72px, 9vw, 128px);
  --toc-offset: 88px;
  --duration-fast: 160ms;
  --duration-medium: 500ms;
  --duration-slow: 15s;
  --duration-pulse: 3.6s;
  --ease-standard: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-drift: ease-in-out;
  --shadow-button: 0 10px 30px var(--color-accent-shadow);
  --shadow-panel: 0 24px 70px var(--color-dark-shadow);
  --shadow-soft: 0 14px 40px var(--color-dark-shadow);
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--color-bg);
}

html.nav-open {
  overflow: hidden;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: clip;
  color: var(--color-text);
  background: var(--color-bg);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

img {
  height: auto;
}

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

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

button,
summary {
  -webkit-tap-highlight-color: var(--color-transparent);
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
blockquote,
figure {
  margin-top: 0;
}

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

h1,
.hero-title {
  margin-bottom: 24px;
  font-size: clamp(52px, 5.2vw, 72px);
  font-weight: 720;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 690;
  line-height: 1.16;
  letter-spacing: -0.018em;
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(21px, 2.3vw, 28px);
  font-weight: 660;
  line-height: 1.3;
}

h4 {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 650;
}

p {
  margin-bottom: 1.2em;
  color: var(--color-text-muted);
}

strong {
  color: var(--color-text);
  font-weight: 650;
}

small {
  color: var(--color-text-dim);
}

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

li {
  min-width: 0;
}

code,
kbd,
samp {
  font-family: var(--font-mono);
}

:not(pre) > code {
  padding: 0.14em 0.4em;
  overflow-wrap: anywhere;
  color: var(--color-accent-soft);
  background: var(--color-panel-raised);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xs);
  font-size: 0.9em;
}

pre {
  max-width: 100%;
  margin: 24px 0;
  padding: 20px;
  overflow-x: auto;
  color: var(--color-text);
  background: var(--color-bg-deep);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  line-height: 1.7;
  tab-size: 2;
  -webkit-overflow-scrolling: touch;
}

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

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--color-text);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 620;
  letter-spacing: 0.04em;
}

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

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

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

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

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

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

.section-compact {
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: clamp(48px, 6vw, 80px);
}

.section-rule {
  border-top: 1px solid var(--color-border);
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(34px, 5vw, 60px);
}

.section-kicker,
.mono-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 620;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-kicker::before {
  width: 18px;
  height: 1px;
  flex-shrink: 0;
  content: "";
  background: var(--color-accent);
}

.lead {
  max-width: 760px;
  color: var(--color-text-muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
}

.title-accent {
  color: var(--color-accent);
  background: linear-gradient(100deg, var(--color-accent-soft), var(--color-accent), var(--color-accent-dark));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: var(--color-transparent);
}

.eyebrow,
.badge,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  min-height: 28px;
  padding: 0 11px;
  overflow: hidden;
  color: var(--color-text-muted);
  background: var(--color-panel-glass);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.badge-accent {
  color: var(--color-accent-soft);
  background: var(--color-accent-glass);
  border-color: var(--color-accent-line);
}

.badge-success {
  color: var(--color-success);
  background: var(--color-panel);
}

.status-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: var(--color-success);
  border-radius: var(--radius-pill);
  box-shadow: 0 0 0 4px var(--color-success-glass);
}

.button,
.cta-primary,
.cta-secondary,
.login-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 45px;
  padding: 0 21px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 680;
  line-height: 1;
  text-align: center;
  transition:
    transform var(--duration-fast) ease,
    color var(--duration-fast) ease,
    border-color var(--duration-fast) ease,
    background-color var(--duration-fast) ease,
    box-shadow var(--duration-fast) ease;
}

.button-primary,
.cta-primary {
  color: var(--color-bg-deep);
  background: linear-gradient(135deg, var(--color-accent-soft), var(--color-accent));
  border: 1px solid var(--color-accent-soft);
  box-shadow: var(--shadow-button);
}

.button-secondary,
.cta-secondary {
  color: var(--color-text);
  background: var(--color-panel-glass);
  border: 1px solid var(--color-border-bright);
}

.button-quiet {
  color: var(--color-text-muted);
  background: var(--color-transparent);
  border: 1px solid var(--color-border);
}

.button:hover,
.cta-primary:hover,
.cta-secondary:hover {
  transform: translateY(-2px);
}

.button-secondary:hover,
.cta-secondary:hover,
.button-quiet:hover {
  color: var(--color-text);
  background: var(--color-panel-raised);
  border-color: var(--color-text-muted);
}

.button:active,
.cta-primary:active,
.cta-secondary:active {
  transform: translateY(0);
}

.button[disabled] {
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
}

.panel,
.card {
  min-width: 0;
  background: var(--color-panel);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.panel {
  padding: clamp(22px, 4vw, 42px);
  box-shadow: var(--shadow-soft);
}

.card {
  padding: 24px;
}

.card:hover {
  border-color: var(--color-border-bright);
}

.tilt,
.tilt-card {
  transform: rotate(-0.35deg);
}

.reveal {
  transition:
    opacity var(--duration-medium) var(--ease-standard),
    transform var(--duration-medium) var(--ease-standard);
}

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

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

.prose {
  min-width: 0;
  color: var(--color-text-muted);
}

.prose h2,
.prose h3 {
  scroll-margin-top: var(--toc-offset);
}

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

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

.prose a {
  color: var(--color-accent-soft);
  text-decoration: underline;
  text-decoration-color: var(--color-accent-line);
  text-underline-offset: 0.2em;
}

.prose blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  color: var(--color-text-muted);
  background: var(--color-panel-soft);
  border-left: 3px solid var(--color-accent);
}

.prose > * {
  max-width: 100%;
}

.data-table {
  min-width: 680px;
  background: var(--color-panel);
}

.prose > .data-table {
  display: block;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.site-header {
  position: relative;
  z-index: 80;
  height: var(--header-height);
}

.topbar {
  position: relative;
  z-index: 82;
  height: var(--header-height);
  background: var(--color-panel-glass);
  border-bottom: 1px solid var(--color-grid-line);
  backdrop-filter: blur(18px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  width: min(calc(100% - 56px), var(--page-width));
  height: 100%;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  margin-right: 42px;
}

.brand-logo {
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-copy {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  white-space: nowrap;
}

.brand-en {
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 720;
  letter-spacing: -0.02em;
}

.brand-local {
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 500;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.nav-link,
.more-summary {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  color: var(--color-text-muted);
  background: var(--color-transparent);
  border: 1px solid var(--color-transparent);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 520;
  white-space: nowrap;
  transition:
    color var(--duration-fast) ease,
    background-color var(--duration-fast) ease,
    border-color var(--duration-fast) ease;
}

.nav-link:hover,
.more-summary:hover,
.nav-more[open] .more-summary {
  color: var(--color-text);
  background: var(--color-panel-raised);
  border-color: var(--color-border);
}

.nav-link.is-active,
.more-menu a.is-active {
  color: var(--color-text);
}

.nav-more {
  position: relative;
}

.more-summary {
  cursor: pointer;
  list-style: none;
}

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

.more-summary::after {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 9px;
  flex-shrink: 0;
  content: "";
  border-right: 1px solid var(--color-text-muted);
  border-bottom: 1px solid var(--color-text-muted);
  transform: rotate(45deg);
}

.more-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  display: grid;
  width: 190px;
  padding: 8px;
  background: var(--color-panel);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-panel);
}

.more-menu a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 11px;
  color: var(--color-text-muted);
  border-radius: var(--radius-xs);
  font-size: 13px;
}

.more-menu a:hover {
  color: var(--color-text);
  background: var(--color-panel-raised);
}

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

.language-menu {
  position: relative;
}

.language-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 11px;
  color: var(--color-text-muted);
  background: var(--color-transparent);
  border: 1px solid var(--color-transparent);
  border-radius: var(--radius-sm);
  font-size: 13px;
  white-space: nowrap;
}

.language-trigger:hover,
.language-trigger[aria-expanded="true"] {
  color: var(--color-text);
  background: var(--color-panel-raised);
  border-color: var(--color-border);
}

.language-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: none;
  width: 164px;
  padding: 8px;
  background: var(--color-panel);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-panel);
}

.language-popover.is-open {
  display: grid;
}

.language-popover a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 10px;
  color: var(--color-text-muted);
  border-radius: var(--radius-xs);
  font-size: 13px;
}

.language-popover a:hover,
.language-popover a[aria-current="true"] {
  color: var(--color-text);
  background: var(--color-panel-raised);
}

.login-button {
  min-height: 38px;
  padding: 0 18px;
  color: var(--color-text);
  background: var(--color-panel-raised);
  border: 1px solid var(--color-border-bright);
  font-size: 14px;
  white-space: nowrap;
}

.login-button:hover {
  background: var(--color-panel-soft);
  border-color: var(--color-accent);
}

.menu-toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  color: var(--color-text);
  background: var(--color-transparent);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  display: block;
  width: 18px;
  height: 1px;
  content: "";
  background: var(--color-text);
  transition: transform var(--duration-fast) ease;
}

.menu-toggle-lines {
  position: relative;
  margin: 0 auto;
}

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

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

.menu-toggle[aria-expanded="true"] .menu-toggle-lines {
  background: var(--color-transparent);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-drawer {
  position: absolute;
  top: var(--header-height);
  right: 0;
  left: 0;
  z-index: 84;
  display: none;
  max-height: calc(100dvh - var(--header-height));
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--color-panel);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-panel);
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-drawer-inner {
  padding: 12px var(--gutter) 22px;
}

.mobile-drawer a {
  display: flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  padding: 10px 12px;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-grid-line);
  font-size: 15px;
}

.mobile-drawer a:hover,
.mobile-drawer a.is-active,
.mobile-drawer a[aria-current="true"] {
  color: var(--color-text);
  background: var(--color-panel-raised);
}

.drawer-label {
  margin: 18px 12px 6px;
  color: var(--color-text-dim);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-veil {
  position: fixed;
  inset: var(--header-height) 0 0;
  z-index: 79;
  display: none;
  background: var(--color-dark-shadow);
}

.nav-veil.is-open {
  display: block;
}

.site-footer {
  overflow-x: clip;
  background: var(--color-bg-deep);
  border-top: 1px solid var(--color-border);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 1.25fr) repeat(3, minmax(140px, 1fr));
  gap: clamp(28px, 5vw, 70px);
  padding-top: 64px;
  padding-bottom: 48px;
}

.footer-brand {
  max-width: 330px;
}

.footer-brand .brand {
  margin: 0 0 18px;
}

.footer-brand p {
  font-size: 14px;
}

.footer-heading {
  margin-bottom: 15px;
  color: var(--color-text);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-links a {
  width: fit-content;
  max-width: 100%;
  color: var(--color-text-muted);
  font-size: 14px;
}

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

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  padding-top: 20px;
  padding-bottom: 28px;
  color: var(--color-text-dim);
  border-top: 1px solid var(--color-border);
  font-size: 12px;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-left: auto;
}

.site-shell {
  position: relative;
  min-height: 900px;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, var(--color-bg-deep) 0%, var(--color-bg) 48%, var(--color-bg-deep) 100%);
}

.site-shell::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  opacity: 0.54;
  background-image:
    radial-gradient(circle at 12% 24%, var(--color-grid-dot) 0 1px, var(--color-transparent) 1.5px),
    radial-gradient(circle at 77% 18%, var(--color-grid-dot) 0 1px, var(--color-transparent) 1.5px),
    radial-gradient(circle at 38% 71%, var(--color-grid-dot) 0 1px, var(--color-transparent) 1.5px);
  background-size: 173px 173px, 227px 227px, 263px 263px;
}

.site-shell::after {
  position: absolute;
  inset: var(--header-height) 0 auto;
  z-index: -1;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--color-transparent), var(--color-border), var(--color-transparent));
}

.hero-atmosphere {
  position: relative;
  z-index: 2;
  height: calc(900px - var(--header-height));
  padding-top: 28px;
  overflow-x: clip;
  text-align: center;
}

.hero-copy {
  position: relative;
  z-index: 5;
  width: min(calc(100% - 40px), 1020px);
  margin: 0 auto;
}

.hero-atmosphere h1 {
  margin: 13px 0 0;
  font-size: clamp(52px, 4.85vw, 70px);
  font-weight: 720;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-top: 17px;
}

.hero-description {
  margin: 14px auto 0;
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 18px;
  margin: 10px auto 0;
  color: var(--color-text-dim);
  font-family: var(--font-mono);
  font-size: 11px;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.trust-item::before {
  width: 4px;
  height: 4px;
  flex: 0 0 auto;
  content: "";
  background: var(--color-accent);
  border-radius: var(--radius-pill);
}

.viewfinder {
  position: absolute;
  top: 315px;
  left: 50%;
  width: min(calc(100% - 120px), var(--frame-width));
  height: 421px;
  transform: translateX(-50%);
}

.frame-stage {
  position: relative;
  width: 100%;
  height: var(--frame-height);
}

.scene {
  position: absolute;
  inset: 21px 24px;
  overflow: hidden;
  background: var(--color-panel);
  border: 1px solid var(--color-border-glass);
  border-radius: var(--radius-lg);
}

.scene::before {
  position: absolute;
  inset: 0;
  z-index: 3;
  content: "";
  background:
    linear-gradient(180deg, var(--color-scene-shade), var(--color-scene-clear) 38%, var(--color-scene-shade)),
    repeating-linear-gradient(90deg, var(--color-transparent) 0 79px, var(--color-grid-line) 79px 80px);
}

.scene::after {
  position: absolute;
  inset: 0;
  z-index: 4;
  content: "";
  border: 1px solid var(--color-border-glass);
  border-radius: var(--radius-lg);
  pointer-events: none;
}

.aurora-flow {
  position: absolute;
  inset: -36% -18%;
  z-index: 1;
  filter: blur(28px) saturate(1.08);
  background:
    radial-gradient(ellipse at 14% 55%, var(--color-aurora-blue) 0%, var(--color-transparent) 34%),
    radial-gradient(ellipse at 39% 52%, var(--color-aurora-cyan) 0%, var(--color-transparent) 32%),
    radial-gradient(ellipse at 60% 47%, var(--color-aurora-green) 0%, var(--color-transparent) 28%),
    radial-gradient(ellipse at 80% 52%, var(--color-aurora-orange) 0%, var(--color-transparent) 30%),
    radial-gradient(ellipse at 94% 57%, var(--color-aurora-gold) 0%, var(--color-transparent) 26%);
  animation: scene-drift var(--duration-slow) var(--ease-drift) infinite alternate;
}

.depth-ridge {
  position: absolute;
  right: -4%;
  bottom: -46%;
  left: -4%;
  z-index: 2;
  height: 74%;
  background: var(--color-scene-shade);
  border-radius: var(--radius-pill) var(--radius-pill) 0 0;
  transform: rotate(-2deg);
}

.horizon-line {
  position: absolute;
  right: 10%;
  bottom: 29%;
  left: 10%;
  z-index: 4;
  height: 1px;
  opacity: 0.75;
  background: linear-gradient(90deg, var(--color-transparent), var(--color-accent-line), var(--color-transparent));
}

.scene-caption {
  position: absolute;
  bottom: 15px;
  left: 50%;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 32px);
  padding: 6px 10px;
  overflow: hidden;
  color: var(--color-white-soft);
  background: var(--color-panel-glass);
  border: 1px solid var(--color-border-glass);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  transform: translateX(-50%);
  white-space: nowrap;
}

.scene-caption::before {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  content: "";
  background: var(--color-success);
  border-radius: var(--radius-pill);
}

.bracket {
  position: absolute;
  z-index: 8;
  width: var(--bracket-size);
  height: var(--bracket-size);
  border-color: var(--color-text);
  border-style: solid;
  filter: drop-shadow(0 10px 16px var(--color-dark-shadow));
}

.bracket-tl {
  top: 0;
  left: 0;
  border-width: var(--bracket-weight) 0 0 var(--bracket-weight);
  border-radius: var(--radius-lg) 0 0 0;
}

.bracket-tr {
  top: 0;
  right: 0;
  border-width: var(--bracket-weight) var(--bracket-weight) 0 0;
  border-radius: 0 var(--radius-lg) 0 0;
}

.bracket-bl {
  bottom: 0;
  left: 0;
  border-width: 0 0 var(--bracket-weight) var(--bracket-weight);
  border-radius: 0 0 0 var(--radius-lg);
}

.bracket-br {
  right: 0;
  bottom: 0;
  border-width: 0 var(--bracket-weight) var(--bracket-weight) 0;
  border-radius: 0 0 var(--radius-lg) 0;
}

.frame-label {
  position: absolute;
  z-index: 9;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
}

.label-tl {
  top: 20px;
  left: 24px;
  text-align: left;
}

.label-tr {
  top: 20px;
  right: 24px;
  text-align: right;
}

.label-bl {
  bottom: 20px;
  left: 24px;
  text-align: left;
}

.label-br {
  right: 24px;
  bottom: 20px;
  text-align: right;
}

.connection {
  position: relative;
  width: 100%;
  height: 60px;
}

.connection-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 50px;
  background: linear-gradient(180deg, var(--color-accent), var(--color-accent-line), var(--color-transparent));
  transform: translateX(-50%);
  transform-origin: top;
  animation: line-pulse var(--duration-pulse) ease-in-out infinite;
}

.connection-node {
  position: absolute;
  top: 45px;
  left: 50%;
  width: 7px;
  height: 7px;
  background: var(--color-accent);
  border: 2px solid var(--color-bg);
  border-radius: var(--radius-pill);
  box-shadow: 0 0 0 4px var(--color-accent-glass);
  transform: translateX(-50%);
}

.local-machine {
  position: relative;
  width: 136px;
  height: 66px;
  margin: 0 auto;
  color: var(--color-text-muted);
}

.monitor {
  position: relative;
  width: 70px;
  height: 46px;
  margin: 0 auto;
  background: var(--color-panel);
  border: 1px solid var(--color-border-bright);
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-panel);
}

.monitor::before {
  position: absolute;
  inset: 6px;
  content: "";
  background: linear-gradient(135deg, var(--color-panel-raised), var(--color-panel));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xs);
}

.monitor::after {
  position: absolute;
  top: 11px;
  left: 13px;
  width: 18px;
  height: 13px;
  content: "";
  background: var(--color-accent);
  clip-path: polygon(0 38%, 62% 38%, 62% 0, 100% 50%, 62% 100%, 62% 62%, 0 62%);
}

.monitor-stand {
  width: 30px;
  height: 9px;
  margin: 0 auto;
  border-top: 1px solid var(--color-border-bright);
  border-right: 1px solid var(--color-border-bright);
  border-left: 1px solid var(--color-border-bright);
  border-radius: var(--radius-xs) var(--radius-xs) 0 0;
}

.machine-label {
  margin-top: 5px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.next-edge {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 20px;
  background: var(--color-panel);
  border-top: 1px solid var(--color-border);
}

.next-edge::before {
  position: absolute;
  top: -1px;
  left: 50%;
  width: 160px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--color-transparent), var(--color-accent), var(--color-transparent));
  transform: translateX(-50%);
}

@keyframes scene-drift {
  from {
    transform: translate3d(-2%, 0, 0) scale(1.02);
  }

  to {
    transform: translate3d(3%, 1%, 0) scale(1.07);
  }
}

@keyframes line-pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: translateX(-50%) scaleY(0.76);
  }

  50% {
    opacity: 1;
    transform: translateX(-50%) scaleY(1);
  }
}

@media (max-width: 1100px) {
  .brand {
    margin-right: 20px;
  }

  .nav-link,
  .more-summary {
    padding-inline: 9px;
  }

  .brand-local {
    display: none;
  }
}

@media (max-width: 900px) {
  .topbar-inner {
    width: calc(100% - (var(--gutter) * 2));
  }

  .desktop-nav,
  .language-menu {
    display: none;
  }

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

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

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  h1,
  .hero-title,
  .hero-atmosphere h1 {
    font-size: clamp(28px, 9.6vw, 40px);
    line-height: 1.15;
    letter-spacing: -0.015em;
  }

  h2 {
    font-size: clamp(28px, 8vw, 38px);
  }

  .hero-atmosphere {
    height: 760px;
    padding-top: 24px;
  }

  .hero-copy {
    width: calc(100% - (var(--gutter) * 2));
  }

  .viewfinder {
    top: 310px;
    width: calc(100% - (var(--gutter) * 2));
    height: 355px;
  }

  .frame-stage {
    height: 224px;
  }

  .scene {
    inset: 16px 18px;
  }

  .frame-label {
    display: none;
  }

  .scene-caption {
    bottom: 12px;
  }

  .connection {
    height: 54px;
  }

  .connection-line {
    height: 45px;
  }

  .connection-node {
    top: 40px;
  }

  .bracket {
    width: 58px;
    height: 58px;
    border-width: 0;
  }

  .bracket-tl {
    border-top-width: 10px;
    border-left-width: 10px;
  }

  .bracket-tr {
    border-top-width: 10px;
    border-right-width: 10px;
  }

  .bracket-bl {
    border-bottom-width: 10px;
    border-left-width: 10px;
  }

  .bracket-br {
    border-right-width: 10px;
    border-bottom-width: 10px;
  }

  .next-edge {
    height: 16px;
  }
}

@media (max-width: 640px) {
  .wrap,
  .reading-wrap {
    padding-inline: var(--gutter);
  }

  .tilt,
  .tilt-card {
    transform: none;
  }

  .brand {
    gap: 8px;
  }

  .brand-logo {
    width: 28px;
    height: 28px;
  }

  .brand-en {
    font-size: 16px;
  }

  .brand-local {
    display: none;
  }

  .login-button {
    min-width: 58px;
    padding-inline: 12px;
  }

  .header-tools {
    gap: 6px;
    margin-left: auto;
  }

  .hero-actions {
    gap: 9px;
  }

  .cta-primary,
  .cta-secondary {
    min-width: 0;
    padding-inline: 16px;
    font-size: 14px;
  }

  .hero-description {
    font-size: 14px;
  }

  .trust-row {
    gap: 6px 12px;
    font-size: 10px;
  }

  .footer-main {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .footer-legal-links {
    width: 100%;
    margin-left: 0;
  }

  th,
  td {
    padding: 13px 14px;
  }
}

@media (max-width: 380px) {
  .topbar-inner {
    width: calc(100% - 24px);
  }

  .brand-local {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
  }

  .cta-primary,
  .cta-secondary {
    width: min(100%, 220px);
  }

  .hero-description {
    display: none;
  }

  .trust-row {
    margin-top: 13px;
  }

  .viewfinder {
    top: 295px;
  }
}

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

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

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