/* =========================================================================
   Pushyourevent — marketing site styles (vanilla)
   Premium SaaS look: light base, alternating dark sections, brand gradient.
   ========================================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette (from SITO.md) */
  --violet: #7c3aed;
  --violet-600: #6d28d9;
  --blue: #2563eb;
  --blue-400: #3b82f6;
  --fuchsia: #d946ef;

  /* Neutrals */
  --ink: #0f0a1e;
  --body: #475569;
  --muted: #64748b;
  --bg: #ffffff;
  --bg-soft: #fafafb;
  --bg-dark: #0b0712;
  --bg-dark-2: #140c24;
  --border: #e5e7eb;
  --border-dark: rgba(255, 255, 255, 0.12);

  --success: #10b981;
  --error: #ef4444;

  /* Signature gradient */
  --grad: linear-gradient(135deg, #2563eb 0%, #7c3aed 50%, #d946ef 100%);
  --grad-text: linear-gradient(120deg, #3b82f6 0%, #7c3aed 45%, #d946ef 100%);

  /* Radii & shadows */
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(15, 10, 30, 0.06);
  --shadow: 0 10px 30px -12px rgba(15, 10, 30, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(124, 58, 237, 0.35);
  --glow: 0 10px 40px -8px rgba(124, 58, 237, 0.5);

  /* Typography */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Layout */
  --maxw: 1180px;
  --nav-h: 68px;

  color-scheme: light;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1,
h2,
h3,
h4 {
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-weight: 700;
}
p {
  margin: 0 0 1em;
}
a {
  color: var(--violet);
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid rgba(124, 58, 237, 0.55);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 22px;
}
.section {
  padding-block: clamp(56px, 9vw, 110px);
}
.section--tight {
  padding-block: clamp(40px, 6vw, 70px);
}
.section--dark {
  background: radial-gradient(
      80% 120% at 15% 10%,
      rgba(37, 99, 235, 0.22) 0%,
      transparent 55%
    ),
    radial-gradient(
      80% 120% at 90% 90%,
      rgba(217, 70, 239, 0.18) 0%,
      transparent 55%
    ),
    var(--bg-dark);
  color: #c7c3d6;
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: #fff;
}
.section--soft {
  background: var(--bg-soft);
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}
.section-head {
  max-width: 720px;
  margin: 0 auto clamp(36px, 5vw, 60px);
  text-align: center;
}
.section-head h2 {
  font-size: clamp(30px, 4.4vw, 44px);
}
.section-head p {
  font-size: 18px;
  margin-top: 6px;
}
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  transition:
    transform 0.18s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--glow);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 50px -8px rgba(124, 58, 237, 0.65);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn--ghost:hover {
  border-color: var(--violet);
  color: var(--violet);
}
.section--dark .btn--ghost,
.btn--ghost-light {
  color: #fff;
  border-color: var(--border-dark);
}
.section--dark .btn--ghost:hover {
  border-color: #fff;
}
.btn--lg {
  padding: 15px 30px;
  font-size: 16px;
}
.btn--block {
  width: 100%;
}

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: var(--r-pill);
  background: rgba(124, 58, 237, 0.08);
  color: var(--violet-600);
  border: 1px solid rgba(124, 58, 237, 0.16);
}
.section--dark .badge {
  background: rgba(255, 255, 255, 0.07);
  color: #d9d4ec;
  border-color: var(--border-dark);
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-400);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

/* ---------- Cards ---------- */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.2s ease,
    box-shadow 0.25s ease,
    border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(124, 58, 237, 0.3);
}
.section--dark .card {
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--border-dark);
  box-shadow: none;
}
.section--dark .card:hover {
  border-color: rgba(217, 70, 239, 0.4);
  box-shadow: var(--glow);
}
.card h3 {
  font-size: 19px;
}
.card p {
  font-size: 15px;
  margin: 0;
}

.icon-tile {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: #fff;
  margin-bottom: 16px;
  box-shadow: var(--glow);
}
.icon-tile svg {
  width: 24px;
  height: 24px;
}

/* ---------- Navbar ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition:
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}
.nav.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 6px 24px -16px rgba(15, 10, 30, 0.4);
}
.nav__inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 22px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 18px;
}
.nav__links a {
  color: var(--body);
  font-weight: 500;
  font-size: 15px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.18s ease, color 0.18s ease;
}
.nav__links a:hover {
  background: rgba(124, 58, 237, 0.07);
  color: var(--ink);
}
.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

/* language switcher */
.lang {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  overflow: hidden;
  background: #fff;
}
.lang a {
  padding: 6px 11px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: background 0.18s, color 0.18s;
}
.lang a[aria-current="true"] {
  background: var(--grad);
  color: #fff;
}

/* hamburger */
.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  align-items: center;
  justify-content: center;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav__toggle span::before {
  transform: translateY(-6px);
}
.nav__toggle span::after {
  transform: translateY(4px);
}
.nav.is-open .nav__toggle span {
  background: transparent;
}
.nav.is-open .nav__toggle span::before {
  transform: rotate(45deg);
}
.nav.is-open .nav__toggle span::after {
  transform: rotate(-45deg) translateY(-1px) translateX(1px);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(48px, 7vw, 86px);
  padding-bottom: clamp(56px, 8vw, 100px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 620px;
  background: radial-gradient(
      50% 60% at 18% 18%,
      rgba(37, 99, 235, 0.16) 0%,
      transparent 60%
    ),
    radial-gradient(
      55% 60% at 85% 25%,
      rgba(217, 70, 239, 0.16) 0%,
      transparent 60%
    );
  z-index: -1;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 66px);
  letter-spacing: -0.03em;
}
.hero__sub {
  font-size: clamp(17px, 2vw, 20px);
  max-width: 540px;
  margin-bottom: 26px;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Hero mockup (CSS/SVG) ---------- */
.mock {
  position: relative;
  perspective: 1400px;
}
.mock__modal {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  transform: rotateY(-9deg) rotateX(4deg);
  transition: transform 0.4s ease;
}
.mock:hover .mock__modal {
  transform: rotateY(-4deg) rotateX(2deg);
}
.mock__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}
.mock__head .icon-tile {
  margin: 0;
  width: 40px;
  height: 40px;
}
.mock__title {
  font-weight: 700;
  color: var(--ink);
  font-size: 15px;
}
.mock__meta {
  font-size: 12.5px;
  color: var(--muted);
}
.mock__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: 11px;
  margin-bottom: 9px;
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
  transition: border-color 0.2s, background 0.2s;
}
.mock__row:hover {
  border-color: var(--violet);
  background: rgba(124, 58, 237, 0.04);
}
.mock__row svg {
  width: 20px;
  height: 20px;
  flex: none;
}
.mock__chip {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  color: var(--violet-600);
  background: rgba(124, 58, 237, 0.1);
  padding: 3px 8px;
  border-radius: var(--r-pill);
}
.mock__countdown {
  position: absolute;
  right: -18px;
  bottom: -22px;
  background: var(--bg-dark);
  color: #fff;
  border-radius: var(--r);
  padding: 14px 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  gap: 10px;
  align-items: center;
}
.mock__cd-num {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mock__cd-lbl {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9b94b5;
}

/* ---------- Logos strip ---------- */
.logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 34px;
}
.logos span {
  font-weight: 700;
  font-size: 17px;
  color: #94a3b8;
  letter-spacing: -0.01em;
}
.logos__label {
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
  font-weight: 600;
}

/* ---------- Grids ---------- */
.grid {
  display: grid;
  gap: 22px;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ---------- Problem section ---------- */
.problem-card {
  border-left: 3px solid var(--error);
}
.problem-card .icon-tile {
  background: rgba(239, 68, 68, 0.12);
  color: var(--error);
  box-shadow: none;
}

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 8px;
}
.step__num {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--grad);
  display: grid;
  place-items: center;
  box-shadow: var(--glow);
  margin-bottom: 16px;
}
.step h3 {
  font-size: 20px;
}
.step p {
  font-size: 15px;
  margin: 0;
}

/* ---------- Distribution / generic feature with media ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 15.5px;
}
.feature-list svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--success);
  margin-top: 1px;
}

/* wallet pass mock */
.pass {
  max-width: 330px;
  margin-inline: auto;
  background: var(--grad);
  border-radius: var(--r-lg);
  padding: 3px;
  box-shadow: var(--shadow-lg);
}
.pass__inner {
  background: #12091f;
  border-radius: 17px;
  padding: 20px;
  color: #fff;
}
.pass__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #c4bcdc;
  margin-bottom: 18px;
}
.pass__event {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}
.pass__when {
  font-size: 13px;
  color: #b9b0d4;
  margin-bottom: 18px;
}
.pass__qr {
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  display: grid;
  place-items: center;
}
.pass__qr svg {
  width: 100%;
  height: auto;
}
.pass__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #6ee7b7;
  margin-top: 14px;
}
.pass__live .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  animation: pulse 1.8s infinite;
}

/* ---------- Audience ---------- */
.audience .card {
  border-top: 3px solid transparent;
  border-image: var(--grad) 1;
}

/* ---------- Pricing ---------- */
.pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
  width: 100%;
}
.switch {
  position: relative;
  width: 52px;
  height: 30px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: #fff;
  padding: 0;
}
.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--grad);
  transition: transform 0.22s ease;
}
.switch[aria-checked="true"]::after {
  transform: translateX(22px);
}
.toggle-label {
  font-weight: 600;
  color: var(--muted);
  font-size: 15px;
}
.toggle-label.is-active {
  color: var(--ink);
}
.save-pill {
  font-size: 12px;
  font-weight: 700;
  color: var(--success);
  background: rgba(16, 185, 129, 0.12);
  padding: 3px 9px;
  border-radius: var(--r-pill);
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan--featured {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--grad) border-box;
  border: 2px solid transparent;
}
.plan__tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  box-shadow: var(--glow);
}
.plan__name {
  font-weight: 700;
  color: var(--ink);
  font-size: 18px;
}
.plan__tagline {
  font-size: 14.5px;
  color: var(--muted);
  margin: 8px 0 4px;
}
.plan__price {
  font-size: 42px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
  margin: 10px 0 2px;
}
.plan__price small {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}
.plan__period {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
}
.plan ul {
  display: grid;
  gap: 11px;
  margin: 18px 0 24px;
}
.plan li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--body);
}
.plan li svg {
  width: 19px;
  height: 19px;
  color: var(--success);
  flex: none;
  margin-top: 1px;
}
.plan li.is-off {
  color: #b6bdc9;
}
.plan li.is-off svg {
  color: #cbd2dc;
}
.plan .btn {
  margin-top: auto;
}
.pricing-note {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  margin-top: 26px;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 780px;
  margin-inline: auto;
}
.faq__item {
  border-bottom: 1px solid var(--border);
}
.faq__q {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}
.faq__icon {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 18px;
  line-height: 1;
  color: var(--violet);
  transition: transform 0.25s ease, background 0.2s;
}
.faq__item.is-open .faq__icon {
  transform: rotate(45deg);
  background: rgba(124, 58, 237, 0.08);
}
.faq__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}
.faq__a p {
  padding: 0 4px 22px;
  font-size: 15.5px;
  margin: 0;
}

/* ---------- Final CTA ---------- */
.cta-band {
  position: relative;
  border-radius: var(--r-lg);
  padding: clamp(40px, 6vw, 70px);
  text-align: center;
  color: #fff;
  background: var(--grad);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 {
  color: #fff;
  font-size: clamp(28px, 4vw, 42px);
  max-width: 640px;
  margin-inline: auto;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  max-width: 540px;
  margin: 0 auto 26px;
}
.cta-band .btn--primary {
  background: #fff;
  color: var(--violet-600);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.4);
}
.cta-band .btn--primary:hover {
  color: var(--violet);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-dark);
  color: #9b94b5;
  padding-block: 56px 30px;
}
.footer a {
  color: #b9b2cf;
  font-size: 14.5px;
}
.footer a:hover {
  color: #fff;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border-dark);
}
.footer__brand .brand {
  color: #fff;
  margin-bottom: 12px;
}
.footer__brand p {
  font-size: 14.5px;
  max-width: 280px;
}
.footer h4 {
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer__col ul {
  display: grid;
  gap: 10px;
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 13.5px;
}
.footer .lang {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-dark);
}
.footer .lang a {
  color: #b9b2cf;
}
.footer .lang a[aria-current="true"] {
  color: #fff;
}
.status-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  animation: pulse 2s infinite;
}

/* ---------- Legal / document pages ---------- */
.legal {
  max-width: 820px;
  margin-inline: auto;
}
.legal__head {
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.legal__head h1 {
  font-size: clamp(30px, 4.4vw, 44px);
}
.legal__meta {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.legal h2 {
  font-size: 22px;
  margin-top: 40px;
  scroll-margin-top: calc(var(--nav-h) + 16px);
}
.legal h3 {
  font-size: 17px;
  margin-top: 26px;
  color: var(--ink);
}
.legal p,
.legal li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
}
.legal ul {
  list-style: disc;
  padding-left: 22px;
  margin: 0 0 1em;
}
.legal li {
  margin-bottom: 8px;
}
.legal a {
  color: var(--violet);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal__toc {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 18px 22px;
  margin-bottom: 8px;
}
.legal__toc ol {
  margin: 0;
  padding-left: 20px;
  columns: 2;
  font-size: 15px;
}
.legal__toc li {
  margin-bottom: 6px;
}
@media (max-width: 560px) {
  .legal__toc ol {
    columns: 1;
  }
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

/* ---------- Mobile menu panel ---------- */
.nav__mobile {
  display: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 860px) {
  .nav__links,
  .nav__actions .btn,
  .nav__actions .lang {
    display: none;
  }
  .nav__toggle {
    display: inline-flex;
    margin-left: auto;
  }
  .nav.is-open .nav__mobile {
    display: block;
  }
  .nav__mobile {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 16px 22px 22px;
  }
  .nav__mobile a {
    display: block;
    padding: 12px 4px;
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    border-bottom: 1px solid var(--border);
  }
  .nav__mobile .btn {
    margin-top: 14px;
    width: 100%;
  }
  .nav__mobile .lang {
    margin-top: 14px;
    width: fit-content;
  }
  .hero__grid,
  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .mock {
    max-width: 420px;
    margin-inline: auto;
  }
  .grid-3,
  .steps,
  .plans {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  body {
    font-size: 16px;
  }
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .mock__countdown {
    right: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
