:root {
  --ink: #1a0f20;
  --plum: #5c2d6e;
  --plum-deep: #4a2458;
  --plum-dark: #2e1638;
  --lavender: #e8dcf0;
  --lavender-soft: #f4eef8;
  --lavender-muted: #c4a8d4;
  /* legacy aliases for chat widget */
  --olive: var(--plum);
  --olive-dark: var(--plum-deep);
  --mint: var(--lavender-muted);
  --gold: #f0b429;
  --gold-glow: rgba(240, 180, 41, 0.45);
  --surface: #faf7fc;
  --glass: rgba(255, 255, 255, 0.72);
  --border: rgba(92, 45, 110, 0.12);
  --shadow: 0 24px 60px rgba(26, 15, 32, 0.18);
  --font-display: 'Syne', system-ui, sans-serif;
  --font-serif: 'Fraunces', Georgia, serif;
  --font-body: 'Outfit', 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

section[id] { scroll-margin-top: 5.5rem; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background: #120818;
  line-height: 1.55;
  overflow-x: hidden;
}

/* Ambient background */
.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(240, 180, 41, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 45% at 95% 5%, rgba(92, 45, 110, 0.42), transparent 50%),
    linear-gradient(165deg, #1a0f24 0%, #2e1638 42%, #120818 100%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float-orb 14s ease-in-out infinite;
}

.orb-a { width: 420px; height: 420px; background: #7b4a94; top: -120px; left: -80px; }
.orb-b { width: 360px; height: 360px; background: #c9921a; bottom: 10%; right: -100px; animation-delay: -5s; }

@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(24px, 18px) scale(1.06); }
}

.sparkle-field {
  position: absolute;
  inset: 0;
}

.sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold-glow);
  animation: twinkle 2.5s ease-in-out infinite;
  opacity: 0;
}

@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.4); }
  50% { opacity: 0.9; transform: scale(1.2); }
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.wrap {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
}

a { color: var(--lavender-muted); text-decoration: none; }
a:hover { color: #fff; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(18, 8, 24, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.brand--lockup {
  gap: 0;
  padding: 4px 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.brand--lockup:hover {
  transform: translateY(-1px);
  opacity: 0.96;
}
.brand-lockup-img {
  display: block;
  height: 48px;
  width: auto;
  max-width: min(280px, 58vw);
  object-fit: contain;
  background: transparent;
  border-radius: 0;
}
@media (max-width: 640px) {
  .brand--lockup { padding: 2px 0; }
  .brand-lockup-img { height: 42px; max-width: min(240px, 72vw); }
}
/* Circular Nichomez icon mark (hero, favicon contexts) */
.nichomez-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  padding: 3px;
  background: linear-gradient(155deg, #e8dcf0 0%, #5c2d6e 55%, #4a2458 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.45) inset,
    0 8px 28px rgba(92, 45, 110, 0.35);
}

.nichomez-logo-mark img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
  display: block;
  background: #faf7fc;
  padding: 8%;
}

.nichomez-logo-mark--sm { width: 48px; height: 48px; }
.nichomez-logo-mark--md { width: 56px; height: 56px; padding: 3px; }
.nichomez-logo-mark--xl {
  width: min(240px, 52vw);
  height: min(240px, 52vw);
  padding: 4px;
}

@keyframes logo-pulse-glow {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.45) inset,
      0 8px 28px rgba(92, 45, 110, 0.32);
    transform: scale(1);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.55) inset,
      0 12px 36px rgba(92, 45, 110, 0.42);
    transform: scale(1.02);
  }
}
.brand-text h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: #fff;
}
.brand-text p { margin: 0.1rem 0 0; font-size: 0.75rem; color: rgba(255,255,255,0.55); }

.nav-desktop { display: flex; align-items: center; gap: 1.1rem; }
.nav-desktop a { color: rgba(255,255,255,0.85); font-weight: 500; font-size: 0.9rem; text-decoration: none; }
.nav-desktop a:hover { color: var(--gold); }

.nav-toggle {
  display: none;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  color: #fff;
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  cursor: pointer;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0 0 1rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a { color: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none !important;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, #e09a18 100%);
  color: var(--ink);
  box-shadow: 0 8px 28px var(--gold-glow);
}
.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.35);
  color: #fff;
}
.btn-outline.light { border-color: rgba(255,255,255,0.5); color: #fff; }
.btn-ghost {
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.05);
}

/* Hero */
.hero { padding: 4.5rem 0 2rem; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.kicker {
  display: inline-block;
  margin: 0 0 0.85rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(92, 45, 110, 0.38);
  border: 1px solid rgba(232, 220, 240, 0.28);
  color: var(--lavender);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kicker-gold {
  background: rgba(240, 180, 41, 0.15);
  border-color: rgba(240, 180, 41, 0.35);
  color: var(--gold);
}

.hero-title {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4.8vw, 3.2rem);
  line-height: 1.08;
  color: #fff;
  letter-spacing: -0.02em;
}

.hero-lead {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 34rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-bottom: 1rem; }
.hero-note { font-size: 0.82rem; color: rgba(255,255,255,0.45); }
.hero-note code {
  background: rgba(255,255,255,0.08);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  color: var(--lavender-muted);
}

.hero-visual {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-glow {
  position: relative;
  z-index: 2;
}

.pulse-stage.is-visible .stat-showcase {
  animation: card-rise 0.7s ease backwards;
}
.pulse-stage.is-visible .stat-showcase:nth-child(2) {
  animation-delay: 0.12s;
}

.pulse-stage.is-visible .growth-panel {
  animation: card-rise 0.75s ease 0.22s backwards;
}

@keyframes card-rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(232, 220, 240, 0.18);
}
.ring-1 { width: 280px; height: 280px; animation: spin-slow 22s linear infinite; }
.ring-2 { width: 340px; height: 340px; animation: spin-slow 32s linear infinite reverse; opacity: 0.6; }

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Pulse / stats stage */
.pulse-stage {
  padding: 2rem 0 4rem;
}

.pulse-head { margin-bottom: 2rem; }

.section-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #fff;
  text-align: center;
}

.section-title.left { text-align: left; }

.section-lead {
  margin: 0 auto 2rem;
  max-width: 38rem;
  text-align: center;
  color: rgba(255,255,255,0.65);
}

.pulse-lead {
  margin: 0.5rem 0 0;
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
}

.pulse-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.stat-showcase {
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(240,180,41,0.5), rgba(92,45,110,0.45), rgba(255,255,255,0.1));
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.stat-showcase:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 28px 50px rgba(0,0,0,0.35);
}

.stat-showcase-hero {
  background: linear-gradient(135deg, var(--gold), #9b6bb0, rgba(255,255,255,0.2));
}

.stat-showcase-inner {
  background: linear-gradient(160deg, rgba(46, 22, 56, 0.95) 0%, rgba(18, 8, 24, 0.98) 100%);
  border-radius: 18px;
  padding: 1.5rem 1.6rem 1.2rem;
  min-height: 200px;
  position: relative;
  overflow: hidden;
}

.stat-showcase-inner::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.06) 50%, transparent 60%);
  animation: shimmer 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shimmer {
  0% { transform: translateX(-30%) rotate(12deg); }
  100% { transform: translateX(30%) rotate(12deg); }
}

.stat-icon {
  font-size: 1rem;
  color: var(--lavender-muted);
  opacity: 0.8;
}
.stat-icon.gold { color: var(--gold); }

.stat-label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.stat-value {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 40px rgba(255,255,255,0.15);
}

.stat-value.counting {
  color: var(--gold);
  text-shadow: 0 0 48px var(--gold-glow);
}

.stat-value-hero {
  font-size: clamp(3.2rem, 8vw, 5rem);
  background: linear-gradient(180deg, #fff 20%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-value.done {
  animation: pop-done 0.5s ease;
}

@keyframes pop-done {
  0% { transform: scale(1); }
  40% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

.stat-meta {
  margin: 0.5rem 0 0.75rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

.mini-chart {
  display: block;
  width: 100%;
  height: 64px;
  opacity: 0.9;
}

.growth-panel {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 1.5rem 1.25rem 1.25rem;
  backdrop-filter: blur(8px);
}

.growth-panel-head h3 {
  margin: 0;
  font-family: var(--font-serif);
  color: #fff;
  font-size: 1.25rem;
}

.growth-panel-head p {
  margin: 0.25rem 0 1rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
}

.legend-item { display: inline-flex; align-items: center; gap: 0.4rem; }
.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
}
.dot.cumulative { background: #9b6bb0; }
.dot.joined { background: var(--gold); }

.chart-wrap {
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(0,0,0,0.2);
  padding: 0.5rem;
}

#growth-chart {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 280px;
  cursor: crosshair;
}

.chart-foot {
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  text-align: center;
}

.chart-tooltip {
  position: fixed;
  z-index: 200;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  background: rgba(18, 8, 24, 0.92);
  border: 1px solid rgba(240, 180, 41, 0.4);
  color: #fff;
  font-size: 0.78rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
}

.chart-tooltip.visible { opacity: 1; }

/* Content sections */
section[id="product"],
section[id="platform"],
section[id="modules"],
section[id="billing"] {
  padding: 3.5rem 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.25));
}

.panel-muted {
  background: rgba(0,0,0,0.2);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.grid-3, .module-grid {
  display: grid;
  gap: 1rem;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.module-grid { grid-template-columns: repeat(3, 1fr); }

.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: #fff;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p {
  margin: 0.75rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}
.faq-item a { color: var(--gold); }

.card, .module-tile, .split-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 1.25rem;
}
.card h4, .module-tile h4 { margin: 0 0 0.4rem; color: #fff; font-size: 1rem; }
.card p, .module-tile p { margin: 0; color: rgba(255,255,255,0.62); font-size: 0.92rem; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.split-box.platform {
  background: linear-gradient(145deg, rgba(92,45,110,0.55), rgba(46,22,56,0.85));
}
.split-box h4 { color: #fff; font-family: var(--font-serif); }
.split-box ul { margin: 0; padding-left: 1.1rem; color: rgba(255,255,255,0.75); font-size: 0.9rem; }

.cta-band {
  background: linear-gradient(135deg, var(--plum) 0%, var(--plum-deep) 100%);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  border: 1px solid rgba(240, 180, 41, 0.25);
}

/* Billing */
.billing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.billing-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.35rem 1.4rem;
}
.billing-card-featured {
  border-color: rgba(240, 180, 41, 0.35);
  background: linear-gradient(145deg, rgba(92, 45, 110, 0.45), rgba(46, 22, 56, 0.75));
}
.billing-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.billing-price { margin: 0 0 0.5rem; }
.billing-amount {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: #fff;
  font-weight: 700;
}
.billing-unit { color: rgba(255, 255, 255, 0.72); font-size: 0.95rem; }
.billing-note,
.billing-foot {
  margin: 0.65rem 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}
.billing-card h4 {
  margin: 0 0 0.5rem;
  color: #fff;
  font-size: 1rem;
}
.billing-card > p {
  margin: 0 0 0.75rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}
.billing-list {
  margin: 0;
  padding-left: 1.1rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}
.billing-list-compact { margin-top: 0.25rem; }
.billing-list li { margin-bottom: 0.35rem; }
.billing-cta {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: 14px;
  border: 1px solid rgba(240, 180, 41, 0.22);
  background: rgba(0, 0, 0, 0.18);
}
.billing-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  max-width: 36rem;
}

.billing-subtitle {
  margin: 2rem 0 0.5rem;
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  color: #fff;
  font-weight: 700;
}
.billing-samples-lead {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
  max-width: 48rem;
  line-height: 1.55;
}
.billing-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
}
.billing-plan-grid--calc {
  margin-top: 0.25rem;
}
.billing-plan-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.15rem 1.2rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.22);
}
.billing-plan-kicker {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gold);
}
.billing-plan-amount {
  margin: 0.5rem 0 0.35rem;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.billing-plan-detail {
  margin: 0 0 0.35rem;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}
.billing-plan-save-line {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  color: rgba(240, 180, 41, 0.95);
  font-weight: 600;
}
.billing-plan-foot {
  margin: auto 0 0;
  padding-top: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.4;
}
.billing-plan-note {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.4;
}
.billing-calculator {
  margin-top: 1.75rem;
  padding: 1.35rem 1.4rem;
  border-radius: 16px;
  border: 1px solid rgba(240, 180, 41, 0.28);
  background: linear-gradient(145deg, rgba(46, 22, 56, 0.65), rgba(20, 10, 28, 0.85));
}
.billing-calc-toolbar {
  margin-bottom: 1.1rem;
}
.billing-calc-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-width: 14rem;
}
.billing-calc-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}
.billing-calc-input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  font: inherit;
  font-size: 0.95rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.28);
}
.billing-calc-input:focus {
  outline: 2px solid rgba(240, 180, 41, 0.55);
  outline-offset: 2px;
}
.billing-calc-trial {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  color: rgba(240, 180, 41, 0.9);
  line-height: 1.5;
}

/* Sticky section rail (one-pager) */
@media (min-width: 1201px) {
  main {
    /* Reserve space so body copy does not sit under the fixed rail */
    padding-right: calc(10.5rem + 1.15rem + 2rem);
  }
}

.section-rail {
  position: fixed;
  right: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 45;
  width: 10.5rem;
  padding: 0.85rem 0.75rem;
  border-radius: 14px;
  background: rgba(18, 8, 24, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.section-rail__title {
  margin: 0 0 0.55rem 0.35rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.section-rail__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.section-rail__list a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.4rem;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}
.section-rail__list a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.section-rail__list a.is-active {
  color: #fff;
  background: rgba(92, 45, 110, 0.45);
}
.section-rail__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  flex-shrink: 0;
  transition: background 0.15s, box-shadow 0.15s;
}
.section-rail__list a.is-active .section-rail__dot {
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(240, 180, 41, 0.22);
}

.cta-band h3 { margin: 0 0 0.35rem; color: #fff; font-family: var(--font-serif); }
.cta-band p { margin: 0; color: rgba(255,255,255,0.8); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.45);
  font-size: 0.85rem;
}
.foot-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.foot-links a { color: var(--lavender-muted); font-weight: 500; }

/* Legal documents */
.legal-main {
  position: relative;
  z-index: 1;
  padding: 2.5rem 0 4rem;
}
.legal-card {
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow);
  color: var(--ink);
}
.legal-card h1 {
  margin: 0 0 0.35rem;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  color: var(--plum-deep);
}
.legal-meta {
  margin: 0 0 1.75rem;
  color: rgba(26, 15, 32, 0.55);
  font-size: 0.9rem;
}
.legal-card h2 {
  margin: 2rem 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--plum);
}
.legal-card p,
.legal-card li {
  color: rgba(26, 15, 32, 0.82);
  font-size: 0.95rem;
}
.legal-card ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.25rem;
}
.legal-card a { color: var(--plum); font-weight: 600; }
.legal-nav {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
}

@media (max-width: 1200px) {
  .section-rail { display: none; }
}

@media (max-width: 900px) {
  .hero-grid,
  .pulse-grid,
  .grid-3,
  .module-grid,
  .split,
  .billing-grid,
  .billing-plan-grid {
    grid-template-columns: 1fr;
  }
  .section-rail { display: none; }
  .nav-desktop { display: none; }
  .nav-toggle { display: block; }
  .hero-visual { min-height: 200px; }
  .legal-card { padding: 1.5rem 1.15rem; }
}
