/* Voxera marketing LP — modern layout, balanced type & imagery */

:root {
  --bg: #f4f6f9;
  --bg-alt: #ffffff;
  --surface: #ffffff;
  --surface-muted: #f8fafc;
  --text: #0c1222;
  --text-muted: #5c6578;
  --text-subtle: #8b94a8;
  --border: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.12);
  --accent: #16a34a;
  --accent-hover: #15803d;
  --accent-soft: rgba(22, 163, 74, 0.14);
  --accent-glow: rgba(22, 163, 74, 0.12);
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --shadow-xs: 0 1px 2px rgba(12, 18, 34, 0.04);
  --shadow-sm: 0 2px 8px rgba(12, 18, 34, 0.06);
  --shadow-md: 0 8px 30px rgba(12, 18, 34, 0.08);
  --shadow-lg: 0 24px 48px rgba(12, 18, 34, 0.1);
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1140px;
  --prose: 42rem;
  --split-text-max: 32rem;
  --section-y: clamp(3.5rem, 7vw, 6rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  text-underline-offset: 0.15em;
}
a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.wrap {
  width: min(100% - clamp(1.25rem, 4vw, 2.5rem), var(--max));
  margin-inline: auto;
}

.nav-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-shrink: 0;
}

/* Nav */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--border);
}

.site-nav .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}
.brand:hover {
  text-decoration: none;
  opacity: 0.88;
}
.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: var(--shadow-xs);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.65rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}
.nav-links a:hover {
  color: var(--text);
  text-decoration: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.35rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease;
  text-decoration: none;
}
.btn:hover {
  text-decoration: none;
}
.btn:active {
  transform: scale(0.98);
}
.btn-primary {
  background: linear-gradient(180deg, #22c55e 0%, var(--accent) 100%);
  color: #fff;
  box-shadow: var(--shadow-xs), 0 0 0 1px rgba(0, 0, 0, 0.04) inset;
}
.btn-primary:hover {
  background: linear-gradient(180deg, #4ade80 0%, var(--accent-hover) 100%);
  box-shadow: var(--shadow-sm);
}
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-xs);
}
.btn-ghost:hover {
  background: var(--surface-muted);
  border-color: rgba(15, 23, 42, 0.14);
}
.btn--disabled,
.btn--disabled:hover,
.btn--disabled:active {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}
.btn-primary.btn--disabled:hover {
  background: linear-gradient(180deg, #22c55e 0%, var(--accent) 100%);
}
.btn-ghost.btn--disabled:hover {
  background: var(--surface);
  border-color: var(--border-strong);
}

.download-soon-note {
  display: none;
  margin: 0.65rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.download-lede-paused {
  display: none;
}
html.voxera-downloads-off .download-soon-note {
  display: block;
}
html.voxera-downloads-off .download-lede-active {
  display: none;
}
html.voxera-downloads-off .download-lede-paused {
  display: block;
  margin: 0 0 1.65rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 42ch;
  margin-inline: auto;
}

/* Hero */
.hero {
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(3rem, 7vw, 5rem);
  background:
    radial-gradient(ellipse 90% 60% at 85% 0%, var(--accent-glow), transparent 55%),
    radial-gradient(ellipse 70% 50% at 0% 100%, rgba(99, 102, 241, 0.06), transparent 50%),
    var(--bg);
}

.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2rem, 5vw, 3.5rem);
}

.hero-copy {
  width: 100%;
  max-width: var(--prose);
  text-align: center;
}

.hero-kicker {
  margin: 0 auto 0.75rem;
  max-width: 22rem;
}
@media (min-width: 1080px) {
  .hero-kicker {
    margin-left: 0;
    margin-right: 0;
  }
}

/* Hero headline: two deliberate lines, uses full column width */
.hero-title {
  margin: 0 0 1.35rem;
  margin-inline: auto;
  max-width: 100%;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
}

.hero-title__line {
  display: block;
  font-size: clamp(2rem, 4.25vw, 3.05rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.hero-title__line--primary {
  color: var(--text);
  text-wrap: balance;
}

.hero-title__line--accent {
  margin-top: 0.2em;
  font-weight: 700;
  letter-spacing: -0.045em;
  color: var(--accent);
  text-wrap: balance;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-title__line--accent {
    background: linear-gradient(105deg, var(--accent) 0%, #059669 50%, #0d9488 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}

.hero .lede {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 38rem;
  margin: 0 auto 1.75rem;
}

.hero .lede strong {
  color: var(--text);
  font-weight: 600;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 0;
}

.hero-cta--split {
  gap: 0.65rem 0.85rem;
}

.hero-download-note {
  margin: 0.85rem 0 0;
  font-size: 0.94rem;
  color: var(--text-muted);
}
.hero-download-note a {
  font-weight: 600;
}

.hero-visual {
  width: 100%;
  max-width: min(920px, 100%);
  margin-inline: auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--border);
  background: var(--surface);
}

.hero-visual img {
  width: 100%;
  height: auto;
}

@media (min-width: 1080px) {
  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
    align-items: center;
    gap: clamp(2.5rem, 4vw, 4rem);
    text-align: left;
  }

  .hero-copy {
    text-align: left;
    max-width: var(--split-text-max);
    margin-inline: 0;
  }

  .hero-title {
    margin-inline: 0;
    max-width: 100%;
  }

  .hero .lede {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
  }

  .hero-cta {
    justify-content: flex-start;
  }

  .hero-download-note {
    text-align: left;
  }

  .hero-visual {
    max-width: none;
  }
}

/* Section rhythm */
section {
  padding: var(--section-y) 0;
}

section.alt {
  background: linear-gradient(180deg, var(--surface-muted) 0%, var(--bg-alt) 45%, var(--bg-alt) 100%);
  border-block: 1px solid var(--border);
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin: 0 0 0.65rem;
}

h2.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.45rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  line-height: 1.18;
  color: var(--text);
}

.section-intro {
  color: var(--text-muted);
  max-width: min(var(--prose), 100%);
  margin: 0 0 2rem;
  font-size: 1.0625rem;
  line-height: 1.68;
}

.center {
  text-align: center;
}
.center .section-intro,
.section-intro.center {
  margin-inline: auto;
}

.grid-3--below-intro {
  margin-top: 2.5rem;
}

.features-grid-wrap {
  margin-top: 2.5rem;
}

/* Grid cards */
.grid-3 {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
}
@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  padding: clamp(1.35rem, 2vw, 1.75rem);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
section:not(.alt) .card {
  background: var(--surface);
}
section.alt .card {
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}
.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.62;
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  font-size: 1.2rem;
  color: var(--accent);
}

/* Stat strip */
.stat-strip {
  display: grid;
  gap: clamp(0.85rem, 2vw, 1.15rem);
  text-align: center;
}
@media (min-width: 700px) {
  .stat-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-strip > div {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.35rem, 2.5vw, 1.75rem) 1.15rem;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.stat-strip > div:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

section.alt .stat-strip > div {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
}

.stat-strip strong {
  display: block;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 0.45rem;
  line-height: 1.22;
}
.stat-strip span {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  display: block;
  max-width: 26ch;
  margin-inline: auto;
}

.stat-strip--tight-top {
  margin-top: 2.5rem;
}

/* Split feature */
.split {
  display: grid;
  gap: clamp(2rem, 4vw, 3.25rem);
  align-items: center;
}
@media (min-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2.25rem, 4vw, 3.75rem);
  }
  .split.reverse .split-text {
    order: 2;
  }
  .split.reverse .split-visual {
    order: 1;
  }
}

.split-text {
  max-width: min(var(--split-text-max), 100%);
}
@media (min-width: 900px) {
  .split .split-text .section-intro {
    margin-bottom: 1.5rem;
  }
}

.split-visual {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  background: var(--surface);
  min-height: 0;
}

.mock-ui {
  padding: clamp(1.25rem, 3vw, 1.65rem);
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Consolas, monospace;
  font-size: clamp(0.78rem, 1.5vw, 0.88rem);
  line-height: 1.55;
  background: linear-gradient(165deg, #1e293b 0%, #0f172a 100%);
  color: #e2e8f0;
  min-height: 200px;
}
.mock-ui--tall {
  min-height: 220px;
}
.mock-ui .prompt {
  color: #94a3b8;
}
.mock-ui .hl {
  color: #4ade80;
}

/* Numbered features */
.features-num {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}
@media (min-width: 720px) {
  .features-num {
    grid-template-columns: repeat(2, 1fr);
  }
}

.features-num--single {
  grid-template-columns: 1fr;
  max-width: var(--prose);
}

.features-num li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-muted);
  box-shadow: var(--shadow-xs);
  align-items: start;
}
section.alt .features-num li {
  background: var(--surface);
}

.features-num .num {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.08em;
  line-height: 1.4;
  padding-top: 0.15rem;
}
.features-num h3 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.features-num p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* Pricing */
.pricing-visual {
  margin-top: 2.5rem;
  max-width: min(900px, 100%);
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  background: var(--surface);
}

.pricing-foot {
  text-align: center;
  margin-top: 1.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 40rem;
  margin-inline: auto;
}

/* FAQ */
.faq-wrap {
  max-width: 42rem;
  margin-inline: auto;
}

.faq-stack {
  min-width: 0;
  margin-top: 2rem;
}

.faq-heading {
  margin: 2rem 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-subtle);
}
.faq-heading:first-child {
  margin-top: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  padding: 1.1rem 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid var(--text-subtle);
  border-bottom: 2px solid var(--text-subtle);
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: transform 0.22s ease;
}
.faq-item[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 0.2rem;
}
.faq-item p {
  margin: 0 0 1.15rem;
  padding-right: 0.5rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.68;
}

.contact-card {
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.contact-card-title {
  margin: 0 0 0.5rem;
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.contact-card-lede {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit;
  font-size: 0.95rem;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}
.contact-submit {
  margin-top: 0.25rem;
  align-self: flex-start;
}

.contact-form-note {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.contact-form-note code {
  font-size: 0.8em;
  background: var(--surface-muted);
  padding: 0.12em 0.4em;
  border-radius: 6px;
  border: 1px solid var(--border);
}
.contact-form-note--warn {
  color: #b45309;
}

.contact-alt {
  margin: 1rem 0 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.contact-alt a {
  font-weight: 600;
}

.contact-back {
  margin: 1.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-muted);
}
.contact-back a {
  font-weight: 600;
}

/* Contact page */
.contact-page-hero {
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(3rem, 7vw, 5rem);
}
.contact-page-inner {
  max-width: 40rem;
  margin-inline: auto;
}
.contact-page-title {
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  line-height: 1.2;
}
.contact-page-lede {
  margin-bottom: 0;
}
.contact-card--page {
  margin-top: 2rem;
}

/* FAQ page */
.faq-page-section {
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(3rem, 7vw, 5rem);
}
.faq-page-title {
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  line-height: 1.2;
  text-align: center;
}
.faq-page-lede {
  text-align: center;
  margin-inline: auto;
  max-width: 40rem;
}
.faq-page-main .faq-stack {
  margin-top: 2rem;
}
.faq-page-back {
  text-align: center;
  border-top: none;
  padding-top: 2rem;
}

/* Privacy policy page */
.privacy-article {
  max-width: 42rem;
  margin: 2.5rem auto 0;
  text-align: left;
  color: var(--text);
  line-height: 1.65;
}
.privacy-article h2 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 2rem 0 0.65rem;
  color: var(--text);
}
.privacy-article p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}
.privacy-article p:first-of-type {
  color: var(--text-muted);
}
.privacy-list {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--text-muted);
}
.privacy-list li {
  margin-bottom: 0.65rem;
}
.privacy-list li strong {
  color: var(--text);
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: clamp(3.5rem, 8vw, 5.5rem) clamp(1.25rem, 4vw, 2rem);
  background:
    radial-gradient(ellipse 80% 80% at 50% 120%, var(--accent-glow), transparent 55%),
    linear-gradient(180deg, #ecfdf5 0%, var(--surface-muted) 100%);
  border-block: 1px solid var(--border);
}
.cta-band h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.65rem, 3.2vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.cta-band p {
  margin: 0 0 1.65rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 42ch;
  margin-inline: auto;
}

.download-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-content: center;
  align-items: center;
}

/* Footer */
.site-footer {
  padding: clamp(2.5rem, 5vw, 3.25rem) 0 2rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.footer-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}
.site-footer h4 {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer li {
  margin-bottom: 0.55rem;
}
.site-footer a {
  color: var(--text-muted);
  font-size: 0.94rem;
}
.site-footer a:hover {
  color: var(--text);
  text-decoration: none;
}

.footer-bottom {
  margin-top: 2.25rem;
  padding-top: 1.65rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom .brand-small {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  font-weight: 500;
}
.footer-bottom img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
}
