
@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0b0c0e;
  --bg-2: #101215;
  --card: #14161a;
  --card-2: #1a1d22;
  --line: #262a31;
  --line-2: #33383f;
  --text: #f3f4f6;
  --muted: #a1a7b0;
  --faint: #6c727c;
  --accent: #d4ff3f;        
  --accent-ink: #0b0c0e;
  --violet: #9d8cff;        
  --danger: #ff6b6b;
  --radius: 16px;
  --radius-s: 10px;
  --max: 1160px;
  --read: 720px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--text); text-decoration-color: var(--line-2); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--accent); }
p { margin: 0; }
p + p { margin-top: 16px; }
h1, h2, h3 { margin: 0; font-weight: 650; letter-spacing: -0.02em; line-height: 1.15; }
h2 { font-size: clamp(28px, 3.4vw, 40px); }
h3 { font-size: 20px; letter-spacing: -0.01em; line-height: 1.3; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.read { max-width: var(--read); }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: 8px; }


.nav { position: sticky; top: 0; z-index: 20; background: rgba(11, 12, 14, 0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(38, 42, 49, 0.6); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: -0.01em; text-decoration: none; }
.brand svg { width: 26px; height: 26px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--text); }


.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; border: 1px solid var(--line-2); background: transparent; color: var(--text); text-decoration: none; transition: background .15s, border-color .15s, transform .15s; }
.btn:hover { border-color: var(--muted); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn-primary:hover { background: #e2ff75; border-color: #e2ff75; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }


.hero { position: relative; padding: 64px 0 72px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -20% -10% auto 40%; height: 620px; background: radial-gradient(closest-side, rgba(157, 140, 255, 0.16), transparent 70%); pointer-events: none; }
.hero::after { content: ''; position: absolute; inset: auto 30% -30% -20%; height: 480px; background: radial-gradient(closest-side, rgba(212, 255, 63, 0.07), transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px 5px 8px; background: rgba(20, 22, 26, 0.7); }
.eyebrow b { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.hero h1 { margin-top: 22px; font-size: clamp(40px, 5.4vw, 64px); letter-spacing: -0.035em; line-height: 1.04; font-weight: 680; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { margin-top: 22px; font-size: 19px; color: var(--muted); max-width: 520px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; padding: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; padding: 7px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }
.chips svg { width: 16px; height: 16px; color: var(--accent); }
.proof { margin-top: 30px; font-size: 14px; color: var(--faint); }


.tool { position: relative; background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.04); }
.tool-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.tool-head .dots { display: flex; gap: 6px; }
.tool-head .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.field { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
select { font: inherit; font-size: 16px; color: var(--text); background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; }
.ta-drop { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; min-height: 250px; padding: 28px; border: 1.5px dashed var(--line-2); border-radius: var(--radius); background: rgba(11, 12, 14, 0.5); transition: border-color .15s, background .15s; }
.ta-drop.is-over { border-color: var(--accent); background: rgba(212, 255, 63, 0.05); }
.ta-drop svg.up { width: 40px; height: 40px; color: var(--violet); }
.ta-drop strong { font-size: 18px; font-weight: 600; }
.ta-drop small { color: var(--faint); font-size: 13px; }
.ta-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.ta-actions input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
#ta-rec.is-rec { border-color: var(--danger); color: var(--danger); }
#ta-rec.is-rec::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--danger); animation: blink 1s infinite; }
#ta-rec-time { font-variant-numeric: tabular-nums; color: var(--danger); font-size: 14px; }
@keyframes blink { 50% { opacity: .2; } }
.ta-busy { min-height: 250px; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 8px 4px; }
.ta-stage { font-weight: 600; }
.ta-row { display: flex; align-items: center; gap: 12px; }
.ta-bar { flex: 1; height: 8px; border-radius: 99px; background: var(--bg-2); overflow: hidden; border: 1px solid var(--line); }
.ta-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--violet), var(--accent)); transition: width .3s; }
.ta-pct { font-variant-numeric: tabular-nums; font-size: 14px; color: var(--muted); min-width: 44px; text-align: right; }
.ta-hint { font-size: 13px; color: var(--faint); min-height: 18px; }
.ta-live { min-height: 96px; max-height: 140px; overflow: hidden; font-size: 15px; color: var(--muted); border-left: 2px solid var(--violet); padding-left: 12px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%); mask-image: linear-gradient(180deg, transparent, #000 40%); display: flex; align-items: flex-end; }
.ta-result { display: flex; flex-direction: column; gap: 12px; }
.ta-meta { font-size: 13px; color: var(--muted); }
#ta-text { width: 100%; min-height: 220px; resize: vertical; font: inherit; font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 14px; }
.ta-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ta-tools label { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); margin-right: auto; cursor: pointer; }
.ta-err { margin-top: 12px; padding: 10px 12px; border-radius: var(--radius-s); background: rgba(255, 107, 107, 0.08); border: 1px solid rgba(255, 107, 107, 0.35); color: #ffb3b3; font-size: 14px; }
.tool-foot { margin-top: 14px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--faint); }
.tool-foot svg { width: 15px; height: 15px; color: var(--accent); flex: none; }
[hidden] { display: none !important; }


section { padding: 88px 0; }
.band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 14px; }
.sec-head { max-width: 720px; margin-bottom: 44px; }
.sec-head p { margin-top: 16px; color: var(--muted); font-size: 18px; }


.demo { display: grid; grid-template-columns: 1fr 1.25fr; gap: 20px; align-items: stretch; }
.demo-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.demo-card h3 { font-size: 14px; color: var(--muted); font-weight: 600; letter-spacing: 0; margin-bottom: 16px; display: flex; justify-content: space-between; }
.wave { display: flex; align-items: center; gap: 3px; height: 120px; }
.wave i { flex: 1; border-radius: 3px; background: var(--violet); opacity: .85; transform-origin: center; animation: wv 1.6s ease-in-out infinite; }
@keyframes wv { 50% { transform: scaleY(.45); opacity: .5; } }
.file-meta { margin-top: 18px; display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.lines { display: flex; flex-direction: column; gap: 12px; }
.line { display: grid; grid-template-columns: 64px 1fr; gap: 14px; font-size: 15.5px; }
.js .line { opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .5s; }
.js .line.on { opacity: 1; transform: none; }
.line time { font-variant-numeric: tabular-nums; color: var(--faint); font-size: 13px; padding-top: 3px; }
.demo-note { margin-top: 16px; font-size: 13px; color: var(--faint); }


.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card p { color: var(--muted); margin-top: 10px; font-size: 16px; }
.num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: rgba(212, 255, 63, 0.1); color: var(--accent); font-weight: 650; font-size: 15px; margin-bottom: 16px; font-variant-numeric: tabular-nums; }


.prose h2 { margin-bottom: 20px; }
.prose h3 { margin: 28px 0 10px; }
.prose p, .prose li { color: #c9ced6; }
.prose ul { padding-left: 20px; margin: 16px 0; }
.prose li + li { margin-top: 8px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }


.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; color: var(--muted); font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; background: var(--bg-2); }
tr:last-child td { border-bottom: 0; }
td.yes { color: var(--accent); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 18px; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--muted); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin-top: 12px; color: var(--muted); }


.cta { text-align: center; padding: 96px 0; }
.cta h2 { font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -0.03em; }
.cta p { margin: 16px auto 28px; color: var(--muted); max-width: 560px; font-size: 18px; }


footer { border-top: 1px solid var(--line); padding: 40px 0 56px; font-size: 14px; color: var(--faint); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }


.page { padding: 64px 0 96px; }
.page h1 { font-size: clamp(34px, 4.4vw, 48px); letter-spacing: -0.03em; margin-bottom: 20px; }
.page .prose { margin-top: 28px; }
.crumbs { font-size: 14px; color: var(--faint); margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }


.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .wave i { animation: none; }
  .js .line { opacity: 1; transform: none; }
}


@media (max-width: 960px) {
  .hero { padding: 36px 0 56px; }
  .hero-grid, .demo, .split { grid-template-columns: 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .nav-links a:not(.btn) { display: none; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero h1 { font-size: 38px; }
  .lead { font-size: 17px; }
  .tool { padding: 16px; border-radius: 18px; }
  .ta-drop { min-height: 220px; padding: 22px 16px; }
  th, td { padding: 12px 14px; }
}


.fields { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }
@media (max-width: 520px) { .tool-head .dots { display: none; } .fields { justify-content: flex-start; } }


.hero-grid { grid-template-areas: "copy tool" "extra tool"; grid-template-rows: auto 1fr; row-gap: 0; }
.hero-copy { grid-area: copy; }
.hero-tool { grid-area: tool; }
.hero-extra { grid-area: extra; }
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: var(--accent-ink); }
.tool-head { justify-content: flex-end; }
.fields { flex-wrap: nowrap; }
.fields select { padding: 5px 8px; }
@media (max-width: 960px) {
  .hero-grid { grid-template-areas: "copy" "tool" "extra"; grid-template-rows: auto; row-gap: 28px; }
}
@media (max-width: 520px) {
  .hero { padding: 20px 0 48px; }
  .eyebrow { font-size: 12px; }
  .hero h1 { margin-top: 14px; font-size: 34px; }
  .lead { margin-top: 12px; font-size: 16px; line-height: 1.55; }
  .chips { margin-top: 0; }
  .nav .wrap { height: 56px; }
  .nav-links .btn-sm { height: 34px; padding: 0 12px; font-size: 13px; }
  .tool-head { justify-content: stretch; }
  .fields { width: 100%; justify-content: space-between; gap: 10px; }
  .field { gap: 6px; font-size: 13px; }
  .fields select { max-width: 132px; }
  .ta-drop { min-height: 0; gap: 10px; }
  .ta-drop strong { font-size: 16px; }
}


.hero-grid > * { min-width: 0; }
@media (max-width: 520px) {
  .fields { display: grid; grid-template-columns: 1fr 1fr; }
  .field { flex-direction: column; align-items: stretch; gap: 4px; min-width: 0; }
  .fields select { max-width: none; width: 100%; }
}
