:root {
  --bg: #ffffff;
  --panel: #f1fbe8;
  --panel-2: #f4effd;
  --line: #e6e6e6;
  --dot: #d8d8d8;
  --accent: #f2305c;
  --accent-dark: #c41c45;
  --ink: #121212;
  --ink-raise: #2a2a2a;
  --muted: #6b6b6b;
  --white: var(--bg);
  --cobalt: #2f5cff;
  --lime: #d4f24a;
  --lilac: #b89cf5;
  --mint: #3fcf9a;
  --success: #1f9e6a;
  --warn: #c98200;
  --error: #c62a1f;
  --ink-band: #24181d;
  --ink-band-text: var(--white);
  --ink-band-muted: #e3d7dc;
  --ink-band-accent: #ff9db4;
  --clear: transparent;
  --tint-top: color-mix(in srgb, var(--accent) 4%, var(--bg));
  --glow-accent: color-mix(in srgb, var(--accent) 9%, var(--clear));
  --glow-cool: color-mix(in srgb, var(--lilac) 13%, var(--clear));
  --glow-warm: color-mix(in srgb, var(--lime) 16%, var(--clear));
  --veil: color-mix(in srgb, var(--bg) 74%, var(--clear));
  --sheen: color-mix(in srgb, var(--white) 14%, var(--clear));
  --ink-shadow: color-mix(in srgb, var(--ink) 42%, var(--clear));
  --scrim: color-mix(in srgb, var(--ink) 34%, var(--clear));
  --color-primary: var(--accent-dark);
  --color-accent: var(--accent);
  --color-text: var(--ink);
  --color-bg: var(--bg);

  --font-display: "Inter", "Noto Sans SC", "PingFang SC", "Hiragino Sans", "Apple SD Gothic Neo", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Inter", "Noto Sans SC", "PingFang SC", "Hiragino Sans", "Apple SD Gothic Neo", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --fs-body: 16px;
  --fs-small: 14px;
  --fs-meta: 13px;
  --fs-mono: 12px;
  --fs-nav: 15px;
  --fs-lede: 17px;
  --fs-h1: clamp(36px, 3.4vw, 48px);
  --fs-h1-phone: clamp(26px, 7vw, 30px);
  --fs-h2: clamp(26px, 3.2vw, 40px);
  --fs-h3: clamp(19px, 2vw, 24px);
  --weight-text: 400;
  --weight-label: 500;
  --weight-poster: 600;
  --track-tight: -0.025em;
  --track-heading: -0.02em;
  --track-label: -0.01em;
  --track-index: 0.02em;
  --lh-body: 1.6;
  --lh-heading: 1.16;

  --r-panel: 32px;
  --r-card: 20px;
  --r-note: 16px;
  --r-btn: 12px;
  --r-shot: 8px;
  --r-poster-screen: 20px;
  --r-tile: 8px;
  --r-tag: 6px;
  --r-paper: 4px;
  --r-pill: 999px;
  --hairline: 1px;
  --stroke-icon: 1.5;
  --gutter: clamp(20px, 3vw, 48px);
  --body-width: 1120px;
  --reading-width: 74ch;
  --header-h: 72px;
  --header-mobile: 64px;
  --section-gap: 144px;
  --section-pad: clamp(40px, 6vw, 80px);
  --card-pad: clamp(18px, 3vw, 32px);
  --gap: 20px;
  --touch: 44px;
  --button-h: 52px;
  --button-h-small: 48px;
  --fab-size: 52px;
  --ease-soft: cubic-bezier(.45, 0, .55, 1);
  --time-quick: .2s;
  --time-reveal: .42s;
  --time-drift: 9s;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
html.nav-open { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: var(--weight-text) var(--fs-body)/var(--lh-body) var(--font-body);
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: .23em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; max-width: 100%; }
img { max-width: 100%; height: auto; }
svg, .icon, .status-dot, .eyebrow__dot { flex-shrink: 0; }
.stroke-icon { fill: none; stroke: currentColor; stroke-width: var(--stroke-icon); stroke-linecap: round; stroke-linejoin: round; }

h1, h2, h3 {
  margin: 0 0 .55em;
  font-family: var(--font-display);
  font-weight: var(--weight-text);
  line-height: var(--lh-heading);
  letter-spacing: var(--track-heading);
  overflow-wrap: break-word;
}
h1 { font-size: var(--fs-h1); text-wrap: pretty; }
h2 { font-size: var(--fs-h2); text-wrap: balance; }
h3 { font-size: var(--fs-h3); text-wrap: balance; }
:lang(ja):is(h1, h2, h3, .summary, .intro) { word-break: auto-phrase; }
:lang(ko):is(h1, h2) { word-break: keep-all; }
p { margin: 0 0 1em; }
small, .meta { font-size: var(--fs-small); }
.meta, .muted, .intro { color: var(--local-muted, var(--muted)); }
.nowrap { white-space: nowrap; }
code, pre, kbd, samp { font-family: var(--font-mono); }
code { overflow-wrap: anywhere; }
pre {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  padding: 16px;
  border-radius: var(--r-btn);
  background: var(--panel-2);
  color: var(--ink);
}
pre code { overflow-wrap: normal; white-space: pre; }

.wrap { width: 100%; max-width: calc(var(--body-width) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); min-width: 0; }
.reading { max-width: var(--reading-width); min-width: 0; }
.prose :is(h2, h3):not(:first-child) { margin-top: 1.45em; }
.prose > :last-child, .card > :last-child, .panel > :last-child { margin-bottom: 0; }
.section-stack { display: grid; gap: var(--section-gap); }
.section-stack > *, .grid > *, .split > *, .actions > *, .get-actions > * { min-width: 0; }
.section-pad { padding-top: var(--section-pad); padding-bottom: var(--section-pad); }
.decor-clip { position: relative; overflow-x: clip; }
.grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.card, .panel { min-width: 0; padding: var(--card-pad); color: var(--ink); background: var(--bg); }
.card { border: var(--hairline) solid var(--line); border-radius: var(--r-card); }
.panel, .sec--tint, .sec--ink, .sec--plain { border-radius: var(--r-panel); }
.panel { background: var(--panel); }
.panel--lilac { background: var(--panel-2); color: var(--ink); }
.sec--plain { background: var(--bg); color: var(--ink); }
.sec--tint { background: var(--tint-top); color: var(--ink); }
.sec--ink { --local-muted: var(--ink-band-muted); background: var(--ink-band); color: var(--ink-band-text); }
.sec--ink a { text-decoration-color: var(--ink-band-accent); }
.sec--ink .band-link { color: var(--ink-band-accent); }
.sec--ink :focus-visible { outline-color: var(--ink-band-accent); }
.sec--ink :is(.card, .panel) { --local-muted: var(--muted); }

.actions, .get-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: var(--button-h);
  max-width: 100%;
  padding: 0 24px;
  border: var(--hairline) solid var(--clear);
  border-radius: var(--r-btn);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--weight-label);
  letter-spacing: var(--track-label);
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--time-quick) ease, background-color var(--time-quick) ease;
}
.btn svg { width: 18px; height: 18px; }
.btn:not(:disabled, [aria-disabled="true"]):hover { transform: translateY(-1px); }
.btn:not(:disabled, [aria-disabled="true"]):active, .btn.is-pressed { transform: translateY(1px); }
.btn--solid { background: var(--ink); color: var(--white); }
.btn--solid:not(:disabled):hover, .btn--solid.is-hover { background: var(--ink-raise); color: var(--white); }
.btn--line { background: var(--bg); color: var(--ink); border-color: var(--ink); }
.btn--line:not(:disabled):hover, .btn--line.is-hover { background: var(--tint-top); color: var(--ink); }
.btn:is(:disabled, [aria-disabled="true"]) { background: var(--line); color: var(--ink); border-color: var(--line); cursor: not-allowed; }
.btn.is-focus { outline: 2px solid var(--color-primary); outline-offset: 3px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.reveal { opacity: 1; }
.reveal.waiting:not(.shown, :focus-within) { opacity: 0; transform: translateY(12px); }
.reveal.waiting { transition: opacity var(--time-reveal) ease, transform var(--time-reveal) ease; }

.masthead { position: relative; z-index: 10; background: var(--bg); color: var(--ink); border-bottom: var(--hairline) solid var(--line); }
.masthead__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2.2vw, 28px);
  min-height: calc(var(--header-h) - var(--hairline));
  max-width: min(100%, calc(1280px + var(--gutter) * 2));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.brandmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  color: var(--ink);
  font-weight: var(--weight-label);
  letter-spacing: var(--track-label);
  text-decoration: none;
}
.brandmark__tile {
  position: relative;
  display: block;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: var(--r-tile);
}
.brandmark__name { line-height: 1.25; }
.dotnav { min-width: 0; margin-inline-start: auto; }
.dotnav ul { display: flex; align-items: center; gap: 0; list-style: none; margin: 0; padding: 0; }
.dotnav li { display: flex; align-items: center; white-space: nowrap; }
.dotnav li + li::before { content: "·"; margin-inline: clamp(6px, .8vw, 12px); color: var(--muted); }
.dotnav a { padding: 6px 1px; color: var(--muted); font-size: var(--fs-nav); text-decoration: none; }
.dotnav a:hover, .dotnav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}
.tools { position: relative; display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.langpick, .nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 14px;
  border: var(--hairline) solid var(--line);
  border-radius: var(--r-pill);
  background: var(--bg);
  color: var(--ink);
  font-size: var(--fs-small);
  cursor: pointer;
}
.langpick { min-height: 34px; white-space: nowrap; }
.langpick svg { width: 15px; height: 15px; }
.langpick__short, .nav-toggle, .drawer, .nav-shade { display: none; }
.nav-toggle { min-width: var(--touch); min-height: var(--touch); padding: 0; }
.nav-toggle svg { width: 22px; height: 22px; }
.lang-menu {
  position: absolute;
  z-index: 3;
  inset: calc(100% + 8px) 0 auto auto;
  min-width: min(10rem, calc(100vw - var(--gutter) * 2));
  padding: 6px;
  border: var(--hairline) solid var(--line);
  border-radius: var(--r-note);
  background: var(--bg);
  color: var(--ink);
}
.lang-menu a, .drawer a {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: var(--touch);
  padding: 8px 12px;
  text-decoration: none;
}
.lang-menu a:hover, .drawer a:hover { text-decoration: underline; }
:is(.lang-menu, .drawer) a[aria-current="page"] {
  background: var(--tint-top);
  color: var(--ink);
  border-radius: var(--r-btn);
  text-decoration: underline 2px var(--accent);
}

.sitefoot {
  margin-top: var(--section-gap);
  padding-top: 48px;
  padding-bottom: 32px;
  border-top: var(--hairline) solid var(--line);
  background: var(--bg);
  color: var(--ink);
}
.sitefoot__grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .8fr) minmax(0, 1.2fr) minmax(0, .65fr); gap: 24px; }
.sitefoot__grid > * { min-width: 0; }
.sitefoot h2 { font-size: var(--fs-body); font-weight: var(--weight-label); }
.sitefoot p { margin-top: 12px; font-size: var(--fs-small); }
.sitefoot ul { list-style: none; padding: 0; margin: 0; }
.sitefoot nav a { display: inline-block; padding-block: 4px; text-decoration: none; }
.sitefoot nav a:hover, .sitefoot nav a[aria-current="page"] { text-decoration: underline; }
.sitefoot__end { display: block; margin-top: 28px; padding-top: 18px; border-top: var(--hairline) solid var(--line); color: var(--muted); }

@media (max-width: 1199px) {
  .masthead--live .dotnav { display: none; }
  .masthead--live .masthead__inner { min-height: var(--header-mobile); }
  .masthead--live .tools { margin-inline-start: auto; }
  .masthead--live .nav-toggle { display: inline-flex; }
  .drawer {
    position: absolute;
    z-index: 2;
    inset: 100% 0 auto;
    display: block;
    max-height: calc(100dvh - var(--header-mobile));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 10px var(--gutter) 18px;
    border-block: var(--hairline) solid var(--line);
    background: var(--bg);
    color: var(--ink);
  }
  .drawer ul { list-style: none; margin: 0; padding: 0; }
  .drawer__label { margin: 12px 12px 4px; color: var(--muted); font-size: var(--fs-meta); }
  .nav-shade { position: fixed; inset: 0; display: block; background: var(--scrim); color: var(--ink); }
}
@media (max-width: 860px) {
  .sitefoot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  h1 { font-size: var(--fs-h1-phone); }
}
@media (max-width: 640px) {
  :root { --section-gap: 80px; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .tilt, [class*="tilt-"], [class*="--tilt"] { transform: none !important; }
  .masthead--live .masthead__inner { gap: 4px; padding-inline: 16px; }
  .masthead--live .brandmark__name {
    max-width: min(16.5rem, calc(100vw - 164px));
    text-wrap: balance;
  }
  .masthead--live .brandmark { gap: 6px; font-size: var(--fs-small); }
  .masthead--live .langpick { min-height: var(--touch); padding-inline: 8px; }
  .masthead--live .langpick__long { display: none; }
  .masthead--live .langpick__short { display: inline; }
  .btn { min-height: var(--button-h-small); padding-inline: 20px; font-size: var(--fs-nav); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal.waiting, .btn { transition: none; }
  .reveal.waiting:not(.shown) { opacity: 1; transform: none; }
}