:root {
  color-scheme: light;
  --bg: #f3f3f3;
  --bg-panel: #ffffff;
  --bg-panel2: #dff0fa;
  --bg-header: #f8fbfd;
  --border: #e0e0e3;
  --accent: #4038a6;
  --accent-dark: #2c2680;
  --accent-soft: rgba(64, 56, 166, .15);
  --accent-tint: #e9e7f7;
  --text: #1f1f24;
  --text-muted: #5f6068;
  --success: #1f9e8f;
  --success-tint: #dff3ee;
  --warn: #e9822f;
  --warn-tint: #fcebdc;
  --error: #d64545;
  --ill-sky-top: #dff0fa;
  --ill-sky-bottom: #eef7fc;
  --ill-mtn-far: #d5eeea;
  --ill-mtn: #bfe6e1;
  --ill-slope: #8fd4c9;
  --ill-hill: #77c8bc;
  --ill-shrub: #2f9d90;
  --ill-rock: #5aa89e;
  --ill-stone: #f6fbfa;
  --ill-stream: #f7fcfd;
  --ill-stream-edge: #cdeee9;
  --ill-cloud: #ffffff;
  --font-display: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --font-body: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
  --radius-xs: 4px;
  --radius-sm: 10px;
  --radius-shot: 10px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --radius-circle: 50%;
  --gutter: 20px;
  --wrap: 1280px;
  --reading: 800px;
  --header-h: 72px;
  --hero-h: 828px;
  --text-xs: 13px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-lead: 18px;
  --title-size: clamp(34px, 3.4vw, 48px);
  --heading-size: clamp(25px, 2.4vw, 32px);
  --weight-normal: 400;
  --weight-medium: 500;
  --weight-strong: 600;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --time-fast: .2s;
  --time-reveal: .6s;
  --line: 1px;
  --focus-width: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 24px; }
html.nav-open { overflow: hidden; }
body {
  min-width: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-normal);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
[hidden] { display: none !important; }
img, svg { max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible {
  outline: var(--focus-width) solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
::selection { color: var(--text); background: var(--ill-mtn); }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: var(--weight-normal);
  text-wrap: balance;
  overflow-wrap: break-word;
  letter-spacing: -.02em;
}
h1 { font-size: var(--title-size); line-height: 1.12; color: var(--accent); }
h2 { font-size: var(--heading-size); line-height: 1.25; }
h3 { font-size: 22px; line-height: 1.35; }
strong { font-weight: var(--weight-strong); }
code, pre, kbd { font-family: var(--font-mono); }
code { overflow-wrap: anywhere; font-size: .9em; }
pre {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  padding: 20px;
  color: var(--text);
  background: var(--bg-panel);
  border: var(--line) solid var(--border);
  border-radius: var(--radius-sm);
  line-height: 1.7;
  overscroll-behavior-inline: contain;
}
pre code { white-space: pre; overflow-wrap: normal; word-break: normal; }
hr { border: 0; border-top: var(--line) solid var(--border); }
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.reading { max-width: var(--reading); margin-inline: auto; min-width: 0; }
.section { padding-top: 80px; padding-bottom: 80px; }
.section-head { max-width: 680px; margin-bottom: 32px; }
.section-head p { margin-top: 12px; color: var(--text-muted); }
.section-kicker { font-size: var(--text-xs); color: var(--text-muted); letter-spacing: .02em; }
.section-kicker + h2 { margin-top: 10px; }
.muted { color: var(--text-muted); }
.no-break { white-space: nowrap; }
.grid { display: grid; gap: 24px; }
.grid > *, .split > *, .footer-grid > * { min-width: 0; }
.grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stack > * + * { margin-top: 20px; }
.panel, .card {
  min-width: 0;
  color: var(--text);
  background: var(--bg-panel);
  border-radius: var(--radius-lg);
}
.panel { padding: 40px; }
.card { padding: 28px; border: var(--line) solid var(--border); }
.card h3 + p { margin-top: 12px; color: var(--text-muted); }
.card > a:last-child { display: inline-block; margin-top: 20px; }
.prose { min-width: 0; line-height: 1.85; }
.prose > * + * { margin-top: 20px; }
.prose h2 { margin-top: 52px; }
.prose h3 { margin-top: 32px; }
.prose ul, .prose ol { padding-left: 1.5em; }
.prose li + li { margin-top: 8px; }
.prose img { max-width: 100%; }
.prose :where(div, section, article, figure) { min-width: 0; max-width: 100%; }
[id] { scroll-margin-top: 24px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  z-index: 100;
  top: 8px;
  left: var(--gutter);
  padding: 12px 16px;
  opacity: 0;
  pointer-events: none;
  color: var(--bg-panel);
  background: var(--accent);
  border-radius: var(--radius-sm);
}
.skip-link:focus { opacity: 1; pointer-events: auto; }
.cta, .button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.cta { margin-top: 30px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  max-width: 100%;
  padding: 12px 26px;
  border: var(--line) solid var(--accent);
  border-radius: var(--radius-pill);
  color: var(--bg-panel);
  background: var(--accent);
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  line-height: 1.4;
  text-decoration: none;
  text-align: center;
  transition: background-color var(--time-fast), color var(--time-fast), border-color var(--time-fast);
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:hover, .btn.is-hover { color: var(--bg-panel); background: var(--accent-dark); border-color: var(--accent-dark); }
.btn:active, .btn.is-active { color: var(--bg-panel); background: var(--accent-dark); }
.btn-guide, .btn-secondary { color: var(--accent); background: var(--bg-panel); }
.btn-guide:hover, .btn-secondary:hover { color: var(--accent); background: var(--bg-panel2); border-color: var(--accent); }
.btn:disabled, .btn[aria-disabled="true"] {
  color: var(--text-muted);
  background: var(--bg);
  border-color: var(--border);
}
.btn[aria-disabled="true"] { pointer-events: none; }

.masthead { position: relative; z-index: 30; height: var(--header-h); color: var(--text); background: var(--bg-header); border-bottom: var(--line) solid var(--border); }
.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  height: 100%;
  max-width: min(100%, calc(1280px + var(--gutter) * 2));
  padding-inline: var(--gutter);
  margin-inline: auto;
}
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; color: var(--text); text-decoration: none; }
.brand-mark { display: block; width: 36px; height: 36px; flex-shrink: 0; border-radius: var(--radius-circle); border: var(--line) solid var(--border); background: var(--bg-panel); color: var(--text); }
.brand-name { font-size: 17px; font-weight: var(--weight-medium); letter-spacing: -.01em; }
.brand-sub { margin-left: 4px; font-size: var(--text-xs); font-weight: var(--weight-normal); color: var(--text-muted); }
.topnav { display: flex; align-items: center; min-width: 0; margin-left: auto; }
.topnav-list { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
.topnav-list li { display: flex; align-items: center; flex-shrink: 0; }
.topnav-list li + li::before { content: "·"; color: var(--text-muted); margin-inline: 13px; font-size: 15px; }
.topnav-list a { display: block; padding-top: 12px; padding-bottom: 12px; font-size: 14.5px; white-space: nowrap; color: var(--text); text-decoration: none; }
.topnav-list a:hover, .topnav-list a[aria-current="page"] { color: var(--accent); }
.topnav-list a[aria-current="page"] { font-weight: var(--weight-medium); }
.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: 7px;
  min-height: 34px;
  padding: 6px 13px;
  border: var(--line) solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--text);
  background: var(--bg-panel);
  font-size: 13.5px;
  white-space: nowrap;
}
.lang svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--text-muted); }
.lang-short { display: none; }
.language-menu {
  position: absolute;
  z-index: 3;
  top: calc(100% + 10px);
  right: 0;
  width: 190px;
  padding: 6px;
  list-style: none;
  color: var(--text);
  background: var(--bg-panel);
  border: var(--line) solid var(--border);
  border-radius: var(--radius-sm);
}
.language-menu a { display: flex; align-items: center; min-height: 44px; padding: 9px 12px; color: var(--text); text-decoration: none; border-radius: var(--radius-xs); }
.language-menu a:hover, .language-menu a[aria-current="true"] { color: var(--accent); background: var(--accent-tint); }
.menu-toggle { display: none; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border: var(--line) solid var(--border); border-radius: var(--radius-circle); color: var(--accent); background: var(--bg-panel); }
.menu-toggle svg { width: 22px; height: 22px; flex-shrink: 0; }
.mobile-drawer {
  position: absolute;
  z-index: 21;
  top: 100%;
  inset-inline: 0;
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px var(--gutter) 24px;
  color: var(--text);
  background: var(--bg-panel);
  border-bottom: var(--line) solid var(--border);
}
.mobile-drawer ul { list-style: none; }
.mobile-drawer a { display: flex; align-items: center; width: 100%; min-height: 44px; padding: 12px 16px; color: var(--text); text-decoration: none; border-bottom: var(--line) solid var(--border); }
.mobile-drawer a:hover, .mobile-drawer a[aria-current] { color: var(--accent); background: var(--accent-tint); }
.drawer-label { margin-top: 18px; padding: 8px 16px; font-size: var(--text-xs); color: var(--text-muted); }
.nav-veil { position: fixed; z-index: 20; inset: var(--header-h) 0 0; border: 0; background: var(--accent-soft); color: var(--text); }
.preview-mobile { display: none; }
.preview-mobile summary { list-style: none; cursor: pointer; }
.preview-mobile summary::-webkit-details-marker { display: none; }

.hero { position: relative; height: var(--hero-h); overflow: hidden; overflow-x: clip; color: var(--text); background: linear-gradient(180deg, var(--ill-sky-top), var(--ill-sky-bottom)); }
.hero-visual { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.scene { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; }
.hero-inner { position: relative; z-index: 1; padding-top: 86px; }
.hero-copy { max-width: 540px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; max-width: 100%; padding: 6px 14px 6px 11px; border-radius: var(--radius-pill); border: var(--line) solid var(--border); color: var(--text-muted); background: var(--bg-panel); font-size: var(--text-xs); }
.eyebrow-dot { width: 8px; height: 8px; flex-shrink: 0; border-radius: var(--radius-circle); background: var(--success); }
.title { margin-top: 22px; font-weight: var(--weight-normal); font-size: var(--title-size); line-height: 1.12; color: var(--accent); letter-spacing: -.02em; }
.k-line { display: block; }
.k-word { display: inline-block; animation: k-rise .6s var(--ease-out) both; }
.k-gap { margin-left: .24em; }
.k-d1 { animation-delay: .12s; }
.k-d2 { animation-delay: .24s; }
.k-d3 { animation-delay: .36s; }
.hl { position: relative; isolation: isolate; }
.hl::after { content: ""; position: absolute; left: -.04em; right: -.04em; bottom: .02em; height: .3em; border-radius: var(--radius-xs); background: var(--accent-soft); z-index: -1; transform-origin: left center; animation: hl-in .5s .62s var(--ease-out) both; }
.lede { max-width: 32em; margin-top: 28px; font-size: 16.5px; line-height: 1.72; color: var(--text); }
.lede strong { color: var(--accent-dark); }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; list-style: none; }
.chip, .badge { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; min-height: 30px; padding: 4px 12px; border: var(--line) solid var(--border); border-radius: var(--radius-pill); color: var(--text); background: var(--bg-panel); font-size: var(--text-xs); overflow-wrap: anywhere; }
.chip-mono { font-family: var(--font-mono); font-size: 12px; }
.chip-dot { width: 7px; height: 7px; flex-shrink: 0; border-radius: var(--radius-circle); }
.dot-accent { background: var(--accent); }
.dot-success { background: var(--success); }
.dot-warn { background: var(--warn); }
.devices { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 24px; padding-top: 18px; border-top: var(--line) solid var(--border); list-style: none; }
.device { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; color: var(--text-muted); font-size: var(--text-sm); text-decoration: none; }
.device svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--accent); }
.store-pill { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 3px 12px; border: var(--line) solid var(--accent); border-radius: var(--radius-pill); color: var(--accent); background: var(--bg-panel); font-size: var(--text-xs); font-weight: var(--weight-medium); text-decoration: none; }
.capabilities { padding-top: 56px; padding-bottom: 96px; background: var(--bg); color: var(--text); }
.cap-head { max-width: 640px; }
.cap-title { margin-top: 10px; font-size: 30px; line-height: 1.2; }
.cap-text { margin-top: 12px; font-size: var(--text-base); line-height: 1.7; color: var(--text-muted); }

.site-footer { padding-top: 64px; padding-bottom: 28px; color: var(--text); background: var(--bg-panel); border-top: var(--line) solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.5fr; gap: 48px; }
.footer-brand p { margin-top: 18px; max-width: 32em; color: var(--text-muted); font-size: var(--text-sm); }
.footer-title { margin-bottom: 14px; font-size: var(--text-base); font-weight: var(--weight-medium); }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; }
.footer-links a { display: inline-flex; align-items: center; min-height: 36px; color: var(--text-muted); font-size: var(--text-sm); text-decoration: none; }
.footer-links a:hover { color: var(--accent); text-decoration: underline; }
.footer-languages { margin-top: 36px; padding-top: 20px; border-top: var(--line) solid var(--border); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 20px; color: var(--text-muted); font-size: var(--text-xs); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-legal a { color: var(--text-muted); }
.reveal { opacity: 1; }
.reveal.reveal-pending { opacity: 0; transform: translateY(16px); }
.reveal.shown { opacity: 1; transform: none; transition: opacity var(--time-reveal) var(--ease-out), transform var(--time-reveal) var(--ease-out); }

@keyframes k-rise { from { opacity: 0; transform: translateY(.42em); } to { opacity: 1; transform: none; } }
@keyframes hl-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 1279px) {
  .topnav { display: none; }
  .header-tools { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
  .preview-mobile { display: block; }
}
@media (min-width: 1280px) {
  .mobile-drawer, .nav-veil { display: none !important; }
}
@media (max-width: 960px) {
  .hero { height: auto; padding-bottom: 420px; }
  .hero-visual { top: auto; bottom: 0; height: 540px; }
  .scene { left: auto; right: 0; width: 100%; }
  .hero-inner { padding-top: 48px; }
  .hero-copy { max-width: 600px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  :root { --title-size: clamp(24px, 5vw, 30px); }
  h1, .title { font-size: var(--title-size); }
  .grid-three { grid-template-columns: 1fr; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .panel { padding: 28px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .grid-two { grid-template-columns: 1fr; }
  .header-inner { gap: 10px; }
  .brand { gap: 8px; }
  .brand-name { font-size: 14px; }
  .brand-sub { display: none; }
  .brand-mark { width: 32px; height: 32px; }
  .header-tools { margin-left: auto; gap: 6px; }
  .lang { min-height: 44px; padding-inline: 10px; }
  .lang-full, .lang svg { display: none; }
  .lang-short { display: inline; }
  .hero-inner { padding-top: 36px; }
  .hero { padding-bottom: 340px; }
  .hero-visual { height: 360px; }
  .hero-visual .scene { width: 100%; }
  .lede { font-size: 15.5px; }
  .cta { gap: 10px; margin-top: 24px; }
  .btn { padding-inline: 20px; font-size: 15px; }
  .devices { gap: 8px 16px; }
  .device { font-size: var(--text-xs); }
  .panel, .card { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .tilt, [data-tilt] { transform: none !important; }
  .cap-title { font-size: 25px; }
}
@media (max-width: 359px) {
  .brand-name { font-size: 12px; }
  .brand { gap: 6px; }
  .brand-mark { width: 28px; height: 28px; }
  .header-inner { gap: 6px; }
  .header-tools { gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal.reveal-pending { opacity: 1; transform: none; }
  .k-word, .hl::after { opacity: 1; transform: none; }
}