/* AI Exporter — official website */
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter var";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f6f3ea;
  --paper-2: #efeade;
  --surface: #fffdf8;
  --ink: #15140f;
  --ink-2: #3a382f;
  --muted: #6f6a5d;
  --muted-2: #928c7d;
  --line: #e2dccd;
  --line-strong: #cfc7b4;
  --accent: #e8481c;
  --accent-hover: #cf3d13;
  --accent-soft: #fde9e2;
  --lime: #c8ff3d;
  --green: #2f6b46;
  --green-soft: #e4f2e8;
  --dark: #15140f;
  --dark-2: #1e1c18;
  --cream: #fffaf0;
  --font: "Inter var", "Segoe UI", ui-sans-serif, system-ui, -apple-system, "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --display: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, "Songti SC", "Noto Serif SC", serif;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Consolas, "Liberation Mono", monospace;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(21,20,15,.05);
  --shadow: 0 16px 40px rgba(21,20,15,.08), 0 2px 8px rgba(21,20,15,.04);
  --shadow-lg: 0 40px 100px rgba(21,20,15,.16), 0 10px 30px rgba(21,20,15,.06);
  --ease: cubic-bezier(.2,.7,.2,1);
  --w: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: #fff; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--w); margin: 0 auto; padding: 0 28px; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.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 { position: fixed; top: -60px; left: 18px; z-index: 200; padding: 10px 14px; background: var(--ink); color: var(--paper); border-radius: 8px; }
.skip:focus { top: 14px; }
.ic { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
section[id], div[id] { scroll-margin-top: 86px; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

html[lang="zh-CN"] .hero h1,
html[lang="zh-CN"] .section-title,
html[lang="zh-CN"] .page-hero h1,
html[lang="zh-CN"] .cta-card h2,
html[lang="zh-CN"] .price b,
html[lang="zh-CN"] .modal-card h2 {
  font-family: var(--font);
  font-weight: 760;
  letter-spacing: -.035em;
}
html[lang="zh-CN"] .hero h1 { font-size: clamp(40px, 4.6vw, 66px); line-height: 1.07; }
html[lang="zh-CN"] .section-title { font-size: clamp(32px, 3.8vw, 50px); line-height: 1.14; }
html[lang="zh-CN"] .page-hero h1 { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.08; }
html[lang="zh-CN"] .cta-card h2 { font-size: clamp(32px, 3.8vw, 48px); line-height: 1.15; }
html[lang="zh-CN"] .hero h1 em,
html[lang="zh-CN"] .section-title em,
html[lang="zh-CN"] .page-hero h1 em,
html[lang="zh-CN"] .cta-card h2 em { font-style: normal; }
html[lang="zh-CN"] .hero-lead { font-size: 16px; line-height: 1.8; }
html[lang="zh-CN"] .prose p,
html[lang="zh-CN"] .prose li { line-height: 1.85; }

/* ------------------------------------------------------------------- nav */
.site-nav {
  position: sticky; top: 0; z-index: 80;
  height: 68px;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.site-nav.scrolled { border-bottom-color: var(--line); background: color-mix(in srgb, var(--paper) 94%, transparent); }
.nav-inner { height: 100%; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand img { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 2px 6px rgba(232,72,28,.22); }
.brand .wordmark { font-weight: 750; letter-spacing: -.03em; font-size: 16px; }
.brand .tag { font-family: var(--mono); font-size: 8.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px 6px; }
.nav-links { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.nav-links a { font-size: 13px; font-weight: 550; color: var(--muted); transition: color .15s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: 8px; }
.lang-btn {
  height: 32px; padding: 0 10px;
  border: 1px solid var(--line); border-radius: 8px;
  background: transparent; color: var(--muted);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em;
}
.lang-btn:hover { border-color: var(--line-strong); color: var(--ink); }
.menu-btn { display: none; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 9px; background: transparent; }
.menu-btn span { display: block; width: 16px; height: 1.5px; background: var(--ink); margin: 4px auto; }
.mobile-menu { display: none; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px;
  border: 1px solid var(--line-strong); border-radius: 11px;
  background: var(--surface); color: var(--ink);
  font-size: 13.5px; font-weight: 650; letter-spacing: -.01em;
  white-space: nowrap; box-shadow: var(--shadow-sm);
  transition: background .15s var(--ease), transform .12s var(--ease), box-shadow .15s var(--ease), border-color .15s var(--ease);
}
.btn:hover { background: var(--paper-2); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(232,72,28,.24); }
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); box-shadow: 0 10px 26px rgba(232,72,28,.3); }
.btn.dark { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn.dark:hover { background: #2b2821; }
.btn.ghost { background: transparent; border-color: transparent; box-shadow: none; color: var(--muted); }
.btn.ghost:hover { background: var(--paper-2); color: var(--ink); transform: none; }
.btn.sm { min-height: 34px; padding: 0 12px; font-size: 12px; border-radius: 8px; }
.btn.lg { min-height: 52px; padding: 0 24px; font-size: 15px; border-radius: 13px; }
.btn .arrow { transition: transform .18s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; padding: 76px 0 84px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: -20% -10% auto -10%; height: 780px; pointer-events: none;
  background:
    radial-gradient(48% 52% at 78% 28%, rgba(232,72,28,.14), transparent 70%),
    radial-gradient(38% 42% at 12% 48%, rgba(200,255,61,.18), transparent 70%);
  filter: blur(10px);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px 6px 7px;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255,253,248,.7);
  font-family: var(--mono); font-size: 9.5px; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase; color: var(--muted);
  box-shadow: var(--shadow-sm);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(232,72,28,.12); }
.hero h1 {
  margin-top: 24px;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(58px, 7.6vw, 102px); line-height: .94; letter-spacing: -.035em;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-lead { margin-top: 24px; max-width: 500px; font-size: 17px; line-height: 1.62; color: var(--muted); }
.hero-lead b { color: var(--ink-2); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-note { margin-top: 16px; display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--muted-2); }
.hero-note svg { color: var(--green); }
.trust-row { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); }
.trust-item { display: flex; flex-direction: column; gap: 1px; }
.trust-item b { font-family: var(--mono); font-size: 15px; letter-spacing: -.02em; }
.trust-item span { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }

/* hero art */
.hero-art { position: relative; height: 540px; }
.art-stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.chat-mock {
  position: absolute; left: -4%; top: 48px; width: 330px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: 15px;
  transform: rotate(-3.2deg);
  animation: float-a 7s ease-in-out infinite;
}
.chat-mock .cm-head { display: flex; align-items: center; gap: 7px; margin-bottom: 13px; color: var(--muted); font-size: 10.5px; font-weight: 600; }
.cm-dot { width: 7px; height: 7px; border-radius: 50%; background: #10a37f; }
.cm-head .cm-mono { margin-left: auto; font-family: var(--mono); font-size: 8.5px; letter-spacing: .05em; color: var(--muted-2); }
.cm-msg { margin-bottom: 11px; }
.cm-role { font-family: var(--mono); font-size: 7.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 4px; }
.cm-bubble { border-radius: 9px; padding: 8px 10px; font-size: 10.5px; line-height: 1.45; }
.cm-msg.user .cm-bubble { background: var(--accent-soft); color: #7a2b12; }
.cm-msg.ai .cm-bubble { background: var(--paper-2); color: var(--ink-2); }
.cm-lines { display: flex; flex-direction: column; gap: 5px; }
.cm-lines i { display: block; height: 5px; border-radius: 3px; background: var(--line-strong); opacity: .6; }
.cm-lines i:nth-child(1) { width: 88%; background: #c9a596; opacity: .7; }
.cm-lines i:nth-child(2) { width: 74%; }
.cm-lines i:nth-child(3) { width: 82%; }
.cm-code { margin-top: 8px; padding: 8px; background: #f1ede1; border: 1px solid var(--line); border-radius: 7px; font-family: var(--mono); font-size: 8px; line-height: 1.5; color: #4b473d; }
.cm-code .kw { color: #a13c1d; }
.cm-table { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 8px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; font-size: 8px; }
.cm-table span { background: var(--surface); padding: 4px 6px; color: var(--muted); }
.cm-table span:nth-child(-n+2) { background: var(--paper-2); font-weight: 600; color: var(--ink-2); }

.export-chip {
  position: absolute; z-index: 3; left: 47%; top: 43%; transform: translate(-50%, -50%) rotate(-3deg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  width: 68px; height: 68px; padding: 7px; border-radius: 50%;
  background: var(--ink); color: var(--cream); box-shadow: 0 18px 46px rgba(21,20,15,.3);
}
.export-chip img { width: 24px; height: 24px; border-radius: 6px; }
.export-chip b { font-size: 6.5px; letter-spacing: .07em; text-transform: uppercase; font-family: var(--mono); }
.export-chip span { display: none; }

.file-stack { position: absolute; right: -5%; top: 120px; width: 260px; display: flex; flex-direction: column; gap: 10px; }
.file-card {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 12px; box-shadow: var(--shadow); 
}
.file-card:nth-child(1) { transform: rotate(2.4deg) translateX(6px); animation: float-b 8s ease-in-out infinite; }
.file-card:nth-child(2) { transform: rotate(-1.4deg) translateX(-10px); animation: float-b 8s ease-in-out .8s infinite; }
.file-card:nth-child(3) { transform: rotate(1.2deg) translateX(4px); animation: float-b 8s ease-in-out 1.6s infinite; }
.file-badge { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; font-family: var(--mono); font-size: 8.5px; font-weight: 700; flex: 0 0 auto; }
.file-badge.md { background: #e7efff; color: #1d4ed8; }
.file-badge.pdf { background: #fde7e2; color: #b42318; }
.file-badge.json { background: #e3f4e8; color: #2f6b46; }
.file-card b { display: block; font-size: 10.5px; font-weight: 650; }
.file-card span { display: block; font-family: var(--mono); font-size: 8px; color: var(--muted-2); margin-top: 1px; }
.file-card .file-size { margin-left: auto; font-family: var(--mono); font-size: 8px; color: var(--muted-2); }
.art-badge {
  position: absolute; padding: 7px 10px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  font-family: var(--mono); font-size: 8.5px; letter-spacing: .04em; color: var(--muted);
  display: flex; align-items: center; gap: 6px;
}
.art-badge .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.art-badge.batch { bottom: 36px; left: 40%; transform: rotate(1deg); }
.art-badge.local { bottom: 84px; right: 2%; transform: rotate(-2deg); background: var(--lime); border-color: #b7ea2f; color: #2c3606; }
.art-badge.local .dot { background: #2c3606; }

@keyframes float-a { 0%,100% { transform: rotate(-3.2deg) translateY(0); } 50% { transform: rotate(-2.6deg) translateY(-10px); } }
@keyframes float-b { 0%,100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* --------------------------------------------------------------- marquee */
.platforms { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-2); padding: 16px 0; }
.marquee { display: flex; overflow: hidden; gap: 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 44px; flex: 0 0 auto; padding-right: 44px; animation: marquee 32s linear infinite; }
.platforms:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); white-space: nowrap; display: flex; align-items: center; gap: 8px; }
.marquee-track span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--line-strong); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------- section */
.section { position: relative; padding: 108px 0; }
.section.tight { padding: 76px 0; }
.section-head { max-width: 720px; }
.section-kicker { font-family: var(--mono); font-size: 10px; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); display: flex; align-items: center; gap: 8px; }
.section-kicker::before { content: ""; width: 18px; height: 1px; background: var(--accent); }
.section-title { margin-top: 16px; font-family: var(--display); font-weight: 400; font-size: clamp(36px, 4.2vw, 58px); line-height: 1.02; letter-spacing: -.025em; }
.section-title em { font-style: italic; color: var(--accent); }
.section-lead { margin-top: 16px; max-width: 600px; color: var(--muted); font-size: 15.5px; line-height: 1.65; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-head.center .section-lead { margin-left: auto; margin-right: auto; }
.section-head.center .section-kicker { justify-content: center; }
.section-head.center .section-kicker::before { display: none; }

/* ------------------------------------------------------------- big three */
.three-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 54px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.big-feature { padding: 30px 30px 34px 0; border-right: 1px solid var(--line); }
.big-feature:last-child { border-right: 0; padding-right: 0; }
.big-feature:nth-child(2) { padding-left: 30px; }
.big-feature:nth-child(3) { padding-left: 30px; }
.big-num { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: var(--accent); }
.big-feature h3 { margin-top: 20px; font-size: 20px; line-height: 1.25; letter-spacing: -.02em; font-weight: 650; }
.big-feature p { margin-top: 10px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.big-proof { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-family: var(--mono); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); }
.big-proof svg { color: var(--green); }

/* ----------------------------------------------------------- feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 54px; }
.feature-card {
  padding: 24px 22px 26px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow-sm);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.f-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--paper-2); color: var(--ink-2); display: grid; place-items: center; margin-bottom: 18px; }
.feature-card h3 { font-size: 15px; font-weight: 650; letter-spacing: -.015em; }
.feature-card p { margin-top: 7px; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.feature-card .f-meta { margin-top: 16px; font-family: var(--mono); font-size: 8.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.feature-card.accent { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.feature-card.accent .f-icon { background: #2a2821; color: var(--lime); }
.feature-card.accent p { color: #b8b2a3; }
.feature-card.accent .f-meta { color: #8f897b; }

/* ------------------------------------------------------------------ demo */
.demo-band { background: var(--dark); color: var(--cream); padding: 94px 0 100px; position: relative; overflow: hidden; }
.demo-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(54% 60% at 76% 14%, rgba(232,72,28,.2), transparent 70%); pointer-events: none; }
.demo-band .section-kicker { color: var(--lime); }
.demo-band .section-kicker::before { background: var(--lime); }
.demo-band .section-title { color: var(--cream); }
.demo-band .section-title em { color: var(--lime); }
.demo-band .section-lead { color: #aaa393; }
.demo-layout { position: relative; display: grid; grid-template-columns: .86fr 1.14fr; gap: 22px; margin-top: 48px; align-items: stretch; }
.demo-chat { background: var(--dark-2); border: 1px solid #322f28; border-radius: 16px; padding: 18px; display: flex; flex-direction: column; }
.demo-chat-head { display: flex; align-items: center; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid #322f28; }
.demo-chat-head .dot { width: 7px; height: 7px; border-radius: 50%; background: #10a37f; }
.demo-chat-head b { font-size: 11.5px; }
.demo-chat-head span { margin-left: auto; font-family: var(--mono); font-size: 8.5px; color: #8f897b; }
.demo-msg { padding: 13px 0; border-bottom: 1px solid #2a2822; }
.demo-msg:last-of-type { border-bottom: 0; }
.demo-msg .role { font-family: var(--mono); font-size: 8px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8f897b; margin-bottom: 5px; }
.demo-msg.user .role { color: #ff9a78; }
.demo-msg.ai .role { color: #9bd8b1; }
.demo-msg p { font-size: 11.5px; line-height: 1.55; color: #d8d2c3; }
.demo-msg code { font-family: var(--mono); font-size: .9em; background: #2a2822; padding: 1px 4px; border-radius: 3px; color: #f0c9b6; }
.demo-msg .mini-code { margin-top: 7px; padding: 8px 9px; background: #12110e; border: 1px solid #2a2822; border-radius: 6px; font-family: var(--mono); font-size: 9px; line-height: 1.55; color: #c9c2b2; white-space: pre-wrap; }
.demo-stats { display: flex; gap: 14px; margin-top: auto; padding-top: 14px; font-family: var(--mono); font-size: 8.5px; color: #8f897b; letter-spacing: .05em; }

.demo-output { background: #0e0d0b; border: 1px solid #322f28; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; min-height: 430px; }
.demo-tabs { display: flex; align-items: center; gap: 2px; padding: 9px 10px; border-bottom: 1px solid #322f28; flex-wrap: wrap; }
.demo-tab {
  padding: 6px 10px; border: 0; border-radius: 6px; background: transparent;
  color: #8f897b; font-family: var(--mono); font-size: 9px; letter-spacing: .06em; text-transform: uppercase;
}
.demo-tab:hover { color: var(--cream); }
.demo-tab[aria-selected="true"] { background: #26231e; color: var(--cream); }
.demo-tab-meta { margin-left: auto; font-family: var(--mono); font-size: 8.5px; color: #6f6a5d; }
.demo-code { flex: 1; overflow: auto; padding: 18px 20px 22px; max-height: 420px; }
.demo-code pre { margin: 0; font-family: var(--mono); font-size: 10.5px; line-height: 1.62; color: #d4cec0; white-space: pre; tab-size: 2; }
.demo-code::-webkit-scrollbar { width: 9px; height: 9px; }
.demo-code::-webkit-scrollbar-thumb { background: #3a362d; border-radius: 8px; }
.demo-foot { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-top: 1px solid #322f28; background: #12110e; }
.demo-foot .demo-file { font-family: var(--mono); font-size: 9px; color: #8f897b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-foot .btn { margin-left: auto; min-height: 30px; padding: 0 10px; font-size: 10.5px; border-radius: 7px; }
.demo-note { display: flex; align-items: center; gap: 7px; margin-top: 16px; font-size: 10.5px; color: #8f897b; }
.demo-note .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--lime); }

/* --------------------------------------------------------------- formats */
.formats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 50px; }
.format-card {
  position: relative; padding: 20px 18px 20px; border: 1px solid var(--line); border-radius: 13px;
  background: var(--surface); transition: border-color .16s var(--ease), transform .16s var(--ease);
}
.format-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.format-card .fc-top { display: flex; align-items: center; gap: 10px; }
.fc-icon { width: 34px; height: 34px; border-radius: 9px; background: var(--paper-2); display: grid; place-items: center; color: var(--ink-2); }
.format-card h3 { font-size: 14px; font-weight: 650; letter-spacing: -.01em; }
.format-card .fc-ext { font-family: var(--mono); font-size: 8.5px; color: var(--muted-2); }
.format-card p { margin-top: 10px; font-size: 12px; line-height: 1.55; color: var(--muted); }
.format-card .fc-best { margin-top: 12px; font-family: var(--mono); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.format-card .fc-best b { color: var(--ink-2); font-weight: 600; }

/* ---------------------------------------------------------------- privacy */
.privacy-band { background: var(--dark); color: var(--cream); padding: 92px 0; position: relative; overflow: hidden; }
.privacy-band::after { content: ""; position: absolute; right: -180px; top: -180px; width: 520px; height: 520px; border-radius: 50%; border: 1px solid #2f2c25; box-shadow: 0 0 0 40px rgba(255,255,255,.01), 0 0 0 80px rgba(255,255,255,.008); }
.privacy-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.privacy-band .section-kicker { color: var(--lime); }
.privacy-band .section-kicker::before { background: var(--lime); }
.privacy-band .section-title { color: var(--cream); }
.privacy-band .section-title em { color: var(--lime); }
.privacy-band .section-lead { color: #aaa393; }
.privacy-list { display: flex; flex-direction: column; gap: 16px; margin-top: 30px; }
.privacy-item { display: flex; gap: 12px; }
.privacy-item .pi-ic { width: 30px; height: 30px; border-radius: 8px; background: #26231e; color: var(--lime); display: grid; place-items: center; flex: 0 0 auto; }
.privacy-item b { display: block; font-size: 13px; color: var(--cream); }
.privacy-item span { display: block; margin-top: 2px; font-size: 11.5px; line-height: 1.55; color: #9a9486; }
.perm-card { border: 1px solid #322f28; border-radius: 14px; background: #181612; overflow: hidden; }
.perm-head { padding: 14px 16px; border-bottom: 1px solid #322f28; display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: #8f897b; }
.perm-head .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--lime); }
.perm-row { display: grid; grid-template-columns: 150px 1fr; gap: 10px; padding: 10px 16px; border-bottom: 1px solid #26231e; font-size: 10.5px; }
.perm-row:last-child { border-bottom: 0; }
.perm-row b { font-family: var(--mono); font-size: 9px; color: #cfc8b8; font-weight: 500; }
.perm-row span { color: #a8a294; }
.perm-foot { padding: 12px 16px; border-top: 1px solid #322f28; display: flex; justify-content: space-between; gap: 10px; font-family: var(--mono); font-size: 8.5px; color: #6f6a5d; }

/* ---------------------------------------------------------------- compare */
.compare-wrap { margin-top: 46px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); overflow: hidden; box-shadow: var(--shadow-sm); }
.compare { width: 100%; border-collapse: collapse; font-size: 13px; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--paper-2); font-weight: 600; }
.compare thead th:nth-child(2) { color: var(--muted-2); }
.compare thead th:nth-child(3) { color: var(--accent); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td:first-child { font-weight: 600; color: var(--ink); }
.compare td:nth-child(2) { color: var(--muted); }
.compare td:nth-child(3) { background: rgba(232,72,28,.035); font-weight: 550; }
.compare .yes { color: var(--green); font-weight: 700; }
.compare .no { color: var(--muted-2); }
.compare .part { color: var(--amber, #946200); font-weight: 600; }

/* -------------------------------------------------------------- screens */
.shots { display: grid; grid-template-columns: 1.35fr .65fr; gap: 16px; margin-top: 44px; align-items: start; }
.shot-main { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.shot-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.shot-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); }
.shot-bar span { margin-left: 8px; font-family: var(--mono); font-size: 8.5px; color: var(--muted-2); }
.shot-main img { width: 100%; height: auto; display: block; }
.shot-side { display: flex; flex-direction: column; gap: 16px; }
.shot-side figure { margin: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.shot-side img { width: 100%; height: auto; display: block; }
.shot-side figcaption { padding: 10px 12px; border-top: 1px solid var(--line); font-size: 10.5px; color: var(--muted); }

/* ---------------------------------------------------------------- pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 50px; align-items: stretch; }
.price-card { display: flex; flex-direction: column; padding: 26px 24px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-sm); }
.price-card.featured { border-color: var(--ink); background: var(--ink); color: var(--cream); box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.price-tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.price-card.featured .price-tag { color: var(--lime); }
.price-card h3 { margin-top: 14px; font-size: 20px; letter-spacing: -.02em; }
.price { margin-top: 8px; display: flex; align-items: baseline; gap: 6px; }
.price b { font-family: var(--display); font-size: 48px; font-weight: 400; line-height: 1; letter-spacing: -.03em; }
.price span { font-size: 11px; color: var(--muted); }
.price-card.featured .price span { color: #9a9486; }
.price-desc { margin-top: 10px; font-size: 12px; line-height: 1.55; color: var(--muted); min-height: 38px; }
.price-card.featured .price-desc { color: #a8a294; }
.price-features { margin-top: 20px; display: flex; flex-direction: column; gap: 9px; font-size: 12px; color: var(--ink-2); }
.price-card.featured .price-features { color: #d8d2c3; }
.price-features li { display: flex; gap: 8px; align-items: flex-start; }
.price-features svg { color: var(--green); margin-top: 3px; flex: 0 0 auto; }
.price-card.featured .price-features svg { color: var(--lime); }
.price-card .btn { margin-top: 24px; width: 100%; }
.price-card.featured .btn.dark { background: transparent; border-color: #4a463b; color: var(--cream); }
.price-card.featured .btn.dark:hover { background: rgba(255,255,255,.08); }
.price-note { margin-top: 22px; text-align: center; font-size: 11px; color: var(--muted-2); }
.price-badge { align-self: flex-start; margin-bottom: 6px; padding: 3px 8px; border-radius: 999px; background: var(--lime); color: #2c3606; font-family: var(--mono); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }

/* -------------------------------------------------------------------- faq */
.faq-list { margin-top: 40px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { display: flex; align-items: center; gap: 16px; width: 100%; padding: 20px 0; border: 0; background: transparent; text-align: left; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.faq-q .plus { margin-left: auto; flex: 0 0 auto; color: var(--muted); transition: transform .2s var(--ease); font-family: var(--mono); font-size: 18px; font-weight: 300; }
.faq-item.open .plus { transform: rotate(45deg); color: var(--accent); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq-a p { padding: 0 44px 22px 0; font-size: 13px; line-height: 1.65; color: var(--muted); }
.faq-item.open .faq-a { max-height: 320px; }

/* -------------------------------------------------------------------- cta */
.cta-band { padding: 96px 0 110px; }
.cta-card { position: relative; overflow: hidden; border-radius: 26px; background: var(--ink); color: var(--cream); padding: 62px 60px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-card::before { content: ""; position: absolute; right: -100px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(232,72,28,.34), transparent 70%); }
.cta-card h2 { font-family: var(--display); font-weight: 400; font-size: clamp(36px, 4.5vw, 58px); line-height: 1; letter-spacing: -.03em; }
.cta-card h2 em { color: var(--lime); font-style: italic; }
.cta-card p { margin-top: 12px; max-width: 420px; font-size: 13px; color: #a8a294; }
.cta-actions { position: relative; display: flex; flex-direction: column; gap: 10px; flex: 0 0 auto; }
.cta-actions .btn { min-width: 210px; }
.cta-actions .btn.primary { background: var(--lime); border-color: var(--lime); color: #222a06; box-shadow: 0 10px 30px rgba(200,255,61,.18); }
.cta-actions .btn.primary:hover { background: #d5ff6d; }
.cta-fine { text-align: center; font-family: var(--mono); font-size: 8.5px; letter-spacing: .08em; text-transform: uppercase; color: #6f6a5d; }

/* ----------------------------------------------------------------- footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .6fr .6fr .6fr; gap: 34px; }
.footer-brand p { margin-top: 12px; max-width: 280px; font-size: 11.5px; line-height: 1.6; color: var(--muted); }
.footer-col h4 { font-family: var(--mono); font-size: 8.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; }
.footer-col ul { margin-top: 12px; display: flex; flex-direction: column; gap: 7px; }
.footer-col a { font-size: 11.5px; color: var(--muted); }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 10px; color: var(--muted-2); }
.footer-bottom .fb-right { display: flex; gap: 16px; }

/* --------------------------------------------------------------- subpages */
.page-hero { padding: 72px 0 36px; border-bottom: 1px solid var(--line); }
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero h1 { font-family: var(--display); font-size: clamp(44px, 6vw, 74px); line-height: .98; letter-spacing: -.03em; font-weight: 400; }
.page-hero p { margin-top: 16px; max-width: 620px; color: var(--muted); font-size: 15px; }
.prose { max-width: 760px; padding: 52px 0 90px; }
.prose h2 { margin: 38px 0 12px; font-size: 20px; letter-spacing: -.02em; }
.prose h3 { margin: 26px 0 8px; font-size: 15px; }
.prose p, .prose li { font-size: 13.5px; line-height: 1.7; color: var(--ink-2); }
.prose p { margin-bottom: 12px; }
.prose ul, .prose ol { margin: 0 0 14px; padding-left: 20px; list-style: disc; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.prose code { font-family: var(--mono); font-size: .9em; background: var(--paper-2); padding: 2px 5px; border-radius: 4px; }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 12px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--paper-2); font-size: 11px; }
.prose .note { padding: 14px 16px; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 8px; background: var(--surface); font-size: 12.5px; color: var(--muted); }
.prose .updated { font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }

.install-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 34px; }
.install-step { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.install-step .n { font-family: var(--mono); font-size: 10px; color: var(--accent); }
.install-step h3 { margin-top: 10px; font-size: 15px; }
.install-step p { margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.install-step code { font-family: var(--mono); font-size: .9em; background: var(--paper-2); padding: 1px 4px; border-radius: 3px; }
.install-step > code { display: block; margin-top: 10px; padding: 8px 10px; background: var(--paper-2); border-radius: 6px; font-size: 10.5px; color: var(--ink-2); overflow-x: auto; }
.download-box { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); margin-top: 26px; }
.download-box .db-meta { flex: 1; min-width: 220px; }
.download-box b { font-size: 14px; }
.download-box .db-meta span { display: block; font-family: var(--mono); font-size: 9px; color: var(--muted-2); margin-top: 3px; }
.download-box .db-meta #zip-size { display: inline; color: var(--muted); }
.hash { font-family: var(--mono); font-size: 9px; color: var(--muted); word-break: break-all; }

.changelog-item { display: grid; grid-template-columns: 130px 1fr; gap: 26px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.changelog-item .ver { font-family: var(--mono); font-size: 10px; color: var(--accent); letter-spacing: .08em; }
.changelog-item h2 { font-size: 18px; letter-spacing: -.02em; }
.changelog-item .date { font-family: var(--mono); font-size: 9px; color: var(--muted-2); margin-top: 4px; }
.changelog-item ul { margin-top: 12px; display: flex; flex-direction: column; gap: 7px; }
.changelog-item li { font-size: 12.5px; color: var(--muted); display: flex; gap: 8px; }
.changelog-item li::before { content: "—"; color: var(--accent); }

/* ------------------------------------------------------------------ modal */
.modal { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(21,20,15,.55); backdrop-filter: blur(4px); }
.modal-card { position: relative; z-index: 1; width: min(560px, 100%); max-height: 86vh; overflow-y: auto; background: var(--paper); border-radius: 18px; padding: 28px; box-shadow: var(--shadow-lg); }
.modal-card h2 { font-family: var(--display); font-size: 32px; font-weight: 400; letter-spacing: -.02em; }
.modal-card p { margin-top: 8px; font-size: 13px; color: var(--muted); }
.modal-close { position: absolute; right: 14px; top: 14px; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 8px; background: transparent; }

/* --------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .hero-grid { gap: 30px; }
  .hero-art { height: 500px; transform: scale(.94); transform-origin: left center; }
  .chat-mock { width: 300px; left: -8%; }
  .file-stack { right: -8%; width: 235px; }
  .feature-grid, .formats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .menu-btn { display: block; margin-left: auto; }
  .nav-actions .btn { display: none; }
  .mobile-menu { display: block; position: fixed; inset: 68px 0 auto 0; z-index: 79; background: var(--paper); border-bottom: 1px solid var(--line); padding: 16px 22px 22px; box-shadow: var(--shadow); }
  .mobile-menu a { display: block; padding: 10px 0; font-size: 15px; border-bottom: 1px solid var(--line); }
  .mobile-menu .btn { margin-top: 14px; width: 100%; }
  .hero { padding: 50px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { height: 470px; transform: none; margin-top: 20px; }
  .chat-mock { left: 2%; width: 290px; }
  .file-stack { right: 0; width: 230px; }
  .export-chip { left: 48%; }
  .three-grid { grid-template-columns: 1fr; }
  .big-feature, .big-feature:nth-child(2), .big-feature:nth-child(3) { border-right: 0; border-bottom: 1px solid var(--line); padding: 24px 0; }
  .big-feature:last-child { border-bottom: 0; }
  .demo-layout { grid-template-columns: 1fr; }
  .privacy-grid { grid-template-columns: 1fr; gap: 36px; }
  .shots { grid-template-columns: 1fr; }
  .shot-side { flex-direction: row; }
  .shot-side figure { flex: 1; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .cta-card { flex-direction: column; align-items: flex-start; padding: 42px 30px; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { width: 100%; }
  .compare-wrap { overflow-x: auto; }
  .compare { min-width: 620px; }
  .install-steps { grid-template-columns: 1fr; }
  .changelog-item { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .hero h1 { font-size: clamp(48px, 14vw, 64px); }
  .hero-lead { font-size: 15px; }
  .hero-art { height: 430px; }
  .chat-mock { width: 245px; left: 0; top: 30px; }
  .file-stack { width: 190px; top: 110px; right: -6%; }
  .file-card { padding: 8px; }
  .file-card .file-size { display: none; }
  .export-chip { left: 42%; padding: 9px 12px; }
  .art-badge.local { display: none; }
  .feature-grid, .formats-grid { grid-template-columns: 1fr; }
  .section { padding: 74px 0; }
  .section-title { font-size: 38px; }
  .trust-row { gap: 16px; }
  .trust-item b { font-size: 13px; }
  .demo-code { max-height: 360px; padding: 14px; }
  .demo-code pre { font-size: 9.5px; }
  .faq-q { font-size: 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .shot-side { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
