/* vybridge — landing page */

:root {
  --purple: #6366f1;
  --purple-dark: #4f46e5;
  --purple-light: #eef2ff;
  --purple-tint: #f5f3ff;
  --brand-violet: #7c3aed;
  --brand-blue: #4f46e5;
  --brand-cyan: #06b6d4;
  --brand-gradient: linear-gradient(135deg, #7c3aed 0%, #4f46e5 50%, #06b6d4 100%);
  --brand-gradient-soft: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(79, 70, 229, 0.07) 50%, rgba(6, 182, 212, 0.1) 100%);
  --green: #10b981;
  --green-dark: #059669;
  --green-light: #ecfdf5;
  --green-tint: #f0fdf4;
  --dark: #0f172a;
  --dark-footer: #0a0f1e;
  --text: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg: #ffffff;
  --bg-muted: #f8fafc;
  --border: #e2e8f0;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 20px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.1);
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --container: 1140px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn--purple {
  background: var(--purple);
  color: #fff;
}

.btn--purple:hover {
  background: var(--purple-dark);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.btn--green {
  background: var(--green);
  color: #fff;
}

.btn--green:hover {
  background: var(--green-dark);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 14px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo__icon {
  border-radius: 8px;
}

.logo__text {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #a855f7, #6366f1, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

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

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav__link:hover {
  color: var(--text);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.vb-currency-select {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  min-width: 0;
  font-size: 12px;
  color: var(--text-muted);
}

.vb-currency-select__label {
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.vb-currency-select__control {
  max-width: 5.5rem;
  padding: 4px 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-muted);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
}

.vb-price__canonical {
  display: block;
}

.vb-price__approx {
  display: block;
  margin-top: 2px;
  font-size: 0.72em;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--text-muted);
  line-height: 1.3;
}

.price-input-with-currency {
  display: flex;
  align-items: stretch;
  gap: 8px;
  min-width: 0;
}

.price-input-with-currency .form-field__input,
.price-input-with-currency .booking-form__input {
  flex: 1 1 auto;
  min-width: 0;
}

.price-input-with-currency__code {
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-muted);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.vb-charge-note {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-muted);
}

/* Shown instead of Log in/Sign up once script.js's session check (see
   /script.js) confirms the visitor is logged in. */
.header__user {
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-muted);
}

.lang-switch__link {
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.lang-switch__link:hover {
  color: var(--text);
}

.lang-switch__link--active {
  color: var(--text);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.header__login {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.header__login:hover {
  color: var(--text);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  padding: 64px 0 80px;
  background: linear-gradient(180deg, #fafbff 0%, var(--bg) 100%);
}

.hero__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.hero__title {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
}

.hero__subtitle {
  margin: 0;
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.hero__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.hero-card {
  position: relative;
  padding: 32px;
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
  background: var(--brand-gradient-soft);
  border: 1px solid rgba(79, 70, 229, 0.14);
  box-shadow: 0 8px 30px rgba(79, 70, 229, 0.08);
}

.hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-gradient);
}

.hero-card--advertiser {
  background: linear-gradient(145deg, rgba(124, 58, 237, 0.14) 0%, rgba(79, 70, 229, 0.09) 48%, rgba(6, 182, 212, 0.07) 100%);
  border-color: rgba(124, 58, 237, 0.22);
  box-shadow: 0 12px 36px rgba(79, 70, 229, 0.12);
}

.hero-card--publisher {
  background: linear-gradient(145deg, rgba(124, 58, 237, 0.08) 0%, rgba(79, 70, 229, 0.09) 52%, rgba(6, 182, 212, 0.12) 100%);
  border-color: rgba(6, 182, 212, 0.2);
  box-shadow: 0 12px 36px rgba(6, 182, 212, 0.1);
}

.hero-card__top {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.hero-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.12);
}

.hero-card__icon--purple,
.hero-card__icon--green {
  color: var(--brand-blue);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(6, 182, 212, 0.12));
}

.hero-card__title {
  margin: 0 0 6px;
  font-size: 1.25rem;
  font-weight: 700;
}

.hero-card__title--purple,
.hero-card__title--green {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-card__desc {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
}

.hero-card .btn--purple,
.hero-card .btn--green {
  position: relative;
  z-index: 1;
  background: var(--brand-gradient);
  color: #fff;
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.32);
}

.hero-card .btn--purple:hover,
.hero-card .btn--green:hover {
  background: linear-gradient(135deg, #6d28d9 0%, #4338ca 50%, #0891b2 100%);
  box-shadow: 0 8px 26px rgba(79, 70, 229, 0.42);
}

.hero-card__widget {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-md);
  margin-top: 8px;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(79, 70, 229, 0.08);
}

.widget__label {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Publisher list widget */
.publisher-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.publisher-list__item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.publisher-list__avatar {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #818cf8, #6366f1);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.publisher-list__avatar--pink {
  background: linear-gradient(135deg, #f472b6, #ec4899);
}

.publisher-list__avatar--blue {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
}

.publisher-list__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.publisher-list__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.publisher-list__platform {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-muted);
}

.publisher-list__count {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

/* Earnings widget */
.earnings__total {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}

.earnings__amount {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.earnings__trend {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-blue);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(6, 182, 212, 0.14));
  padding: 2px 8px;
  border-radius: 100px;
}

.earnings__chart {
  width: 100%;
  height: 50px;
  margin-bottom: 16px;
}

.hero-card--publisher .earnings__chart polyline {
  stroke: #4f46e5;
}

.earnings__platforms {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.earnings__platforms li {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}

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

/* Platforms */
.platforms {
  padding: 72px 0;
  background: var(--bg);
}

.platforms__title {
  text-align: center;
  margin: 0 0 40px;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.platforms__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px 40px;
}

.platform {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 80px;
}

.platform span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.platform--more span {
  color: var(--text-light);
}

.platform__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: transform 0.2s, box-shadow 0.2s;
}

.platform:hover .platform__icon {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.platform__icon--web {
  color: var(--purple);
  background: var(--purple-light);
  border-color: #e0e7ff;
}

/* How It Works */
.how-it-works {
  padding: 80px 0;
  background: var(--bg-muted);
}

.section-title {
  text-align: center;
  margin: 0 0 56px;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.how-it-works__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0 40px;
  align-items: start;
}

.how-column__title {
  margin: 0 0 32px;
  font-size: 1.125rem;
  font-weight: 700;
  text-align: center;
}

.how-column__title--purple {
  color: var(--purple);
}

.how-column__title--green {
  color: var(--green);
}

.how-column__divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
  min-height: 200px;
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: start;
}

.step {
  text-align: center;
  padding: 0 8px;
}

.step__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.step__icon--purple {
  background: var(--purple-light);
  color: var(--purple);
}

.step__icon--green {
  background: var(--green-light);
  color: var(--green);
}

.step__title {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.step__text {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.steps-row__connector {
  display: none;
}

/* Stats CTA */
.stats-cta {
  padding: 80px 0;
  background: var(--dark);
  color: #fff;
}

.stats-cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.stats-cta__label {
  display: block;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stats-cta__title {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.stats-cta__desc {
  margin: 0 0 28px;
  font-size: 1.0625rem;
  color: var(--text-light);
  line-height: 1.65;
  max-width: 420px;
}

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

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: background 0.2s;
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.08);
}

.stat-card__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: var(--radius-sm);
  background: rgba(99, 102, 241, 0.15);
  color: var(--purple);
}

.stat-card__number {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--purple);
}

.stat-card__label {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  line-height: 1.45;
}

/* Badge (hero eyebrow) */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-blue);
  background: var(--brand-gradient-soft);
  border: 1px solid rgba(79, 70, 229, 0.18);
  border-radius: 100px;
}

.hero .hero__header {
  margin-bottom: 0;
}

.hero__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.btn--lg {
  padding: 14px 30px;
  font-size: 16px;
}

.btn--outline {
  background: #fff;
  color: var(--brand-blue);
  border: 1.5px solid rgba(79, 70, 229, 0.35);
}

.btn--outline:hover {
  border-color: var(--brand-blue);
  background: var(--purple-tint);
}

.btn--white {
  background: #fff;
  color: var(--purple-dark);
}

.btn--white:hover {
  background: #f5f3ff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
}

.btn--danger {
  background: #fff;
  color: #dc2626;
  border: 1.5px solid rgba(220, 38, 38, 0.35);
}

.btn--danger:hover {
  background: #fef2f2;
  border-color: #dc2626;
}

/* Solid fill — reserved for actions more severe than .btn--danger's outline
   style (e.g. permanently deleting an account vs. rejecting one ad). */
.btn--danger-solid {
  background: #dc2626;
  color: #fff;
}

.btn--danger-solid:hover {
  background: #b91c1c;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
}

.btn--danger:disabled,
.btn--danger-solid:disabled,
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Intro cards (I want to advertise / I want to earn) */
.intro-cards {
  padding: 56px 0 80px;
}

.intro-cards__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Featured Placements (homepage teaser for the Marketplace catalog at
   /sites) — hidden by default in HTML, only unhidden by script.js once at
   least one active site/Listing comes back from /api/sites/public. */
.ad-placements {
  padding: 0 0 80px;
  text-align: center;
}

.ad-placements__desc {
  max-width: 560px;
  margin: 0 auto 40px;
  color: var(--text-muted);
  font-size: 15px;
}

.placements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
  margin-bottom: 32px;
  text-align: left;
}

.placement-card {
  display: block;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: box-shadow 0.15s, transform 0.15s;
}

.placement-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.placement-card__cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--brand-gradient-soft);
  background-size: cover;
  background-position: center;
}

.placement-card__domain {
  margin: 12px 14px 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.placement-card__price {
  margin: 4px 14px 12px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--purple-dark);
}

.placement-card__cta {
  display: block;
  margin: 0 14px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--purple-dark);
}

/* CTA band */
.cta-band {
  padding: 24px 0 80px;
}

.cta-band__panel {
  text-align: center;
  padding: 64px 40px;
  border-radius: var(--radius-xl);
  background: var(--brand-gradient);
  box-shadow: 0 20px 50px rgba(79, 70, 229, 0.28);
}

.cta-band__eyebrow {
  display: block;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cta-band__title {
  margin: 0 0 28px;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

/* Simple footer */
.simple-footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}

.simple-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
}

.simple-footer__links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.simple-footer__links a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.simple-footer__links a:hover {
  color: var(--text);
}

/* Modal — shared by the /slots booking dialog and /profile's delete
   confirmation */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: var(--bg-muted);
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
}

.modal__close:hover {
  background: var(--border);
  color: var(--text);
}

.modal__title {
  margin: 0 0 4px;
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--text);
}

.modal__subtitle {
  margin: 0 0 24px;
  font-size: 14px;
  color: var(--text-muted);
}

/* Page banner — one-off status messages shown after a redirect (e.g. the
   landing page after account deletion). */
.page-banner {
  margin: 0;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
}

.page-banner--success {
  background: var(--green-light);
  color: var(--green-dark);
  border: 1px solid rgba(5, 150, 105, 0.2);
}

.page-banner[hidden] {
  display: none;
}

.landing-banner {
  margin-top: 20px;
}

@media (max-width: 560px) {
  .modal {
    padding: 24px;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero__cards {
    grid-template-columns: 1fr;
  }

  .intro-cards__grid {
    grid-template-columns: 1fr;
  }

  .how-it-works__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .how-column__divider {
    display: none;
  }

  .steps-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

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

@media (max-width: 900px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 24px 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s, opacity 0.25s, visibility 0.25s;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__link {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
  }

  .nav__link:last-child {
    border-bottom: none;
  }

  .header__actions {
    display: none;
  }

  .vb-currency-select {
    margin-left: auto;
    margin-right: 4px;
  }

  .vb-currency-select__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .menu-toggle {
    display: flex;
  }
}

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

  .hero-card {
    padding: 24px;
  }

  .platforms {
    padding: 56px 0;
  }

  .platforms__grid {
    gap: 24px 28px;
  }

  .how-it-works {
    padding: 56px 0;
  }

  .steps-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .stats-cta {
    padding: 56px 0;
  }

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

  .intro-cards {
    padding: 40px 0 56px;
  }

  .cta-band {
    padding: 0 0 56px;
  }

  .cta-band__panel {
    padding: 48px 24px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

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

  .platforms__grid {
    gap: 20px;
  }

  .platform {
    min-width: 70px;
  }

  .platform__icon {
    width: 48px;
    height: 48px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .simple-footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

/* Legal pages (/terms, /privacy) */
.legal-page {
  padding: 56px 0 96px;
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
}

.legal-content__title {
  margin: 0 0 8px;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.legal-content__meta {
  margin: 0 0 40px;
  color: var(--text-muted);
  font-size: 15px;
}

.legal-content h2 {
  margin: 40px 0 14px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
}

.legal-content ul {
  margin: 0 0 16px;
  padding-left: 0;
  display: grid;
  gap: 8px;
}

.legal-content li {
  position: relative;
  padding-left: 22px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
}

.legal-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple);
}

.legal-content strong {
  font-weight: 700;
}

.legal-content a {
  color: var(--purple-dark);
  font-weight: 600;
  text-decoration: underline;
}

/* Stripe payment badge — reused verbatim in both /terms and /privacy */
.stripe-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 16px;
  padding: 10px 16px;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none !important;
}

.stripe-badge:hover {
  border-color: var(--purple);
}

.stripe-badge__logo {
  height: 24px;
  width: auto;
  display: block;
}

.stripe-badge__text {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

@media (max-width: 640px) {
  .legal-page {
    padding: 40px 0 72px;
  }

  .legal-content h2 {
    margin-top: 32px;
  }
}

/* Error pages (/404, /error) */
.error-page {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 0;
}

.error-page__content {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.error-page__code {
  margin: 0;
  font-size: clamp(5rem, 16vw, 8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.error-page__title {
  margin: 16px 0 12px;
  font-size: clamp(1.375rem, 3.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.error-page__text {
  margin: 0 0 32px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
}

.error-page__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .error-page__actions {
    flex-direction: column;
  }
}
