:root {
  --bg: #ffffff;
  --bg-panel: #f7f7f9;
  --bg-panel-2: #f0f0f3;
  --border: #e7e7ec;
  --border-soft: #efeff3;
  --grid-line: #ededf1;
  --accent: #b42fd6;
  --accent-dark: #8a1fab;
  --accent-from: #c454e6;
  --accent-tint: #f6e9fb;
  --accent-wash: rgba(180, 47, 214, 0.07);
  --accent-line: rgba(180, 47, 214, 0.6);
  --accent-ring: rgba(180, 47, 214, 0.16);
  --text: #18171c;
  --text-muted: #6b6a75;
  --text-faint: #a3a2ad;
  --success: #1f9d6a;
  --success-text: #176c49;
  --success-tint: #e5f4ed;
  --warn: #c4850e;
  --warn-text: #795108;
  --warn-tint: #fcf4e4;
  --error: #d63a3a;
  --error-text: #ab2626;
  --error-tint: #fbe9e9;
  --ink: #18171c;
  --ink-hover: #2d2b33;
  --on-ink: #ffffff;
  --mask-solid: #000000;
  --transparent: transparent;
  --veil: rgba(24, 23, 28, 0.24);

  --font-display: "Inter", "Noto Sans SC", "Noto Sans JP", "Noto Sans KR", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans", "Apple SD Gothic Neo", sans-serif;
  --font-body: "Inter", "Noto Sans SC", "Noto Sans JP", "Noto Sans KR", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans", "Apple SD Gothic Neo", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --r-card: 20px;
  --r-float: 16px;
  --r-btn: 12px;
  --r-sm: 8px;
  --r-pill: 999px;
  --r-icon: 9px;
  --r-store-icon: 13px;
  --r-shot: 10px;
  --r-line: 2px;
  --r-circle: 50%;

  --shadow-card: 0 1px 2px rgba(24, 23, 28, 0.04), 0 24px 48px -24px rgba(24, 23, 28, 0.12);
  --shadow-float: 0 2px 6px rgba(24, 23, 28, 0.05), 0 20px 44px -18px rgba(24, 23, 28, 0.2);
  --shadow-btn: 0 1px 2px rgba(24, 23, 28, 0.18), 0 10px 22px -12px rgba(24, 23, 28, 0.45);
  --shadow-small: 0 1px 2px rgba(24, 23, 28, 0.04);
  --nav-h: 68px;
  --wrap: 1200px;
  --header-wrap: 1280px;
  --reading: 800px;
  --gutter: 40px;
  --row-h: 52px;
  --section-space: 160px;
  --motion-fast: 200ms;
  --motion-tab: 250ms;
  --motion-reveal: 600ms;
  --scan-period: 6s;
  --title-tracking: -0.02em;
  --latin-tracking: -0.035em;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
html, body { margin: 0; padding: 0; }
html.nav-open { overflow: hidden; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
main, section, article, aside, nav, header, footer, div { min-width: 0; }
img { max-width: 100%; }
svg { flex-shrink: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button, a { -webkit-tap-highlight-color: var(--accent-ring); }
button { color: var(--text); }
button:disabled { cursor: not-allowed; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 4px; }
::selection { background: var(--accent-tint); color: var(--text); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.2;
  text-wrap: balance;
  overflow-wrap: break-word;
}
h1, .h1 {
  font-size: clamp(34px, 3.4vw, 48px);
  font-weight: 800;
  letter-spacing: var(--title-tracking);
  line-height: 1.12;
}
h2 { font-size: clamp(25px, 2.6vw, 36px); font-weight: 800; letter-spacing: var(--title-tracking); }
h3 { font-size: 22px; font-weight: 750; letter-spacing: var(--title-tracking); }
p { margin-top: 0; }
strong { font-weight: 650; }
code, pre, kbd { font-family: var(--font-mono); }
code { overflow-wrap: anywhere; }
pre {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--r-btn);
  background: var(--bg-panel);
  color: var(--text);
  font-size: 13px;
  line-height: 1.8;
  overscroll-behavior-inline: contain;
}
pre code { white-space: pre; overflow-wrap: normal; word-break: normal; }
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.reading { max-width: calc(var(--reading) + var(--gutter) * 2); }
.section { padding-top: var(--section-space); padding-bottom: var(--section-space); }
.section--panel { background: var(--bg-panel); color: var(--text); }
.section__head { max-width: 720px; margin-bottom: 48px; }
.section__head h2 { margin-top: 12px; margin-bottom: 20px; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.muted { color: var(--text-muted); }
.nowrap { white-space: nowrap; }
.text-link { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 4px; }
.grid-two, .grid-three { display: grid; gap: 24px; }
.grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-two > *, .grid-three > * { min-width: 0; }
.prose, .article-body { min-width: 0; overflow-wrap: break-word; }
.prose h2, .article-body h2 { margin-top: 64px; margin-bottom: 24px; }
.prose h3, .article-body h3 { margin-top: 36px; margin-bottom: 18px; }
.prose p, .article-body p { line-height: 1.9; margin-bottom: 24px; }
.prose a:not(.btn):not(.app-store), .article-body a:not(.btn):not(.app-store) {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.prose li, .article-body li { margin-bottom: 12px; }
.prose :not(pre) > code, .article-body :not(pre) > code {
  background: var(--bg-panel);
  color: var(--text);
  border-radius: var(--r-line);
  padding: 2px 4px;
  font-size: 0.9em;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  max-width: 100%;
  padding: 12px 22px;
  border: 1px solid var(--transparent);
  border-radius: var(--r-btn);
  font-size: 15.5px;
  font-weight: 650;
  line-height: 1.5;
  text-align: center;
  background: var(--bg);
  color: var(--text);
  transition: background var(--motion-fast) ease, border-color var(--motion-fast) ease, transform var(--motion-fast) ease;
}
.btn svg { width: 18px; height: 18px; }
.btn--ink { background: var(--ink); color: var(--on-ink); box-shadow: var(--shadow-btn); }
.btn--ink:hover, .btn--ink.is-hover { background: var(--ink-hover); color: var(--on-ink); transform: translateY(-1px); }
.btn--line { background: var(--bg); color: var(--text); border-color: var(--border); }
.btn--line:hover, .btn--line.is-hover { border-color: var(--text-muted); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--bg-panel-2); color: var(--text-muted); box-shadow: none; transform: none; }
.btn.is-focus { outline: 2px solid var(--accent-dark); outline-offset: 4px; }
.cta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.card, .panel {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  padding: 28px;
}
.card h3, .panel h3 { margin-top: 0; }
.card p:last-child, .panel p:last-child { margin-bottom: 0; }
.panel--soft { background: var(--bg-panel); color: var(--text); }

.topbar, #site-header {
  position: relative;
  z-index: 40;
  background: var(--bg);
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.topbar__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: var(--nav-h);
  width: 100%;
  max-width: min(100%, calc(var(--header-wrap) + var(--gutter) * 2));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 750;
  font-size: 15.5px;
  letter-spacing: -0.01em;
}
.brand__mark {
  display: block;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: var(--r-icon);
}
.brand__mark--placeholder {
  border: 1px solid var(--border);
  background: var(--bg-panel-2);
  color: var(--text);
  box-shadow: inset 0 0 0 4px var(--bg);
}
.desktop-nav { min-width: 0; height: 100%; }
.tabs {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
  height: 100%;
}
.tabs li { display: flex; align-self: stretch; }
.tab {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color var(--motion-fast) ease;
}
.tab:hover { color: var(--text); }
.tab::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -1px;
  height: 2px;
  border-radius: var(--r-line);
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--motion-tab) ease;
}
.tab[aria-current="page"] { color: var(--text); font-weight: 650; }
.tab[aria-current="page"]::after { transform: scaleX(1); }
.header-tools { margin-left: auto; 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: 7px;
  min-height: 36px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--bg);
  color: var(--text);
  font-size: 13.5px;
  white-space: nowrap;
}
.lang svg { width: 15px; height: 15px; color: var(--text-muted); }
.lang__caret { color: var(--text-muted); font-size: 11px; }
.lang__short { display: none; }
.language-menu {
  position: absolute;
  z-index: 55;
  right: 0;
  top: calc(100% + 12px);
  width: 200px;
  margin: 0;
  padding: 8px;
  list-style: none;
  border: 1px solid var(--border);
  border-radius: var(--r-float);
  box-shadow: var(--shadow-float);
  background: var(--bg);
  color: var(--text);
}
.language-menu a { display: flex; align-items: center; min-height: 44px; padding: 10px 12px; border-radius: var(--r-sm); }
.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(--border);
  border-radius: var(--r-btn);
  background: var(--bg);
  color: var(--text);
}
.menu-toggle svg { width: 22px; height: 22px; }
.mobile-drawer {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 52;
  padding: 20px var(--gutter) 28px;
  max-height: calc(100dvh - var(--nav-h));
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--bg);
  color: var(--text);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.mobile-drawer ul { list-style: none; margin: 0; padding: 0; }
.mobile-drawer a {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
}
.mobile-drawer a[aria-current] { background: var(--bg-panel); color: var(--text); }
.mobile-drawer a:hover { background: var(--accent-tint); color: var(--accent-dark); }
.mobile-drawer__languages { margin-top: 20px; border-top: 1px solid var(--border); padding-top: 16px; }
.nav-veil {
  position: fixed;
  inset: var(--nav-h) 0 0;
  z-index: 41;
  border: 0;
  padding: 0;
  background: var(--veil);
  color: var(--text);
}
.skip-link {
  position: absolute;
  top: 8px;
  left: var(--gutter);
  z-index: 80;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--on-ink);
  border-radius: var(--r-sm);
}
.skip-link:not(:focus) {
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding-top: 72px;
  padding-bottom: 32px;
  background: var(--bg);
  color: var(--text);
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 64px; }
.footer-brand p { margin-top: 20px; max-width: 380px; color: var(--text-muted); font-size: 14px; line-height: 1.9; }
.footer-heading { margin-top: 0; margin-bottom: 20px; font-size: 14px; font-weight: 650; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links a { display: inline-block; padding-top: 6px; padding-bottom: 6px; color: var(--text-muted); font-size: 14px; }
.footer-links a:hover { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 4px; }
.footer-languages { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 48px; }
.footer-languages a { padding-top: 8px; padding-bottom: 8px; font-size: 13px; color: var(--text-muted); }
.footer-languages a[aria-current] { color: var(--text); font-weight: 650; }
.footer-bottom {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-top: 24px;
  color: var(--text-muted);
  font-size: 12px;
}
.footer-bottom p { margin-bottom: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 20px; }
.reveal { opacity: 1; transform: none; }
.reveal-ready .reveal:not(.shown) { opacity: 0; transform: translateY(18px); }
.reveal-ready .reveal { transition: opacity var(--motion-reveal) ease, transform var(--motion-reveal) ease; }
.decorated, .hero, .pipeline { overflow-x: clip; }

@media (max-width: 1360px) {
  .topbar__inner { gap: 20px; }
  .tab { padding-inline: 10px; font-size: 14px; }
  .tab::after { left: 10px; right: 10px; }
}
@media (max-width: 1279px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-tools { margin-left: auto; }
}
@media (min-width: 1280px) {
  .mobile-drawer, .nav-veil { display: none !important; }
  html.nav-open { overflow: auto; }
}
@media (max-width: 768px) {
  :root { --gutter: 24px; --section-space: 96px; }
  h1, .h1 { font-size: clamp(24px, 7vw, 30px); }
  .grid-two, .grid-three { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .wrap { padding-inline: var(--gutter); }
  .topbar__inner { padding-inline: var(--gutter); gap: 8px; }
  .brand { gap: 7px; font-size: 13px; }
  .header-tools { margin-left: auto; gap: 6px; }
  .lang { padding-inline: 10px; min-height: 44px; }
  .lang__full { display: none; }
  .lang__short { display: inline; }
  .lang svg { display: none; }
  .card, .panel { padding: 22px; }
  .tilt, [data-tilt] { transform: none !important; }
}
@media (max-width: 359px) {
  :root { --gutter: 16px; }
  .brand { font-size: 12px; gap: 6px; }
  .brand__mark { width: 26px; height: 26px; }
  .header-tools { gap: 4px; }
  .lang { padding-inline: 8px; }
}
@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; }
}