:root {
  --c-bg: #FFFFFF;
  --c-panel: #F6F6F6;
  --c-panel-2: #EEEEEE;
  --c-border: #E6E6E6;
  --c-border-strong: #D4D4D4;
  --c-dot: #DDDDDD;
  --c-chrome: #D6D6D6;
  --c-accent: #AD2EE8;
  --c-accent-dark: #7C1BAD;
  --c-accent-soft: #F3E3FC;
  --c-accent-soft-2: #EAD2F9;
  --c-accent-softer: #F9F1FE;
  --c-text: #191919;
  --c-muted: #6B6B6B;
  --c-faint: #A0A0A0;
  --c-ink: #191919;
  --c-white: #FFFFFF;
  --c-success: #1F9D55;
  --c-warn: #E8A317;
  --c-error: #DC3B2F;
  --c-clear: transparent;
  --c-veil: rgba(25, 25, 25, .28);

  --ill-purple: #AD2EE8;
  --ill-yellow: #F7C548;
  --ill-coral: #F2705F;
  --ill-sky: #51A8EE;
  --ill-green: #43B875;
  --ill-yellow-soft: #FCF1D3;
  --ill-sky-soft: #E3F0FC;
  --ill-green-soft: #E0F4E8;

  --font-display: "Inter", "Noto Sans SC", "Noto Sans JP", "Noto Sans KR", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Inter", "Noto Sans SC", "Noto Sans JP", "Noto Sans KR", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 14px;
  --r-xl: 18px;
  --r-status: 16px;
  --r-section: 24px;
  --r-2xl: 32px;
  --r-pill: 999px;
  --r-circle: 50%;

  --shadow-xs: 0 1px 2px rgba(25,25,25,.05);
  --shadow-card: 0 1px 2px rgba(25,25,25,.04), 0 2px 6px -2px rgba(25,25,25,.06);
  --shadow-lift: 0 2px 4px rgba(25,25,25,.06), 0 14px 26px -10px rgba(25,25,25,.22);
  --shadow-sheet: 0 1px 2px rgba(25,25,25,.04), 0 24px 48px -24px rgba(25,25,25,.16);
  --shadow-window: 0 1px 2px rgba(25,25,25,.05), 0 10px 24px -10px rgba(25,25,25,.10), 0 44px 90px -30px rgba(25,25,25,.22);
  --shadow-sticker: 0 10px 18px -8px rgba(25,25,25,.28);
  --shadow-accent: 0 1px 2px rgba(124,27,173,.25), 0 10px 22px -10px rgba(173,46,232,.6);

  --nav-h: 72px;
  --gutter: max(64px, calc((100vw - 1312px) / 2));
  --reading-width: 1000px;
  --content-width: 1184px;
  --header-width: 1280px;
  --section-space: 88px;
  --duration: .18s;
  --reveal-duration: .55s;
  --ease: cubic-bezier(.2,.7,.2,1);
  --z-veil: 20;
  --z-header: 30;
  --z-fab: 15;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.nav-open { overflow: hidden; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--c-accent-dark); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}
[hidden] { display: none !important; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--c-text);
  line-height: 1.25;
  text-wrap: balance;
  overflow-wrap: normal;
}
h1 { font-size: clamp(34px, 3.2vw, 46px); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(26px, 2.5vw, 36px); font-weight: 800; letter-spacing: -.015em; }
h3 { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0 0 1.25em; }
strong { font-weight: 700; }
code, pre, kbd { font-family: var(--font-mono); }
code {
  overflow-wrap: anywhere;
  word-break: normal;
  font-size: .9em;
  background: var(--c-panel);
  color: var(--c-text);
  padding: .1em .35em;
  border-radius: var(--r-xs);
}
pre {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  padding: 22px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  background: var(--c-panel);
  color: var(--c-text);
  font-size: 13px;
  line-height: 1.8;
  overscroll-behavior-inline: contain;
}
pre code {
  background: var(--c-clear);
  color: var(--c-text);
  padding: 0;
  font-size: inherit;
  white-space: pre;
  overflow-wrap: normal;
  word-break: normal;
}
hr { border: 0; border-top: 1px solid var(--c-border); margin-block: 32px; }
:where(section, article, aside, nav, div) { min-width: 0; }
:where([id]) { scroll-margin-top: 24px; }
.wrap {
  width: 100%;
  max-width: calc(var(--content-width) + var(--gutter) * 2);
  padding-inline: var(--gutter);
  margin-inline: auto;
}
.wrap--reading { max-width: calc(var(--reading-width) + var(--gutter) * 2); }
.section { padding-top: var(--section-space); padding-bottom: var(--section-space); }
.section-heading { margin: 0 0 28px; }
.section-intro { max-width: 48em; color: var(--c-muted); }
.prose { min-width: 0; }
.prose h2 { margin-top: 2.2em; margin-bottom: .8em; }
.prose h3 { margin-top: 1.8em; margin-bottom: .7em; }
.prose li + li { margin-top: .55em; }
.prose p, .prose li { overflow-wrap: break-word; }
.prose > :first-child { margin-top: 0; }
.keep-word { white-space: nowrap; }
.muted { color: var(--c-muted); }
.mono { font-family: var(--font-mono); }
.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: fixed;
  top: 8px;
  left: 16px;
  z-index: calc(var(--z-header) + 2);
  transform: translateY(-180%);
  padding: 10px 16px;
  background: var(--c-white);
  color: var(--c-accent-dark);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-lift);
}
.skip-link:focus { transform: none; }

.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 24px;
  border: 1px solid var(--c-clear);
  border-radius: var(--r-lg);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: background-color var(--duration) ease, transform var(--duration) ease;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { background: var(--c-accent); color: var(--c-white); box-shadow: var(--shadow-accent); }
.btn-primary:hover, .btn-primary.is-hover { background: var(--c-accent-dark); color: var(--c-white); transform: translateY(-1px); }
.btn-soft { background: var(--c-accent-soft); color: var(--c-accent-dark); }
.btn-soft:hover, .btn-soft.is-hover { background: var(--c-accent-soft-2); color: var(--c-accent-dark); transform: translateY(-1px); }
.btn-outline { background: var(--c-white); color: var(--c-text); border-color: var(--c-border-strong); }
.btn-outline:hover { background: var(--c-panel); color: var(--c-text); }
.btn:active, .btn.is-pressed { transform: translateY(1px); box-shadow: var(--shadow-xs); }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--c-panel-2); color: var(--c-muted); border-color: var(--c-border); box-shadow: none; transform: none; }
.btn.is-focus { outline: 2px solid var(--c-accent); outline-offset: 3px; }
.btn-small { min-height: 44px; padding: 10px 18px; font-size: 14px; }
.icon-link {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: var(--r-circle);
  background: var(--c-ink);
  color: var(--c-white);
  text-decoration: none;
  font-size: 24px;
}
.icon-link:hover { background: var(--c-accent-dark); color: var(--c-white); }
.ico-l { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

#site-header { position: relative; z-index: var(--z-header); }
.topbar {
  position: relative;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding-inline: var(--gutter);
  gap: 40px;
  width: 100%;
  max-width: min(100%, calc(var(--header-width) + var(--gutter) * 2));
  margin-inline: auto;
  background: var(--c-bg);
  color: var(--c-text);
  z-index: var(--z-header);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--c-text);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -.01em;
}
.brand-mark { width: 28px; height: 28px; flex-shrink: 0; }
.desktop-nav { min-width: 0; margin-left: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: block;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--c-muted);
  white-space: nowrap;
  transition: color var(--duration) ease;
}
.nav-links a:hover { color: var(--c-text); }
.nav-links a[aria-current="page"] { color: var(--c-text); font-weight: 700; }
.header-tools { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.language-control { position: relative; }
.lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-pill);
  background: var(--c-white);
  color: var(--c-text);
  font: 500 14px/1 var(--font-body);
  white-space: nowrap;
}
.lang svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--c-muted); }
.lang-caret { font-size: 11px; color: var(--c-muted); }
.lang-short { display: none; }
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 188px;
  padding: 8px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lift);
  background: var(--c-white);
  color: var(--c-text);
  list-style: none;
  margin: 0;
}
.lang-menu a { display: flex; align-items: center; min-height: 44px; padding: 10px 12px; border-radius: var(--r-sm); color: var(--c-text); text-decoration: none; }
.lang-menu a:hover, .lang-menu a[aria-current="true"] { background: var(--c-accent-soft); color: var(--c-accent-dark); }
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  background: var(--c-white);
  color: var(--c-text);
}
.menu-toggle svg { width: 22px; height: 22px; }
.mobile-drawer { display: none; }
.nav-veil {
  position: fixed;
  inset: var(--nav-h) 0 0;
  z-index: var(--z-veil);
  background: var(--c-veil);
  color: var(--c-text);
  border: 0;
  width: 100%;
}

.site-footer { border-top: 1px solid var(--c-border); padding-top: 56px; padding-bottom: 28px; background: var(--c-bg); color: var(--c-text); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .75fr 1.2fr .7fr; gap: 40px; }
.footer-brand p { margin-top: 18px; max-width: 24em; color: var(--c-muted); font-size: 14px; }
.footer-heading { margin: 0 0 14px; font-size: 15px; font-weight: 700; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li + li { margin-top: 7px; }
.footer-links a { display: inline-block; padding-block: 3px; text-decoration: none; color: var(--c-muted); font-size: 14px; }
.footer-links a:hover, .footer-links a[aria-current="true"] { color: var(--c-accent-dark); }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--c-border); font-size: 13px; color: var(--c-muted); }

.panel { padding: 32px; border-radius: var(--r-2xl); background: var(--c-panel); color: var(--c-text); }
.card { padding: 28px; border: 1px solid var(--c-border); border-radius: var(--r-xl); background: var(--c-white); color: var(--c-text); box-shadow: var(--shadow-sheet); min-width: 0; }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.card-grid > * { min-width: 0; }
.reveal { opacity: 1; transform: none; }
html.reveal-enabled .reveal { opacity: 0; transform: translateY(14px); transition: opacity var(--reveal-duration) var(--ease), transform var(--reveal-duration) var(--ease); }
html.reveal-enabled .reveal.shown { opacity: 1; transform: none; }

.hero {
  display: grid;
  grid-template-columns: 43fr 57fr;
  min-height: max(700px, calc(100vh - var(--nav-h) - 52px));
  overflow-x: clip;
}
.hero-copy { align-self: center; padding: 24px 40px 32px var(--gutter); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 32px;
  padding: 6px 14px 6px 12px;
  max-width: 100%;
  border: 1px solid var(--c-border);
  border-radius: var(--r-pill);
  background: var(--c-white);
  color: var(--c-text);
  box-shadow: var(--shadow-xs);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: var(--r-circle); background: var(--c-accent); box-shadow: 0 0 0 3px var(--c-accent-soft); flex-shrink: 0; }
.hero h1 { margin: 22px 0 30px; font-size: clamp(34px, 3.2vw, 46px); line-height: 1.18; font-weight: 800; letter-spacing: -.02em; }
.h1-line { display: block; }
.h1-line--sub { margin-top: .04em; }
.hl-pill { display: inline-flex; align-items: center; gap: .24em; margin-right: .14em; padding: .02em .38em .05em .3em; border-radius: var(--r-pill); background: var(--c-accent-soft); color: var(--c-accent-dark); letter-spacing: -.02em; white-space: nowrap; }
.hl-dot { width: .3em; height: .3em; border-radius: var(--r-circle); background: var(--c-accent); flex-shrink: 0; }
.lede { margin: 26px 0 0; max-width: 32em; font-size: 16.5px; line-height: 1.75; color: var(--c-muted); }
.lede strong { color: var(--c-text); font-weight: 700; }
.proto { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 22px 0 0; padding: 0; }
.proto li { padding: 5px 11px; border: 1px solid var(--c-border); border-radius: var(--r-pill); background: var(--c-white); color: var(--c-text); font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; line-height: 1.4; }
.plat { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--c-border); }
.plat-label { font-size: 13px; font-weight: 500; color: var(--c-muted); }
.plat a { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-size: 14px; font-weight: 600; color: var(--c-text); }
.plat-ico { display: grid; place-items: center; width: 30px; height: 30px; flex-shrink: 0; border-radius: var(--r-circle); background: var(--c-panel); color: var(--c-text); border: 1px solid var(--c-border); }
.plat-ico svg { width: 14px; height: 14px; }
.plat a:hover { color: var(--c-accent-dark); }
.plat a:hover .plat-ico { background: var(--c-accent-soft); color: var(--c-accent-dark); border-color: var(--c-accent-soft-2); }
.hero-art {
  position: relative;
  margin: 8px 0 20px;
  border-radius: var(--r-2xl) 0 0 var(--r-2xl);
  background: var(--c-panel);
  color: var(--c-text);
  overflow: hidden;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.hero-art::before { content: ""; position: absolute; width: 460px; height: 460px; top: -190px; right: -150px; border-radius: var(--r-circle); background: var(--c-accent-softer); color: var(--c-text); box-shadow: 0 0 0 1px var(--c-accent-soft); z-index: -1; }
.hero-art::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, var(--c-dot) 1.1px, var(--c-clear) 1.7px); background-size: 24px 24px; -webkit-mask-image: linear-gradient(180deg, var(--c-ink) 0%, var(--c-clear) 78%); mask-image: linear-gradient(180deg, var(--c-ink) 0%, var(--c-clear) 78%); z-index: -2; }
.status-wrap { padding: 0 var(--gutter) 48px; }
.statusbar { display: flex; align-items: center; gap: 30px; min-height: 56px; padding: 16px 24px; border-radius: var(--r-status); background: var(--c-panel); color: var(--c-muted); font-family: var(--font-mono); font-size: 12.5px; white-space: nowrap; overflow-x: auto; }
.sb-item { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; }
.sb-mark { width: 6px; height: 6px; border-radius: var(--r-xs); background: var(--c-accent); flex-shrink: 0; }
.sb-k { color: var(--c-muted); }
.sb-v { color: var(--c-text); font-weight: 600; }

@media (max-width: 1280px) {
  .topbar { gap: 24px; }
  .nav-links { gap: 24px; }
}
@media (max-width: 1100px) {
  .desktop-nav { display: none; }
  .header-tools { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
  .mobile-drawer {
    display: block;
    position: absolute;
    left: var(--gutter);
    right: var(--gutter);
    top: var(--nav-h);
    max-height: calc(100dvh - var(--nav-h) - 16px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 16px;
    border: 1px solid var(--c-border);
    border-radius: var(--r-xl);
    background: var(--c-white);
    color: var(--c-text);
    box-shadow: var(--shadow-window);
    z-index: calc(var(--z-header) + 1);
  }
  .mobile-links { list-style: none; margin: 0; padding: 0; }
  .mobile-drawer a { display: flex; align-items: center; width: 100%; min-height: 44px; padding: 12px 16px; color: var(--c-text); text-decoration: none; border-radius: var(--r-sm); }
  .mobile-drawer a:hover, .mobile-drawer a[aria-current] { background: var(--c-accent-soft); color: var(--c-accent-dark); }
  .drawer-label { padding: 14px 16px 6px; margin-top: 12px; border-top: 1px solid var(--c-border); font-size: 13px; color: var(--c-muted); }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 40px var(--gutter) 36px; }
  .hero-art { margin: 0 var(--gutter) 28px; border-radius: var(--r-section); padding-top: 72px; padding-bottom: 72px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 768px) {
  h1, .hero h1 { font-size: clamp(24px, 5vw, 30px); }
  .card-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  :root { --gutter: 20px; --section-space: 56px; }
  .topbar { gap: 12px; }
  .brand { font-size: 16px; }
  .hero h1 { font-size: clamp(26px, 7vw, 30px); }
  .btn { min-height: 48px; padding: 11px 20px; font-size: 15px; }
  .lede { font-size: 15.5px; }
  .hero-art { margin: 0 12px 24px; padding-top: 48px; padding-bottom: 48px; }
  .panel, .card { padding: 22px; }
  .footer-grid { gap: 28px; }
}
@media (max-width: 640px) {
  .tilt, .is-tilt, .is-drag, .stage { transform: none !important; }
  .lang { min-height: 44px; padding: 10px 12px; }
  .lang-full { display: none; }
  .lang-short { display: inline; }
  .header-tools { margin-left: auto; gap: 6px; }
  .hero-copy { padding-top: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links a { padding-block: 8px; }
}
@media (max-width: 360px) {
  :root { --gutter: 16px; }
  .brand { font-size: 14px; gap: 6px; }
  .brand-mark { width: 24px; height: 24px; }
  .topbar { gap: 8px; }
  .lang { padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html.reveal-enabled .reveal { opacity: 1; transform: none; }
}