/* ===================== WhisprFree site ===================== */
:root {
  --bg: #161514;
  --bg-alt: #1d1c1a;
  --bg-card: #232220;
  --coral: #D85A30;
  --coral-bright: #E87A52;
  --text: #E8E3DD;
  --muted: #9A948D;
  --faint: #837d76;
  --border: #2f2d2a;
  --green: #97C459;
  --maxw: 980px;
  --radius: 12px;
  --font: -apple-system, "Segoe UI", system-ui, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 680px; }
.center { text-align: center; }

h1, h2, h3 { line-height: 1.2; font-weight: 600; }
a { color: var(--coral-bright); text-decoration: none; }

em { font-style: italic; color: var(--text); }
strong { color: #fff; font-weight: 600; }

kbd {
  background: #2c2a27; border: 1px solid var(--border); border-bottom-width: 2px;
  border-radius: 5px; padding: 1px 6px; font-size: 0.85em; font-family: var(--font); color: #fff;
}

/* ---------------------- Buttons ---------------------- */
.btn {
  display: inline-block; font-weight: 600; font-size: 15px;
  padding: 12px 26px; border-radius: 9px; cursor: pointer; transition: transform .12s ease, background .15s ease;
}
.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover { background: var(--coral-bright); transform: translateY(-1px); }
.btn-lg { font-size: 16px; padding: 15px 34px; }

/* ---------------------- Hero ---------------------- */
.hero {
  text-align: center;
  padding: 76px 24px 64px;
  background: radial-gradient(1100px 480px at 50% -8%, #211f1c 0%, var(--bg) 62%);
  border-bottom: 1px solid var(--border);
}
.wordmark { font-size: 52px; font-weight: 600; letter-spacing: -1.5px; color: #fff; }
.wordmark .coral { color: var(--coral); }
.wordmark.small { font-size: 26px; }

.wave { display: flex; gap: 6px; justify-content: center; align-items: center; height: 46px; margin: 22px 0 30px; }
.wave span {
  width: 7px; height: 34px; border-radius: 4px; background: var(--coral);
  transform-origin: center; transform: scaleY(0.45);
  animation: bar 1.15s ease-in-out infinite;
}
.wave span:nth-child(1) { animation-delay: 0s; }
.wave span:nth-child(2) { animation-delay: .14s; }
.wave span:nth-child(3) { animation-delay: .28s; }
.wave span:nth-child(4) { animation-delay: .42s; }
.wave span:nth-child(5) { animation-delay: .30s; }
.wave span:nth-child(6) { animation-delay: .18s; }
.wave span:nth-child(7) { animation-delay: .06s; }
@keyframes bar { 0%, 100% { transform: scaleY(0.4); } 50% { transform: scaleY(1); } }

.hero h1 { font-size: clamp(28px, 5vw, 40px); margin: 0 auto 26px; max-width: 18ch; }

.bullets { list-style: none; padding: 0; margin: 0 auto 22px; display: inline-block; text-align: left; }
.bullets li { position: relative; padding-left: 30px; margin-bottom: 11px; font-size: clamp(15px, 2.4vw, 17px); }
.bullets li::before {
  content: ""; position: absolute; left: 4px; top: 0.5em;
  width: 9px; height: 5px; border-left: 2.5px solid var(--coral); border-bottom: 2.5px solid var(--coral);
  transform: rotate(-45deg);
}

.advanced { color: var(--muted); font-size: 14px; margin: 0 auto 28px; max-width: 56ch; }
.advanced .key { color: var(--coral); font-weight: 700; }

.cta-row { margin-bottom: 14px; }
.microline { color: var(--faint); font-size: 13px; margin: 0; }

/* ---------------------- How it works (toggle) ---------------------- */
.how { margin: 34px auto 0; max-width: 660px; }
.how > summary {
  list-style: none; display: inline-block; cursor: pointer;
  color: var(--text); font-size: 14px; border: 1px solid var(--border);
  padding: 9px 18px; border-radius: 9px; transition: border-color .15s ease, background .15s ease;
}
.how > summary::-webkit-details-marker { display: none; }
.how > summary:hover { border-color: #4a4844; background: #1f1e1c; }
.how > summary::after { content: " ⌄"; color: var(--muted); }
.how[open] > summary::after { content: " ⌃"; }
.how-body { padding-top: 26px; border-top: 1px solid var(--border); margin-top: 22px; }
.workflow { width: 100%; height: auto; }
.wf-title { font: 600 15px var(--font); fill: #fff; }
.wf-cap { font: 12px var(--font); }
.wf-note { font: 12px var(--font); fill: #9b9b9b; }
.how-caption { color: var(--muted); font-size: 13px; max-width: 500px; margin: 12px auto 0; }

/* ---------------------- Sections ---------------------- */
.section { padding: 78px 0; border-bottom: 1px solid var(--border); }
.section-alt { background: var(--bg-alt); }
.section h2 { font-size: clamp(24px, 4vw, 32px); margin: 0 0 18px; }
.section-alt h2, .section .center h2 { text-align: center; }
.lead { font-size: clamp(16px, 2.6vw, 19px); color: var(--text); margin: 0 0 18px; }
.lead.center { text-align: center; max-width: 620px; margin-left: auto; margin-right: auto; }
.section p { color: var(--muted); }
.section .lead { color: var(--text); }
.punch { font-size: 18px; color: #fff !important; font-weight: 500; margin-top: 22px; }
.footnote { font-size: 12px; color: var(--faint); text-align: center; margin-top: 18px; }

/* ---------------------- Promise pillars ---------------------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pillar { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.pillar-h { color: var(--coral); font-weight: 600; font-size: 17px; margin-bottom: 8px; }
.pillar p { margin: 0; font-size: 14px; }

/* ---------------------- Before / After ---------------------- */
.ba { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; margin-top: 26px; }
.ba-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.ba-card p { margin: 0; color: var(--text); }
.ba-raw p { color: var(--muted); font-style: italic; }
.ba-clean { border-color: #3a4d28; }
.ba-clean p { font-weight: 500; }
.ba-label { font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--faint); margin-bottom: 10px; }
.ba-clean .ba-label { color: var(--green); }
.ba-arrow { color: var(--coral); font-size: 26px; text-align: center; }

/* ---------------------- Comparison table ---------------------- */
.table-wrap { overflow-x: auto; margin-top: 26px; }
.compare { width: 100%; border-collapse: collapse; min-width: 620px; }
.compare th, .compare td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14px; }
.compare thead th { color: var(--muted); font-weight: 600; font-size: 13px; }
.compare tbody th { color: var(--text); font-weight: 500; }
.compare td { color: var(--muted); }
.compare .us { background: rgba(216, 90, 48, 0.07); }
.compare thead th.us { color: var(--coral); font-size: 15px; }
.compare td.us.yes { color: #fff; font-weight: 600; }

/* ---------------------- Privacy ---------------------- */
.section h2 br { display: inline; }
.privacy-list { margin-top: 30px; display: grid; gap: 20px; }
.pr { background: var(--bg-card); border: 1px solid var(--border); border-left: 3px solid var(--coral); border-radius: var(--radius); padding: 20px 24px; }
.pr h3 { margin: 0 0 8px; font-size: 17px; color: #fff; }
.pr p { margin: 0; font-size: 15px; }

/* ---------------------- Download ---------------------- */
.section-download { background: radial-gradient(900px 360px at 50% 120%, #241f1b 0%, var(--bg) 60%); }
.section-download .microline { margin-top: 18px; }

/* ---------------------- FAQ ---------------------- */
.faq { margin-top: 26px; display: grid; gap: 12px; }
.faq details { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 500; color: var(--text); padding: 14px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--coral); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--muted); font-size: 15px; }

/* ---------------------- Footer ---------------------- */
.footer { padding: 48px 24px; text-align: center; }
.footer p { color: var(--faint); font-size: 14px; margin: 8px 0 0; }

/* ---------------------- Responsive ---------------------- */
@media (max-width: 760px) {
  .pillars { grid-template-columns: 1fr 1fr; }
  .ba { grid-template-columns: 1fr; }
  .ba-arrow { transform: rotate(90deg); }
  .section { padding: 56px 0; }
  .hero { padding: 56px 20px 48px; }
}
@media (max-width: 460px) {
  .pillars { grid-template-columns: 1fr; }
  .wordmark { font-size: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  .wave span { animation: none; transform: scaleY(0.8); }
  html { scroll-behavior: auto; }
}
