/* Wisperback website: "signal" identity. Dark, lime accent, mono labels. Same language as the app. */
:root {
  /* the same pale sage and forest green as the home page (new.css) */
  --bg: #e5e8ce; --panel: #eff1de; --raised: #dde1c4; --line: #d0d5b6; --line2: #bcc3a0;
  --text: #1f2a22; --muted: #5c6551; --accent: #4b6548; --accent-ink: #f3f4e6; --ok: #6b9a6e; --rec: #b85c52;
  --sans: "Work Sans", "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  --display: "Fugaz One", "Work Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Mono", Consolas, monospace;
  --max: 1160px; --r: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; } img, svg { max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }
.label { font: 500 11.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.label.acc { color: var(--accent); }
.hl { color: var(--accent); }
.glow { display: none; }
svg.icon { stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.grid-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%); }

/* nav */
.nav { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.logo { width: 28px; height: 28px; fill: var(--accent); stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; } .logo circle { stroke: none; }
.links { display: flex; align-items: center; gap: 28px; font-size: 14.5px; color: var(--muted); font-weight: 500; }
.links a { text-decoration: none; transition: color .15s; } .links a:hover, .links a.on { color: var(--text); }
@media (max-width: 800px) { .links a:not(.btn) { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 24px; border-radius: 14px; font: inherit; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; border: 1px solid var(--line2); background: var(--raised); color: var(--text); transition: .18s; }
.btn:hover { border-color: var(--muted); transform: translateY(-1px); }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); } .btn.primary:hover { filter: brightness(1.08); box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--accent) 60%, transparent); }
.btn.sm { padding: 9px 18px; font-size: 14px; border-radius: 11px; }
.btn:focus-visible, a:focus-visible, summary:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* hero */
.hero-wrap { position: relative; overflow: hidden; }
.hero { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 84px 0 70px; }
@media (max-width: 960px) { .hero { grid-template-columns: 1fr; padding-top: 52px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border: 1px solid var(--line2); border-radius: 99px; background: var(--panel); }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
h1 { font-size: clamp(42px, 6.4vw, 78px); line-height: 1.02; letter-spacing: -.04em; font-weight: 700; margin: 24px 0 22px; }
.lead { font-size: clamp(17px, 1.9vw, 20px); color: var(--muted); max-width: 540px; margin: 0 0 32px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.fine { margin-top: 22px; display: flex; gap: 22px; flex-wrap: wrap; font: 500 12px var(--mono); color: var(--muted); letter-spacing: .04em; }
.fine span::before { content: "\2713"; color: var(--accent); margin-right: 8px; }

.stage { position: relative; height: 470px; }
@media (max-width: 960px) { .stage { height: 430px; } }
.orb { position: absolute; left: 50%; top: 50%; width: 220px; height: 220px; transform: translate(-50%, -50%); display: grid; place-items: center; }
.core { width: 96px; height: 96px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; z-index: 2; box-shadow: 0 0 70px color-mix(in srgb, var(--accent) 40%, transparent); }
.core svg { width: 50px; height: 50px; fill: var(--accent-ink); stroke: var(--accent-ink); stroke-width: 2.4; stroke-linecap: round; } .core svg circle { stroke: none; }
.ring { position: absolute; border-radius: 50%; border: 1.5px solid var(--accent); opacity: 0; animation: emit 3.6s ease-out infinite; }
.r1 { width: 140px; height: 140px; } .r2 { width: 190px; height: 190px; animation-delay: -1.2s; } .r3 { width: 240px; height: 240px; animation-delay: -2.4s; }
@keyframes emit { 0% { transform: scale(.7); opacity: .65; } 100% { transform: scale(1.35); opacity: 0; } }
.float { position: absolute; background: var(--panel); border: 1px solid var(--line2); border-radius: 16px; padding: 13px 16px; box-shadow: 0 24px 50px -24px rgba(0,0,0,.8); font-size: 13.5px; z-index: 3; }
.f-reply { left: 0; top: 18px; width: 245px; } .f-reply p { margin: 8px 0 10px; color: #cfd3dc; line-height: 1.45; }
.wave { display: flex; align-items: center; gap: 3px; height: 22px; } .wave i { width: 3px; border-radius: 3px; background: var(--accent); height: 6px; animation: eq 1.1s ease-in-out infinite; }
.wave i:nth-child(2n) { animation-duration: .8s; } .wave i:nth-child(3n) { animation-duration: 1.3s; } .wave i:nth-child(1){animation-delay:-.2s}.wave i:nth-child(2){animation-delay:-.6s}.wave i:nth-child(3){animation-delay:-.4s}.wave i:nth-child(4){animation-delay:-.9s}.wave i:nth-child(5){animation-delay:-.1s}.wave i:nth-child(6){animation-delay:-.7s}.wave i:nth-child(7){animation-delay:-.3s}.wave i:nth-child(8){animation-delay:-.5s}.wave i:nth-child(9){animation-delay:-.8s}.wave i:nth-child(10){animation-delay:-.15s}
@keyframes eq { 0%,100% { height: 5px; } 50% { height: 22px; } }
.f-key { right: 0; top: 70px; display: flex; align-items: center; gap: 12px; }
kbd { font: 500 13px var(--mono); padding: 8px 13px; border-radius: 10px; background: var(--raised); border: 1px solid var(--line2); border-bottom-width: 3px; }
.f-key .label { line-height: 1.5; font-size: 10px; }
.f-tasks { right: 14px; bottom: 6px; width: 250px; } .f-tasks .t { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); color: #cfd3dc; } .f-tasks .t:first-of-type { border-top: 0; }
.box { width: 15px; height: 15px; border-radius: 5px; border: 1.5px solid var(--muted); flex: none; } .box.on { background: var(--accent); border-color: var(--accent); }
.f-tasks .proj { display: flex; justify-content: space-between; margin-bottom: 6px; } .f-tasks .proj b { font: 600 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; } .f-tasks .proj span { font: 500 10.5px var(--mono); color: var(--accent); }
@media (max-width: 560px) { .f-reply { width: 210px; } .f-tasks { width: 215px; } .f-key { top: 100px; } }
@media (prefers-reduced-motion: reduce) { .ring, .wave i { animation: none; } html { scroll-behavior: auto; } }

.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0; position: relative; z-index: 1; background: color-mix(in srgb, var(--panel) 50%, transparent); }
.strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 38px; font: 500 12.5px var(--mono); letter-spacing: .12em; color: var(--muted); text-transform: uppercase; } .strip b { color: var(--text); font-weight: 500; }

/* sections */
section { padding: 96px 0; }
h2 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.06; letter-spacing: -.035em; font-weight: 700; margin: 16px 0 14px; }
.sub { color: var(--muted); font-size: 18px; max-width: 620px; margin: 0; }
.center { text-align: center; } .center .sub { margin: 0 auto; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 50px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; position: relative; overflow: hidden; transition: border-color .2s; }
.card:hover { border-color: var(--line2); }
.card h3 { margin: 14px 0 8px; font-size: 22px; letter-spacing: -.02em; line-height: 1.2; } .card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.span2 { grid-column: span 2; } .span3 { grid-column: span 3; } .span4 { grid-column: span 4; }
@media (max-width: 900px) { .bento > * { grid-column: span 6 !important; } }
.big { min-height: 330px; display: flex; flex-direction: column; justify-content: flex-end; }
.vis { position: absolute; top: 22px; left: 24px; right: 24px; }
.vis .bars { display: flex; align-items: flex-end; gap: 5px; height: 90px; } .vis .bars i { flex: 1; background: var(--line2); border-radius: 4px; } .vis .bars i.a { background: var(--accent); }
.vis .keys { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; } .vis .typed { margin-top: 18px; font: 500 13.5px/1.6 var(--mono); color: #cfd3dc; } .vis .typed em { font-style: normal; color: var(--accent); } .vis .caret { display: inline-block; width: 8px; height: 15px; background: var(--accent); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.vis .mini { display: grid; gap: 8px; } .vis .mini div { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #cfd3dc; padding: 9px 12px; background: var(--raised); border-radius: 11px; } .vis .mini b { font: 600 10px var(--mono); letter-spacing: .12em; color: var(--accent); margin-left: auto; text-transform: uppercase; }
.ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--raised); border: 1px solid var(--line2); color: var(--accent); } .ico svg { width: 21px; height: 21px; }

/* connect section */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 46px; align-items: center; } @media (max-width: 940px) { .split { grid-template-columns: 1fr; } }
.steps-list { display: grid; gap: 20px; margin-top: 30px; padding: 0; list-style: none; counter-reset: s; }
.steps-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; counter-increment: s; } .steps-list li::before { content: counter(s, decimal-leading-zero); font: 600 12px var(--mono); color: var(--accent); padding-top: 4px; letter-spacing: .1em; }
.steps-list b { display: block; font-size: 17px; margin-bottom: 2px; } .steps-list span { color: var(--muted); font-size: 15px; }
.term { background: #08090b; border: 1px solid var(--line2); border-radius: var(--r); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.9); }
.term-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--panel); } .term-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line2); } .term-bar span { margin-left: auto; }
.term pre { margin: 0; padding: 20px; font: 12.8px/1.7 var(--mono); color: #cfd3dc; white-space: pre-wrap; word-break: break-word; } .term pre .c { color: var(--muted); } .term pre .k { color: var(--accent); }

/* privacy */
.dark-band { background: var(--panel); border: 1px solid var(--line); border-radius: 32px; padding: 60px 52px; position: relative; overflow: hidden; }
@media (max-width: 700px) { .dark-band { padding: 36px 24px; } }
.list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; } .list li { display: flex; gap: 12px; color: var(--muted); } .list li::before { content: "\2713"; color: var(--accent); font-weight: 700; } .list b { color: var(--text); }
.cmp { width: 100%; border-collapse: collapse; font-size: 14.5px; } .cmp th, .cmp td { text-align: left; padding: 14px 10px; border-bottom: 1px solid var(--line); } .cmp th { font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); } .cmp td:last-child { color: var(--accent); font-weight: 600; } .cmp tr:last-child td { border-bottom: 0; }

details { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 4px 24px; margin-top: 12px; }
summary { cursor: pointer; padding: 19px 0; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 12px; } summary::-webkit-details-marker { display: none; } summary::after { content: "+"; color: var(--accent); font: 500 22px var(--mono); line-height: 1; } details[open] summary::after { content: "\2212"; }
details p { margin: 0 0 20px; color: var(--muted); } .faq { max-width: 780px; margin: 44px auto 0; }
.final { text-align: center; padding: 76px 24px; border-radius: 32px; background: var(--accent); color: var(--accent-ink); position: relative; overflow: hidden; }
.final h2 { margin-top: 0; color: var(--accent-ink); } .final .sub { color: color-mix(in srgb, var(--accent-ink) 70%, var(--accent)); margin: 0 auto; } .final .cta { justify-content: center; margin-top: 30px; }
.final .btn.primary { background: var(--accent-ink); color: var(--accent); border-color: var(--accent-ink); } .final .btn:not(.primary) { background: transparent; color: var(--accent-ink); border-color: color-mix(in srgb, var(--accent-ink) 40%, transparent); }
footer { border-top: 1px solid var(--line); padding: 38px 0 54px; color: var(--muted); font-size: 14px; margin-top: 30px; } footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; } footer a { text-decoration: none; margin-left: 22px; } footer a:hover { color: var(--text); }

/* install page */
.page-head { padding: 70px 0 14px; } .page-head h1 { font-size: clamp(38px, 5.4vw, 64px); margin: 20px 0 14px; } .page-head .lead { margin-bottom: 0; }
.toc { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; } .toc a { font: 500 12px var(--mono); letter-spacing: .08em; padding: 8px 14px; border: 1px solid var(--line2); border-radius: 99px; text-decoration: none; color: var(--muted); } .toc a:hover { color: var(--accent); border-color: var(--accent); }
.steps { display: grid; gap: 16px; margin-top: 34px; max-width: 900px; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: 26px; padding: 30px; display: grid; grid-template-columns: 64px 1fr; gap: 14px; }
.step > .num { font: 600 13px var(--mono); color: var(--accent); letter-spacing: .1em; padding-top: 12px; }
.step h2 { font-size: 30px; margin: 0 0 8px; letter-spacing: -.03em; } .step p { color: var(--muted); margin: 0 0 14px; }
.panel { background: var(--raised); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; padding: 4px; background: var(--bg); border: 1px solid var(--line); border-radius: 13px; width: fit-content; max-width: 100%; margin-bottom: 16px; }
.tab { font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); background: transparent; border: 0; padding: 8px 16px; border-radius: 9px; cursor: pointer; } .tab[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); }
.tabpanel[hidden] { display: none; }
.code { position: relative; margin: 12px 0 0; }
.code pre { margin: 0; background: #08090b; border: 1px solid var(--line); border-radius: 14px; padding: 18px; overflow-x: auto; white-space: pre-wrap; word-break: break-word; font: 12.8px/1.7 var(--mono); color: #d3d7e0; }
.copy { position: absolute; top: 10px; right: 10px; font: 600 12px var(--mono); padding: 7px 13px; border-radius: 9px; cursor: pointer; background: var(--accent); color: var(--accent-ink); border: 0; letter-spacing: .04em; } .copy:hover { filter: brightness(1.1); } .copy.done { background: var(--ok); }
.code.has-copy pre { padding-right: 96px; }
.note { margin-top: 16px; padding: 14px 18px; border-radius: 14px; font-size: 14.5px; background: color-mix(in srgb, var(--accent) 9%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); color: #dfe8b8; } .note.info { background: var(--raised); border-color: var(--line2); color: var(--text); }
.kbd { font: 500 12.5px var(--mono); background: var(--bg); border: 1px solid var(--line2); padding: 2px 8px; border-radius: 7px; color: var(--text); }
table.t { width: 100%; border-collapse: collapse; font-size: 14.5px; } table.t td, table.t th { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; } table.t tr:last-child td { border-bottom: 0; }
table.t th { font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); } table.t td:first-child { white-space: nowrap; font-weight: 600; }
.step > div { min-width: 0; } .panel { overflow-x: auto; }
@media (max-width: 640px) { .step { grid-template-columns: 1fr; gap: 4px; padding: 22px; } table.t td:first-child { white-space: normal; } table.t { display: block; overflow-x: auto; } }

/* app screenshots */
.shots { margin-top: 40px; display: grid; justify-items: center; }
.shots .tabs { justify-content: center; margin-bottom: 22px; }
.shot { margin: 0; width: 100%; max-width: 1040px; }
.shot img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line2); box-shadow: 0 30px 80px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.02); background: #eceee6; }
.shot figcaption { margin-top: 14px; text-align: center; color: var(--muted); font-size: 15px; }
[role="tabpanel"]:not([hidden]) { width: 100%; display: grid; justify-items: center; }
.shot-pair { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; width: 100%; max-width: 1040px; }
.shot-pair .shot img { border-radius: 14px; }
.shot-note { margin: 22px 0 0; color: var(--muted); text-align: center; }
@media (max-width: 760px) { .shot-pair { grid-template-columns: 1fr; } }

/* ---------- feature demos (animated mock-ups) ---------- */
.demo { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; margin-top: 72px; }
.demo.flip .demo-copy { order: 2; }
.demo-copy h3 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -.02em; line-height: 1.15; margin: 12px 0 12px; }
.demo-copy p { color: var(--muted); font-size: 16.5px; margin: 0; }
.demo-copy code { font: 500 14px var(--mono); color: var(--accent); }
.k-inline { padding: 2px 8px; font-size: 12.5px; border-bottom-width: 2px; }
.dv { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; min-height: 230px; display: flex; flex-direction: column; gap: 16px; justify-content: center; box-shadow: 0 30px 80px -40px rgba(0,0,0,.8); position: relative; overflow: hidden; }
.dv-head { display: flex; align-items: center; gap: 10px; font: 500 11.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.dv-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.dv-state { margin-left: auto; color: var(--accent); }
.dv-words { margin: 0; font-size: 17px; line-height: 1.6; color: #6f7686; min-height: 82px; }
.dv-words span { transition: color .15s; } .dv-words span.on { color: var(--text); } .dv-words span.now { color: var(--accent); }
.dv-foot { display: flex; align-items: center; justify-content: space-between; }
.dv .wave.off i { animation: none; height: 4px; opacity: .35; }
.dv-key { transition: transform .12s, background .12s, border-color .12s; }
.dv-key.down { transform: translateY(2px); border-bottom-width: 1px; background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.dv-row { display: flex; align-items: center; gap: 14px; }
.dv-pill { font: 500 12px var(--mono); padding: 7px 12px; border-radius: 99px; border: 1px solid var(--line2); color: var(--muted); opacity: 0; transition: opacity .2s; }
.dv-pill.show { opacity: 1; } .dv-pill.rec { color: var(--rec); border-color: color-mix(in srgb, var(--rec) 50%, transparent); }
.dv-field { background: var(--raised); border: 1px solid var(--line2); border-radius: 14px; padding: 16px 18px; min-height: 58px; font-size: 16px; line-height: 1.5; color: var(--text); }
.dv-field .caret { display: inline-block; width: 2px; height: 18px; background: var(--accent); vertical-align: -3px; margin-left: 1px; animation: blink 1s steps(1) infinite; }
.dv-bubble { align-self: flex-start; background: var(--raised); border: 1px solid var(--line2); border-radius: 16px 16px 16px 4px; padding: 12px 16px; font-size: 17px; opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s; }
.dv-bubble.show { opacity: 1; transform: none; }
.dv-bubble[lang="ml"] { font-family: "Nirmala UI", "Noto Sans Malayalam", var(--sans); font-size: 19px; }
.dv-arrow { display: flex; align-items: center; gap: 10px; font: 500 11.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); opacity: 0; transition: opacity .3s; }
.dv-arrow.show { opacity: 1; } .dv-arrow svg { width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dv-chip { display: none; font: 500 14px var(--mono); color: var(--accent-ink); background: var(--accent); border-radius: 7px; padding: 2px 8px; margin-left: 2px; }
.dv-chip.show { display: inline-block; animation: pop .25s ease-out; }
.dv-proj { display: flex; justify-content: space-between; align-items: baseline; } .dv-proj b { font: 600 11.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; } .dv-count { font: 500 11.5px var(--mono); color: var(--accent); }
.dv-task { display: flex; align-items: center; gap: 12px; padding: 11px 14px; background: var(--raised); border-radius: 12px; font-size: 15px; opacity: 0; transform: translateX(-8px); transition: opacity .35s, transform .35s; }
.dv-task.show { opacity: 1; transform: none; } .dv-task.done span { text-decoration: line-through; color: var(--muted); }
.dv-task em { margin-left: auto; font: 500 10.5px var(--mono); font-style: normal; color: var(--muted); letter-spacing: .06em; }
@keyframes pop { from { transform: scale(.7); } to { transform: none; } }
@media (max-width: 860px) { .demo { grid-template-columns: 1fr; gap: 24px; margin-top: 56px; } .demo.flip .demo-copy { order: 0; } }

/* ---------- comparison ---------- */
.vs-wrap { margin-top: 40px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.vs { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
.vs th, .vs td { padding: 15px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.vs tbody tr:last-child th, .vs tbody tr:last-child td { border-bottom: 0; }
.vs thead th { font: 600 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.vs thead th.us { color: var(--accent-ink); background: var(--accent); }
.vs tbody th { text-align: left; font-weight: 500; color: var(--text); }
.vs td.us { background: color-mix(in srgb, var(--accent) 7%, transparent); }
.vs .y, .vs .n { display: inline-block; width: 22px; height: 22px; border-radius: 50%; vertical-align: middle; }
.vs .y { background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0c0f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat; }
.vs .n { width: 14px; height: 2px; border-radius: 2px; background: var(--line2); }
.vs .note { font: 500 12px/1.45 var(--mono); color: var(--muted); display: inline-block; margin: 0; padding: 6px 10px; white-space: normal; max-width: 150px; }
.vs .price td { font-size: 14px; color: var(--muted); } .vs .price td b { color: var(--text); font-size: 17px; }
.vs-note { margin: 14px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (prefers-reduced-motion: reduce) { .dv * { transition: none !important; animation: none !important; } }

/* floating checklist demo: a small editor window with the checklist floating on top */
.dv-desk { padding: 0; min-height: 320px; display: block; background: linear-gradient(160deg, #1a1d25, #0f1115); }
.dv-win { position: absolute; inset: 22px 22px 22px 22px; background: #14161c; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.dv-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); font: 500 11px var(--mono); color: var(--muted); }
.dv-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line2); } .dv-bar span { margin-left: 8px; }
.dv-code { padding: 16px 18px; display: grid; gap: 10px; } .dv-code b { display: block; height: 8px; border-radius: 4px; background: #262a34; } .dv-code b.k { background: color-mix(in srgb, var(--accent) 22%, #262a34); }
.dv-agent { position: absolute; left: 14px; bottom: 14px; width: calc(100% - 300px); min-width: 140px; display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; line-height: 1.45; color: #c9cdd6; background: var(--raised); border: 1px solid var(--line2); border-radius: 10px; padding: 10px 12px; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.dv-agent.show { opacity: 1; transform: none; } .dv-agent .dv-dot { margin-top: 5px; flex: none; }
.dv-float { position: absolute; right: 34px; bottom: 34px; width: min(250px, 58%); background: #0d0e11; border: 1px solid var(--line2); border-radius: 14px; padding: 12px; display: grid; gap: 7px; box-shadow: 0 24px 50px -12px rgba(0,0,0,.85), 0 0 0 1px rgba(200,243,29,.06); opacity: 0; transform: translateY(14px) scale(.97); transition: opacity .35s, transform .35s; }
.dv-float.show { opacity: 1; transform: none; }
.dv-fhead { display: flex; align-items: center; gap: 8px; } .dv-fhead b { font-size: 13px; } .dv-fhead .dv-count { margin-left: auto; }
.dv-fhead .grip { width: 14px; height: 10px; background: radial-gradient(circle, var(--muted) 1px, transparent 1.5px) 0 0/5px 5px; opacity: .7; }
.dv-float .dv-proj b { font-size: 10px; color: var(--muted); }
.dv-float .dv-task { padding: 8px 10px; font-size: 12.5px; gap: 9px; }
.dv-float .box { width: 13px; height: 13px; border-radius: 4px; }
@media (max-width: 520px) { .dv-agent { display: none; } .dv-float { width: auto; left: 34px; } }

/* the app's own dictation pill (same look as the one Wisperback shows at the bottom of the screen) */
.dv.has-pill { padding-bottom: 84px; }
.dv-hint { font: 500 11.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.wb-pill { position: absolute; left: 50%; bottom: 20px; display: inline-flex; align-items: center; gap: 14px; height: 44px; padding: 0 22px 0 18px; border-radius: 99px; background: #0d0e11; border: 1px solid #262a33; box-shadow: 0 14px 34px -10px rgba(0,0,0,.8); color: #fff; font: 600 14px "Segoe UI", var(--sans); white-space: nowrap; opacity: 0; transform: translate(-50%, 10px); transition: opacity .25s, transform .25s; }
.wb-pill.show { opacity: 1; transform: translate(-50%, 0); }
.wb-bars, .wb-dots { display: none; align-items: center; }
.wb-pill.listening .wb-bars, .wb-pill.working .wb-dots { display: inline-flex; }
.wb-bars { gap: 4px; height: 26px; } .wb-bars i { width: 5px; height: 8px; border-radius: 3px; background: #c8f31d; animation: wbbar .55s ease-in-out infinite alternate; }
.wb-bars i:nth-child(2) { animation-delay: -.2s; } .wb-bars i:nth-child(3) { animation-delay: -.4s; } .wb-bars i:nth-child(4) { animation-delay: -.1s; } .wb-bars i:nth-child(5) { animation-delay: -.3s; }
@keyframes wbbar { from { height: 6px; } to { height: 26px; } }
.wb-dots { gap: 7px; } .wb-dots i { width: 7px; height: 7px; border-radius: 50%; background: #808080; animation: wbdot .9s infinite; }
.wb-dots i:nth-child(2) { animation-delay: .3s; } .wb-dots i:nth-child(3) { animation-delay: .6s; }
@keyframes wbdot { 0%, 33% { background: #c8f31d; transform: scale(1.45); } 34%, 100% { background: #808080; transform: none; } }

/* numbered steps inside the install tabs */
.how-list { margin: 0 0 14px; padding-left: 22px; display: grid; gap: 8px; } .how-list li { color: var(--text); } .how-list li::marker { color: var(--accent); font-weight: 600; }

/* the Wisperback rules to paste after installing */
.rules { margin-top: 22px; }
.rules h3 { margin: 0 0 6px; }
.rules ul { margin: 8px 0 12px; padding-left: 20px; }
.rules li { margin: 3px 0; }
.rules .code pre { white-space: pre-wrap; }

/* double-tap Alt demo: the selected text */
.dv-typed.sel { background: rgba(200, 243, 29, .28); border-radius: 3px; }

/* Fugaz One for headlines (it has one weight and no italic), Work Sans for everything else */
h1, h2, .brand, .step h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.01em; }

/* ---- light theme: the home page's colours. Dark islands (terminals, code, the editor mock-up, the pill) keep a deep forest green. ---- */
.term, .code pre, .dv-desk, .dv-float, .wb-pill, .dv-win {
  --text: #eceee0; --muted: #a6b19a; --line: #34423a; --line2: #41524a; --panel: #26332b; --raised: #2c3b32;
}
.term, .code pre { background: #1f2a22; color: #e6ead6; }
.term pre, .code pre { color: #e6ead6; }
.term pre .k { color: #b9cdb3; }
.dv-desk { background: linear-gradient(160deg, #2c3a31, #1f2a22); }
.dv-win { background: #232e26; }
.dv-float { background: #1f2a22; }
.dv-code b { background: #34423a; }
.dv-agent { color: #dfe4d0; }
.wb-pill { background: #1f2a22; border-color: #34423a; }
.wb-bars i { background: #b9cdb3; }
.wb-dots i { background: #6d7a6a; }
@keyframes wbdot { 0%, 33% { background: #b9cdb3; transform: scale(1.45); } 34%, 100% { background: #6d7a6a; transform: none; } }
.f-reply p, .f-tasks .t, .vis .typed, .vis .mini div { color: var(--text); }
.dv-words { color: var(--muted); }
.note { color: var(--text); }
.dv-typed.sel { background: rgba(79, 107, 82, .2); }
.float, .dv, .term, .shot img { box-shadow: 0 30px 80px -40px rgba(31, 42, 34, .28); }

/* the first column of the tables may wrap (a long problem title made the troubleshooting table wider than its box, and the fix column was cut off) */
table.t td:first-child { white-space: normal; width: 34%; min-width: 140px; }
table.t td, table.t th { overflow-wrap: anywhere; }
