:root {
  --ink: #f5f4f1;
  --muted: #9d9ca4;
  --quiet: #696973;
  --paper: #090a0f;
  --panel: #101116;
  --panel-2: #15161d;
  --edge: rgba(255,255,255,.09);
  --accent: #f25968;
  --accent-soft: #ff8993;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.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; left: 16px; top: -80px; z-index: 100; padding: 10px 14px; background: var(--ink); color: var(--paper); border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  background: rgba(9,10,15,.72); backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent; transition: border-color .25s ease;
}
.site-header.scrolled { border-color: var(--edge); }
.nav-shell { width: min(calc(100% - 48px), var(--max)); height: 78px; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; font: 500 12px/1 ui-monospace, "SFMono-Regular", Menlo, monospace; letter-spacing: .16em; }
.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex: 0 0 auto;
  border: 1px solid rgba(242,89,104,.28);
  border-radius: 50%;
}
.brand-mark i { width: 3px; border-radius: 3px; background: var(--accent); }
.brand-mark i:nth-child(1), .brand-mark i:nth-child(5) { height: 9px; }
.brand-mark i:nth-child(2), .brand-mark i:nth-child(4) { height: 15px; }
.brand-mark i:nth-child(3) { height: 21px; }
.site-nav { display: flex; align-items: center; gap: 26px; font-size: 13px; color: #c2c1c6; }
.site-nav a { transition: color .2s ease; }
.site-nav a:hover, .site-nav a:focus-visible { color: #fff; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid var(--edge); border-radius: 999px; font: 400 10px/1 ui-monospace, "SFMono-Regular", Menlo, monospace; letter-spacing: .08em; text-transform: uppercase; }
.status-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.language-control { display: inline-flex; align-items: center; }
.language-control select {
  min-height: 32px;
  padding: 5px 8px;
  border: 1px solid var(--edge);
  border-radius: 7px;
  background: #12131a;
  color: #d5d4d9;
  color-scheme: dark;
  font: 500 10px/1 ui-monospace, "SFMono-Regular", Menlo, monospace;
  letter-spacing: .06em;
}
.language-control select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.menu-button { display: none; border: 0; background: none; color: white; padding: 8px; }
.menu-button > span:not(.sr-only) { display: block; width: 24px; height: 1px; margin: 5px 0; background: currentColor; }

.hero { min-height: 900px; padding: 170px max(24px, calc((100vw - var(--max))/2)) 100px; display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: 58px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .33; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, black, transparent 85%); }
.hero-glow { position: absolute; width: 660px; height: 660px; right: -140px; top: 130px; border-radius: 50%; background: radial-gradient(circle, rgba(242,89,104,.15), rgba(242,89,104,0) 66%); filter: blur(10px); }
.hero-copy { position: relative; z-index: 2; }
.eyebrow, .section-index { margin: 0 0 24px; color: var(--accent); font: 500 11px/1.2 ui-monospace, "SFMono-Regular", Menlo, monospace; letter-spacing: .17em; }
.hero h1 { margin: 0; max-width: 620px; font-size: clamp(56px, 6vw, 94px); line-height: .96; letter-spacing: -.055em; font-weight: 500; }
.hero h1 span { color: #72717a; }
.hero-lede { max-width: 610px; margin: 32px 0 0; color: #b6b5bc; font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 0 20px; border-radius: 7px; font-size: 13px; font-weight: 600; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: white; box-shadow: 0 16px 44px rgba(242,89,104,.22); }
.button-primary:hover { background: #ff6676; }
.button-quiet { color: #bebdc3; border: 1px solid var(--edge); }
.button-quiet:hover { background: rgba(255,255,255,.04); }
.platform-row { display: flex; gap: 24px; margin-top: 42px; color: #696972; font: 400 10px/1 ui-monospace, "SFMono-Regular", Menlo, monospace; letter-spacing: .13em; text-transform: uppercase; }
.platform-row span { position: relative; }
.platform-row span:not(:last-child)::after { content: "·"; position: absolute; right: -14px; color: #3c3c43; }

.product-stage { min-width: 0; position: relative; z-index: 2; perspective: 1400px; }
.app-window { position: relative; width: 100%; max-width: 720px; margin: auto; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: #0e0f14; box-shadow: 0 50px 100px rgba(0,0,0,.46), 0 0 0 1px rgba(0,0,0,.8); transform: rotateY(-5deg) rotateX(1.5deg); }
.window-bar { height: 54px; padding: 0 18px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--edge); font: 500 10px/1 ui-monospace, "SFMono-Regular", Menlo, monospace; letter-spacing: .18em; color: #84838c; }
.window-dots { display: flex; gap: 7px; }
.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #303139; }
.window-badge { justify-self: end; padding: 5px 8px; color: var(--accent-soft); border: 1px solid rgba(242,89,104,.22); border-radius: 4px; font-size: 8px; }
.window-body { min-height: 520px; display: grid; grid-template-columns: 66px 1fr; }
.side-rail { display: flex; flex-direction: column; align-items: center; gap: 25px; padding-top: 34px; border-right: 1px solid var(--edge); color: #484850; font: 400 9px ui-monospace, "SFMono-Regular", Menlo, monospace; }
.side-rail span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; }
.side-rail .active { background: var(--accent); color: #fff; }
.wave-panel { min-width: 0; padding: 34px; }
.panel-label { font: 400 9px ui-monospace, "SFMono-Regular", Menlo, monospace; letter-spacing: .15em; color: #74747d; }
.waveform { height: 145px; display: flex; align-items: center; gap: 6px; padding: 22px 0 8px; border-bottom: 1px solid var(--edge); }
.waveform i { flex: 1 1 auto; max-width: 8px; height: var(--h); border-radius: 3px; background: linear-gradient(to top, rgba(242,89,104,.24), var(--accent)); box-shadow: 0 0 15px rgba(242,89,104,.12); }
.preset-card { margin-top: 26px; display: grid; grid-template-columns: 1fr 1.1fr auto; align-items: center; gap: 20px; padding: 18px; border: 1px solid var(--edge); background: rgba(255,255,255,.018); border-radius: 9px; }
.preset-card small, .control-grid small, .release-meta small { display: block; margin-bottom: 6px; color: #666670; font: 400 8px ui-monospace, "SFMono-Regular", Menlo, monospace; letter-spacing: .14em; }
.preset-card strong { font-size: 13px; letter-spacing: .02em; }
.preset-card > span { color: #75c998; font: 500 8px ui-monospace, "SFMono-Regular", Menlo, monospace; letter-spacing: .12em; }
.preset-meter { display: flex; align-items: end; height: 26px; gap: 5px; }
.preset-meter i { flex: 1; height: 45%; background: #34343d; border-radius: 2px; }
.preset-meter i:nth-child(2), .preset-meter i:nth-child(4) { height: 75%; background: #555561; }
.preset-meter i:nth-child(3) { height: 100%; background: var(--accent); }
.control-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.control-grid > div { padding: 15px; border: 1px solid var(--edge); border-radius: 8px; }
.control-grid b { font: 400 20px ui-monospace, "SFMono-Regular", Menlo, monospace; }
.control-grid span { display: block; position: relative; height: 2px; margin-top: 14px; background: #292a31; }
.control-grid span::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); background: var(--accent); }
.render-button { width: 100%; height: 50px; margin-top: 18px; display: flex; justify-content: space-between; align-items: center; padding: 0 18px; border: 0; border-radius: 7px; background: var(--accent); color: #fff; font: 500 10px ui-monospace, "SFMono-Regular", Menlo, monospace; letter-spacing: .12em; opacity: 1; }
.render-button i { font-style: normal; opacity: .65; }
.orbit { position: absolute; border: 1px solid rgba(242,89,104,.13); border-radius: 50%; pointer-events: none; }
.orbit-one { width: 620px; height: 620px; right: -220px; top: -80px; }
.orbit-two { width: 430px; height: 430px; right: -110px; top: 15px; }

.manifesto { padding: 130px max(24px, calc((100vw - var(--max))/2)); border-top: 1px solid var(--edge); }
.manifesto-copy { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; align-items: end; }
.manifesto-copy > p { max-width: 390px; margin: 0; color: var(--muted); font-size: 16px; }
.manifesto h2, .privacy-section h2, .release-card h2, .legal-page h1 { margin: 0; font-weight: 500; font-size: clamp(44px, 5.5vw, 76px); line-height: 1.04; letter-spacing: -.045em; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 94px; border-top: 1px solid var(--edge); border-left: 1px solid var(--edge); }
.feature-card { min-height: 300px; padding: 30px 26px; border-right: 1px solid var(--edge); border-bottom: 1px solid var(--edge); transition: background .25s ease; }
.feature-card:hover { background: var(--panel); }
.feature-number { color: var(--accent); font: 400 10px ui-monospace, "SFMono-Regular", Menlo, monospace; }
.feature-card h3 { margin: 82px 0 13px; font-size: 18px; font-weight: 600; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }

.privacy-section { min-height: 650px; padding: 130px max(24px, calc((100vw - var(--max))/2)); position: relative; overflow: hidden; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 80px; background: #0c0d12; border-block: 1px solid var(--edge); }
.privacy-content { position: relative; z-index: 1; }
.privacy-content h2 { max-width: 780px; }
.privacy-content > p:not(.eyebrow) { max-width: 680px; margin: 28px 0 0; color: var(--muted); }
.text-link { display: inline-flex; gap: 16px; margin-top: 28px; color: var(--accent-soft); font-size: 14px; }
.privacy-facts { position: relative; z-index: 1; display: grid; border-top: 1px solid var(--edge); }
.privacy-facts div { padding: 24px 0; display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--edge); }
.privacy-facts strong { font: 300 36px ui-monospace, "SFMono-Regular", Menlo, monospace; color: var(--accent); }
.privacy-facts span { color: var(--muted); font-size: 13px; }
.privacy-orbit { position: absolute; width: 760px; height: 760px; left: -310px; bottom: -480px; border: 1px solid rgba(242,89,104,.12); border-radius: 50%; box-shadow: 0 0 0 120px rgba(242,89,104,.015), 0 0 0 240px rgba(242,89,104,.01); }

.release-section { padding: 120px max(24px, calc((100vw - var(--max))/2)); }
.release-card { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding: 60px; border: 1px solid var(--edge); border-radius: 14px; background: linear-gradient(135deg, #13141b, #0d0e13); }
.release-card > div > p:last-child { color: var(--muted); }
.release-meta { display: grid; align-content: center; }
.release-meta span { padding: 16px 0; border-bottom: 1px solid var(--edge); font-size: 13px; }
.release-meta b { font: inherit; }

.site-footer { width: min(calc(100% - 48px), var(--max)); margin: auto; padding: 50px 0 34px; display: grid; grid-template-columns: 1fr auto; gap: 28px; border-top: 1px solid var(--edge); color: var(--muted); font-size: 12px; }
.footer-brand { color: var(--ink); }
.site-footer > div > p { margin: 12px 0 0; }
.site-footer nav { display: flex; gap: 28px; align-items: start; }
.site-footer nav a:hover { color: white; }
.copyright { grid-column: 1 / -1; margin: 20px 0 0; padding-top: 24px; border-top: 1px solid var(--edge); color: #5d5d66; font: 400 9px ui-monospace, "SFMono-Regular", Menlo, monospace; letter-spacing: .1em; }

.legal-page { min-height: 100vh; padding: 160px max(24px, calc((100vw - 860px)/2)) 100px; }
.legal-page .eyebrow { margin-bottom: 18px; }
.legal-page h1 { margin-bottom: 26px; }
.legal-intro { font-size: 18px; color: #b9b8bf; }
.legal-meta { margin: 26px 0 56px; color: var(--quiet); font: 400 10px ui-monospace, "SFMono-Regular", Menlo, monospace; letter-spacing: .1em; }
.legal-section { padding: 34px 0; border-top: 1px solid var(--edge); }
.legal-section h2 { margin: 0 0 14px; font-size: 20px; font-weight: 600; }
.legal-section h3 { margin: 24px 0 8px; font-size: 15px; }
.legal-section p, .legal-section li { color: var(--muted); font-size: 15px; }
.legal-section ul, .legal-section ol { padding-left: 20px; }
.legal-section a { color: var(--accent-soft); }
.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 34px 0 56px; }
.support-card { padding: 24px; border: 1px solid var(--edge); border-radius: 9px; background: var(--panel); }
.support-card small { color: var(--accent); font: 400 9px ui-monospace, "SFMono-Regular", Menlo, monospace; letter-spacing: .12em; }
.support-card h2 { margin: 14px 0 8px; font-size: 18px; }
.support-card p { margin: 0; color: var(--muted); font-size: 13px; }
.contact-panel { margin-top: 42px; padding: 30px; border: 1px solid rgba(242,89,104,.26); border-radius: 10px; background: rgba(242,89,104,.055); }
.contact-panel h2 { margin-top: 0; }
.contact-panel a { color: var(--accent-soft); }
.not-found-page { max-width: 900px; margin: auto; }
.not-found-language { margin: 0 0 60px; }

html[data-locale="zh-Hans"] body,
html[data-locale="zh-Hant"] body,
html[data-locale="ja"] body { line-height: 1.7; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 150px; }
  .hero-copy { max-width: 760px; }
  .product-stage { margin-top: 25px; }
  .app-window { transform: none; }
  .manifesto-copy { grid-template-columns: 1fr; gap: 30px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .privacy-section { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-shell { width: min(calc(100% - 32px), var(--max)); }
  .menu-button { display: block; }
  .site-nav { display: none; position: absolute; inset: 78px 0 auto; padding: 24px; flex-direction: column; align-items: flex-start; gap: 20px; background: #0d0e13; border-bottom: 1px solid var(--edge); }
  .site-nav.open { display: flex; }
  .site-nav .language-control, .site-nav .language-control select { width: 100%; }
  .hero { min-height: auto; padding-inline: 20px; padding-bottom: 70px; gap: 30px; }
  .hero h1 { font-size: clamp(48px, 15vw, 68px); }
  .hero-lede { font-size: 15px; }
  .window-body { grid-template-columns: 44px 1fr; min-height: 440px; }
  .wave-panel { padding: 24px 18px; }
  .preset-card { grid-template-columns: 1fr auto; }
  .preset-meter { display: none; }
  .control-grid { gap: 6px; }
  .control-grid > div { padding: 10px; }
  .manifesto, .privacy-section, .release-section { padding: 80px 20px; }
  .feature-grid { grid-template-columns: 1fr; margin-top: 60px; }
  .feature-card { min-height: 230px; }
  .feature-card h3 { margin-top: 48px; }
  .privacy-facts strong { font-size: 30px; }
  .release-card { grid-template-columns: 1fr; gap: 30px; padding: 32px 24px; }
  .site-footer { width: calc(100% - 40px); grid-template-columns: 1fr; }
  .site-footer nav { flex-wrap: wrap; }
  .support-grid { grid-template-columns: 1fr; }
  .legal-page { padding-inline: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
