/* ==========================================================================
   blank — official site
   White, hairline borders, one blue accent. No build step.
   ========================================================================== */

@font-face {
  font-family: "Noto Sans KR";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("media/fonts/noto-sans-kr-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Noto Sans KR";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("media/fonts/noto-sans-kr-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Noto Sans KR";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("media/fonts/noto-sans-kr-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Noto Sans KR";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("media/fonts/noto-sans-kr-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Noto Sans KR";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("media/fonts/noto-sans-kr-korean-400.woff2") format("woff2");
  unicode-range: U+1100-11FF, U+3000-303F, U+3130-318F, U+A960-A97F, U+AC00-D7A3, U+D7B0-D7FF, U+FE10-FE1F, U+FF00-FFEF;
}
@font-face {
  font-family: "Noto Sans KR";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("media/fonts/noto-sans-kr-korean-500.woff2") format("woff2");
  unicode-range: U+1100-11FF, U+3000-303F, U+3130-318F, U+A960-A97F, U+AC00-D7A3, U+D7B0-D7FF, U+FE10-FE1F, U+FF00-FFEF;
}
@font-face {
  font-family: "Noto Sans KR";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("media/fonts/noto-sans-kr-korean-600.woff2") format("woff2");
  unicode-range: U+1100-11FF, U+3000-303F, U+3130-318F, U+A960-A97F, U+AC00-D7A3, U+D7B0-D7FF, U+FE10-FE1F, U+FF00-FFEF;
}
@font-face {
  font-family: "Noto Sans KR";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("media/fonts/noto-sans-kr-korean-700.woff2") format("woff2");
  unicode-range: U+1100-11FF, U+3000-303F, U+3130-318F, U+A960-A97F, U+AC00-D7A3, U+D7B0-D7FF, U+FE10-FE1F, U+FF00-FFEF;
}

:root {
  color-scheme: light;
  --sans: "Noto Sans KR", "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Code", "SF Mono", "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  --bg: #ffffff;
  --surface: #f8fafc;
  --line: #e6eaf0;
  --line-soft: #eef2f7;
  --line-strong: #d6dde7;

  --ink: #0c1421;
  --secondary: #46536a;
  --tertiary: #68758a;
  --faint: #98a3b4;

  --accent: #2f6bff;
  --accent-hover: #1e57e8;
  --accent-soft: #eef4ff;
  --accent-line: #d8e3ff;
  --green: #119c68;
  --amber: #b7791f;

  --shell: 1140px;
  --radius: 14px;
  --shadow: 0 30px 70px -36px rgba(14, 34, 74, 0.28), 0 2px 8px rgba(14, 34, 74, 0.04);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  word-break: keep-all;
  font-synthesis: none;
}
html[data-lang="ja"] body,
html[data-lang="zh"] body { word-break: normal; }

h1, h2, h3, p, figure, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
::selection { background: rgba(47, 107, 255, 0.16); }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 5px;
}

code {
  font-family: var(--mono);
  font-size: 0.92em;
  letter-spacing: -0.01em;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 28px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus-visible { top: 12px; }

/* ------------------------------------------------------------------ header */

.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--line-soft);
}

.head-inner {
  display: flex;
  align-items: center;
  gap: 34px;
  height: 66px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--ink);
  flex-shrink: 0;
}
.wordmark img { width: 26px; height: 26px; border-radius: 7px; }

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav a {
  font-size: 13px;
  color: var(--secondary);
  transition: color 0.18s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a span { color: var(--faint); margin-left: 1px; font-size: 11px; }

.head-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-picker { position: relative; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--secondary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease), background 0.18s var(--ease);
}
.lang-btn:hover { color: var(--ink); border-color: var(--line-strong); }
.lang-btn svg { width: 15px; height: 15px; color: var(--tertiary); flex: 0 0 auto; }
.lang-btn .lang-chev { width: 10px; height: 10px; color: var(--faint); }
.lang-btn[aria-expanded="true"] { color: var(--ink); border-color: var(--accent-line); background: var(--accent-soft); }
.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 60;
  min-width: 136px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 40px -20px rgba(14, 34, 74, 0.28);
}
.lang-menu button {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 7px 9px;
  border-radius: 6px;
  color: var(--secondary);
  font-size: 12px;
  text-align: left;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.lang-menu button:hover { color: var(--ink); background: var(--surface); }
.lang-menu button[aria-selected="true"] { color: var(--accent); font-weight: 600; background: var(--accent-soft); }

.menu-btn {
  display: none;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  place-items: center;
  color: var(--ink);
}
.menu-btn span {
  display: block;
  width: 14px;
  height: 1.5px;
  margin: 2.5px 0;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s var(--ease);
}
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  flex-direction: column;
  padding: 10px 28px 18px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 22px 40px -28px rgba(14, 34, 74, 0.3);
}
.mobile-nav a {
  padding: 10px 2px;
  font-size: 14px;
  color: var(--secondary);
  border-bottom: 1px solid var(--line-soft);
}
.mobile-nav a:last-child { border-bottom: 0; }

/* ----------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease), transform 0.18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline { background: #fff; border-color: var(--line-strong); color: var(--ink); }
.btn-outline:hover { border-color: var(--accent-line); color: var(--accent); background: var(--accent-soft); }
.btn-sm { height: 32px; padding: 0 13px; font-size: 12.5px; border-radius: 8px; }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--secondary); }
.btn-ghost:hover { border-color: var(--accent-line); color: var(--accent); background: var(--accent-soft); }
.is-disabled { opacity: 0.5; pointer-events: none; }

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-width: 238px;
  height: 60px;
  padding: 0 14px 0 20px;
  border-radius: 11px;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 30px -16px rgba(47, 107, 255, 0.65);
  transition: background 0.18s var(--ease), box-shadow 0.18s var(--ease), transform 0.18s var(--ease);
}
.download-btn:hover { background: var(--accent-hover); box-shadow: 0 18px 34px -16px rgba(47, 107, 255, 0.7); }
.download-btn:active { transform: translateY(1px); }
.download-btn.is-disabled { opacity: 0.5; pointer-events: none; }
.download-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; min-width: 0; }
.download-copy .btn-label { font-size: 14.5px; font-weight: 600; letter-spacing: -0.02em; }
.download-copy .btn-sub {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.download-arrow {
  margin-left: auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 14px;
}

/* -------------------------------------------------------------------- hero */

.hero {
  position: relative;
  padding: 90px 0 104px;
  overflow: clip;
}
.hero::before {
  content: "";
  position: absolute;
  right: -8%;
  top: -22%;
  width: 62%;
  height: 90%;
  background: radial-gradient(closest-side, rgba(47, 107, 255, 0.08), transparent 72%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  align-items: center;
  gap: 54px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--tertiary);
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.hero h1 {
  margin-top: 20px;
  font-size: clamp(42px, 4.6vw, 61px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.045em;
}
.hero h1 span { color: var(--accent); }

.lead {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.015em;
  color: var(--secondary);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
}
.hero-actions .btn-outline {
  height: 60px;
  padding: 0 22px;
  border-radius: 11px;
  font-size: 13.5px;
}

.hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
  font-size: 11px;
  color: var(--faint);
}
.hero-sep { width: 1px; height: 12px; background: var(--line-strong); }

.release-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 10.5px;
  font-weight: 500;
  color: var(--tertiary);
}
.pill-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--faint); }
.release-pill.live { color: #0c7d55; background: #f2fbf7; border-color: #d3f0e3; }
.release-pill.live .pill-dot { background: var(--green); box-shadow: 0 0 0 3px rgba(17, 156, 104, 0.12); }
.release-pill.warn { color: var(--amber); background: #fdf9f0; border-color: #f0e3c6; }
.release-pill.warn .pill-dot { background: var(--amber); }

/* ------------------------------------------------------------------- stage */

.stage { position: relative; min-width: 0; }

.stage-window {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: translateZ(0);
}

.stage-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line-soft);
  background: #fff;
}
.stage-brand { display: flex; align-items: center; gap: 6px; width: 92px; flex: 0 0 auto; }
.stage-brand img { width: 15px; height: 15px; border-radius: 4px; }
.stage-brand b { font-size: 9.5px; font-weight: 650; letter-spacing: -0.02em; }
.stage-title { flex: 1; text-align: center; font-size: 9px; color: var(--faint); }
.stage-status {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  padding: 2px 7px;
  border-radius: 999px;
  background: #f2fbf7;
  border: 1px solid #d9f1e6;
  color: #0c7d55;
  font-size: 8px;
  font-weight: 500;
}
.stage-status i { width: 4px; height: 4px; border-radius: 50%; background: var(--green); }

.stage-body {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 120px;
  height: 390px;
}

.stage-side {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 9px 7px;
  border-right: 1px solid var(--line-soft);
  background: #f9fbfd;
  min-width: 0;
}
.side-new {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 7px;
  margin-bottom: 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--secondary);
  font-size: 8.5px;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(14, 34, 74, 0.03);
}
.side-new span[aria-hidden="true"] { color: var(--accent); font-weight: 600; }
.side-nav { display: flex; flex-direction: column; gap: 1px; margin-bottom: 7px; }
.side-nav span { padding: 4px 7px; border-radius: 5px; font-size: 8.5px; color: var(--tertiary); }
.side-nav .is-active { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.side-label {
  padding: 0 7px;
  margin-bottom: 3px;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}
.side-session {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 4px 7px;
  border-radius: 5px;
  font-size: 8px;
  color: var(--secondary);
}
.side-session span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-session em { flex: 0 0 auto; font-style: normal; font-size: 6.5px; color: var(--faint); }
.side-session.is-active { background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(14, 34, 74, 0.04); }
.side-foot {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  padding: 0 7px;
  font-size: 6.8px;
  color: var(--faint);
  white-space: nowrap;
}
.side-foot span { width: 4px; height: 4px; border-radius: 50%; background: var(--green); flex: 0 0 auto; }

.stage-chat { display: flex; flex-direction: column; min-width: 0; background: #fff; }
.chat-top {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line-soft);
}
.chat-top b { font-size: 9px; font-weight: 600; letter-spacing: -0.01em; }
.chat-pill {
  padding: 1px 5px;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 6.8px;
  font-weight: 600;
}
.chat-model { margin-left: auto; font-size: 6.8px; color: var(--faint); white-space: nowrap; }

.chat-flow {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 12px;
  overflow: hidden;
}
.bubble-user {
  align-self: flex-end;
  max-width: 92%;
  padding: 6px 9px;
  border-radius: 9px 9px 3px 9px;
  background: var(--accent);
  color: #fff;
  font-size: 8px;
  line-height: 1.5;
  letter-spacing: -0.01em;
}
.msg-head { display: flex; align-items: baseline; gap: 6px; margin-top: 2px; font-size: 7px; color: var(--faint); }
.msg-head b { font-size: 8px; font-weight: 600; color: var(--ink); }
.msg-line { font-size: 8px; line-height: 1.55; color: var(--secondary); }
.tool-line {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  border: 1px solid var(--line-soft);
  border-radius: 5px;
  background: var(--surface);
  font-size: 7.2px;
  color: var(--secondary);
}
.tool-line span { color: var(--green); font-weight: 700; }
.tool-line em { margin-left: auto; font-style: normal; color: var(--faint); }

.file-card {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 2px;
  padding: 7px 8px;
  border: 1px solid var(--accent-line);
  border-radius: 8px;
  background: linear-gradient(180deg, #f7faff, #fff);
  box-shadow: 0 1px 2px rgba(47, 107, 255, 0.06);
}
.file-icon {
  position: relative;
  width: 18px;
  height: 22px;
  flex: 0 0 auto;
  border: 1px solid var(--accent-line);
  border-radius: 3px;
  background: #fff;
}
.file-icon::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 6px;
  width: 8px;
  height: 1px;
  background: var(--accent);
  box-shadow: 0 3px 0 rgba(47, 107, 255, 0.42), 0 6px 0 rgba(47, 107, 255, 0.24);
}
.file-copy { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.file-copy b { font-size: 8px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-copy small { margin-top: 1px; font-size: 6.8px; color: var(--faint); }
.file-action {
  flex: 0 0 auto;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 7px;
  font-weight: 600;
}

.stage-composer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 10px 10px;
  padding: 6px 7px 6px 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}
.stage-composer > span:first-child { flex: 1; font-size: 7.5px; color: var(--faint); }
.stage-composer .send {
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  background: var(--accent);
  color: #fff;
  font-size: 9px;
}

.stage-rail {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 11px 9px;
  border-left: 1px solid var(--line-soft);
  background: #f9fbfd;
  min-width: 0;
}
.rail-head { display: flex; align-items: center; justify-content: space-between; font-size: 7.5px; font-weight: 600; color: var(--secondary); }
.rail-head span:last-child { font-family: var(--mono); font-size: 7px; color: var(--accent); }
.rail-bar { height: 3px; margin: 3px 0 5px; border-radius: 999px; background: #e8eef8; overflow: hidden; }
.rail-bar span { display: block; width: 100%; height: 100%; border-radius: inherit; background: var(--accent); }
.rail-step {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 2px 0;
  font-size: 7px;
  line-height: 1.4;
  color: var(--tertiary);
}
.rail-step::before {
  content: "✓";
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 6px;
}

/* ------------------------------------------------------------------ section */

.section { padding: 86px 0; border-top: 1px solid var(--line-soft); }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 34px;
}
.section h2 {
  font-size: clamp(27px, 3vw, 37px);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.04em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}
.feature {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.feature:hover {
  border-color: var(--accent-line);
  box-shadow: 0 24px 44px -36px rgba(14, 34, 74, 0.35);
  transform: translateY(-2px);
}
.feature-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 34px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
}
.feature-icon svg { width: 19px; height: 19px; }
.feature h3 { margin-bottom: 5px; font-size: 14px; font-weight: 650; letter-spacing: -0.02em; }
.feature p { font-size: 12.5px; line-height: 1.6; color: var(--tertiary); }
.feature code {
  padding: 1px 4px;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  background: var(--surface);
  color: var(--secondary);
  font-size: 0.88em;
}

/* ------------------------------------------------------------------ install */

.install { padding: 82px 0 92px; }
.install-head { margin-bottom: 28px; }

.install-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.os-card {
  display: flex;
  flex-direction: column;
  min-height: 200px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.os-card:hover { border-color: var(--line-strong); box-shadow: 0 24px 44px -38px rgba(14, 34, 74, 0.4); }
.os-card.is-recommended { border-color: var(--accent-line); box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.06); }
.os-card.flash { animation: cardFlash 1.6s var(--ease); }
@keyframes cardFlash {
  0%, 100% { box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.06); }
  30% { box-shadow: 0 0 0 5px rgba(47, 107, 255, 0.2); }
}

.os-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.os-name { font-size: 15px; font-weight: 650; letter-spacing: -0.02em; }
.recommended {
  padding: 2px 8px;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 9.5px;
  font-weight: 600;
  white-space: nowrap;
}
.os-meta { margin-top: 4px; font-size: 11px; color: var(--faint); }
.os-asset {
  min-height: 16px;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--tertiary);
}
.os-alt {
  align-self: flex-start;
  margin-top: 4px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 10.5px;
  color: var(--tertiary);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.os-alt:hover { color: var(--accent); border-color: var(--accent); }
.os-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid var(--line-soft);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  transition: color 0.18s var(--ease);
}
.os-action:hover { color: var(--accent-hover); }
.os-action.is-disabled { color: var(--faint); pointer-events: none; }
.os-card .os-alt + .os-action { margin-top: 14px; }

.install-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 16px;
  font-size: 10.5px;
  color: var(--faint);
}
.install-note a {
  color: var(--tertiary);
  border-bottom: 1px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.install-note a:hover { color: var(--accent); border-color: var(--accent); }
.install-path code {
  padding: 1px 5px;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  background: var(--surface);
  color: var(--tertiary);
  font-size: 10px;
}

/* ------------------------------------------------------------------ closing */

.closing { padding: 80px 0; border-top: 1px solid var(--line-soft); }
.closing-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}
.closing h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.04em;
}
.closing .download-btn { min-width: 250px; flex: 0 0 auto; }

/* ------------------------------------------------------------------- footer */

.site-foot { padding: 42px 0 24px; border-top: 1px solid var(--line-soft); }
.foot-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; }
.foot-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.foot-version { font-family: var(--mono); font-size: 10px; color: var(--faint); }
.foot-links { display: flex; gap: 72px; }
.foot-col { display: flex; flex-direction: column; gap: 8px; }
.foot-col > span {
  margin-bottom: 2px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--faint);
}
.foot-col a { font-size: 12px; color: var(--secondary); transition: color 0.18s var(--ease); }
.foot-col a:hover { color: var(--accent); }
.foot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-size: 10.5px;
  color: var(--faint);
}

/* -------------------------------------------------------------------- legal */

.legal { padding: 64px 0 84px; }
.legal-shell { max-width: 820px; min-width: 0; }
.legal h1 {
  margin-top: 14px;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.04em;
}
.legal-meta { margin-top: 10px; font-size: 11.5px; color: var(--faint); }
.legal-note {
  max-width: 720px;
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: var(--surface);
  color: var(--tertiary);
  font-size: 11.5px;
  line-height: 1.6;
}
.prose { max-width: 720px; min-width: 0; margin-top: 34px; overflow-wrap: anywhere; }
.prose h2 {
  margin: 32px 0 8px;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 13.5px; line-height: 1.85; color: var(--secondary); }
.prose p + p { margin-top: 10px; }
.prose ul { display: flex; flex-direction: column; gap: 4px; margin: 8px 0 0; padding-left: 18px; }
.prose code {
  padding: 1px 5px;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.88em;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.inline-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }

/* ---------------------------------------------------------------- responsive */

@media (max-width: 1080px) {
  .hero-grid { gap: 36px; }
  .stage-body { grid-template-columns: 100px minmax(0, 1fr) 108px; }
  .side-foot { font-size: 6.2px; }
}

@media (max-width: 960px) {
  .hero { padding: 66px 0 78px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy { max-width: 640px; }
  .stage { max-width: 660px; width: 100%; }
  .hero::before { right: -20%; top: -10%; width: 90%; height: 70%; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .mobile-nav { display: flex; }

  .feature-grid { grid-template-columns: 1fr; gap: 10px; }
  .feature { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 16px; padding: 20px; }
  .feature-icon { grid-row: span 2; margin-bottom: 0; }
  .feature h3 { margin-bottom: 1px; }
  .install-list { grid-template-columns: 1fr; }
  .os-card { min-height: 0; }
  .os-action { margin-top: 16px; }

  .section { padding: 68px 0; }
  .closing { padding: 64px 0; }
  .closing-inner { flex-direction: column; align-items: flex-start; gap: 26px; }
}

@media (max-width: 720px) {
  .stage-side, .stage-rail { display: none; }
  .stage-body { display: block; height: auto; }
  .stage-chat { min-height: 340px; }
  .chat-flow { min-height: 240px; }
}

@media (max-width: 640px) {
  .shell { padding: 0 20px; }
  .head-inner { height: 60px; gap: 14px; }
  .head-actions { gap: 8px; }
  .lang-btn { height: 32px; padding: 0 8px; }
  .mobile-nav { padding: 8px 20px 16px; }

  .hero { padding: 48px 0 60px; }
  .hero h1 { font-size: clamp(35px, 10.5vw, 46px); margin-top: 16px; }
  .lead { margin-top: 16px; font-size: 14.5px; }
  .hero-actions { flex-wrap: wrap; margin-top: 24px; }
  .download-btn { min-width: 0; width: 100%; }
  .hero-actions .btn-outline { width: 100%; height: 46px; }
  .hero-meta { margin-top: 18px; gap: 10px; font-size: 10.5px; }
  .stage-window { border-radius: 13px; }
  .stage-bar { padding: 0 10px; }
  .stage-brand { width: 76px; }
  .stage-chat { min-height: 320px; }
  .chat-flow { min-height: 220px; padding: 11px; }

  .section-head { margin-bottom: 24px; }
  .section h2 { font-size: 26px; }
  .section { padding: 56px 0; }
  .feature { grid-template-columns: auto minmax(0, 1fr); padding: 18px; }
  .feature-icon { width: 34px; height: 34px; border-radius: 9px; }
  .feature-icon svg { width: 17px; height: 17px; }

  .install { padding: 56px 0 64px; }
  .os-card { padding: 18px; }
  .install-note { flex-direction: column; align-items: flex-start; gap: 8px; }

  .closing { padding: 56px 0; }
  .closing h2 { font-size: 27px; }
  .closing .download-btn { width: 100%; min-width: 0; }

  .site-foot { padding: 32px 0 20px; }
  .foot-inner { flex-direction: column; gap: 28px; }
  .foot-links { gap: 52px; }
  .foot-bottom { margin-top: 26px; }
  .legal { padding: 44px 0 60px; }
  .prose { margin-top: 26px; }
}

@media (max-width: 380px) {
  .head-inner { gap: 10px; }
  .head-actions { gap: 6px; }
  .lang-btn { padding: 0 8px; }
  .lang-btn > svg { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* -------------------------------------------------------------- install guide */

.guide { padding: 62px 0 84px; }
.guide-shell { max-width: 1040px; }
.guide-lead { max-width: 700px; }
.guide-lead h1 {
  margin-top: 14px;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.045em;
}
.guide-lead .lead { max-width: 640px; margin-top: 13px; font-size: 14.5px; }
.guide-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 17px;
  font-size: 11px;
  color: var(--faint);
}

.os-tabs {
  display: inline-flex;
  gap: 3px;
  max-width: 100%;
  margin-top: 30px;
  padding: 4px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
}
.os-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 14px;
  border-radius: 7px;
  color: var(--tertiary);
  font-size: 12px;
  white-space: nowrap;
  transition: background 0.16s var(--ease), color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.os-tab small { font-size: 9.5px; color: var(--faint); }
.os-tab:hover { color: var(--ink); }
.os-tab[aria-selected="true"] {
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(14, 34, 74, 0.09);
}
.os-tab[aria-selected="true"] small { color: var(--accent); }

.guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 252px;
  align-items: start;
  gap: 20px;
  margin-top: 16px;
}
.guide-main { min-width: 0; }
.guide-card {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.guide-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.guide-card-head h2 { font-size: 20px; font-weight: 700; letter-spacing: -0.035em; }
.guide-card-head p { margin-top: 2px; font-size: 11px; color: var(--faint); }
.guide-version {
  flex: 0 0 auto;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--tertiary);
  font-family: var(--mono);
  font-size: 10px;
  white-space: nowrap;
}

.guide-download {
  margin-top: 20px;
  padding: 16px;
  border: 1px solid var(--accent-line);
  border-radius: 11px;
  background: #fbfcff;
}
.guide-download .download-btn { width: 100%; min-width: 0; }
.guide-download .download-copy { flex: 1; }
.guide-download .download-copy .btn-sub { max-width: 100%; }
.guide-download-note { margin-top: 8px; font-size: 10.5px; color: var(--faint); }
.guide-alt {
  display: inline-block;
  margin-top: 6px;
  color: var(--accent);
  font-size: 11px;
}
.guide-alt:hover { text-decoration: underline; }

.guide-steps {
  display: flex;
  flex-direction: column;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.guide-steps li {
  display: grid;
  grid-template-columns: 23px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line-soft);
}
.guide-steps li:first-child { padding-top: 4px; border-top: 0; }
.step-num {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 10px;
  font-weight: 650;
}
.guide-steps h3 { font-size: 13px; font-weight: 650; letter-spacing: -0.015em; }
.guide-steps p { margin-top: 3px; color: var(--secondary); font-size: 12px; line-height: 1.72; }
.guide code, .guide-callout code {
  padding: 1px 4px;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  background: var(--surface);
}

.smart-preview {
  max-width: 430px;
  margin-top: 11px;
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 10px 22px -20px rgba(14, 34, 74, 0.35);
}
.smart-preview-head { display: flex; align-items: center; gap: 8px; font-size: 11px; }
.smart-shield {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border: 1px solid #f0dfae;
  border-radius: 50%;
  background: #fff6dc;
  color: #96680a;
  font-size: 10px;
  font-weight: 700;
}
.smart-preview p { margin-top: 5px; padding-left: 26px; color: var(--tertiary); font-size: 10px; line-height: 1.5; }
.smart-preview-actions { display: flex; justify-content: flex-end; gap: 6px; margin-top: 9px; }
.smart-preview-actions > span {
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  color: var(--secondary);
  font-size: 9px;
}
.smart-preview-actions .smart-more { border-color: var(--accent-line); background: #fff; color: var(--accent); }
.smart-preview-actions .smart-run { border-color: var(--accent); background: var(--accent); color: #fff; font-weight: 600; }

.guide-callout {
  margin-top: 18px;
  padding: 13px 14px;
  border: 1px solid #f0e3c6;
  border-radius: 9px;
  background: #fdfaf2;
}
.guide-callout b { color: #886115; font-size: 11.5px; }
.guide-callout p { margin-top: 4px; color: #75643a; font-size: 11px; line-height: 1.68; }
.guide-callout a { color: #886115; text-decoration: underline; text-underline-offset: 2px; }

.guide-side { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.guide-side-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
}
.side-label {
  display: block;
  margin: 0 0 6px;
  padding: 0;
  color: var(--faint);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.device-line { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.device-line b { font-size: 13px; font-weight: 650; letter-spacing: -0.01em; }
.detected-tag {
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 8.5px;
  font-weight: 600;
}
.guide-side-card p { margin-top: 5px; color: var(--tertiary); font-size: 10.5px; line-height: 1.62; }
.guide-data-path { display: inline-block; margin-top: 1px; font-family: var(--mono); font-size: 11px; color: var(--ink); }
.guide .link-btn {
  display: block;
  margin-top: 7px;
  padding: 0;
  color: var(--accent);
  font-size: 10.5px;
  text-align: left;
}
.guide .link-btn:hover { text-decoration: underline; }

.guide-already {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px;
  margin-top: 20px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.guide-already h2 { font-size: 17px; font-weight: 700; letter-spacing: -0.025em; }
.guide-already p { max-width: 700px; margin-top: 6px; color: var(--secondary); font-size: 12px; line-height: 1.75; }
.guide-already .inline-actions { flex: 0 0 auto; margin-top: 0; flex-wrap: nowrap; }

@media (max-width: 960px) {
  .guide-grid { grid-template-columns: 1fr; }
  .guide-side { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .guide-side { grid-template-columns: 1fr; }
  .guide-already { flex-direction: column; align-items: flex-start; gap: 16px; }
  .guide-already .inline-actions { flex-wrap: wrap; }
}

@media (max-width: 640px) {
  .guide { padding: 44px 0 60px; }
  .guide-lead .lead { font-size: 13.5px; }
  .os-tabs { display: flex; width: 100%; }
  .os-tab { flex: 1; justify-content: center; padding: 0 10px; }
  .guide-card { padding: 18px; }
  .guide-card-head h2 { font-size: 18px; }
  .guide-download { padding: 13px; }
  .guide-steps p { font-size: 11.5px; }
  .guide-already { padding: 18px; }
  .smart-preview { max-width: 100%; }
}
