/* =========================================================
   Vouchly — landing page styles
   Palette, type & motion per docs/DESIGN.md
   ========================================================= */

:root {
  --bg: #0b0d12;
  --surface: #12151d;
  --surface-2: #1a1f2b;
  --border: #252b3b;
  --text: #e8eaf2;
  --muted: #98a0b3;
  --primary: #6d5cff;
  --primary-soft: #8b7dff;
  --accent: #22d3ee;
  --success: #34d399;
  --warning: #f5a623;
  --danger: #f87171;
  --star: #fbbf24;
  --grad: linear-gradient(135deg, #6d5cff, #22d3ee);
  --radius-card: 14px;
  --radius-btn: 10px;
  --radius-pill: 999px;
  --shadow-cta: 0 10px 40px rgba(109, 92, 255, 0.25);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Inter, sans-serif;
}

/* ---------- Reset & base ---------- */

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

html {
  color-scheme: dark;
  scroll-padding-top: 92px;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

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

img,
svg {
  display: inline-block;
  vertical-align: middle;
}

a {
  color: var(--primary-soft);
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3 {
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-weight: 800;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.3rem, 5.4vw, 3.6rem);
}

h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
}

h3 {
  font-size: 1.12rem;
  font-weight: 700;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection {
  background: rgba(109, 92, 255, 0.45);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  transition: top 180ms ease-out;
}

.skip-link:focus-visible {
  top: 12px;
}

.container {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}

/* ---------- Buttons, pills, gradient text ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 200ms ease-out, box-shadow 200ms ease-out,
    border-color 200ms ease-out, background-color 200ms ease-out;
}

.btn-lg {
  padding: 14px 26px;
  font-size: 1.02rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-cta);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 48px rgba(109, 92, 255, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: rgba(26, 31, 43, 0.6);
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  background: var(--surface-2);
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pill,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(26, 31, 43, 0.7);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pill-star {
  width: 13px;
  height: 13px;
  color: var(--star);
}

/* ---------- Sticky nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 13, 18, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease-out, background-color 200ms ease-out;
}

.site-header.is-scrolled {
  background: rgba(11, 13, 18, 0.88);
  border-bottom-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}

.logo {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  gap: 26px;
  margin-inline: auto;
}

.nav-links a {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 180ms ease-out;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.nav-links + .nav-actions {
  margin-left: 0;
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 110px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}

.blob-1 {
  width: 560px;
  height: 560px;
  top: -180px;
  left: -120px;
  background: rgba(109, 92, 255, 0.38);
}

.blob-2 {
  width: 500px;
  height: 500px;
  top: 12%;
  right: -180px;
  background: rgba(34, 211, 238, 0.26);
}

.blob-3 {
  width: 540px;
  height: 540px;
  bottom: -260px;
  left: 30%;
  background: rgba(139, 125, 255, 0.28);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-copy h1 {
  margin: 20px 0 18px;
}

.hero-sub {
  color: var(--muted);
  font-size: 1.13rem;
  max-width: 34em;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.trust-line {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.88rem;
}

/* Floating testimonial collage */

.hero-cards {
  position: relative;
  height: 620px;
}

.hc {
  position: absolute;
  width: min(330px, 86%);
}

.hc-1 { top: 0;     left: 4%;   rotate: -2deg; z-index: 2; }
.hc-2 { top: 158px; right: 0;   rotate: 1.5deg; z-index: 3; }
.hc-3 { top: 322px; left: 0;    rotate: -1deg; z-index: 2; }
.hc-4 { top: 478px; right: 5%;  rotate: 2deg;  z-index: 3; width: min(300px, 80%); }

/* ---------- Testimonial card (shared) ---------- */

.t-card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  transition: transform 200ms ease-out, border-color 200ms ease-out,
    box-shadow 200ms ease-out;
}

.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 10px;
}

.star {
  width: 15px;
  height: 15px;
  color: var(--star);
}

.star-off {
  color: var(--border);
}

.t-quote {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text);
}

.t-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
}

.av-1 { background: linear-gradient(135deg, #6d5cff, #b45cff); }
.av-2 { background: linear-gradient(135deg, #22d3ee, #2280ee); }
.av-3 { background: linear-gradient(135deg, #34d399, #22b8ee); }
.av-4 { background: linear-gradient(135deg, #f5a623, #f55c8a); }
.av-5 { background: linear-gradient(135deg, #f87171, #b45cff); }
.av-6 { background: linear-gradient(135deg, #8b7dff, #34d399); }

.t-who {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.t-name {
  font-weight: 600;
  font-size: 0.88rem;
}

.t-title {
  color: var(--muted);
  font-size: 0.8rem;
}

/* ---------- Logo marquee ---------- */

.marquee-section {
  padding: 30px 0 10px;
  border-top: 1px solid var(--border);
}

.marquee-label {
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  padding-bottom: 26px;
}

.marquee-track {
  display: flex;
  width: max-content;
}

.marquee-list {
  display: flex;
  align-items: center;
}

.wm {
  margin-right: 64px;
  white-space: nowrap;
  color: var(--muted);
  opacity: 0.75;
  font-size: 1.25rem;
  transition: opacity 180ms ease-out, color 180ms ease-out;
}

.wm:hover {
  opacity: 1;
  color: var(--text);
}

.wm-caps {
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 1.05rem;
}

.wm-serif {
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 600;
}

.wm-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 600;
  font-size: 1.05rem;
}

.wm-round {
  font-weight: 700;
  letter-spacing: -0.03em;
}

/* ---------- Stats band ---------- */

.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(26, 31, 43, 0.45), rgba(18, 21, 29, 0.45));
  padding: 54px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat + .stat {
  border-left: 1px solid var(--border);
}

.stat-num {
  font-size: clamp(2.2rem, 4.5vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- Shared section chrome ---------- */

.section {
  padding: 100px 0;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-head h2 {
  margin-top: 18px;
}

.section-sub {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.05rem;
}

/* ---------- How it works ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 24px 24px;
  transition: transform 200ms ease-out, border-color 200ms ease-out;
}

.step:hover {
  transform: translateY(-4px);
  border-color: rgba(109, 92, 255, 0.5);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 18px;
  box-shadow: 0 8px 24px rgba(109, 92, 255, 0.35);
}

.step h3 {
  margin-bottom: 10px;
}

.step p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Code window */

.code-window {
  max-width: 720px;
  margin: 44px auto 0;
  background: #0d1017;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.cw-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.cw-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.cw-red { background: var(--danger); }
.cw-yellow { background: var(--warning); }
.cw-green { background: var(--success); }

.cw-title {
  margin-left: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.cw-body {
  padding: 22px 20px;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--muted);
}

.c-tag { color: var(--primary-soft); }
.c-attr { color: var(--accent); }
.c-str { color: var(--success); }

/* ---------- Features grid ---------- */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 26px 24px;
  transition: transform 200ms ease-out, border-color 200ms ease-out,
    box-shadow 200ms ease-out;
}

.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(109, 92, 255, 0.5);
  box-shadow: 0 16px 44px rgba(109, 92, 255, 0.12);
}

.f-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(109, 92, 255, 0.14);
  border: 1px solid rgba(109, 92, 255, 0.28);
  color: var(--primary-soft);
  margin-bottom: 18px;
}

.feature:nth-child(even) .f-icon {
  background: rgba(34, 211, 238, 0.1);
  border-color: rgba(34, 211, 238, 0.26);
  color: var(--accent);
}

.f-icon svg {
  width: 22px;
  height: 22px;
}

.feature h3 {
  margin-bottom: 10px;
}

.feature p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Wall of Love demo ---------- */

.wall-section {
  background: linear-gradient(180deg, rgba(18, 21, 29, 0.55), transparent);
  border-top: 1px solid var(--border);
}

.wall {
  columns: 3 280px;
  column-gap: 20px;
}

.wall-card {
  break-inside: avoid;
  margin-bottom: 20px;
}

.wall-card:hover {
  transform: translateY(-3px);
  border-color: rgba(109, 92, 255, 0.45);
}

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

.plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 34px 30px 30px;
  transition: transform 200ms ease-out, box-shadow 200ms ease-out;
}

.plan:hover {
  transform: translateY(-4px);
}

.plan-pro {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--surface-2), var(--surface)) padding-box,
    var(--grad) border-box;
  box-shadow: 0 18px 60px rgba(109, 92, 255, 0.18);
}

.plan-pro:hover {
  box-shadow: 0 24px 70px rgba(109, 92, 255, 0.28);
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  background: var(--grad);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.plan-name {
  font-size: 1.05rem;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.price {
  margin-top: 10px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-num {
  font-size: 2.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.per {
  color: var(--muted);
  font-size: 0.95rem;
}

.plan-tag {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.93rem;
}

.plan-list {
  margin: 22px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.plan-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.check {
  width: 17px;
  height: 17px;
  flex: none;
  color: var(--success);
}

/* ---------- FAQ ---------- */

.faq-container {
  max-width: 760px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  transition: border-color 200ms ease-out;
}

.faq-item[open],
.faq-item:hover {
  border-color: rgba(109, 92, 255, 0.45);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  border-radius: var(--radius-card);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.chev {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--muted);
  transition: transform 200ms ease-out;
}

.faq-item[open] .chev {
  transform: rotate(180deg);
}

.faq-body {
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 0.96rem;
}

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

.final-cta {
  padding: 40px 0 110px;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(600px 260px at 50% -60px, rgba(109, 92, 255, 0.28), transparent 70%),
    radial-gradient(500px 240px at 85% 110%, rgba(34, 211, 238, 0.14), transparent 70%),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 72px 32px;
}

.cta-panel h2 {
  max-width: 18em;
  margin: 0 auto;
}

.cta-panel p {
  color: var(--muted);
  max-width: 34em;
  margin: 16px auto 30px;
  font-size: 1.05rem;
}

.cta-panel .trust-line {
  margin-top: 18px;
}

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

.site-footer {
  border-top: 1px solid var(--border);
  padding: 30px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.logo-sm {
  font-size: 1.15rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-nav a {
  color: var(--muted);
  font-size: 0.88rem;
  transition: color 180ms ease-out;
}

.footer-nav a:hover {
  color: var(--text);
}

.copyright {
  color: var(--muted);
  font-size: 0.85rem;
}

/* =========================================================
   Scroll reveal (JS adds .is-visible; hidden state only
   applies when JS is present via html.js)
   ========================================================= */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 550ms ease-out, transform 550ms ease-out;
  transition-delay: calc(var(--reveal-delay, 0) * 60ms);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* =========================================================
   Ambient / looping animation — motion-safe only
   ========================================================= */

@media (prefers-reduced-motion: no-preference) {
  .blob-1 {
    animation: drift-a 30s ease-in-out infinite alternate;
  }

  .blob-2 {
    animation: drift-b 38s ease-in-out infinite alternate;
  }

  .blob-3 {
    animation: drift-c 26s ease-in-out infinite alternate;
  }

  .floaty {
    animation: floaty 8s ease-in-out infinite alternate;
  }

  .f-1 { animation-duration: 7.2s; animation-delay: -1.1s; }
  .f-2 { animation-duration: 8.6s; animation-delay: -3.4s; }
  .f-3 { animation-duration: 9.4s; animation-delay: -5.2s; }
  .f-4 { animation-duration: 7.8s; animation-delay: -2.3s; }

  .marquee-track {
    animation: marquee 34s linear infinite;
  }

  .marquee:hover .marquee-track {
    animation-play-state: paused;
  }
}

@keyframes drift-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(90px, 60px, 0) scale(1.18); }
}

@keyframes drift-b {
  from { transform: translate3d(0, 0, 0) scale(1.1); }
  to   { transform: translate3d(-110px, -50px, 0) scale(0.95); }
}

@keyframes drift-c {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(60px, -80px, 0) scale(1.14); }
}

@keyframes floaty {
  from { transform: translateY(0); }
  to   { transform: translateY(-14px); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Reduced motion: everything settled, marquee scrollable by hand */

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .marquee {
    overflow-x: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1080px) {
  .hc {
    width: min(300px, 92%);
  }

  .hc-4 {
    width: min(280px, 86%);
  }
}

@media (max-width: 960px) {
  .hero {
    padding: 56px 0 80px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-sub {
    margin-inline: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-cards {
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .hc,
  .hc-1,
  .hc-2,
  .hc-3,
  .hc-4 {
    position: static;
    width: auto;
    rotate: none;
  }

  .steps,
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .nav-actions {
    margin-left: auto;
  }
}

@media (max-width: 700px) {
  .section {
    padding: 72px 0;
  }

  .container {
    width: min(1120px, 100% - 32px);
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .stat + .stat {
    border-left: 0;
    border-top: 1px solid var(--border);
    padding-top: 28px;
  }

  .steps,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .plans {
    grid-template-columns: 1fr;
  }

  .hero-cards {
    grid-template-columns: 1fr;
  }

  .hc-4 {
    display: none;
  }

  .cta-panel {
    padding: 56px 22px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 430px) {
  .hero-ctas .btn-lg {
    width: 100%;
  }

  .nav-inner {
    gap: 14px;
  }

  .btn {
    padding: 9px 14px;
    font-size: 0.9rem;
  }
}
