/* ==========================================================================
   NextAI Expo — Design System
   Minimal, businesslike. Small type, generous whitespace, quiet motion.
   ========================================================================== */

:root {
  /* Palette */
  --ink: #0a0a0b;
  --ink-soft: #3f3f46;
  --ink-mute: #71717a;
  --ink-faint: #a1a1aa;

  --paper: #ffffff;
  --surface: #f7f7f8;
  --surface-2: #f0f0f2;
  --border: #e4e4e7;
  --border-strong: #d4d4d8;

  --accent: #4338ca;
  --accent-strong: #352d9e;
  --accent-soft: #eeecfd;
  --accent-line: #d9d5fb;

  --gold: #b8892b;
  --gold-soft: #faf2e2;
  --gold-line: #eddcb5;

  --green: #157a4a;
  --green-soft: #e9f6ef;

  --ink-inverse: #ffffff;

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Scale */
  --fs-xs: 0.75rem;
  --fs-sm: 0.8125rem;
  --fs-base: 0.9375rem;
  --fs-md: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.625rem;
  --fs-2xl: clamp(2rem, 1.6rem + 1.8vw, 2.75rem);
  --fs-3xl: clamp(2.5rem, 1.9rem + 2.8vw, 4rem);

  /* Space */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 128px;

  /* Misc */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(10, 10, 11, 0.05);
  --shadow-md: 0 4px 16px rgba(10, 10, 11, 0.06), 0 1px 3px rgba(10, 10, 11, 0.05);
  --shadow-lg: 0 16px 48px rgba(10, 10, 11, 0.10), 0 2px 8px rgba(10, 10, 11, 0.05);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1180px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01" 1, "cv01" 1;
}
img, picture, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4, h5 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
::selection { background: var(--accent-soft); color: var(--accent-strong); }

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

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}
@media (min-width: 768px) {
  .container { padding-inline: var(--sp-6); }
}

.section { padding-block: var(--sp-9); }
.section--tight { padding-block: var(--sp-7); }
@media (max-width: 767px) {
  .section { padding-block: var(--sp-7); }
  .section--tight { padding-block: var(--sp-6); }
}

.section-head {
  max-width: 640px;
  margin-bottom: var(--sp-7);
}
.section-head.center { margin-inline: auto; text-align: center; }

.divider {
  height: 1px;
  background: var(--border);
  border: none;
}

.grid { display: grid; gap: var(--sp-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-4);
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.eyebrow.mute { color: var(--ink-mute); }
.eyebrow.mute::before { background: var(--ink-faint); }

h1, .h1 { font-size: var(--fs-3xl); }
h2, .h2 { font-size: var(--fs-2xl); }
h3, .h3 { font-size: var(--fs-xl); }
h4, .h4 { font-size: var(--fs-lg); }

.lede {
  font-size: var(--fs-md);
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 52ch;
}
.text-mute { color: var(--ink-mute); }
.text-sm { font-size: var(--fs-sm); }
.text-xs { font-size: var(--fs-xs); }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 11px 20px;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), color 0.2s var(--ease);
  will-change: transform;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--ink);
  color: var(--ink-inverse);
  border-color: var(--ink);
}
.btn-primary:hover { background: var(--accent); border-color: var(--accent); box-shadow: var(--shadow-md); }
.btn-secondary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--border-strong);
}
.btn-secondary:hover { border-color: var(--ink); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  padding-inline: 4px;
}
.btn-ghost::after {
  content: "→";
  display: inline-block;
  transition: transform 0.25s var(--ease);
}
.btn-ghost:hover::after { transform: translateX(4px); }
.btn-accent {
  background: var(--accent);
  color: var(--ink-inverse);
  border-color: var(--accent);
}
.btn-accent:hover { background: var(--accent-strong); border-color: var(--accent-strong); box-shadow: var(--shadow-md); }
.btn-lg { padding: 14px 26px; font-size: var(--fs-base); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--paper);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), background-color 0.2s var(--ease);
}
.icon-btn:hover { border-color: var(--ink); transform: translateY(-2px); }

/* ---------- Badges / Tags ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--ink-soft);
  background: var(--surface);
}
.badge.accent { background: var(--accent-soft); color: var(--accent); border-color: var(--accent-line); }
.badge.gold { background: var(--gold-soft); color: var(--gold); border-color: var(--gold-line); }
.badge.green { background: var(--green-soft); color: var(--green); border-color: #cdead9; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--border); box-shadow: 0 1px 0 rgba(10,10,11,0.02); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: var(--sp-5);
}
.brand {
  display: flex;
  align-items: center;
}
.brand-logo {
  height: 30px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}
.nav-links a {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.is-active { color: var(--ink); }
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.nav-actions { display: flex; align-items: center; gap: var(--sp-3); }
.nav-toggle {
  display: none;
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform 0.25s var(--ease), opacity 0.25s var(--ease); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-panel {
  display: none;
  position: fixed;
  inset: 68px 0 0 0;
  background: var(--paper);
  z-index: 99;
  padding: var(--sp-6) var(--sp-5);
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.mobile-panel.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-panel a {
  display: block;
  font-size: var(--fs-lg);
  font-weight: 600;
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--border);
}
.mobile-panel .nav-actions { flex-direction: column; align-items: stretch; margin-top: var(--sp-6); gap: var(--sp-3); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-inner .nav-actions .btn-secondary { display: none; }
  .nav-toggle { display: flex; }
  .mobile-panel { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  padding-block: var(--sp-8) var(--sp-9);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--sp-8);
  align-items: center;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero h1 { margin-bottom: var(--sp-5); }
.hero .lede { max-width: 46ch; margin-bottom: var(--sp-6); font-size: var(--fs-md); }
.hero-actions { display: flex; align-items: center; gap: var(--sp-4); flex-wrap: wrap; margin-bottom: var(--sp-7); }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--border);
}
.hero-meta-item { display: flex; flex-direction: column; gap: 2px; }
.hero-meta-item .num { font-size: var(--fs-lg); font-weight: 700; letter-spacing: -0.02em; }
.hero-meta-item .label { font-size: var(--fs-xs); color: var(--ink-mute); text-transform: uppercase; letter-spacing: 0.06em; }

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--border) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, black 30%, transparent 80%);
  opacity: 0.6;
  z-index: -1;
}

/* ---------- Stat strip ---------- */
.stat-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: var(--sp-6);
}
.stat-strip .grid { text-align: left; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat .num {
  font-size: var(--fs-2xl);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.stat .label { font-size: var(--fs-sm); color: var(--ink-mute); }

/* ---------- Cards ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card .icon-wrap {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-5);
}
.card h3 { font-size: var(--fs-md); margin-bottom: var(--sp-2); }
.card p { color: var(--ink-mute); font-size: var(--fs-sm); }

.feature-row {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: var(--sp-4);
  padding-block: var(--sp-5);
  border-bottom: 1px solid var(--border);
}
.feature-row:last-child { border-bottom: none; }
.feature-row .num { font-size: var(--fs-sm); color: var(--ink-faint); font-weight: 600; font-variant-numeric: tabular-nums; }
.feature-row h4 { margin-bottom: var(--sp-1); }
.feature-row p { color: var(--ink-mute); font-size: var(--fs-sm); max-width: 60ch; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: var(--sp-5);
  position: relative;
  padding-bottom: var(--sp-8);
}
.step:last-child { padding-bottom: 0; }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  font-size: var(--fs-xs);
  font-weight: 700;
  background: var(--paper);
  z-index: 1;
  font-variant-numeric: tabular-nums;
}
.step::after {
  content: "";
  position: absolute;
  left: 21px; top: 44px; bottom: -32px;
  width: 1px;
  background: var(--border);
}
.step:last-child::after { display: none; }
.step h3, .step p { grid-column: 2 / 3; }
.step h3 { margin-bottom: var(--sp-2); }
.step p { color: var(--ink-mute); max-width: 56ch; }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  align-items: stretch;
}
@media (max-width: 980px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
}
.plan {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  background: var(--paper);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
  position: relative;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan.is-featured { border-color: var(--ink); box-shadow: var(--shadow-lg); }
.plan-ribbon {
  position: absolute;
  top: -1px; right: var(--sp-5);
  background: var(--ink);
  color: var(--ink-inverse);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 0 0 6px 6px;
}
.plan-name { display: flex; align-items: center; gap: 8px; margin-bottom: var(--sp-3); }
.plan-dot { width: 9px; height: 9px; border-radius: 50%; }
.plan[data-plan="basic"] .plan-dot { background: var(--ink-faint); }
.plan[data-plan="pro"] .plan-dot { background: var(--accent); }
.plan[data-plan="prime"] .plan-dot { background: var(--gold); }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: var(--sp-2); }
.plan-price .amount { font-size: var(--fs-2xl); font-weight: 700; letter-spacing: -0.03em; }
.plan-price .period { font-size: var(--fs-sm); color: var(--ink-mute); }
.plan-desc { color: var(--ink-mute); font-size: var(--fs-sm); margin-bottom: var(--sp-6); min-height: 42px; }
.plan-features { display: flex; flex-direction: column; gap: var(--sp-3); margin-bottom: var(--sp-6); flex: 1; }
.plan-features li { display: flex; align-items: flex-start; gap: 10px; font-size: var(--fs-sm); }
.plan-features li.is-muted { color: var(--ink-faint); }
.plan-features .tick {
  flex-shrink: 0;
  width: 16px; height: 16px;
  margin-top: 2px;
}
.plan-features li.is-muted .tick { opacity: 0.35; }

/* ---------- Showcase mock (booth previews) ---------- */
.mock-tabs {
  display: inline-flex;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  gap: 2px;
}
.mock-tab {
  padding: 8px 18px;
  font-size: var(--fs-xs);
  font-weight: 600;
  border-radius: 100px;
  color: var(--ink-mute);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.mock-tab.is-active { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-sm); }

.booth {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow-lg);
}
.booth-header {
  height: 108px;
  position: relative;
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  transition: background 0.4s var(--ease);
}
.booth[data-plan="pro"] .booth-header { background: linear-gradient(135deg, #ece9ff, #f5f3ff); }
.booth[data-plan="prime"] .booth-header { background: linear-gradient(135deg, #2c2510, #4a3c17); }
.booth-logo {
  position: absolute;
  left: var(--sp-5); bottom: -24px;
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: var(--ink);
  border: 3px solid var(--paper);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-inverse);
  font-weight: 700;
  font-size: var(--fs-md);
}
.booth-plan-tag {
  position: absolute;
  top: var(--sp-4); right: var(--sp-4);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 100px;
  background: rgba(255,255,255,0.85);
  color: var(--ink);
}
.booth[data-plan="prime"] .booth-plan-tag { background: rgba(255,255,255,0.12); color: #f4dfa6; }
.booth-body { padding: var(--sp-6) var(--sp-5) var(--sp-5); }
.booth-body h3 { margin-bottom: 2px; }
.booth-body .booth-tagline { color: var(--ink-mute); font-size: var(--fs-sm); margin-bottom: var(--sp-4); }
.booth-description { min-height: 148px; }
.booth-media {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  height: 140px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-4);
  position: relative;
  overflow: hidden;
  color: var(--ink-faint);
}
.booth-media.is-locked { color: var(--ink-faint); }
/* Invisible spacer on Basic booths (no video) so card height matches Pro/Prime */
.booth-media-spacer { height: 140px; margin-bottom: var(--sp-4); }
.booth-media .play-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
}
.booth-actions { display: flex; gap: 10px; }
.booth-actions .btn { flex: 1; }
.booth-links { display: flex; gap: var(--sp-4); margin-top: var(--sp-4); padding-top: var(--sp-4); border-top: 1px solid var(--border); }
.booth-links span { font-size: var(--fs-xs); color: var(--ink-mute); }

/* ---------- Swipe demo ---------- */
/* Cards reuse the .booth component (see Plan examples styles below) so the
   swipe demo and the static plan showcase render identically. */
.swipe-demo {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin-inline: auto;
  height: 620px;
}
.swipe-card {
  position: absolute;
  top: 0; left: 0; right: 0;
  touch-action: pan-y;
  user-select: none;
  cursor: grab;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
.swipe-card:active { cursor: grabbing; }
.swipe-card .swipe-stamp { top: 150px; }
.swipe-stamp {
  position: absolute;
  top: 22px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 6px;
  border: 2.5px solid;
  opacity: 0;
  transition: opacity 0.15s var(--ease);
}
.swipe-stamp.like { left: 20px; color: var(--green); border-color: var(--green); transform: rotate(-14deg); }
.swipe-stamp.pass { right: 20px; color: #b3261e; border-color: #b3261e; transform: rotate(14deg); }
.swipe-controls {
  display: flex;
  justify-content: center;
  gap: var(--sp-5);
  margin-top: var(--sp-6);
}
.swipe-controls .icon-btn { width: 52px; height: 52px; }
.swipe-controls .icon-btn.pass:hover { border-color: #b3261e; color: #b3261e; }
.swipe-controls .icon-btn.like:hover { border-color: var(--green); color: var(--green); }
.swipe-controls .icon-btn.info:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- FAQ ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--sp-8);
}
@media (max-width: 760px) {
  .faq-layout { grid-template-columns: 1fr; gap: var(--sp-4); }
}

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-block: var(--sp-5);
  text-align: left;
  width: 100%;
  font-size: var(--fs-base);
  font-weight: 600;
}
.faq-q .plus {
  flex-shrink: 0;
  width: 22px; height: 22px;
  position: relative;
}
.faq-q .plus::before, .faq-q .plus::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.faq-q .plus::before { width: 14px; height: 1.5px; top: 10px; left: 4px; }
.faq-q .plus::after { width: 1.5px; height: 14px; top: 4px; left: 10px; }
.faq-item.is-open .faq-q .plus::after { transform: rotate(90deg); opacity: 0; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.faq-a p { color: var(--ink-mute); padding-bottom: var(--sp-5); max-width: 68ch; font-size: var(--fs-sm); }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--sp-5); }
.field label { font-size: var(--fs-xs); font-weight: 600; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.05em; }
.field input, .field textarea, .field select {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: var(--fs-base);
  background: var(--paper);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px var(--surface-2);
}
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field-hint { font-size: var(--fs-xs); color: var(--ink-mute); }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; font-size: var(--fs-sm); color: var(--ink-soft); }
.checkbox-row input { margin-top: 3px; }

.form-note {
  display: none;
  align-items: center;
  gap: 10px;
  padding: var(--sp-4);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  margin-top: var(--sp-4);
}
.form-note.is-visible { display: flex; }
.form-note.success { background: var(--green-soft); color: var(--green); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink);
  color: var(--ink-inverse);
  border-radius: var(--radius-xl);
  padding: var(--sp-8) var(--sp-7);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: var(--ink-inverse); margin-bottom: var(--sp-3); }
.cta-band p { color: rgba(255,255,255,0.65); max-width: 48ch; margin-inline: auto; margin-bottom: var(--sp-6); }
.cta-band .hero-actions { justify-content: center; }
.cta-band .btn-secondary { background: transparent; border-color: rgba(255,255,255,0.25); color: var(--ink-inverse); }
.cta-band .btn-secondary:hover { border-color: var(--ink-inverse); }
.cta-band .btn-primary { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.cta-band .btn-primary:hover { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--accent-strong); }

/* ---------- Countdown ---------- */
.countdown { display: flex; gap: var(--sp-4); }
.countdown-unit { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 56px; }
.countdown-unit .val {
  font-size: var(--fs-xl);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 4px;
  width: 100%;
  text-align: center;
}
.countdown-unit .label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-mute); }

/* ---------- Table ---------- */
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td {
  padding: var(--sp-4) var(--sp-4);
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-sm);
}
.compare-table thead th { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-mute); font-weight: 600; }
.compare-table td:not(:first-child), .compare-table th:not(:first-child) { text-align: center; }
.compare-table tbody th { font-weight: 500; color: var(--ink-soft); }
.compare-table .yes { color: var(--green); }
.compare-table .no { color: var(--ink-faint); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 700px) { .compare-table { min-width: 560px; } }

/* ---------- Logo strip ---------- */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-7);
  opacity: 0.55;
}
.logo-strip .logo-item { font-weight: 700; font-size: var(--fs-md); letter-spacing: -0.02em; color: var(--ink-mute); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding-block: var(--sp-8) var(--sp-6); }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--sp-6); padding-bottom: var(--sp-8); }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; row-gap: var(--sp-7); } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand p { color: var(--ink-mute); font-size: var(--fs-sm); max-width: 32ch; margin-block: var(--sp-4) var(--sp-5); }
.footer-col h5 { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-mute); margin-bottom: var(--sp-4); }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: var(--fs-sm); color: var(--ink-soft); transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--sp-6);
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: var(--sp-4);
}
.footer-bottom .socials { display: flex; gap: var(--sp-3); }
.footer-bottom p { font-size: var(--fs-xs); color: var(--ink-mute); }

/* ---------- Reveal on scroll ---------- */
/* Hidden only once js.html confirms JS ran; no-JS/failed-JS visitors see content immediately. */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
html.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding-block: var(--sp-8) var(--sp-7); }
.page-hero h1 { max-width: 20ch; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: var(--fs-xs); color: var(--ink-mute); margin-bottom: var(--sp-5); }
.breadcrumb a:hover { color: var(--ink); }

/* ---------- Legal content ---------- */
.legal { max-width: 760px; }
.legal h2 { font-size: var(--fs-lg); margin-top: var(--sp-8); margin-bottom: var(--sp-3); }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--ink-soft); font-size: var(--fs-sm); margin-bottom: var(--sp-4); }
.legal ul { list-style: disc; padding-left: 1.4em; }
.legal ul li { margin-bottom: var(--sp-2); }
.legal strong { color: var(--ink); }
.legal .updated { color: var(--ink-mute); font-size: var(--fs-sm); margin-bottom: var(--sp-7); }

/* ---------- Accessibility ---------- */
.visually-hidden {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--ink-inverse);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  font-size: var(--fs-sm);
  font-weight: 600;
}
.visually-hidden:focus {
  left: var(--sp-5);
  top: var(--sp-3);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- Utilities ---------- */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--sp-2); }
.gap-3 { gap: var(--sp-3); }
.gap-4 { gap: var(--sp-4); }
.mt-2 { margin-top: var(--sp-2); }
.mt-4 { margin-top: var(--sp-4); }
.mt-6 { margin-top: var(--sp-6); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-6 { margin-bottom: var(--sp-6); }
.w-full { width: 100%; }
.rounded-icon { width: 20px; height: 20px; }

.back-to-top {
  position: fixed;
  right: var(--sp-5);
  bottom: var(--sp-5);
  z-index: 90;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  background: var(--ink);
  color: var(--ink-inverse);
  border-color: var(--ink);
}
.back-to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--accent); border-color: var(--accent); }
