:root {
  --bg: #0e0c0a;
  --bg-2: #15120f;
  --surface: #1b1814;
  --surface-2: #24201b;
  --line: #2f2a23;
  --line-2: #3d362d;
  --text: #f6f1e7;
  --muted: #a59d8f;
  --faint: #6f685d;
  --accent: #ffb200;
  --accent-ink: #1c1300;
  --accent-soft: rgba(255, 178, 0, 0.14);
  --pink: #ff4f8b;
  --green: #3ddc84;
  --danger: #ff6b5e;
  --radius: 14px;
  --radius-lg: 22px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -0.02em; margin: 0; }
.muted { color: var(--muted); }
.fine { color: var(--faint); font-size: 13px; margin: 10px 0 0; }
.small-text { font-size: 14px; }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--surface-2); color: var(--text); font-weight: 600; font-size: 15px;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}
.btn:hover { background: #2d2821; border-color: #4a4236; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: #ffc233; }
.btn.ghost { background: transparent; }
.btn.small { padding: 7px 12px; font-size: 13.5px; }
.btn.big { padding: 15px 24px; font-size: 17px; width: 100%; }
.btn.danger { color: var(--danger); }
.btn.on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.icon-btn {
  width: 40px; height: 40px; flex: none; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface-2); cursor: pointer;
}
.icon-btn svg { width: 20px; height: 20px; }

/* ------------------------------------------------------------ brand / topbar */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.logo { width: 30px; height: 30px; }

.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 16px; height: 60px; padding: 0 20px;
  background: rgba(14, 12, 10, 0.86); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar-mid { flex: 1; min-width: 0; color: var(--muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }
.topbar-actions { display: flex; gap: 8px; align-items: center; }
.badge { font-size: 12.5px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--muted); cursor: help; }

/* ------------------------------------------------------------ app views */
body.app { min-height: 100vh; }
.view { padding: 24px 20px 40px; }
.upload-view { display: grid; place-items: center; min-height: calc(100vh - 60px); }
.dropzone {
  width: min(680px, 100%); padding: 64px 28px; text-align: center; cursor: pointer;
  border: 2px dashed var(--line-2); border-radius: var(--radius-lg);
  background: radial-gradient(120% 90% at 50% 0%, rgba(255, 178, 0, 0.08), transparent 60%), var(--bg-2);
  transition: border-color 0.2s, background 0.2s;
}
.dropzone:hover, .dropzone.over { border-color: var(--accent); }
.dropzone h1 { font-size: clamp(28px, 5vw, 40px); margin: 14px 0 8px; }
.dropzone p { margin: 0; color: var(--muted); }
.dropzone .link { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.dz-icon { width: 72px; height: 72px; margin: 0 auto; color: var(--accent); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }

.setup-grid { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 24px; align-items: start; }
.setup-preview { background: #000; border-radius: var(--radius-lg); overflow: hidden; display: grid; place-items: center; max-height: 72vh; }
.setup-preview video { max-height: 72vh; width: auto; }
.setup-card h2 { font-size: 26px; margin-bottom: 18px; }
.field { display: block; margin: 0 0 18px; }
.label { display: block; font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
select, input[type="text"], input:not([type]), input[type="number"] {
  width: 100%; padding: 11px 12px; border-radius: 10px; background: var(--bg-2);
  border: 1px solid var(--line-2); color: var(--text); font-size: 15px;
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.hint { color: var(--muted); font-size: 13.5px; margin: 8px 0 0; }
.hint.warn { color: #ffcf66; }

.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; background: var(--bg-2); border: 1px solid var(--line); padding: 5px; border-radius: 14px; }
.seg button { border: 1px solid transparent; background: transparent; border-radius: 10px; padding: 9px 6px; cursor: pointer; font-weight: 700; font-size: 14.5px; line-height: 1.2; color: var(--muted); }
.seg button small { display: block; font-weight: 500; font-size: 11.5px; opacity: 0.8; margin-top: 2px; }
.seg button.on { background: var(--surface-2); color: var(--text); border-color: var(--line-2); box-shadow: inset 0 -2px 0 var(--accent); }
.seg button:disabled { opacity: 0.4; cursor: not-allowed; }
.seg.small button { padding: 6px 8px; font-size: 13px; }

.restore { background: var(--accent-soft); border: 1px solid rgba(255, 178, 0, 0.35); border-radius: 12px; padding: 12px 14px; margin-bottom: 18px; display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.restore p { margin: 0; font-size: 14px; }

/* progress */
.progress-view { display: grid; place-items: center; min-height: calc(100vh - 60px); }
.progress-card { width: min(520px, 100%); text-align: center; }
.progress-card h2 { font-size: 26px; margin: 18px 0 6px; }
.progress-card #progSub { min-height: 1.5em; margin: 0 0 18px; font-size: 14.5px; }
.bar { height: 8px; background: var(--bg-2); border-radius: 99px; overflow: hidden; border: 1px solid var(--line); }
.bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), #ffd666); border-radius: 99px; transition: width 0.25s ease; }
.steps { list-style: none; display: flex; justify-content: center; gap: 18px; padding: 0; margin: 18px 0 8px; font-size: 13.5px; color: var(--faint); }
.steps li::before { content: "○ "; }
.steps li.now { color: var(--text); font-weight: 700; }
.steps li.now::before { content: "◉ "; color: var(--accent); }
.steps li.done { color: var(--muted); }
.steps li.done::before { content: "✓ "; color: var(--green); }
.prog-live { min-height: 3em; color: var(--muted); font-style: italic; font-size: 14px; margin: 14px 0; }
.wave { display: flex; gap: 6px; justify-content: center; height: 44px; align-items: center; }
.wave i { width: 6px; border-radius: 6px; background: var(--accent); animation: wave 1s ease-in-out infinite; height: 14px; }
.wave i:nth-child(2) { animation-delay: 0.1s; } .wave i:nth-child(3) { animation-delay: 0.2s; }
.wave i:nth-child(4) { animation-delay: 0.3s; } .wave i:nth-child(5) { animation-delay: 0.4s; }
@keyframes wave { 0%, 100% { height: 12px; opacity: 0.6; } 50% { height: 42px; opacity: 1; } }

/* ------------------------------------------------------------ editor */
.editor-view { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 440px); gap: 20px; padding: 16px 20px; height: calc(100vh - 60px); }
.stage-col { display: flex; flex-direction: column; min-height: 0; gap: 12px; }
.stage-wrap { flex: 1; min-height: 0; display: grid; place-items: center; }
.stage { position: relative; background: #000; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.stage video, .stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage canvas { cursor: grab; touch-action: none; }
.stage canvas:active { cursor: grabbing; }
.drag-hint { position: absolute; left: 50%; top: 12px; transform: translateX(-50%); background: rgba(0, 0, 0, 0.6); padding: 5px 12px; border-radius: 99px; font-size: 12.5px; pointer-events: none; animation: hint 6s 1s forwards; opacity: 0; white-space: nowrap; }
.drag-hint.gone { display: none; }
@keyframes hint { 0% { opacity: 0; } 10%, 80% { opacity: 1; } 100% { opacity: 0; } }
.transport { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 8px; }
.transport .time { font-variant-numeric: tabular-nums; font-size: 13.5px; color: var(--muted); min-width: 92px; }
.transport input[type="range"] { flex: 1; }
#playBtn .i-pause { display: none; }
#playBtn.playing .i-play { display: none; }
#playBtn.playing .i-pause { display: block; }
#playBtn { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
#muteBtn.muted .i-waves { display: none; }

input[type="range"] { -webkit-appearance: none; appearance: none; height: 6px; background: var(--line-2); border-radius: 99px; outline-offset: 4px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); border: 3px solid var(--bg); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 3px solid var(--bg); }

.panel { display: flex; flex-direction: column; min-height: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.tabs button { background: none; border: 0; padding: 14px 8px; font-weight: 700; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; }
.tabs button.on { color: var(--text); border-bottom-color: var(--accent); }
.tab-pane { flex: 1; min-height: 0; overflow: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }

.cap-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.cap-tools .seg { width: auto; }
.sync { display: flex; gap: 6px; align-items: center; font-size: 13px; }
.find summary { cursor: pointer; color: var(--muted); font-size: 14px; font-weight: 600; }
.find-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; margin-top: 8px; }
.find-row input { padding: 8px 10px; font-size: 14px; }
.tip { font-size: 13.5px; margin: 0; }

.word-editor { position: sticky; top: -16px; z-index: 3; background: var(--surface-2); border: 1px solid var(--accent); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); }
.we-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.we-row #weText { flex: 1; font-size: 17px; font-weight: 700; padding: 9px 12px; }
.we-row.times label { flex: 1; min-width: 80px; font-size: 12px; color: var(--muted); font-weight: 600; display: flex; flex-direction: column; gap: 4px; }
.we-row.times input { padding: 7px 9px; font-size: 14px; }
.we-row.actions .btn { flex: 1 1 auto; }

.cap-list { display: flex; flex-direction: column; gap: 4px; overflow: auto; min-height: 120px; flex: 1; }
.cap-row { display: grid; grid-template-columns: 58px 1fr; gap: 8px; align-items: start; padding: 6px 4px; border-radius: 10px; }
.cap-row:hover { background: rgba(255, 255, 255, 0.025); }
.cap-time { background: none; border: 0; color: var(--faint); font-size: 12.5px; font-variant-numeric: tabular-nums; padding: 7px 0; cursor: pointer; text-align: left; }
.cap-time:hover { color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 5px; }
.chip { position: relative; background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; padding: 4px 9px; font-size: 15px; font-weight: 600; cursor: pointer; line-height: 1.4; }
.chip:hover { border-color: var(--line-2); background: #201c17; }
.chip.live { background: var(--accent-soft); border-color: rgba(255, 178, 0, 0.5); color: #ffe2a3; }
.chip.sel { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(255, 178, 0, 0.3); }
.chip.hl { color: var(--green); }
.chip[data-emoji]::after { content: attr(data-emoji); margin-left: 4px; }

.tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.tpl { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 0; overflow: hidden; cursor: pointer; text-align: left; }
.tpl canvas { width: 100%; height: auto; aspect-ratio: 13 / 8; }
.tpl span { display: block; padding: 7px 9px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.tpl:hover { border-color: var(--line-2); }
.tpl.on { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(255, 178, 0, 0.3); }
.tpl.on span { color: var(--accent); }

.controls { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 14px; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.ctl .label { margin-bottom: 6px; font-size: 11.5px; }
.ctl-select, .ctl-range, .ctl-seg { grid-column: span 2; }
.ctl-color { display: flex; flex-direction: column; }
.ctl input[type="color"] { width: 100%; height: 38px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg-2); padding: 3px; cursor: pointer; }
.range-wrap { display: flex; align-items: center; gap: 10px; }
.range-wrap input { flex: 1; }
.range-wrap output { min-width: 52px; text-align: right; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.switch { display: flex; gap: 10px; align-items: center; cursor: pointer; font-size: 14px; font-weight: 600; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch i { width: 38px; height: 22px; border-radius: 99px; background: var(--line-2); position: relative; flex: none; transition: background 0.15s; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--text); transition: transform 0.15s; }
.switch input:checked + i { background: var(--accent); }
.switch input:checked + i::after { transform: translateX(16px); background: var(--accent-ink); }
.switch input:focus-visible + i { outline: 2px solid var(--accent); outline-offset: 2px; }

.export-box { background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.export-box h3 { font-size: 19px; margin-bottom: 12px; }
.export-box .row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.export-prog { margin-top: 6px; }
.ex-meta { display: flex; justify-content: space-between; font-size: 14px; margin: 8px 0 10px; font-variant-numeric: tabular-nums; }
.export-done video { width: 100%; max-height: 360px; background: #000; border-radius: 12px; margin-top: 14px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 50; background: #f6f1e7; color: #15110b; padding: 12px 18px; border-radius: 12px; font-weight: 600; font-size: 14.5px; box-shadow: var(--shadow); max-width: calc(100vw - 32px); text-align: center; }

@media (max-width: 900px) {
  .setup-grid { grid-template-columns: 1fr; }
  .setup-preview, .setup-preview video { max-height: 42vh; }
  .editor-view { grid-template-columns: 1fr; height: auto; padding: 12px 16px 32px; }
  .stage-wrap { height: 52vh; flex: none; }
  .panel { min-height: 60vh; }
  .topbar { padding: 0 16px; gap: 10px; }
  .topbar-mid { display: none; }
  .topbar .brand span { display: none; }
  .badge { display: none; }
}
@media (max-width: 480px) {
  .view { padding: 16px; }
  .card { padding: 18px; }
  .controls { grid-template-columns: 1fr 1fr; }
  .find-row { grid-template-columns: 1fr 1fr; }
  .find-row .btn { grid-column: span 2; }
}

/* ------------------------------------------------------------ landing */
.site-nav { position: sticky; top: 0; z-index: 20; background: rgba(14, 12, 10, 0.82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-nav .inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.site-nav nav { display: flex; gap: 22px; margin-left: auto; }
.site-nav nav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 15px; }
.site-nav nav a:hover { color: var(--text); }
.wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }

.hero { padding: 72px 0 56px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 620px; background: radial-gradient(50% 50% at 70% 40%, rgba(255, 178, 0, 0.16), transparent 70%), radial-gradient(40% 40% at 20% 30%, rgba(255, 79, 139, 0.1), transparent 70%); pointer-events: none; }
.hero .inner { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; font-size: 13.5px; font-weight: 700; color: var(--accent); background: var(--accent-soft); border: 1px solid rgba(255, 178, 0, 0.3); padding: 6px 12px; border-radius: 99px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 78px); font-weight: 800; margin: 20px 0 18px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 560px; margin: 0 0 28px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-row .btn { padding: 15px 26px; font-size: 17px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 26px 0 0; color: var(--muted); font-size: 14.5px; font-weight: 600; }
.checks li::before { content: "✓"; color: var(--green); margin-right: 7px; font-weight: 800; }

.phone { width: min(330px, 100%); margin: 0 auto; aspect-ratio: 9 / 16; border-radius: 38px; padding: 10px; background: linear-gradient(160deg, #3a332a, #17140f); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.phone canvas { width: 100%; height: 100%; border-radius: 30px; }
.phone-caption { text-align: center; margin-top: 14px; font-size: 13px; color: var(--faint); }

.section { padding: 80px 0; border-top: 1px solid var(--line); }
.section h2 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; margin-bottom: 14px; }
.section .sub { color: var(--muted); font-size: 18px; max-width: 640px; margin: 0 0 40px; }

.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-family: var(--display); font-size: 20px; margin-bottom: 18px; }
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.gallery figure { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.gallery canvas { width: 100%; aspect-ratio: 13 / 8; height: auto; }
.gallery figcaption { padding: 10px 14px; font-weight: 700; font-size: 14.5px; display: flex; justify-content: space-between; color: var(--muted); }
.gallery figcaption small { color: var(--faint); font-weight: 600; }

.langs { display: flex; flex-wrap: wrap; gap: 10px; }
.lang { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; min-width: 130px; }
.lang b { display: block; font-size: 20px; font-family: "Baloo 2", "Baloo Da 2", "Baloo Thambi 2", "Baloo Tammudu 2", "Baloo Tamma 2", "Baloo Chettan 2", "Baloo Bhai 2", "Baloo Paaji 2", "Noto Naskh Arabic", var(--font); line-height: 1.3; }
.lang span { color: var(--muted); font-size: 13.5px; }
.scripts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.script-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.script-card .k { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); }
.script-card p { margin: 8px 0 0; font-size: 19px; font-weight: 700; font-family: "Baloo 2", var(--font); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.feature .ic { font-size: 26px; }
.feature h3 { font-size: 20px; margin: 12px 0 6px; }
.feature p { margin: 0; color: var(--muted); font-size: 15.5px; }

.compare { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.compare th { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; }
.compare td:nth-child(2) { color: var(--accent); font-weight: 700; }
.compare td:nth-child(3) { color: var(--muted); }
.compare tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; }

.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

.final { text-align: center; padding: 96px 0; border-top: 1px solid var(--line); background: radial-gradient(60% 80% at 50% 100%, rgba(255, 178, 0, 0.12), transparent 70%); }
.final h2 { font-size: clamp(34px, 5vw, 60px); margin-bottom: 14px; }
.final p { color: var(--muted); font-size: 18px; margin: 0 0 28px; }

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

@media (max-width: 900px) {
  .hero { padding: 40px 0 40px; }
  .hero .inner { grid-template-columns: 1fr; gap: 36px; }
  .phone { width: min(280px, 80vw); }
  .steps3, .features, .scripts { grid-template-columns: 1fr; }
  .site-nav nav { display: none; }
  .site-nav .btn { margin-left: auto; }
  .section { padding: 56px 0; }
}
