:root {
  color-scheme: dark;
  --bg: #1d1e26;
  --bg-elevated: #22232c;
  --bg-deeper: #181922;
  --panel: #1a1a1f;
  --border: #2a2a31;
  --border-soft: #2f3038;
  --border-strong: #44567a;
  --text: #ecedf2;
  --text-soft: #c9cad2;
  --muted: #8fa0bf;
  --muted-deep: #6d7c98;
  --accent-blue: #5d7daa;
  --accent-blue-soft: rgba(93, 125, 170, 0.20);
  --accent-blue-soft-2: rgba(93, 125, 170, 0.10);
  --accent-gold: #d9a23f;
  --accent-gold-deep: #b9871f;
  --good: #6db17a;
  --good-bg: rgba(109, 177, 122, 0.10);
  --bad: #cf6f72;
  --bad-bg: rgba(207, 111, 114, 0.10);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text-soft);
  font: 16px/1.6 -apple-system, system-ui, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

a { color: var(--text); text-decoration: none; }
a:hover { color: #fff; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 48px;
}

@media (max-width: 760px) { .wrap { padding: 0 22px; } }

/* --- Top nav ---------------------------------------------------------- */

.topnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0 22px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 72px;
}
.topnav .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 18px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.topnav .brand svg { width: 22px; height: 22px; fill: var(--text); }
.topnav .nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}
.topnav .nav-links a { color: var(--muted); }
.topnav .nav-links a:hover { color: var(--text); }

@media (max-width: 760px) {
  .topnav { margin-bottom: 48px; padding: 22px 0 18px; }
  .topnav .nav-links { gap: 16px; font-size: 13px; }
}

/* --- Buttons ---------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 8px;
  font: 600 14px/1 inherit;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 140ms ease, border-color 140ms ease, opacity 140ms ease;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(180deg, #e1b04d 0%, #c89230 100%);
  color: #1d1e26;
  border-color: var(--accent-gold-deep);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #ecbe5f 0%, #d3a13c 100%);
  color: #1d1e26;
}
.btn-secondary {
  background: #2a2c38;
  color: var(--text);
  border-color: #44567a;
}
.btn-secondary:hover { background: #313445; color: var(--text); }
.btn[disabled], .btn.disabled { opacity: 0.55; cursor: not-allowed; }
.btn svg { width: 16px; height: 16px; fill: currentColor; }

/* --- Hero ------------------------------------------------------------- */

.hero {
  text-align: center;
  padding: 16px 0 64px;
}
.hero h1 {
  margin: 0 auto 18px;
  max-width: 820px;
  font-size: 48px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.hero .subtag {
  margin: 0 auto 32px;
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}
.hero .cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.hero .cta-note {
  margin: 0 0 48px;
  font-size: 13px;
  color: var(--muted-deep);
}
.hero .typing-demo { text-align: left; margin-top: 0; }

@media (max-width: 760px) {
  .hero { padding-bottom: 48px; }
  .hero h1 { font-size: 34px; }
  .hero .subtag { font-size: 16px; }
  .hero .cta-note { margin-bottom: 36px; }
}

/* --- Trust strip ------------------------------------------------------ */

.trust-strip {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 20px 0 56px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 64px;
}
.trust-strip .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 500;
}
.trust-strip .pill svg {
  width: 16px;
  height: 16px;
  fill: var(--good);
  flex-shrink: 0;
}

@media (max-width: 760px) { .trust-strip { gap: 22px; padding: 14px 0 36px; margin-bottom: 40px; } }

/* --- Section blocks --------------------------------------------------- */

section.block {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}
section.block:first-of-type { border-top: none; padding-top: 0; }
section.block h2 {
  margin: 0 0 14px;
  font-size: 30px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.015em;
}
section.block .section-lead {
  max-width: 640px;
  color: var(--muted);
  margin: 0 0 36px;
  font-size: 16px;
  line-height: 1.6;
}
section.block .body p { margin: 0 0 16px; font-size: 16px; line-height: 1.7; max-width: 720px; }
section.block .body p:last-child { margin-bottom: 0; }

@media (max-width: 760px) {
  section.block { padding: 48px 0; }
  section.block h2 { font-size: 24px; margin-bottom: 12px; }
  section.block .section-lead { margin-bottom: 28px; }
}

/* --- Three-step ------------------------------------------------------- */

.three-up {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.three-up .item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 26px;
}
.three-up .item .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(93, 125, 170, 0.18);
  color: #b6c3d9;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 16px;
}
.three-up .item h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}
.three-up .item p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14.5px;
  line-height: 1.55;
}
@media (max-width: 760px) { .three-up { grid-template-columns: 1fr; gap: 16px; } }

/* --- Live typing demo ------------------------------------------------- */

.typing-demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 28px;
}
.typing-demo .panel {
  background: var(--bg-elevated);
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 22px 24px 18px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
}
.typing-demo .panel.vox    { border-color: rgba(109, 177, 122, 0.75); }
.typing-demo .panel.others { border-color: rgba(207, 111, 114, 0.65); }
.typing-demo .panel-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.typing-demo .panel-name { font-weight: 600; font-size: 16px; color: var(--text); }
.typing-demo .panel-mark { width: 30px; height: 30px; flex-shrink: 0; }
.typing-demo .panel.vox    .panel-mark { fill: var(--good); }
.typing-demo .panel.others .panel-mark { fill: var(--bad); }
.typing-demo .panel-text {
  flex: 1; font-size: 16px; line-height: 1.6;
  font-family: -apple-system, system-ui, sans-serif;
  min-height: 110px; word-break: break-word;
}
.typing-demo .panel.vox    .panel-text { color: #e8e8ec; }
.typing-demo .panel.others .panel-text { color: var(--bad); }
.typing-demo .panel.vox .panel-text .hl {
  border-bottom: 3px solid var(--good);
  padding-bottom: 1px;
}
.typing-demo .panel-text::after {
  content: ''; display: inline-block; width: 8px; height: 16px;
  margin-left: 2px; vertical-align: text-bottom;
  background: currentColor;
  animation: typing-cursor 1s steps(2, start) infinite;
}
@keyframes typing-cursor { to { opacity: 0; } }
.typing-demo .panel-footer {
  margin-top: 16px; font-size: 11px; letter-spacing: 0.09em;
  text-transform: uppercase; font-weight: 600;
}
.typing-demo .panel.vox    .panel-footer { color: var(--good); }
.typing-demo .panel.others .panel-footer { color: var(--bad); }
@media (max-width: 760px) {
  .typing-demo { grid-template-columns: 1fr; gap: 14px; }
  .typing-demo .panel { min-height: 0; padding: 18px 18px 14px; }
}

/* --- Audience grid ---------------------------------------------------- */

.audience {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.audience .card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 24px 22px;
}
.audience .card h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}
.audience .card h3 svg {
  width: 18px; height: 18px; fill: var(--accent-blue); flex-shrink: 0;
}
.audience .card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-soft);
}
@media (max-width: 760px) { .audience { grid-template-columns: 1fr; gap: 14px; } }

/* --- Comparison table ------------------------------------------------ */

.compare {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.compare table { width: 100%; border-collapse: collapse; }
.compare th, .compare td {
  padding: 14px 18px;
  text-align: left;
  font-size: 14.5px;
  border-bottom: 1px solid var(--border);
}
.compare tr:last-child th, .compare tr:last-child td { border-bottom: none; }
.compare thead th {
  background: var(--bg-deeper);
  color: var(--text);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.compare thead th.col-vox    { color: var(--good); }
.compare thead th.col-others { color: var(--muted); }
.compare tbody th {
  font-weight: 500;
  color: var(--muted);
  width: 36%;
}
.compare tbody td { color: var(--text-soft); }
.compare .y { color: var(--good); font-weight: 600; }
.compare .n { color: var(--bad); font-weight: 500; }
.compare .meh { color: var(--muted); }
@media (max-width: 760px) {
  .compare th, .compare td { padding: 11px 12px; font-size: 13.5px; }
  .compare tbody th { width: 44%; }
}

/* --- Feature grid ---------------------------------------------------- */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.features .feat {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 22px 20px;
}
.features .feat .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--accent-blue-soft);
  margin-bottom: 14px;
}
.features .feat .icon svg {
  width: 20px;
  height: 20px;
  fill: #b6c3d9;
}
.features .feat h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.features .feat p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-soft);
}
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; gap: 14px; } }

/* --- Pricing ---------------------------------------------------------- */

.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 760px;
  margin: 0 auto;
}
.pricing .plan {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.pricing .plan.featured {
  border-color: var(--accent-gold-deep);
  box-shadow: 0 0 0 1px rgba(217, 162, 63, 0.20);
  background: linear-gradient(180deg, #2a2620 0%, #22232c 100%);
}
.pricing .plan-name {
  font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted); margin-bottom: 10px;
}
.pricing .plan.featured .plan-name { color: var(--accent-gold); }
.pricing .plan-price {
  font-size: 36px; font-weight: 700;
  color: var(--text); margin-bottom: 6px;
  letter-spacing: -0.02em; line-height: 1.05;
}
.pricing .plan-price .per { font-size: 15px; color: var(--muted); font-weight: 500; }
.pricing .plan-sub { color: var(--muted); font-size: 13.5px; margin: 0 0 22px; line-height: 1.5; }
.pricing .plan ul { list-style: none; margin: 0 0 22px; padding: 0; flex: 1; }
.pricing .plan li {
  padding: 7px 0; font-size: 14.5px;
  color: var(--text-soft);
  display: flex; align-items: flex-start; gap: 10px;
  line-height: 1.55;
}
.pricing .plan li svg {
  width: 16px; height: 16px;
  fill: var(--good); flex-shrink: 0; margin-top: 4px;
}
@media (max-width: 760px) { .pricing { grid-template-columns: 1fr; max-width: none; } }

/* --- FAQ (native <details>) ------------------------------------------ */

.faq { display: flex; flex-direction: column; gap: 8px; }
.faq details {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0;
}
.faq details[open] { border-color: var(--border-strong); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 24px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  width: 12px; height: 12px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 180ms ease;
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .answer {
  padding: 0 24px 22px;
  color: var(--text-soft);
  font-size: 14.5px;
  line-height: 1.65;
}
.faq .answer p { margin: 0 0 10px; }
.faq .answer p:last-child { margin-bottom: 0; }

/* --- Final CTA -------------------------------------------------------- */

.final-cta {
  background: linear-gradient(180deg, var(--accent-blue-soft) 0%, var(--accent-blue-soft-2) 100%);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 44px 44px;
  text-align: center;
  margin-top: 48px;
}
.final-cta h2 {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.015em;
}
.final-cta p {
  margin: 0 0 26px;
  color: var(--text-soft);
  font-size: 16px;
}
@media (max-width: 760px) { .final-cta { padding: 32px 22px; } .final-cta h2 { font-size: 22px; } }

/* --- Footer ----------------------------------------------------------- */

footer.site-footer {
  margin-top: 80px;
  padding: 36px 0 56px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
footer.site-footer .links { display: flex; gap: 24px; }
footer.site-footer a { color: var(--muted); }
footer.site-footer a:hover { color: var(--text); }

/* --- Legal pages ------------------------------------------------------ */

.legal { padding: 16px 0 64px; max-width: 760px; }
.legal h1 {
  font-size: 36px; font-weight: 700;
  margin: 0 0 8px; color: var(--text);
  letter-spacing: -0.02em;
}
.legal .updated { color: var(--muted); font-size: 13px; margin: 0 0 40px; }
.legal h2 {
  font-size: 20px; font-weight: 600; color: var(--text);
  margin: 44px 0 14px; letter-spacing: -0.005em;
}
.legal h3 {
  font-size: 16px; font-weight: 600; color: var(--text);
  margin: 26px 0 8px;
}
.legal p, .legal li {
  color: var(--text-soft);
  font-size: 15px; line-height: 1.7;
}
.legal ul { padding-left: 24px; margin: 10px 0 16px; }
.legal ul li { margin-bottom: 8px; }
.legal a { color: #a8c0e6; text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: #c4d4f0; }
.legal .callout {
  background: linear-gradient(180deg, var(--accent-blue-soft) 0%, var(--accent-blue-soft-2) 100%);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 20px 22px;
  margin: 20px 0;
}
.legal .callout strong { color: var(--text); }

@media (max-width: 760px) {
  .legal h1 { font-size: 28px; }
  .legal h2 { font-size: 18px; margin-top: 36px; }
}
