/* VoxDrot landing page — implementation of "VoxDrot Landing.dc.html" (Claude Design).
   Design tokens, spacing and type scale are transcribed 1:1 from the canvas file.
   Additions beyond the canvas (which has no responsive states) are marked ADDED. */

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #0C0C11;
}
@media (prefers-color-scheme: light) {
  body { background: #F5F5F7; }
}

/* ------------------------------------------------------------------ tokens */

#vx {
  --bg: #0C0C11;
  --surface: #15151C;
  --surface2: #1D1D26;
  --border: #2B2B37;
  --ink: #F1F0F5;
  --muted: #9E9DAD;
  --accent: #8A63F8;
  --accent-ink: #FFFFFF;
  --accent-soft: rgba(138, 99, 248, 0.14);
  --ok: #3DD68C;

  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-mono: ui-monospace, 'Cascadia Code', Consolas, monospace;

  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

#vx[data-theme="light"],
#vx.light {
  --bg: #F5F5F7;
  --surface: #FFFFFF;
  --surface2: #ECECF1;
  --border: #DCDCE4;
  --ink: #16161D;
  --muted: #5B5A66;
  --accent: #6D3EE8;
  --accent-ink: #FFFFFF;
  --accent-soft: rgba(109, 62, 232, 0.10);
}

@media (prefers-color-scheme: light) {
  #vx:not([data-theme="dark"]):not([data-theme="light"]) {
    --bg: #F5F5F7;
    --surface: #FFFFFF;
    --surface2: #ECECF1;
    --border: #DCDCE4;
    --ink: #16161D;
    --muted: #5B5A66;
    --accent: #6D3EE8;
    --accent-ink: #FFFFFF;
    --accent-soft: rgba(109, 62, 232, 0.10);
  }
}

#vx a { color: var(--ink); }
#vx a:hover { color: var(--accent); }
#vx summary::-webkit-details-marker { display: none; }
#vx summary::marker { content: ""; }
#vx :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

@keyframes vx-wave { 0%, 100% { transform: scaleY(0.3); } 50% { transform: scaleY(1); } }
@keyframes vx-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #vx * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition: none !important;
  }
}

/* -------------------------------------------------------------- primitives */

.vx-container { max-width: 1080px; margin: 0 auto; }
.vx-container--narrow { max-width: 880px; }
.vx-container--tight { max-width: 720px; }

.vx-section { padding: 88px 24px; }

.vx-band {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.vx-section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 38px);
  letter-spacing: -0.02em;
  margin: 0 0 48px;
}

.vx-mono {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--muted);
}

.vx-button {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  padding: 15px 30px;
  border-radius: 10px;
}
#vx .vx-button:hover { color: var(--accent-ink); }

/* ------------------------------------------------------------------ header */

.vx-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.vx-header__inner {
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.vx-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.vx-logo__mark {
  display: inline-flex;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--accent);
  color: var(--accent-ink);
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.vx-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
}

.vx-nav a {
  text-decoration: none;
  color: var(--muted);
}

.vx-theme-toggle {
  background: var(--surface2);
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}

/* -------------------------------------------------------------------- hero */

.vx-hero {
  padding: 88px 24px 72px;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
  gap: 56px;
  align-items: center;
}

.vx-hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 4.6vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  text-wrap: pretty;
}

.vx-accent { color: var(--accent); }

.vx-hero__sub {
  font-size: 19px;
  color: var(--muted);
  margin: 0 0 32px;
  max-width: 46ch;
  text-wrap: pretty;
}

.vx-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.vx-hero__terms { margin: 14px 0 0; }

.vx-hero__platforms {
  font-size: 13.5px;
  color: var(--muted);
  margin: 8px 0 0;
}

/* --------------------------------------------------------------- hero demo */

.vx-demo {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.vx-demo__chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface2);
}

.vx-demo__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  display: inline-block;
}

.vx-demo__chrome-label {
  font-size: 12.5px;
  color: var(--muted);
  margin-left: 8px;
}

.vx-demo__body {
  padding: 22px 22px 18px;
  min-height: 130px;
  font-size: 15.5px;
  line-height: 1.65;
}

.vx-demo__text {
  margin: 0;
  color: var(--muted);
  opacity: 1;
  transition: color 0.4s ease, opacity 0.35s ease;
}

.vx-demo[data-phase="clean"] .vx-demo__text { opacity: 0.3; }
.vx-demo[data-phase="done"] .vx-demo__text { color: var(--ink); }

.vx-caret {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--accent);
  vertical-align: text-bottom;
  animation: vx-blink 1s step-end infinite;
}

.vx-demo__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  border-top: 1px solid var(--border);
  background: var(--surface2);
}

.vx-demo__bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vx-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: 0 2px 0 var(--border);
  transform: translateY(0);
  transition: all 0.18s cubic-bezier(0.2, 0, 0.2, 1);
  white-space: nowrap;
}

.vx-demo[data-phase="listen"] .vx-key {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 0 0 var(--border);
  transform: translateY(2px);
}

.vx-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--muted);
}

.vx-status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.3s;
}

.vx-demo[data-phase="listen"] .vx-status__dot,
.vx-demo[data-phase="clean"] .vx-status__dot { background: var(--accent); }
.vx-demo[data-phase="done"] .vx-status__dot { background: var(--ok); }

.vx-wave {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 22px;
  opacity: 0.25;
  transition: opacity 0.2s;
}

.vx-demo[data-phase="listen"] .vx-wave { opacity: 1; }

.vx-wave span {
  width: 4px;
  height: 100%;
  border-radius: 2px;
  background: var(--accent);
  transform-origin: bottom;
  animation: vx-wave 0.5s ease-in-out infinite;
  animation-play-state: paused;
}

.vx-wave span:nth-child(2) { animation-duration: 0.42s; animation-delay: 0.1s; }
.vx-wave span:nth-child(3) { animation-duration: 0.58s; animation-delay: 0.05s; }
.vx-wave span:nth-child(4) { animation-duration: 0.46s; animation-delay: 0.15s; }
.vx-wave span:nth-child(5) { animation-duration: 0.52s; animation-delay: 0.08s; }

.vx-demo[data-phase="listen"] .vx-wave span { animation-play-state: running; }

/* ----------------------------------------------------------------- pillars */

.vx-pillars {
  padding: 0 24px 88px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.vx-pillar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
}

.vx-pillar h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  text-wrap: pretty;
}

.vx-pillar p { margin: 0; color: var(--muted); }

/* ------------------------------------------------------------ how it works */

.vx-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}

.vx-steps svg {
  display: block;
  margin-bottom: 20px;
  color: var(--muted);
}

.vx-steps h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 8px;
}

.vx-steps p { margin: 0; color: var(--muted); }

.vx-steps__note {
  margin: 44px 0 0;
  color: var(--muted);
  font-size: 15.5px;
}

/* ---------------------------------------------------------------- features */

.vx-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.vx-feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
}

.vx-feature h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
}

.vx-feature p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
}

.vx-feature p + .vx-chips { margin-top: 14px; }

.vx-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.vx-chip {
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--muted);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12.5px;
  font-weight: 600;
}

/* ----------------------------------------------------------------- pricing */

.vx-pricing {
  display: grid;
  grid-template-columns: minmax(300px, 1.1fr) minmax(280px, 0.9fr);
  gap: 20px;
  align-items: start;
}

.vx-plan {
  background: var(--bg);
  border: 2px solid var(--accent);
  border-radius: 16px;
  padding: 36px;
  position: relative;
}

.vx-plan__badge {
  position: absolute;
  top: -13px;
  left: 32px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}

.vx-plan h3,
.vx-packs h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 4px;
}

.vx-plan__price {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}

.vx-plan__price span {
  font-size: 17px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}

.vx-plan__list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 15.5px;
}

.vx-plan__list li { display: flex; gap: 10px; }

.vx-tick { color: var(--accent); font-weight: 700; }

.vx-buy {
  display: block;
  text-align: center;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 16.5px;
  padding: 14px;
  border-radius: 10px;
}
#vx .vx-buy:hover { color: var(--accent-ink); }

.vx-packs {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
}

.vx-packs h3 { margin: 0 0 6px; }

.vx-packs__lede {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14.5px;
}

.vx-packs__list {
  display: grid;
  gap: 10px;
}

.vx-pack {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 15.5px;
}

.vx-pack span { color: var(--muted); }

.vx-packs__note {
  margin: 18px 0 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
}

/* -------------------------------------------------------------- comparison */

.vx-compare-title { margin-bottom: 40px; }

.vx-table {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  font-size: 15.5px;
}

.vx-table__row {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.2fr;
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.vx-table__row--head {
  gap: 0;
  background: var(--surface2);
  font-weight: 700;
  padding: 14px 20px;
  border-top: 0;
}

.vx-table__label { color: var(--muted); }
.vx-table__ours { font-weight: 600; }
.vx-table__theirs { color: var(--muted); }

/* ------------------------------------------------------------------- trust */

.vx-trust h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 38px);
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  text-wrap: pretty;
}

.vx-trust__lede { margin: 0 0 28px; color: var(--muted); }

.vx-trust__list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 14px;
  font-size: 15.5px;
}

.vx-trust__list li { display: flex; gap: 12px; }

.vx-arrow { color: var(--accent); font-weight: 700; }

.vx-trust__note { margin: 0; }

/* --------------------------------------------------------------------- faq */

.vx-faq__title { margin-bottom: 32px; }

.vx-faq { border-top: 1px solid var(--border); }

.vx-faq details { border-bottom: 1px solid var(--border); }

.vx-faq summary {
  cursor: pointer;
  padding: 20px 0;
  font-weight: 700;
  font-size: 17px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
}

.vx-faq p { margin: 0 0 20px; color: var(--muted); }

/* ADDED: a static canvas can only draw the closed state; rotating the "+" into
   an "x" gives the open state an affordance without inventing a new glyph. */
.vx-faq__sign {
  color: var(--accent);
  transition: transform 0.2s ease;
}
.vx-faq details[open] .vx-faq__sign { transform: rotate(45deg); }

/* --------------------------------------------------------------- final CTA */

.vx-final {
  padding: 96px 24px;
  text-align: center;
}

.vx-final h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 46px);
  letter-spacing: -0.03em;
  margin: 0 0 28px;
}

.vx-final .vx-button { padding: 15px 34px; }

.vx-final__terms { margin: 16px 0 0; }

/* ------------------------------------------------------------------ footer */

.vx-footer { border-top: 1px solid var(--border); }

.vx-footer__inner {
  padding: 36px 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  font-size: 13.5px;
  color: var(--muted);
}

.vx-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.vx-footer__nav a {
  color: var(--muted);
  text-decoration: none;
}

.vx-footer__legal { text-align: right; }
.vx-footer__legal p { margin: 0; }
.vx-footer__legal p + p { margin: 4px 0 0; }

/* ------------------------------------------------- ADDED: responsive states
   The canvas is a fixed-width artboard and defines no breakpoints; these keep
   the same layout readable down to a 320px viewport. */

@media (max-width: 900px) {
  .vx-hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 56px;
  }
  .vx-hero__sub { max-width: none; }
  .vx-pricing { grid-template-columns: 1fr; }
  .vx-section { padding: 64px 24px; }
  .vx-pillars { padding-bottom: 64px; }
  .vx-final { padding: 72px 24px; }
}

@media (max-width: 720px) {
  .vx-table__row--head { display: none; }

  .vx-table__row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .vx-table__label {
    font-weight: 700;
    color: var(--ink);
  }

  .vx-table__ours::before,
  .vx-table__theirs::before {
    content: attr(data-label) ": ";
    color: var(--muted);
    font-weight: 400;
  }

  .vx-footer__inner { flex-direction: column; }
  .vx-footer__legal { text-align: left; }
}

@media (max-width: 620px) {
  .vx-nav a { display: none; }
  .vx-plan,
  .vx-packs { padding: 28px 22px; }
  .vx-plan__badge { left: 22px; }
  .vx-pillar { padding: 26px; }
}
