/**
 * ReportGen AI — Global premium theme
 * Inspired by Apple Human Interface: light surfaces, #0071e3 accent,
 * large typography, generous space, minimal chrome.
 * Loads last on marketing pages so it wins the cascade.
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');
@import url('motion.css');

:root {
  /* Apple-adjacent palette */
  --apple-bg: #ffffff;
  --apple-bg-alt: #f5f5f7;
  --apple-surface: #ffffff;
  --apple-text: #1d1d1f;
  --apple-muted: #6e6e73;
  --apple-dim: #86868b;
  --apple-border: #d2d2d7;
  --apple-blue: #0071e3;
  --apple-blue-hover: #0077ed;
  --apple-blue-soft: rgba(0, 113, 227, 0.08);
  --apple-green: #34c759;
  --apple-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  --apple-shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.08);
  --apple-radius: 12px;
  --apple-radius-lg: 18px;
  --apple-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Map legacy tokens used across CSS */
  --bright-bg: var(--apple-bg-alt);
  --bright-surface: var(--apple-surface);
  --bright-surface-2: var(--apple-bg-alt);
  --bright-border: var(--apple-border);
  --bright-text: var(--apple-text);
  --bright-muted: var(--apple-muted);
  --bright-dim: var(--apple-dim);
  --bright-primary: var(--apple-blue);
  --bright-primary-dark: #005bb5;
  --bright-primary-soft: var(--apple-blue-soft);
  --bright-teal: #2997ff;
  --bright-teal-soft: rgba(41, 151, 255, 0.1);
  --bright-success: var(--apple-green);
  --bright-shadow: var(--apple-shadow);
  --bright-shadow-lg: var(--apple-shadow-lg);

  --text: var(--apple-text);
  --text-muted: var(--apple-muted);
  --text-dim: var(--apple-dim);
  --bg: var(--apple-bg);
  --bg-elevated: var(--apple-bg-alt);
  --border: var(--apple-border);
  --primary: var(--apple-blue);
  --font: var(--apple-font);

  --ux-info-text: #005bb5;
  --ux-success-text: #248a3d;
  --ux-warning-text: #9a6700;
  --ux-error-text: #de071c;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body.ai-site,
body.landing {
  font-family: var(--apple-font);
  background: var(--apple-bg);
  background-image: none;
  color: var(--apple-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  letter-spacing: -0.01em;
}

.ai-orbs { display: none !important; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding-left: max(1.25rem, env(safe-area-inset-left));
  padding-right: max(1.25rem, env(safe-area-inset-right));
}

/* ——— Typography ——— */
body.ai-site h1,
body.landing h1 {
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--apple-text);
}
body.ai-site h2,
body.landing h2 {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--apple-text);
}
body.ai-site h3,
body.landing h3 {
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--apple-text);
}
.section-compact h2 { color: var(--apple-text); }
.section-label {
  color: var(--apple-blue);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.section-lead {
  color: var(--apple-muted);
  font-size: 1.125rem;
  line-height: 1.47;
  font-weight: 400;
}
.ai-gradient-text {
  background: none;
  -webkit-text-fill-color: unset;
  color: var(--apple-blue);
}

/* ——— Nav (Apple frosted bar) ——— */
.nav {
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: none;
}
.nav.nav-scrolled {
  background: rgba(255, 255, 255, 0.86);
  box-shadow: none;
}
.nav-inner { padding: 0.75rem 0; min-height: 48px; }
.logo {
  color: var(--apple-text);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}
.logo-mark {
  background: transparent;
  border-radius: 8px;
  box-shadow: none;
  padding: 0;
  overflow: hidden;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.logo-mark img, .logo-mark svg { display: block; width: 32px; height: 32px; }
.nav-links a {
  color: var(--apple-muted);
  font-weight: 500;
  font-size: 0.8125rem;
}
.nav-links a:hover,
.nav-links a.active { color: var(--apple-text); }
.nav-links a.active::after {
  background: var(--apple-blue);
  height: 1.5px;
}
.nav-toggle span { background: var(--apple-text); }

/* ——— Buttons ——— */
.btn {
  border-radius: 980px;
  font-weight: 550;
  letter-spacing: -0.01em;
  min-height: 44px;
  padding: 0.625rem 1.375rem;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.btn-ai,
.btn-primary {
  background: var(--apple-blue);
  color: #fff;
  box-shadow: none;
  border: none;
}
.btn-ai:hover,
.btn-primary:hover {
  background: var(--apple-blue-hover);
  transform: none;
  box-shadow: none;
}
.btn-ghost {
  background: transparent;
  color: var(--apple-blue);
  border: none;
  font-weight: 500;
}
.btn-ghost:hover {
  background: var(--apple-blue-soft);
  border: none;
  color: var(--apple-blue);
}
.btn-lg {
  min-height: 48px;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}

/* ——— Surfaces ——— */
.ai-glass-card,
.why-best-card,
.feature-tile,
.pricing-tier,
.explore-card {
  background: var(--apple-surface);
  border: 1px solid var(--apple-border);
  box-shadow: none;
  color: var(--apple-text);
  border-radius: var(--apple-radius-lg);
  backdrop-filter: none;
}
.why-best-card:hover,
.feature-tile:hover,
.explore-card:hover {
  transform: none;
  box-shadow: var(--apple-shadow);
  border-color: #c7c7cc;
}
.why-best-card p,
.feature-tile p,
.explore-card p { color: var(--apple-muted); }
.why-best-card.highlight,
.pricing-tier.pro {
  border-color: var(--apple-blue);
  background: var(--apple-surface);
  box-shadow: none;
  transform: none;
}
.ai-badge {
  background: var(--apple-blue-soft);
  border: none;
  color: var(--apple-blue);
  border-radius: 980px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: none;
}
.ai-badge::before { display: none; }

/* ——— Hero ——— */
.hero-enterprise {
  background: var(--apple-bg);
  min-height: auto !important;
  display: block;
  padding: 7.25rem 0 3.5rem;
}
body.has-launch-banner .hero-enterprise { padding-top: 8.25rem; }
body.banner-dismissed.has-launch-banner .hero-enterprise { padding-top: 6.75rem; }

.hero-grid-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 3rem;
  align-items: center;
}

.hero-copy {
  max-width: 34rem;
  padding-right: 0.5rem;
}

.hero-enterprise h1 {
  font-size: clamp(2.35rem, 5vw, 3.75rem);
  margin: 0.5rem 0 1rem;
  line-height: 1.06;
}
.hero-lead {
  color: var(--apple-muted);
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
  line-height: 1.45;
  max-width: 28em;
  margin: 0 0 1.5rem;
  font-weight: 400;
}
.hero-brand-mark {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--apple-text);
  margin: 0 0 0.375rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0;
}
.hero-micro {
  margin: 1rem 0 0;
  font-size: 0.8125rem;
  color: var(--apple-dim);
  line-height: 1.45;
  max-width: 32em;
}

/* Hero preview — balanced against copy, not taller than viewport */
.hero-preview {
  position: relative;
  min-width: 0;
  width: 100%;
}
.hero-preview .ai-dash {
  max-height: min(560px, 72vh);
  overflow: hidden;
  box-shadow: var(--apple-shadow-lg);
}
.hero-preview .ai-dash-insights {
  margin: 0.5rem 0.75rem 0;
  padding: 0.625rem 0.75rem;
}
.hero-preview .ai-dash-insights-grid {
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
}
.hero-preview .ai-dash-insights-col:nth-child(3) { display: none; }
.hero-preview .ai-dash-insights-col p,
.hero-preview .ai-dash-insights-col li {
  font-size: 0.625rem;
  line-height: 1.4;
}
.hero-preview .ai-dash-widget.col-4:nth-last-child(-n+2) { display: none; }
.hero-preview .ai-dash-body { padding: 0.625rem; }
.hero-preview .ai-dash-kpi val { font-size: 1rem; }
.hero-preview::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 56px;
  background: linear-gradient(180deg, transparent, #fff);
  pointer-events: none;
  border-radius: 0 0 16px 16px;
}

.hero-upload-zone {
  background: #fff;
  border: 1px dashed var(--apple-border);
  border-radius: var(--apple-radius-lg);
  color: var(--apple-text);
  box-shadow: none;
  max-width: 560px;
  margin: 2rem auto 0;
  padding: 1.25rem 1.5rem;
  text-align: center;
}
.hero-upload-zone:hover,
.hero-upload-zone.dragover {
  border-color: var(--apple-blue);
  border-style: solid;
  background: #fff;
  box-shadow: var(--apple-shadow);
}
.hero-upload-zone strong { color: var(--apple-text); }
.hero-upload-zone span { color: var(--apple-dim); }
.hero-upload-zone svg { stroke: var(--apple-blue) !important; }
.hero-examples-label { color: var(--apple-dim); }
.telemetry-tag {
  background: var(--apple-bg-alt);
  border: 1px solid var(--apple-border);
  color: var(--apple-muted);
  border-radius: 980px;
}
.telemetry-tag:hover {
  border-color: var(--apple-blue);
  color: var(--apple-blue);
  background: var(--apple-blue-soft);
}

/* USP section — dedicated rhythm after hero */
.usp-section {
  background: var(--apple-bg-alt);
  border-top: 1px solid var(--apple-border);
  border-bottom: 1px solid var(--apple-border);
  padding: 2.75rem 0 3rem;
}
.usp-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  border: none;
}
.usp-item {
  height: 100%;
  padding: 1.125rem 1.125rem 1.125rem 1rem;
  border-left: 2px solid var(--apple-border);
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.usp-item-accent { border-left-color: var(--apple-blue); }
.usp-kicker {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--apple-blue);
  margin-bottom: 0.25rem;
}
.usp-item strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--apple-text);
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.3;
}
.usp-item > span:last-child {
  display: block;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--apple-muted);
  margin-top: 0.125rem;
}

.pricing-launch-note {
  font-size: 0.8125rem;
  color: var(--apple-blue);
  margin: -0.35rem 0 0.75rem;
}

@media (max-width: 1024px) {
  .hero-grid-layout {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .hero-enterprise h1 { font-size: clamp(2.1rem, 4.5vw, 3rem); }
}
@media (max-width: 900px) {
  .hero-grid-layout {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .hero-copy {
    max-width: 36rem;
    margin: 0 auto;
    text-align: center;
    padding-right: 0;
  }
  .hero-lead,
  .hero-micro { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-preview { max-width: 640px; margin: 0 auto; }
  .hero-preview .ai-dash { max-height: 420px; }
  .usp-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
}
@media (max-width: 560px) {
  .usp-rail { grid-template-columns: 1fr; }
  .usp-item { border-left: none; border-top: 2px solid var(--apple-border); padding-left: 0; }
  .usp-item-accent { border-top-color: var(--apple-blue); }
}

/* Sections */
.section-compact {
  padding: 5.5rem 0;
  background: var(--apple-bg);
}
.why-best-section {
  background: var(--apple-bg);
  border: none;
}
.faq-section {
  background: var(--apple-bg-alt);
  border: none;
}
.section-compact.alt {
  background: var(--apple-bg-alt);
  border-top: 1px solid var(--apple-border);
  border-bottom: 1px solid var(--apple-border);
}
.section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.75rem;
}
.section-head h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin: 0.35rem 0 0.75rem;
}
.section-lead {
  margin: 0 auto;
}

.why-best-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.why-best-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem;
}
.why-best-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
}
.why-best-card p {
  margin: 0;
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.55;
}
.why-best-card .pro-icon {
  margin-bottom: 1rem;
}
.why-best-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2.5rem;
}

.why-best-highlight {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.why-highlight-pill {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1.125rem 1.25rem;
  border-radius: var(--apple-radius);
  background: #fff;
  border: 1px solid var(--apple-border);
  box-shadow: none;
}
.why-highlight-pill svg { width: 24px; height: 24px; color: var(--apple-blue); flex-shrink: 0; }
.why-highlight-pill strong { display: block; font-size: 0.9375rem; color: var(--apple-text); font-weight: 600; }
.why-highlight-pill span { font-size: 0.8125rem; color: var(--apple-muted); }

.pro-icon {
  background: var(--apple-blue-soft);
  border: none;
  border-radius: 12px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}
.pro-icon svg { color: var(--apple-blue); width: 22px; height: 22px; }
.pro-icon.teal svg { color: #2997ff; }
.pro-icon.amber svg { color: #bf4800; }

.explore-section { background: var(--apple-bg-alt); }
.explore-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.explore-card {
  background: #fff;
  border: 1px solid var(--apple-border);
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}
.explore-card::before { display: none; }
.explore-card:hover {
  background: #fff;
  transform: none;
  box-shadow: var(--apple-shadow);
  border-color: #c7c7cc;
}
.explore-card-icon {
  background: var(--apple-bg-alt);
  border: 1px solid var(--apple-border);
}
.explore-card-icon svg { color: var(--apple-blue); }
.explore-card h3 { color: var(--apple-text); }
.explore-card p { flex: 1; }
.explore-card span.link-arrow { color: var(--apple-blue); margin-top: auto; }
.industries-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}
.industry-pill {
  background: #fff;
  border-color: var(--apple-border);
  color: var(--apple-muted);
  border-radius: 980px;
}
.industry-pill:hover {
  border-color: var(--apple-blue);
  color: var(--apple-blue);
}
.industry-pill svg { color: var(--apple-blue); }

/* Pricing */
.pricing-matrix {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}
@media (max-width: 1100px) {
  .pricing-matrix {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.pricing-tier {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.75rem;
}
.pricing-tier-price { color: var(--apple-text); letter-spacing: -0.03em; }
.pricing-tier li {
  color: var(--apple-muted);
  border-bottom-color: var(--apple-border);
}
.pricing-tier ul { flex: 1; }
.pricing-tier .btn { margin-top: auto; }
.pricing-tier-badge { background: var(--apple-blue); border-radius: 980px; }
.pricing-tier.pro { z-index: 1; }

.launch-offer-card {
  background: var(--apple-bg-alt);
  border: 1px solid var(--apple-border);
  border-radius: var(--apple-radius-lg);
  margin-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 1.75rem;
}
.launch-offer-card .offer-tag {
  background: var(--apple-blue);
  border-radius: 980px;
}
.support-notice {
  background: var(--apple-blue-soft);
  border: 1px solid rgba(0, 113, 227, 0.2);
  color: var(--apple-muted);
  border-radius: var(--apple-radius);
  margin-top: 1rem;
}
.support-notice strong { color: var(--apple-text); }
.support-notice a { color: var(--apple-blue); }

/* FAQ */
.faq-item {
  background: #fff;
  border: 1px solid var(--apple-border);
  border-radius: var(--apple-radius);
}
.faq-item summary { color: var(--apple-text); font-weight: 600; }
.faq-item p { color: var(--apple-muted); }
.faq-item a { color: var(--apple-blue); }
.faq-item[open] { border-color: var(--apple-blue); }
.faq-item[open] summary { color: var(--apple-blue); }

/* CTA */
.cta-band {
  background: var(--apple-bg);
  border-top: 1px solid var(--apple-border);
  padding: 5.5rem 0;
}
.cta-band-inner {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
}
.cta-band h2 {
  color: var(--apple-text);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin: 0 0 0.75rem;
}
.cta-band p {
  color: var(--apple-muted);
  margin: 0 auto 1.75rem;
  max-width: 32rem;
  font-size: 1.0625rem;
  line-height: 1.5;
}
.cta-band .btn-ai {
  background: var(--apple-blue);
  color: #fff;
  box-shadow: none;
}
.cta-band .btn-ai:hover { background: var(--apple-blue-hover); }

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.feature-tile {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem;
}
.feature-tile h3 { margin: 0 0 0.5rem; font-size: 1.0625rem; }
.feature-tile p { margin: 0; font-size: 0.875rem; line-height: 1.55; }
.feature-tile .pro-icon { margin-bottom: 1rem; }

@media (max-width: 1024px) {
  .why-best-grid,
  .explore-grid,
  .pricing-matrix,
  .feature-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .explore-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .why-best-grid,
  .pricing-matrix,
  .feature-row,
  .explore-grid {
    grid-template-columns: 1fr;
  }
  .launch-offer-card {
    flex-direction: column;
    text-align: center;
  }
}

/* Page hero */
.page-hero {
  background: var(--apple-bg);
  padding: 7.5rem 0 2.5rem;
}
body.has-launch-banner .page-hero { padding-top: 8.5rem; }
body.banner-dismissed.has-launch-banner .page-hero { padding-top: 6.5rem; }
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--apple-text);
}
.page-hero p { color: var(--apple-muted); font-size: 1.125rem; }

/* Footer */
.site-footer {
  background: var(--apple-bg-alt);
  border-top: none;
  padding: 4rem 0 2rem;
}
.footer-grid h4 {
  color: var(--apple-text);
  font-weight: 600;
  text-transform: none;
  letter-spacing: -0.01em;
  font-size: 0.75rem;
}
.footer-grid a { color: var(--apple-muted); }
.footer-grid a:hover { color: var(--apple-blue); }
.footer-bottom {
  color: var(--apple-dim);
  border-top: 1px solid var(--apple-border);
}

/* Launch banner */
.launch-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  background: var(--apple-text);
  color: #f5f5f7;
  border: none;
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  padding: 0.625rem 3.25rem 0.625rem 1.25rem;
  text-align: center;
  line-height: 1.4;
}
.launch-banner strong { color: #fff; }
.launch-banner a { color: #2997ff; }
.launch-banner-cta {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  color: #2997ff !important;
  text-decoration: none;
  white-space: nowrap;
}
.launch-banner-cta:hover { text-decoration: underline; }
.launch-banner code {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 6px;
}
.launch-banner-close {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  min-width: 44px;
  min-height: 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

/* Forms */
.form-input,
.form-textarea,
.form-select {
  background: #fff;
  border: 1px solid var(--apple-border);
  color: var(--apple-text);
  border-radius: 10px;
  font-family: inherit;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--apple-blue);
  box-shadow: 0 0 0 3px var(--apple-blue-soft);
  outline: none;
}

/* Modals on marketing */
.enterprise-modal {
  background: #fff;
  border: 1px solid var(--apple-border);
  border-radius: 20px;
  box-shadow: var(--apple-shadow-lg);
  color: var(--apple-text);
}
.enterprise-modal-header {
  border-bottom-color: var(--apple-border);
}
.enterprise-modal-header h2 { color: var(--apple-text); }
.modal-close-btn {
  background: var(--apple-bg-alt);
  color: var(--apple-muted);
  border-radius: 50%;
  min-width: 44px;
  min-height: 44px;
}
.modal-close-btn:hover {
  background: #e8e8ed;
  color: var(--apple-text);
}
.demo-modal-step {
  color: var(--apple-muted);
  border-radius: 10px;
}
.demo-modal-step.active {
  background: var(--apple-blue-soft);
  border-color: rgba(0, 113, 227, 0.3);
  color: var(--apple-blue);
}
.demo-screen-mock {
  background: var(--apple-bg-alt);
  border-color: var(--apple-border);
}
.enterprise-modal-backdrop {
  background: rgba(29, 29, 31, 0.4);
  backdrop-filter: blur(12px);
}

/* Cookie */
.cookie-consent {
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--apple-border);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.06);
}
.cookie-consent p { color: var(--apple-muted); }

/* Bottom nav */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 105;
  background: rgba(255, 255, 255, 0.92);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: none;
  padding: 0.25rem 0 calc(0.25rem + env(safe-area-inset-bottom));
}
.mobile-bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.125rem;
  min-height: 52px;
  padding: 0.375rem 0.2rem;
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--apple-dim);
  text-decoration: none;
}
.mobile-bottom-nav a svg { width: 22px; height: 22px; }
.mobile-bottom-nav a.active,
.mobile-bottom-nav a:hover { color: var(--apple-blue); }
body.has-mobile-nav {
  padding-bottom: calc(3.75rem + env(safe-area-inset-bottom));
}
body.has-mobile-nav .cookie-consent.visible {
  bottom: calc(3.5rem + env(safe-area-inset-bottom));
}

.back-to-top {
  background: #fff;
  border: 1px solid var(--apple-border);
  color: var(--apple-blue);
  border-radius: 50%;
  box-shadow: var(--apple-shadow);
}
.back-to-top:hover {
  background: var(--apple-bg-alt);
  border-color: var(--apple-border);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--apple-blue);
  outline-offset: 2px;
}

/* Solution pages */
.solution-hero {
  padding: 8rem 0 2rem;
  background: var(--apple-bg);
}
.solution-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}
.solution-content h2 { color: var(--apple-text); }
.solution-content p { color: var(--apple-muted); font-size: 1.0625rem; line-height: 1.5; }

/* Legal */
.legal-content {
  background: var(--apple-bg);
  color: var(--apple-text);
}
.legal-summary {
  background: var(--apple-bg-alt);
  border: 1px solid var(--apple-border);
}

/* Confirm dialogs in light context */
.ux-confirm {
  background: #fff;
  border-color: var(--apple-border);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}
