/* ============================================
   Better MSP Club — Redesign
   Editorial, confident, less sci-fi tropes.
   ============================================ */

:root {
  /* Palette — warm neutral dark + single accent */
  --bg:        #0a0f0d;         /* near-black, slight green undertone */
  --bg-elev:   #141c18;         /* raised surface — more contrast */
  --bg-elev-2: #1b2620;         /* hover / nested */
  --line:      rgba(255,255,255,0.07);
  --line-soft: rgba(255,255,255,0.04);
  --line-strong: rgba(255,255,255,0.14);

  --text:      #e6ebf2;         /* cool off-white */
  --text-mute: #8a93a5;         /* cool grey */
  --text-dim:  #5d6475;         /* subtle cool grey */

  --accent:    #00b865;         /* Trustworthy IT green */
  --accent-soft: #00b86514;
  --accent-ink:  #0b1714;

  --ok:        #6aa678;         /* muted sage */
  --warn:      #c9a24a;         /* muted amber */

  --radius:    6px;
  --radius-lg: 10px;

  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Instrument Serif', 'Times New Roman', serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --max:       1240px;
  --gutter:    40px;
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: 'ss01','cv11';
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Subtle texture — film grain, not grid */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: overlay;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--text);
}
h1 {
  font-size: clamp(2.6rem, 5.6vw, 5rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 500;
}
h1 .serif, h2 .serif, h3 .serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text);
}
h2 {
  font-size: clamp(1.9rem, 3.3vw, 2.9rem);
  letter-spacing: -0.02em;
  font-weight: 500;
}
h3 {
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  font-weight: 500;
}
h4 {
  font-size: 1rem;
  letter-spacing: -0.005em;
  font-weight: 500;
}
p { color: var(--text-mute); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 18px; height: 1px;
  background: currentColor;
  display: inline-block;
}

.section-intro {
  font-size: 1.1rem;
  color: var(--text-mute);
  max-width: 58ch;
  line-height: 1.6;
  text-wrap: pretty;
}

/* ── LAYOUT ── */
section { position: relative; z-index: 1; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); width: 100%; min-width: 0; }

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 44px;
  max-width: 800px;
}
.section-head h2 { margin-top: 4px; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  height: 68px;
  background: rgba(14,15,17,0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.nav-logo .mark {
  width: 26px; height: 26px;
  display: grid;
  place-items: center;
  position: relative;
}
.nav-logo .mark svg { width: 100%; height: 100%; display: block; }
.nav-logo .wordmark {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: -0.01em;
}
.nav-logo .wordmark em {
  font-style: normal;
  color: var(--accent);
}
.nav-links {
  display: flex; align-items: center;
  gap: 30px;
  list-style: none;
}
.nav-links a {
  font-size: 0.88rem;
  letter-spacing: -0.005em;
  color: var(--text-mute);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }
.nav-links .nav-cta {
  background: var(--text);
  color: var(--bg) !important;
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 500;
}
.nav-links .nav-cta:hover {
  background: var(--accent);
  color: var(--bg) !important;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  padding: 13px 22px;
  border-radius: 999px;
  transition: all 0.15s ease;
  cursor: pointer;
  border: 1px solid transparent;
  letter-spacing: -0.005em;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover {
  background: #22d884;
  transform: translateY(-1px);
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-secondary:hover {
  border-color: var(--text);
  background: rgba(255,255,255,0.03);
}
.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ── HERO ── */
#hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute;
  top: -40%; left: 50%;
  transform: translateX(-50%);
  width: 1100px; height: 1100px;
  background: radial-gradient(ellipse at center, rgba(0,184,101,0.08) 0%, transparent 55%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: center;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-mute);
  max-width: 30rem;
  margin: 28px 0 36px;
  line-height: 1.55;
  text-wrap: pretty;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 72px;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
}
.hero-meta > div .k {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.hero-meta > div .v {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text);
  font-weight: 500;
  letter-spacing: -0.005em;
}
.hero-meta > div .v em {
  font-style: normal;
  color: var(--accent);
  font-weight: 500;
}

/* ── DASHBOARD MOCKUP ── */
.dashboard {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.02);
  position: relative;
}
.dash-topbar {
  background: var(--bg-elev-2);
  border-bottom: 1px solid var(--line-soft);
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.dash-topbar .dot { width: 10px; height: 10px; border-radius: 50%; background: #2a2d33; }
.dash-topbar .title {
  margin-left: 14px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
}
.dash-tabs {
  display: flex;
  padding: 0 8px;
  background: var(--bg-elev);
  border-bottom: 1px solid var(--line-soft);
  overflow-x: auto;
}
.dash-tab {
  font-size: 0.8rem;
  color: var(--text-dim);
  padding: 12px 14px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.dash-tab.active { color: var(--text); border-bottom-color: var(--accent); }
.dash-body { padding: 20px; }
.dash-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.dash-kpi {
  background: var(--bg);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 12px 14px;
}
.kpi-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.kpi-val {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
}
.kpi-delta {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  margin-top: 6px;
  color: var(--text-dim);
}
.kpi-delta.up { color: var(--ok); }
.kpi-delta.down { color: var(--accent); }

.dash-chart {
  background: var(--bg);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 12px;
}
.dash-chart-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}
.chart-bars { display: flex; align-items: flex-end; gap: 5px; height: 56px; }
.chart-bar {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border-radius: 2px 2px 0 0;
}
.chart-bar.peak { background: var(--accent); }

.dash-ai {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: var(--accent-soft);
  border: 1px solid rgba(0,184,101,0.2);
  border-radius: var(--radius);
}
.dash-ai .dot-pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 6px;
  flex-shrink: 0;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,184,101,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(0,184,101,0); }
}
.dash-ai-text {
  font-size: 0.8rem;
  color: var(--text);
  line-height: 1.5;
}
.dash-ai-text .label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 3px;
}

/* ── LOGO CLOUD / MARQUEE STRIP ── */
.stack-strip {
  padding: 56px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.stack-strip .label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: center;
  margin-bottom: 24px;
}
.stack-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px 56px;
}
.stack-item {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: var(--text-mute);
  letter-spacing: -0.005em;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.15s;
}
.stack-item:hover { color: var(--text); }
.stack-item .mk { width: 8px; height: 8px; border-radius: 2px; background: var(--text-dim); }
.stack-item:hover .mk { background: var(--accent); }

/* ── PLATFORM ── */
#platform { padding: 140px 0; }
.platform-hero {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 8px;
  position: relative;
  overflow: hidden;
}
.platform-hero::before {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,184,101,0.08), transparent 60%);
  pointer-events: none;
}
.platform-hero .tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.platform-hero h3 {
  font-size: 2rem;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.platform-hero p { font-size: 0.98rem; color: var(--text-mute); line-height: 1.6; max-width: 42ch; }

.modules-vis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  position: relative;
  z-index: 1;
}
.mod-tile {
  background: var(--bg);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 14px 12px;
  text-align: center;
  transition: all 0.2s;
}
.mod-tile:hover {
  border-color: var(--line-strong);
  background: var(--bg-elev-2);
  transform: translateY(-2px);
}
.mod-tile .mod-icon {
  width: 22px; height: 22px;
  margin: 0 auto 8px;
  color: var(--accent);
}
.mod-tile .mod-name {
  font-size: 0.74rem;
  color: var(--text);
  letter-spacing: -0.005em;
  line-height: 1.2;
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 48px;
}
.feat-card {
  background: var(--bg);
  padding: 32px 28px;
  transition: background 0.2s;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}
.feat-card:hover { background: var(--bg-elev); }
.feat-card.accent { background: linear-gradient(145deg, rgba(0,184,101,0.08), transparent 70%); }
.feat-card.accent:hover { background: linear-gradient(145deg, rgba(0,184,101,0.12), rgba(255,255,255,0.02) 70%); }

.feat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.feat-ico {
  width: 34px; height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  color: var(--text);
  flex-shrink: 0;
}
.feat-card.accent .feat-ico {
  color: var(--accent);
  border-color: rgba(0,184,101,0.35);
}
.feat-ico svg { width: 18px; height: 18px; }

.feat-card h3 {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.feat-desc {
  font-size: 0.92rem;
  color: var(--text-mute);
  line-height: 1.55;
  margin-bottom: 18px;
  flex: 1;
}
.feat-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}
.feat-bullets li {
  font-size: 0.82rem;
  color: var(--text-mute);
  padding-left: 18px;
  position: relative;
  letter-spacing: -0.005em;
}
.feat-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55em;
  width: 8px; height: 1px;
  background: var(--accent);
}

/* ── PULL QUOTE / NOVA FEATURE ── */
.nova-feature {
  margin-top: 56px;
  padding: 72px 48px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.nova-feature::after {
  content: '';
  position: absolute;
  bottom: -50%; left: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0,184,101,0.1), transparent 60%);
  pointer-events: none;
}
.nova-left { position: relative; z-index: 1; }
.nova-left .tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}
.nova-left h2 { margin-bottom: 20px; }
.nova-left p { margin-bottom: 28px; max-width: 38ch; font-size: 1rem; }

.nova-right {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.nova-tile {
  background: var(--bg);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 18px;
}
.nova-tile .n-ico {
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}
.nova-tile .n-title {
  font-size: 0.92rem;
  color: var(--text);
  margin-bottom: 4px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.nova-tile .n-desc {
  font-size: 0.78rem;
  color: var(--text-mute);
  line-height: 1.5;
}

/* ── SERVICES ── */
#services { padding: 140px 0; border-top: 1px solid var(--line-soft); }
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.svc-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 2px 0 0 rgba(255,255,255,0.04) inset, 0 8px 24px rgba(0,0,0,0.35);
  position: relative;
}
.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 16px; right: 16px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}
.svc-card:hover {
  border-color: rgba(0,184,101,0.25);
  transform: translateY(-3px);
  box-shadow: 0 2px 0 0 rgba(255,255,255,0.05) inset, 0 16px 40px rgba(0,0,0,0.5);
}
.svc-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}
.svc-title {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.svc-desc {
  font-size: 0.92rem;
  color: var(--text-mute);
  line-height: 1.55;
}

/* ── WHY US ── */
#why-us { padding: 140px 0; border-top: 1px solid var(--line-soft); }
.why-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 72px;
  align-items: start;
}
.why-list { display: flex; flex-direction: column; }
.why-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-soft);
}
.why-item:last-child { border-bottom: none; }
.why-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  padding-top: 2px;
}
.why-item h4 {
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
}
.why-item p { font-size: 0.95rem; color: var(--text-mute); line-height: 1.55; max-width: 48ch; }

.stat-panel {
  position: sticky;
  top: 100px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.stat-panel .panel-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 28px;
}
.big-stat {
  padding: 24px 0;
  border-top: 1px solid var(--line-soft);
}
.big-stat:first-of-type { border-top: none; padding-top: 0; }
.big-stat:last-of-type { padding-bottom: 0; }
.big-stat .number {
  font-family: var(--font-sans);
  font-size: 3.2rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--text);
  margin-bottom: 8px;
}
.big-stat .number .serif {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.big-stat .label { font-size: 0.92rem; color: var(--text-mute); line-height: 1.5; }

/* ── PRICING ── */
#membership { padding: 140px 0; border-top: 1px solid var(--line-soft); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.plan-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.2s;
  box-shadow: 0 2px 0 0 rgba(255,255,255,0.04) inset, 0 8px 24px rgba(0,0,0,0.35);
}
.plan-card::before {
  content: '';
  position: absolute;
  top: 0; left: 16px; right: 16px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}
.plan-card:hover { border-color: rgba(0,184,101,0.25); box-shadow: 0 16px 40px rgba(0,0,0,0.5); }
.plan-card.featured {
  background: linear-gradient(160deg, rgba(0,184,101,0.1), rgba(0,184,101,0.02) 60%);
  border-color: rgba(0,184,101,0.3);
}
.plan-popular {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.plan-tier {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.plan-card.featured .plan-tier { color: var(--accent); }
.plan-name {
  font-family: var(--font-sans);
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.plan-blurb {
  font-size: 0.92rem;
  color: var(--text-mute);
  line-height: 1.55;
  margin-bottom: 28px;
}
.plan-feats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
  flex: 1;
}
.plan-feats li {
  font-size: 0.9rem;
  color: var(--text-mute);
  padding-left: 22px;
  position: relative;
  line-height: 1.45;
}
.plan-feats li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55em;
  width: 12px; height: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
}
.plan-feats li.check::before {
  border-color: var(--accent);
  background: var(--accent);
  background-image:
    linear-gradient(45deg, transparent 45%, var(--accent-ink) 45%, var(--accent-ink) 55%, transparent 55%),
    linear-gradient(-45deg, transparent 45%, var(--accent-ink) 45%, var(--accent-ink) 55%, transparent 55%);
}
.plan-feats li.inherit {
  color: var(--text-dim);
  font-style: italic;
}

/* ── CONTACT / CTA ── */
#contact { padding: 140px 0 120px; }
.cta-box {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 80px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(0,184,101,0.12), transparent 60%);
  pointer-events: none;
}
.cta-box > * { position: relative; z-index: 1; }
.cta-box .eyebrow { margin: 0 auto 18px; justify-content: center; }
.cta-box h2 {
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  max-width: 20ch;
  margin: 0 auto 18px;
}
.cta-box > p {
  font-size: 1.1rem;
  color: var(--text-mute);
  max-width: 44ch;
  margin: 0 auto 36px;
}
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--line-soft);
  padding: 72px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}
.footer-brand { max-width: 320px; }
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.footer-brand .footer-logo .mark { width: 24px; height: 24px; }
.footer-brand .footer-logo .wordmark {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
}
.footer-brand .footer-logo em { font-style: normal; color: var(--accent); }
.footer-brand p { font-size: 0.9rem; color: var(--text-mute); line-height: 1.6; }

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 20px;
  font-weight: 400;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 0.9rem;
  color: var(--text-mute);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

/* ── PLATFORM CARDS ── */
#platform { padding: 100px 0; border-top: 1px solid var(--line-soft); }
.mod-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  grid-auto-flow: dense;
}
.mc-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 0 0 rgba(255,255,255,0.04) inset, 0 8px 24px rgba(0,0,0,0.35);
  position: relative;
}
.mc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 16px; right: 16px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  border-radius: 999px;
}
.mc-card:hover {
  border-color: rgba(0,184,101,0.25);
  transform: translateY(-3px);
  box-shadow: 0 2px 0 0 rgba(255,255,255,0.05) inset, 0 16px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,184,101,0.1);
}
.mc-card.mc-hero {
  grid-column: span 1;
  background: linear-gradient(135deg, rgba(0,184,101,0.1) 0%, var(--bg-elev) 55%);
  border-color: rgba(0,184,101,0.22);
}
.mc-card.mc-nova {
  grid-column: span 2;
  background: linear-gradient(145deg, rgba(0,184,101,0.14) 0%, var(--bg-elev) 60%);
  border-color: rgba(0,184,101,0.25);
}
.mc-card.mc-sat {
  background: linear-gradient(135deg, rgba(0,184,101,0.07) 0%, var(--bg-elev) 55%);
  border-color: rgba(0,184,101,0.15);
}
.mc-card.mc-pm {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(0,184,101,0.07) 0%, var(--bg-elev) 55%);
  border-color: rgba(0,184,101,0.15);
}
.mc-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 2px;
}
.mc-tag.accent { color: var(--accent); }
.mc-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.mc-card p {
  font-size: 0.9rem;
  color: var(--text-mute);
  line-height: 1.55;
  flex: 1;
}
.mc-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
  margin-top: 2px;
}
.mc-bullets li {
  font-size: 0.82rem;
  color: var(--text-mute);
  padding-left: 16px;
  position: relative;
  letter-spacing: -0.003em;
}
.mc-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.58em;
  width: 8px; height: 1px;
  background: var(--accent);
}

/* ── HOW IT WORKS ── */
#how { padding: 100px 0; border-top: 1px solid var(--line-soft); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 0 0 rgba(255,255,255,0.04) inset, 0 8px 24px rgba(0,0,0,0.35);
}
.step::before {
  content: '';
  position: absolute;
  top: 0; left: 16px; right: 16px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}
.step:hover { border-color: rgba(0,184,101,0.25); transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,0.5); }
.step-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.step h3 { font-size: 1.2rem; font-weight: 500; margin-bottom: 10px; letter-spacing: -0.015em; }
.step p { font-size: 0.95rem; color: var(--text-mute); line-height: 1.55; }

/* ── PLATFORM TABS ── */
.platform-tabs {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  min-height: 480px;
}
.tab-rail {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-right: 1px solid var(--line-soft);
  padding-right: 16px;
}
.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-mute);
  text-align: left;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 10px 12px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.15s;
  letter-spacing: -0.005em;
}
.tab-btn:hover { background: var(--bg-elev-2); color: var(--text); }
.tab-btn.active {
  background: var(--accent-soft);
  color: var(--accent);
  border-left: 2px solid var(--accent);
  padding-left: 10px;
}
.tab-panels { padding: 12px 16px; position: relative; }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.tp-meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.tp-meta.accent { color: var(--accent); }
.tab-panel h3 { font-size: 1.7rem; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 14px; }
.tab-panel > p { font-size: 1rem; color: var(--text-mute); line-height: 1.6; margin-bottom: 24px; max-width: 58ch; }
.tp-bullets {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}
.tp-bullets li {
  font-size: 0.92rem;
  color: var(--text-mute);
  padding-left: 18px;
  position: relative;
}
.tp-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.6em;
  width: 8px; height: 1px;
  background: var(--accent);
}

/* ── COMPARE ── */
#compare { padding: 100px 0; border-top: 1px solid var(--line-soft); }
.compare-table {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.ct-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.92rem;
}
.ct-row:last-child { border-bottom: none; }
.ct-head {
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.ct-head .ct-us { color: var(--accent); }
.ct-label { color: var(--text); font-weight: 500; }
.ct-row > div:not(.ct-label) { text-align: center; color: var(--text-mute); }
.ct-us { color: var(--text) !important; font-weight: 500; }
.yes { color: var(--accent); font-size: 1.1rem; }
.no { color: var(--text-dim); }
.mid { color: var(--warn); font-size: 0.82rem; font-style: italic; }

/* ── TECH STACK ── */
#stack { padding: 100px 0; border-top: 1px solid var(--line-soft); }
.stack-block {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.stack-col {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: 0 2px 0 0 rgba(255,255,255,0.04) inset, 0 8px 24px rgba(0,0,0,0.3);
  position: relative;
  display: flex;
  flex-direction: column;
}
.stack-col::before {
  content: '';
  position: absolute;
  top: 0; left: 16px; right: 16px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}
.stack-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.stack-item-lg {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.stack-item-lg svg { color: var(--accent); flex-shrink: 0; }
.stack-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-mute);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 4px 10px;
  letter-spacing: 0.02em;
}
.stack-sub {
  font-size: 0.88rem;
  color: var(--text-mute);
  line-height: 1.55;
}

.stack-ai-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 4px;
  flex: 1;
}
.stack-ai-card {
  background: var(--bg);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 14px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.stack-ai-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}
.stack-ai-role {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.stack-ai-card p {
  font-size: 0.85rem;
  color: var(--text-mute);
  line-height: 1.5;
  flex: 1;
}

/* ── FAQ ── */
#faq { padding: 100px 0; border-top: 1px solid var(--line-soft); }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 820px;
}
.faq-item {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  width: 16px; height: 16px;
  position: relative;
  flex-shrink: 0;
  transition: transform 0.25s;
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background: var(--accent);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-icon::before { width: 12px; height: 1.5px; }
.faq-icon::after { width: 1.5px; height: 12px; transition: transform 0.25s; }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-body {
  padding: 0 24px 22px;
  color: var(--text-mute);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .modules-vis { grid-template-columns: repeat(4, 1fr); }
  .mod-cards { grid-template-columns: repeat(2, 1fr); }
  .mc-card.mc-hero, .mc-card.mc-nova, .mc-card.mc-sat, .mc-card.mc-pm { grid-column: span 1; }
}
@media (max-width: 900px) {
  :root { --gutter: 24px; }
  nav { padding: 0 24px; }
  .nav-links { gap: 18px; }
  .nav-links li:not(:last-child) { display: none; }
  .hero-grid, .platform-hero, .nova-feature, .why-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero-grid > * { min-width: 0; }
  .feat-grid, .svc-grid, .pricing-grid, .steps-grid, .mod-cards { grid-template-columns: 1fr; }
  .mc-card.mc-hero, .mc-card.mc-nova, .mc-card.mc-sat, .mc-card.mc-pm { grid-column: span 1; }
  .modules-vis { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stat-panel { position: static; }
  .cta-box { padding: 56px 28px; }
  .platform-hero, .nova-feature { padding: 40px 28px; }
  .hero-meta { grid-template-columns: 1fr 1fr; gap: 20px; }
  .platform-tabs { grid-template-columns: 1fr; padding: 16px; }
  .tab-rail { flex-direction: row; overflow-x: auto; border-right: none; border-bottom: 1px solid var(--line-soft); padding: 0 0 12px; gap: 4px; }
  .tab-btn { white-space: nowrap; }
  .tab-btn.active { border-left: none; border-bottom: 2px solid var(--accent); padding-left: 12px; }
  .stack-block { grid-template-columns: 1fr; }
  .ct-row { grid-template-columns: 1.6fr 1fr 1fr 1fr; padding: 14px 16px; font-size: 0.82rem; }
  /* Compare table: scroll horizontally rather than overflow/clip */
  .compare-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .ct-row { min-width: 520px; }
  /* Truncate long dashboard URL on narrow screens */
  .dash-topbar .title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 180px; }
}
@media (max-width: 600px) {
  /* Typography */
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }

  /* Section padding */
  #how, #platform, #compare, #stack, #faq { padding: 64px 0; }
  #why-us, #membership { padding: 72px 0; }
  #contact { padding: 72px 0 56px; }
  #hero { padding: 100px 0 56px; }

  /* Layout */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  .hero-meta { grid-template-columns: 1fr; }
  .dash-kpis { grid-template-columns: repeat(2, 1fr); }
  .modules-vis { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .cta-box { padding: 48px 20px; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { justify-content: center; }
  .nova-right { grid-template-columns: 1fr; }
  .tp-bullets { grid-template-columns: 1fr; }

  /* Prevent any text from overflowing its container */
  h1, h2, h3, p { overflow-wrap: break-word; }
}

@media (max-width: 480px) {
  :root { --gutter: 16px; }
  nav { padding: 0 16px; }
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.55rem; }
  .big-stat .number { font-size: 2.4rem; }
  .stat-panel { padding: 24px 20px; }
  .section-head { margin-bottom: 28px; }
  .mc-card, .step, .plan-card, .stack-col { padding: 20px 16px; }
  .dash-topbar .title { display: none; }
  .hero-sub { font-size: 1rem; }
  .section-intro { font-size: 0.95rem; }
}
