:root {
  color-scheme: dark;
  --ink: #0e0e0d;
  --ink-soft: #171719;
  --surface: #202023;
  --surface-raised: #28282c;
  --paper: #f7f7f3;
  --paper-soft: #deded9;
  --muted: #b8b8b2;
  --muted-on-light: #4f5058;
  --line: rgba(247, 247, 243, 0.16);
  --line-strong: rgba(247, 247, 243, 0.32);
  --cyan: #00d9ff;
  --cyan-soft: #e7f9fd;
  --magenta: #ff4fa3;
  --violet: #7656ff;
  --violet-deep: #19142f;
  --orange: #ff8a24;
  --yellow: #ffd43b;
  --emerald: #25dca3;
  --shadow-lift: 0 8px 8px rgba(0, 0, 0, 0.2);
  --panel-radius: 8px;
  --control-radius: 999px;
  --input-radius: 8px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --font-display: "Arial Black", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-label: "SFMono-Regular", "Cascadia Code", "PingFang SC", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  position: relative;
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { border: 0; color: inherit; font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
::selection { color: var(--ink); background: var(--paper); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
:focus:not(:focus-visible) { outline: none; }

#positioning, #modes, #how, #faq, #download { scroll-margin-top: 88px; }

.container { width: min(1220px, calc(100% - 64px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; left: 16px; top: -56px; padding: 10px 16px; border-radius: var(--control-radius); background: var(--cyan); color: var(--ink); font-weight: 750; transition: top 160ms var(--ease-out); }
.skip-link:focus { top: 16px; }

/* Information surfaces stay crisp at 8px; only compact controls use pills. */
.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  height: 72px;
  border-bottom: 1px solid var(--line);
  background: rgba(14, 14, 13, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand-cluster { display: flex; align-items: center; gap: 16px; min-width: 0; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 9px; font-family: var(--font-display); font-size: 17px; letter-spacing: -.02em; }
.brand-icon { width: 31px; height: 31px; }
.platform-note { display: inline-flex; align-items: center; gap: 7px; padding-left: 16px; border-left: 1px solid var(--line); color: var(--muted); font-family: var(--font-label); font-size: 10px; white-space: nowrap; }
.platform-note img { width: 22px; height: 22px; border-radius: 6px; object-fit: cover; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.3vw, 32px); color: var(--muted); font-size: 13px; white-space: nowrap; }
.site-nav a { transition: color 160ms ease, transform 160ms var(--ease-out); }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--paper); }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 17px; border: 1px solid var(--cyan); border-radius: var(--control-radius); background: var(--cyan); color: var(--ink); font-weight: 750; }
.nav-cta:active { transform: scale(.97); }
.nav-cta span { font-size: 16px; }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 10px; border-radius: 50%; background: transparent; }
.menu-toggle span:not(.sr-only) { display: block; height: 1px; margin: 5px 0; background: var(--paper); transition: transform 180ms var(--ease-out), opacity 120ms ease; }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.menu-toggle:active { transform: scale(.95); }
.skip-motion, .skip-motion * { transition-duration: 0ms !important; }

.section { position: relative; padding: 116px 0; overflow: hidden; border-top: 1px solid var(--line); background: var(--ink-soft); }
.section:nth-of-type(even) { background: var(--ink); }
.section-label { display: none; align-items: center; gap: 10px; margin: 0 0 24px; color: var(--muted); font-family: var(--font-label); font-size: 11px; font-weight: 700; letter-spacing: .08em; line-height: 1; }
.positioning-section .section-label,
.modes-section .section-label,
.download-section .section-label { display: flex; }
.section-label span { color: var(--cyan); letter-spacing: .02em; }
.section-label span::after { content: "/"; margin-left: 10px; color: var(--muted); }
.section-head-row, .positioning-head { display: block; }
.section-head-row > p, .positioning-head > p, .positioning-head > div + p { max-width: 68ch; margin: 24px 0 0; color: var(--muted); font-size: 16px; line-height: 1.8; }
h2 { max-width: 15ch; margin-bottom: 0; font-family: var(--font-display); font-size: clamp(40px, 5vw, 68px); font-weight: 850; letter-spacing: -.035em; line-height: 1.08; }
h2 em, h1 em {
  color: var(--cyan);
  font-style: normal;
}
.features-section h2 em { color: var(--magenta); }
.modes-section h2 em { color: var(--yellow); }
.how-section h2 em { color: var(--orange); }
.learning-section h2 em { color: var(--emerald); }
.statement-section h2 em { color: var(--violet); }
.download-section h2 em { color: var(--cyan); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 20px; border: 1px solid var(--line-strong); border-radius: var(--control-radius); font-size: 14px; font-weight: 750; white-space: nowrap; transition: transform 160ms var(--ease-out), background-color 160ms ease, color 160ms ease, border-color 160ms ease; }
.button span { font-size: 17px; line-height: 1; }
.button-primary { border-color: var(--cyan); background: var(--cyan); color: var(--ink); }
.button-primary:focus-visible { background: var(--paper); }
.button-text { background: transparent; color: var(--paper); }
.button-text:focus-visible { border-color: var(--paper); }
.button:active { transform: scale(.97); }
.button-large { min-height: 56px; padding: 0 26px; font-size: 15px; }
[data-reveal] { opacity: 1; transform: none; }

.hero {
  position: relative;
  min-height: calc(100dvh - 72px);
  overflow: hidden;
  padding: 64px 0 72px;
  background: linear-gradient(90deg, var(--cyan-soft) 0 43%, var(--ink-soft) 43% 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: -8% 52% -8% -8%;
  background-image: radial-gradient(circle, #31515e 2px, transparent 2.3px);
  background-size: 18px 18px;
  mask-image: radial-gradient(ellipse at 42% 38%, #000 0 24%, rgba(0,0,0,.88) 42%, transparent 74%);
  -webkit-mask-image: radial-gradient(ellipse at 42% 38%, #000 0 24%, rgba(0,0,0,.88) 42%, transparent 74%);
  opacity: .62;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0 33% 0 18%;
  background-image: radial-gradient(circle, var(--cyan) 1.5px, transparent 1.8px);
  background-size: 18px 18px;
  mask-image: linear-gradient(90deg, #000, transparent 80%);
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 80%);
  opacity: .18;
}
.hero-layout { position: relative; z-index: 2; min-height: calc(100dvh - 206px); display: grid; grid-template-columns: minmax(0, .88fr) minmax(520px, 1.12fr); align-items: center; gap: clamp(28px, 5vw, 76px); }
.hero-copy { grid-column: 2; position: relative; z-index: 2; overflow: hidden; padding: clamp(34px, 4.4vw, 58px); border: 1px solid rgba(247,247,243,.15); border-radius: var(--panel-radius); background: rgba(10, 10, 9, .97); }
.hero-copy::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--cyan) 0 25%, var(--violet) 25% 50%, var(--magenta) 50% 75%, var(--emerald) 75%); }
.eyebrow { margin: 0 0 22px; color: var(--paper-soft); font-family: var(--font-label); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.hero h1 { display: grid; gap: 4px; max-width: none; margin: 0 0 24px; font-family: var(--font-display); font-size: clamp(44px, 4.4vw, 60px); font-weight: 900; letter-spacing: -.035em; line-height: 1.08; }
.hero h1 span { display: block; }
.hero-lead { max-width: 38em; margin: 0 0 28px; color: var(--paper-soft); font-size: 16px; line-height: 1.8; }
.hero-meter { margin-bottom: 30px; }
.hero-meter > div:first-child { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 10px; color: var(--paper-soft); font-family: var(--font-label); font-size: 10px; letter-spacing: .04em; }
.hero-meter-track { position: relative; height: 8px; overflow: hidden; border-radius: var(--control-radius); background: rgba(247,247,243,.16); }
.hero-meter-track i { display: block; width: 68%; height: 100%; border-radius: inherit; background: var(--cyan); }
.hero-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hero-visual { grid-column: 1; grid-row: 1; min-width: 0; }
.hero-poster { position: relative; min-height: 570px; overflow: hidden; border: 1px solid rgba(14,14,13,.28); border-radius: var(--panel-radius); background: #fbfcff; }
.hero-poster::before { content: ""; position: absolute; z-index: 2; inset: 0; background-image: radial-gradient(circle, #4a4f68 1.2px, transparent 1.5px); background-size: 14px 14px; mask-image: linear-gradient(145deg, #000 0 16%, transparent 54%); -webkit-mask-image: linear-gradient(145deg, #000 0 16%, transparent 54%); opacity: .34; }
.hero-poster::after { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, transparent 48%, rgba(251,252,255,.98) 78%); pointer-events: none; }
.hero-character-main { position: absolute; z-index: 0; inset: 6% -10% auto -6%; width: 112%; height: auto; filter: saturate(.92) contrast(1.04); mix-blend-mode: multiply; opacity: .9; }
.hero-character-chibi { position: absolute; z-index: 3; width: 42%; height: auto; right: -4%; top: 8%; border-radius: var(--panel-radius); filter: saturate(.95) contrast(1.04); mix-blend-mode: multiply; transform: rotate(2deg); }
.hero-poster { transition: transform 220ms var(--ease-out); }
.poster-copy { position: absolute; z-index: 4; left: 28px; right: 28px; bottom: 28px; padding-top: 18px; border-top: 2px solid var(--ink); color: var(--ink); }
.poster-copy span { display: block; font-family: var(--font-label); font-size: 10px; font-weight: 750; letter-spacing: .1em; }
.poster-copy strong { display: block; margin: 5px 0 8px; color: var(--violet); font-family: var(--font-display); font-size: clamp(30px, 4vw, 54px); letter-spacing: -.035em; line-height: 1; }
.poster-copy small { display: block; max-width: 34ch; font-size: 12px; line-height: 1.6; }

.signal-strip { position: relative; background: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero-line { min-height: 112px; display: flex; align-items: center; gap: 24px; }
.hero-line > div { display: flex; align-items: center; gap: 12px; min-width: 176px; }
.hero-line strong { min-width: 48px; color: var(--cyan); font-family: var(--font-display); font-size: 19px; line-height: 1; }
.hero-line > div:nth-of-type(2) strong { color: var(--magenta); }
.hero-line > div:nth-of-type(3) strong { color: var(--emerald); }
.hero-line span { color: var(--paper-soft); font-size: 13px; line-height: 1.45; }
.hero-line small { color: var(--muted); font-size: 11px; }
.hero-line > i { flex: 1; height: 1px; background: var(--line); }
.hero-line p { max-width: 220px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; text-align: right; }

.positioning-section::after, .intro-section::after, .statement-section::after { content: ""; position: absolute; pointer-events: none; background-image: radial-gradient(circle, var(--paper) 1.5px, transparent 1.8px); background-size: 14px 14px; opacity: .12; }
.positioning-section::after { width: 440px; height: 440px; right: -130px; top: 80px; mask-image: radial-gradient(circle, #000, transparent 72%); -webkit-mask-image: radial-gradient(circle, #000, transparent 72%); }
.positioning-glow { display: none; }
.positioning-head { position: relative; z-index: 1; }
.positioning-head h2 { max-width: 13ch; }
.ecosystem-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(330px, .88fr); grid-template-rows: repeat(3, minmax(154px, auto)); gap: 14px; margin-top: 64px; }
.ecosystem-card { min-height: 0; display: flex; flex-direction: column; padding: 26px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--panel-radius); background: var(--surface); }
.ecosystem-card:nth-child(1) { grid-row: 1 / 4; min-height: 490px; }
.ecosystem-card:nth-child(n + 2) { display: grid; grid-template-columns: 74px 1fr; column-gap: 18px; align-content: center; }
.ecosystem-card:nth-child(2) { background: var(--cyan-soft); color: var(--ink); }
.ecosystem-card:nth-child(3) { position: relative; background: #24131f; }
.ecosystem-card:nth-child(4) { background: var(--violet-deep); }
.ecosystem-card:nth-child(3)::after { content: ""; position: absolute; inset: 0; opacity: .2; background-image: radial-gradient(circle, var(--paper) 1.6px, transparent 1.9px); background-size: 13px 13px; mask-image: linear-gradient(135deg, transparent, #000); -webkit-mask-image: linear-gradient(135deg, transparent, #000); }
.ecosystem-card > span { position: relative; z-index: 1; color: var(--cyan); font-family: var(--font-label); font-size: 11px; font-weight: 700; }
.ecosystem-card:nth-child(2) > span { color: #087b92; }
.ecosystem-card:nth-child(3) > span { color: var(--magenta); }
.ecosystem-card:nth-child(4) > span { color: #a993ff; }
.ecosystem-card h3 { position: relative; z-index: 1; max-width: 12ch; margin: auto 0 14px; font-family: var(--font-display); font-size: clamp(26px, 3.2vw, 42px); letter-spacing: -.035em; line-height: 1.08; }
.ecosystem-card:nth-child(n + 2) h3 { margin: 0 0 6px; font-size: 25px; }
.ecosystem-card p { position: relative; z-index: 1; max-width: 52ch; margin-bottom: 20px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.ecosystem-card:nth-child(n + 2) p { grid-column: 2; margin: 0; font-size: 13px; }
.ecosystem-card:nth-child(2) p { color: var(--muted-on-light); }
.ecosystem-card small { position: relative; z-index: 1; padding-top: 14px; border-top: 1px solid currentColor; color: var(--paper-soft); font-size: 11px; }
.ecosystem-card:nth-child(n + 2) small { grid-column: 2; margin-top: 10px; padding-top: 8px; }
.ecosystem-card:nth-child(2) small { color: var(--ink); }
.product-system { display: grid; grid-template-columns: .78fr 1.22fr; gap: 54px; margin-top: 18px; padding: 36px; border: 1px solid var(--line); border-radius: var(--panel-radius); background: var(--ink); }
.product-system-copy h3 { max-width: 13ch; margin: 0 0 20px; font-family: var(--font-display); font-size: 38px; letter-spacing: -.035em; line-height: 1.08; }
.product-system-copy > p:last-child { max-width: 40ch; margin-bottom: 0; color: var(--muted); font-size: 14px; }
.product-system-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.product-system-list li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.product-system-list li:last-child { border-bottom: 0; }
.product-system-list b { color: var(--cyan); font-family: var(--font-label); font-size: 11px; }
.product-system-list strong { display: block; margin-bottom: 4px; font-size: 15px; }
.product-system-list span { color: var(--muted); font-size: 13px; }
.advantage-row { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 18px; border: 1px solid var(--line); border-radius: var(--panel-radius); overflow: hidden; }
.advantage-row span { padding: 19px 12px; border-right: 1px solid var(--line); color: var(--paper-soft); font-size: 12px; text-align: center; }
.advantage-row span:last-child { border-right: 0; }

.intro-section { background: var(--ink); }
.intro-section::after { width: 520px; height: 520px; left: -180px; bottom: -190px; mask-image: radial-gradient(circle, #000, transparent 70%); -webkit-mask-image: radial-gradient(circle, #000, transparent 70%); }
.intro-heading { position: relative; z-index: 1; }
.intro-heading h2 { max-width: 12ch; }
.intro-heading p { max-width: 68ch; margin: 26px 0 0; color: var(--muted); font-size: 16px; line-height: 1.8; }
.principle-line { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 24px; margin-top: 70px; padding: 28px; border: 1px solid var(--line); border-radius: var(--panel-radius); background: var(--surface); }
.principle-line > div { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; }
.principle-line strong { font-size: 14px; }
.principle-line small { grid-column: 2; color: var(--muted); font-size: 12px; }
.principle-num, .principle-center img { grid-row: span 2; width: 38px; height: 38px; }
.principle-num { display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; font-size: 10px; }
.principle-center img { filter: none; }
.principle-arrow { color: var(--muted); font-size: 20px; }

.features-section { background: var(--ink-soft); }
.feature-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; margin-top: 64px; }
.feature-item { min-height: 430px; display: flex; flex-direction: column; padding: 30px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--panel-radius); background: var(--surface); }
.feature-item:nth-child(1) { border-color: rgba(0,217,255,.42); }
.feature-item:nth-child(2) { border-color: rgba(255,79,163,.24); background: #f8edf3; color: var(--ink); }
.feature-item:nth-child(3) { grid-column: 1 / -1; min-height: 300px; display: grid; grid-template-columns: minmax(0, .82fr) minmax(360px, 1.18fr); align-items: end; gap: 48px; border-color: rgba(118,86,255,.5); background: var(--violet-deep); }
.feature-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: auto; border: 1px solid var(--line-strong); border-radius: 50%; background: rgba(0,217,255,.1); color: var(--cyan); font-size: 20px; }
.feature-item:nth-child(2) .feature-icon { border-color: rgba(14,14,13,.3); color: var(--ink); }
.icon-cross::before { content: "+"; }
.feature-number { margin: 40px 0 10px; color: var(--cyan); font-family: var(--font-label); font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.feature-item:nth-child(2) .feature-number, .feature-item:nth-child(2) > p { color: #545552; }
.feature-item:nth-child(3) .feature-number { color: #a993ff; }
.feature-item h3 { max-width: 13ch; margin: 0 0 16px; font-family: var(--font-display); font-size: clamp(30px, 3.8vw, 48px); letter-spacing: -.035em; line-height: 1.08; }
.feature-item > p:not(.feature-number) { max-width: 44ch; margin: 0; color: var(--muted); font-size: 14px; }
.feature-ui { margin-top: 34px; padding-top: 20px; border-top: 1px solid currentColor; }
.timeline-ui > span { display: block; height: 8px; overflow: hidden; border-radius: var(--control-radius); background: rgba(247,247,243,.16); }
.timeline-ui > span b { display: block; width: 62%; height: 100%; border-radius: inherit; background: var(--cyan); }
.timeline-ui > div { display: flex; gap: 8px; margin-top: 15px; }
.timeline-ui > div i { width: 5px; height: 5px; border: 1px solid var(--muted); }
.timeline-ui > div i.active { background: var(--paper); }
.timeline-ui small { display: block; margin-top: 10px; color: var(--muted); font-size: 11px; }
.question-ui { display: flex; justify-content: space-between; align-items: center; min-height: 56px; padding: 0 16px; border: 1px solid rgba(14,14,13,.35); border-radius: var(--input-radius); font-size: 13px; }
.question-ui b { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--paper); }
.session-ui { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.session-ui span, .session-ui small { display: block; color: #aaa2cf; font-size: 11px; }
.session-ui strong { display: block; margin: 6px 0; font-size: 17px; }
.session-ui > b { flex: 0 0 auto; padding: 10px 14px; border-radius: var(--control-radius); background: var(--paper); color: var(--ink); font-size: 12px; }

.modes-section { background: var(--ink); }
.modes-layout { display: grid; grid-template-columns: .62fr 1.38fr; gap: 18px; margin-top: 64px; }
.mode-list { display: grid; gap: 9px; align-content: start; }
.mode-tab { min-height: 94px; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--panel-radius); background: var(--surface); color: var(--muted); text-align: left; transition: transform 160ms var(--ease-out), background-color 160ms ease, color 160ms ease, border-color 160ms ease; }
.mode-tab.is-active { border-color: var(--cyan); background: var(--cyan); color: var(--ink); }
.mode-tab:active { transform: scale(.98); }
.mode-index { font-family: var(--font-label); font-size: 10px; }
.mode-copy strong { display: block; margin-bottom: 4px; font-size: 14px; }
.mode-copy small { display: block; font-size: 11px; }
.mode-tab > b { font-size: 18px; }
.mode-stage { min-width: 0; padding: 30px; border: 1px solid var(--line); border-radius: var(--panel-radius); background: var(--surface); }
.mode-stage-header { display: flex; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--line); color: var(--muted); font-family: var(--font-label); font-size: 11px; }
.mode-stage-header span i { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--cyan); }
.mode-overline { margin: 28px 0 8px; color: var(--cyan); font-family: var(--font-label); font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.mode-stage h3 { margin: 0 0 12px; font-family: var(--font-display); font-size: 42px; letter-spacing: -.035em; line-height: 1.08; }
.mode-description { max-width: 60ch; margin-bottom: 26px; color: var(--muted); font-size: 14px; }
.mode-ui { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 310px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--input-radius); }
.mode-video { display: flex; flex-direction: column; padding: 18px; border-right: 1px solid var(--line); background: var(--ink); }
.mode-video-label { display: flex; justify-content: space-between; color: var(--muted); font-family: var(--font-label); font-size: 10px; }
.mode-video-art { flex: 1; display: grid; place-items: center; position: relative; margin: 16px 0; background-image: radial-gradient(circle, var(--paper) 1.5px, transparent 1.8px); background-size: 13px 13px; mask-image: radial-gradient(circle, #000, transparent 78%); -webkit-mask-image: radial-gradient(circle, #000, transparent 78%); }
.mode-video-art span { font-family: var(--font-display); font-size: 38px; letter-spacing: -.035em; line-height: 1; }
.mode-video-art i { position: absolute; right: 10px; bottom: 8px; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--paper); border-radius: 50%; font-size: 10px; font-style: normal; }
.mode-video-progress { height: 7px; overflow: hidden; border-radius: var(--control-radius); background: rgba(247,247,243,.16); }
.mode-video-progress b { display: block; width: 100%; height: 100%; border-radius: inherit; background: var(--cyan); transform: scaleX(var(--mode-progress, .48)); transform-origin: left; transition: transform 180ms var(--ease-out), background-color 160ms ease; }
.mode-chat { display: flex; flex-direction: column; padding: 20px; }
.mode-chat-title { display: flex; align-items: center; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 12px; }
.mode-chat-title img { width: 22px; filter: none; }
.mode-chat-title small { margin-left: auto; color: var(--muted); font-size: 10px; }
.mode-chat > p { margin: 22px 0; color: var(--paper-soft); font-size: 14px; line-height: 1.8; }
.mode-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.mode-tags span { padding: 5px 9px; border: 1px solid var(--line); border-radius: var(--control-radius); color: var(--muted); font-size: 11px; }
.mode-input { min-height: 42px; display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--input-radius); color: var(--muted); font-size: 12px; }
.mode-input b { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); color: var(--ink); }
.mode-foot { display: flex; justify-content: space-between; gap: 16px; margin-top: 18px; color: var(--muted); font-size: 11px; }
.mode-pager { display: flex; gap: 5px; }
.mode-pager i { width: 14px; height: 3px; background: var(--line-strong); }
.mode-pager i.is-active { background: var(--paper); }

.how-section { background: var(--ink-soft); }
.flow { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 68px; }
.flow-line { position: absolute; left: 7%; right: 7%; top: 30px; height: 2px; overflow: hidden; background: var(--line); }
.flow-line span { display: block; width: 100%; height: 100%; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform 260ms var(--ease-out); }
.flow-line span.is-active { transform: scaleX(1); }
.flow-step { position: relative; z-index: 1; padding: 0 8px; color: var(--muted); }
.flow-icon { width: 60px; height: 60px; display: grid; place-items: center; margin-bottom: 28px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--ink-soft); color: var(--paper); font-size: 16px; opacity: .55; transform: scale(.95); transition: opacity 180ms ease, transform 180ms var(--ease-out), background-color 180ms ease, color 180ms ease; }
.flow-step.is-active .flow-icon { opacity: 1; transform: scale(1); color: var(--ink); }
.flow-step.is-active .icon-blue { background: var(--cyan); }
.flow-step.is-active .icon-yellow { background: var(--yellow); }
.flow-step.is-active .icon-pink { background: var(--magenta); }
.flow-step.is-active .icon-green { background: var(--emerald); }
.flow-step small { font-family: var(--font-label); font-size: 10px; }
.flow-step h3 { margin: 8px 0; color: var(--paper); font-size: 17px; }
.flow-step p { margin: 0; font-size: 13px; }
.three-steps { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); margin-top: 74px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--panel-radius); }
.three-steps > div { min-height: 120px; display: flex; flex-direction: column; justify-content: center; padding: 20px; border-right: 1px solid var(--line); }
.three-steps > div:last-child { border-right: 0; }
.three-steps-title b { display: none; }
.three-steps strong { font-size: 14px; }
.three-steps span, .three-steps small { color: var(--muted); font-size: 11px; }
.three-steps i { width: 26px; height: 26px; display: grid; place-items: center; margin-bottom: 10px; border: 1px solid var(--line-strong); border-radius: 50%; font-size: 9px; font-style: normal; }

.learning-section { background: var(--ink); }
.learning-layout { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: 64px; }
.learning-copy h2 { max-width: 12ch; font-size: clamp(42px, 4.2vw, 58px); }
.learning-copy > p:not(.section-label) { max-width: 50ch; margin: 26px 0 34px; color: var(--muted); font-size: 15px; }
.learning-copy ul { display: grid; gap: 0; margin: 0 0 30px; padding: 0; list-style: none; }
.learning-copy li { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.learning-copy li > i { font-style: normal; color: var(--emerald); }
.learning-copy li strong { display: block; font-size: 14px; }
.learning-copy li small { display: block; color: var(--muted); font-size: 11px; }
.learning-visual { position: relative; }
.learning-window { overflow: hidden; border: 1px solid rgba(37,220,163,.45); border-radius: var(--panel-radius); background: var(--surface); }
.learning-bar { min-height: 56px; display: flex; align-items: center; gap: 9px; padding: 0 18px; border-bottom: 1px solid var(--line); font-size: 12px; }
.learning-bar img { width: 24px; filter: none; }
.learning-bar > span { margin-left: auto; color: var(--muted); font-family: var(--font-label); font-size: 10px; }
.learning-screen { min-height: 420px; display: block; }
.learning-content { padding: 34px; }
.learning-content > small { color: var(--emerald); font-family: var(--font-label); font-size: 10px; letter-spacing: .06em; }
.learning-content h3 { max-width: 16ch; margin: 12px 0 8px; font-family: var(--font-display); font-size: 34px; letter-spacing: -.035em; line-height: 1.1; }
.learning-content > p { max-width: 58ch; color: var(--muted); font-size: 13px; }
.saved-row { display: grid; grid-template-columns: 1.25fr .75fr; margin-top: 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.saved-row > div { min-height: 180px; position: relative; padding: 22px 20px; }
.saved-row > div + div { border-left: 1px solid var(--line); }
.saved-row span { color: var(--muted); font-family: var(--font-label); font-size: 10px; }
.saved-row h4 { margin: 24px 0 7px; font-size: 16px; }
.saved-row p { max-width: 42ch; color: var(--muted); font-size: 11px; }
.session-actions { position: absolute; left: 20px; right: 20px; bottom: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.session-actions small { color: var(--muted); font-size: 10px; }
.session-actions b { color: var(--paper); font-size: 11px; }
.learning-bubble { position: absolute; right: -18px; bottom: -24px; display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-radius: var(--panel-radius); background: var(--paper); color: var(--ink); box-shadow: var(--shadow-lift); }
.learning-bubble > i { font-style: normal; }
.learning-bubble strong, .learning-bubble small { display: block; font-size: 11px; }
.learning-bubble small { color: #545552; }

.statement-section { min-height: 680px; display: grid; align-items: center; background: linear-gradient(90deg, #eeeafd 0 34%, var(--ink-soft) 34%); }
.statement-section::after { inset: -20% 48% -20% -10%; mask-image: radial-gradient(ellipse, #000, transparent 72%); -webkit-mask-image: radial-gradient(ellipse, #000, transparent 72%); opacity: .82; background-image: radial-gradient(circle, var(--ink) 2px, transparent 2.3px); background-size: 16px 16px; }
.statement-shape { display: none; }
.statement-content { position: relative; z-index: 1; width: min(860px, calc(100% - 64px)); margin-left: max(34%, calc((100% - 1220px) / 2 + 34%)); padding: 52px; border: 1px solid rgba(118,86,255,.4); border-radius: var(--panel-radius); background: rgba(10,10,9,.97); }
.statement-content h2 { max-width: 12ch; }
.statement-content > p:not(.section-label) { max-width: 62ch; margin: 26px 0 0; color: var(--muted); font-size: 15px; }
.statement-caption { display: flex; align-items: center; gap: 12px; margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--paper-soft); font-size: 12px; }
.statement-caption img { width: 36px; filter: none; }

.faq-section { background: var(--ink-soft); }
.faq-layout { display: grid; grid-template-columns: .62fr 1.38fr; gap: 74px; }
.faq-intro { align-self: start; position: sticky; top: 108px; }
.faq-intro h2 { font-size: clamp(40px, 4.4vw, 58px); }
.faq-intro > p:not(.section-label) { max-width: 42ch; margin: 24px 0 28px; color: var(--muted); font-size: 14px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 20px; list-style: none; cursor: pointer; font-size: 15px; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { width: 24px; height: 24px; position: relative; flex: 0 0 auto; border: 1px solid var(--line-strong); border-radius: 50%; }
.faq-list summary i::before, .faq-list summary i::after { content: ""; position: absolute; left: 6px; right: 6px; top: 11px; height: 1px; background: var(--paper); transition: transform 160ms var(--ease-out); }
.faq-list summary i::after { transform: rotate(90deg); }
.faq-list details[open] summary i::after { transform: rotate(0); }
.faq-list details > p { max-width: 66ch; margin: -7px 0 26px; color: var(--muted); font-size: 14px; line-height: 1.8; }

.download-section { min-height: 650px; display: grid; align-items: center; background: var(--violet-deep); }
.download-section::before { content: ""; position: absolute; inset: -20% -5%; opacity: .22; background-image: radial-gradient(circle, #a993ff 1.7px, transparent 2px); background-size: 18px 18px; mask-image: radial-gradient(ellipse at 50% 50%, #000, transparent 67%); -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000, transparent 67%); }
.download-color { display: none; }
.download-content { position: relative; z-index: 1; max-width: 900px; padding: 0; text-align: left; }
.download-content > img { width: 64px; margin-bottom: 30px; filter: none; }
.download-content h2 { max-width: 12ch; }
.download-content > p:not(.section-label) { margin: 24px 0 30px; color: #cbc3e9; font-size: 16px; }
.download-content > small { display: block; margin-top: 18px; color: #aaa2cf; font-size: 11px; }

.site-footer { padding: 44px 0 26px; border-top: 1px solid var(--line); background: var(--ink); }
.footer-main { display: grid; grid-template-columns: 180px 1fr auto; align-items: center; gap: 34px; }
.footer-brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-size: 18px; }
.footer-brand img { width: 34px; }
.footer-main > p { max-width: 50ch; margin: 0; color: var(--muted); font-size: 12px; }
.footer-main nav { display: flex; gap: 22px; color: var(--muted); font-size: 12px; }
.footer-main nav a:hover { color: var(--paper); }
.footer-bottom { display: flex; align-items: center; gap: 28px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.footer-bottom a { margin-left: auto; color: var(--paper-soft); }

@media (max-width: 1080px) {
  .site-nav { gap: 18px; }
  .hero-layout { grid-template-columns: minmax(0, .82fr) minmax(470px, 1.18fr); gap: 30px; }
  .hero-poster { min-height: 520px; }
  .platform-note { display: none; }
  .learning-layout { gap: 42px; }
  .statement-content { margin-left: 29%; }
}

@media (max-width: 900px) {
  .container { width: min(100% - 40px, 760px); }
  .menu-toggle { display: block; }
  .site-nav { position: fixed; z-index: 25; left: 20px; right: 20px; top: 78px; display: grid; gap: 0; padding: 12px; border: 1px solid var(--line); border-radius: var(--panel-radius); background: var(--ink); box-shadow: var(--shadow-lift); opacity: 0; pointer-events: none; transform: translateY(-8px) scale(.98); transform-origin: top right; transition: opacity 160ms ease, transform 180ms var(--ease-out); }
  .site-nav.is-open { opacity: 1; pointer-events: auto; transform: none; }
  .site-nav a { min-height: 44px; display: flex; align-items: center; padding: 0 12px; border-bottom: 1px solid var(--line); }
  .site-nav .nav-cta { justify-content: center; margin-top: 10px; border-bottom: 0; }
  .hero { min-height: auto; padding: 44px 0 60px; background: var(--ink-soft); }
  .hero::before { inset: -8% 45% 38% -20%; opacity: .35; }
  .hero::after { inset: 0 0 46% 20%; }
  .hero-layout { min-height: auto; grid-template-columns: 1fr; gap: 22px; }
  .hero-copy { grid-column: 1; grid-row: 1; }
  .hero-visual { grid-column: 1; grid-row: 2; margin-top: 28px; }
  .hero-poster { min-height: 440px; }
  .hero-line { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 24px 0; }
  .hero-line > div { min-width: 0; }
  .hero-line > i, .hero-line p { display: none; }
  .section { padding: 88px 0; }
  .ecosystem-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .ecosystem-card:nth-child(1) { grid-column: 1 / -1; grid-row: auto; min-height: 390px; }
  .ecosystem-card:nth-child(n + 2) { grid-column: auto; display: flex; }
  .ecosystem-card:nth-child(4) { grid-column: 1 / -1; }
  .ecosystem-card:nth-child(n + 2) h3 { margin: auto 0 8px; }
  .ecosystem-card:nth-child(n + 2) p, .ecosystem-card:nth-child(n + 2) small { grid-column: auto; }
  .product-system, .learning-layout, .faq-layout { grid-template-columns: 1fr; }
  .feature-item:nth-child(3) { grid-template-columns: 1fr; }
  .modes-layout { grid-template-columns: 1fr; }
  .mode-list { grid-template-columns: repeat(3, 1fr); }
  .mode-tab { min-height: 112px; grid-template-columns: 1fr; align-content: center; }
  .mode-tab > b { display: none; }
  .flow { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .flow-line { display: none; }
  .three-steps { grid-template-columns: repeat(3, 1fr); }
  .three-steps-title { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
  .learning-visual { margin-top: 14px; }
  .statement-section { min-height: auto; background: var(--ink-soft); }
  .statement-section::after { inset: -20% 35% -20% -30%; opacity: .22; }
  .statement-content { width: min(100% - 40px, 760px); margin: 0 auto; padding: 42px; }
  .faq-intro { position: static; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-main nav { flex-wrap: wrap; }
}

@media (max-width: 640px) {
  body { font-size: 14px; }
  .container { width: calc(100% - 32px); }
  .site-header { height: 64px; background: var(--ink); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .brand { font-size: 16px; }
  .brand-icon { width: 29px; height: 29px; }
  .hero { padding: 24px 0 42px; }
  .hero-visual { display: block; margin-top: 16px; }
  .hero-poster { min-height: 320px; }
  .hero-character-main { inset: 0 -8% auto -5%; width: 108%; }
  .hero-character-chibi { width: 38%; right: -2%; top: 5%; }
  .poster-copy { left: 20px; right: 20px; bottom: 20px; }
  .poster-copy strong { font-size: 30px; }
  .hero-copy { padding: 28px 22px; }
  .hero h1 { font-size: clamp(34px, 9.5vw, 40px); }
  .hero-meter > div:first-child { font-size: 9px; }
  .hero-actions { align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .hero-line { grid-template-columns: 1fr; }
  .hero-line > div { padding: 8px 0; }
  .section { padding: 72px 0; }
  h2 { font-size: clamp(34px, 10.5vw, 46px); }
  .ecosystem-grid { grid-template-columns: 1fr; }
  .ecosystem-card:nth-child(n) { grid-column: 1; min-height: 0; }
  .ecosystem-card:nth-child(1) { min-height: 330px; }
  .product-system { padding: 24px; gap: 28px; }
  .advantage-row { grid-template-columns: 1fr 1fr; }
  .advantage-row span { border-bottom: 1px solid var(--line); }
  .principle-line { grid-template-columns: 1fr; }
  .principle-arrow { transform: rotate(90deg); text-align: center; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-item:nth-child(3) { grid-column: 1; min-height: 420px; }
  .feature-item { min-height: 370px; padding: 24px; }
  .session-ui { align-items: flex-start; flex-direction: column; }
  .mode-list { grid-template-columns: 1fr; }
  .mode-tab { min-height: 76px; grid-template-columns: 32px 1fr; }
  .mode-stage { padding: 20px; }
  .mode-ui { grid-template-columns: 1fr; }
  .mode-video { min-height: 250px; border-right: 0; border-bottom: 1px solid var(--line); }
  .flow { grid-template-columns: 1fr; }
  .flow-step { display: grid; grid-template-columns: 60px 1fr; column-gap: 16px; }
  .flow-icon { grid-row: span 3; margin: 0; }
  .three-steps { grid-template-columns: 1fr; }
  .three-steps-title { grid-column: 1; }
  .three-steps > div { min-height: 94px; border-right: 0; border-bottom: 1px solid var(--line); }
  .learning-content { padding: 22px; }
  .saved-row { grid-template-columns: 1fr; }
  .saved-row > div + div { border-top: 1px solid var(--line); border-left: 0; }
  .learning-bubble { position: relative; right: auto; bottom: auto; margin: 12px 0 0; }
  .statement-content { width: calc(100% - 32px); padding: 28px 22px; }
  .download-content { width: calc(100% - 32px); }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
  .footer-bottom a { margin-left: 0; }
}

@media (hover: hover) and (pointer: fine) {
  .nav-cta:hover { transform: translateY(-2px); }
  .button-primary:hover { transform: translateY(-2px); background: var(--paper); border-color: var(--paper); }
  .button-text:hover { transform: translateY(-2px); border-color: var(--paper); }
  .hero-poster:hover { transform: translateY(-3px); }
  .mode-tab:hover { transform: translateX(3px); border-color: var(--paper); color: var(--paper); }
  .mode-tab.is-active:hover { border-color: var(--cyan); color: var(--ink); }
  .faq-list summary:hover { color: var(--cyan); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .hero-poster, .button, .nav-cta, .mode-tab, .menu-toggle, .site-nav, .flow-icon { transition: color 120ms ease, background-color 120ms ease, border-color 120ms ease !important; transform: none !important; }
  .flow-line span { transform: none; transition: none; }
}
