/* Hypersian — Supergrow-inspired static landing (Phase 1, light theme) */
:root {
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Plus Jakarta Sans', var(--font-sans);
  --color-bg: #ffffff;
  --color-bg-muted: #f6f8fc;
  --color-bg-accent: #0f172a;
  --color-surface: #ffffff;
  --color-text: #0f172a;
  --color-text-muted: #64748b;
  --color-text-on-dark: #f1f5f9;
  --color-text-muted-on-dark: #94a3b8;
  --color-border: rgba(15, 23, 42, 0.08);
  --color-primary: #2f6bff;
  --color-primary-dark: #2557d6;
  --color-indigo: #6366f1;
  --gradient-primary: linear-gradient(135deg, #2f6bff 0%, #6366f1 55%, #818cf8 100%);
  --gradient-soft: linear-gradient(180deg, #f0f5ff 0%, #ffffff 70%);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 40px rgba(47, 107, 255, 0.12);
  --shadow-card: 0 4px 24px rgba(15, 23, 42, 0.06);
  --radius: 18px;
  --radius-sm: 12px;
  --container: min(1160px, calc(100% - 2rem));
  --nav-h: 72px;
  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: var(--container);
  margin-inline: auto;
}

.muted {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

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

.site-header .container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--gradient-primary);
  box-shadow: 0 4px 12px rgba(47, 107, 255, 0.35);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-left: 1rem;
  flex: 1;
}

.nav-desktop a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.nav-desktop a:hover {
  color: var(--color-text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  cursor: pointer;
  color: var(--color-text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 8px 24px rgba(47, 107, 255, 0.3);
}

.btn--primary:hover {
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-text);
}

.btn--secondary {
  background: var(--color-surface);
  border-color: var(--color-border);
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
}

.btn--block {
  width: 100%;
}

/* Hero */
.hero {
  padding: 3.5rem 0 4rem;
  background: var(--gradient-soft);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  background: rgba(47, 107, 255, 0.1);
  border: 1px solid rgba(47, 107, 255, 0.15);
  border-radius: 999px;
  margin: 0 0 1.25rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  max-width: 16ch;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 42rem;
  margin: 0 0 1.75rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-proof {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.hero-proof .g2 {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 600;
  color: var(--color-text);
}

.stars-inline {
  color: #f59e0b;
  letter-spacing: 0.05em;
}

#proof-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1rem;
}

.proof-logo {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section--muted {
  background: var(--color-bg-muted);
}

.section-header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}

/* Stats */
.stats-section {
  padding: 3rem 0;
  border-block: 1px solid var(--color-border);
  background: var(--color-surface);
}

.stats-section h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-align: center;
  margin: 0 0 2rem;
}

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

.stat-card {
  text-align: center;
  padding: 1.25rem;
}

.stat-card__value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  margin: 0;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.stat-card__label {
  margin: 0.5rem 0 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  max-width: 18rem;
  margin-inline: auto;
}

.stats-source {
  text-align: center;
  margin: 2rem 0 0;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* Cards */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

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

.pillar-card__icon,
.toolkit-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(47, 107, 255, 0.08);
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.pillar-card__icon svg,
.toolkit-card__icon svg {
  width: 22px;
  height: 22px;
}

.pillar-card h3,
.toolkit-card h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  margin: 0 0 0.5rem;
}

.pillar-card p,
.toolkit-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

/* MCP */
.mcp-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.mcp-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 0.75rem;
}

.mcp-copy p {
  color: var(--color-text-muted);
  margin: 0;
}

.mcp-mock {
  display: grid;
  gap: 1rem;
}

.chat-mock {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  background: var(--color-surface);
  box-shadow: var(--shadow-md);
}

.chat-mock__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.chat-bubble {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  margin-bottom: 0.65rem;
  max-width: 95%;
}

.chat-bubble--user {
  background: rgba(47, 107, 255, 0.1);
  border: 1px solid rgba(47, 107, 255, 0.12);
  margin-left: auto;
}

.chat-bubble--bot {
  background: var(--color-bg-muted);
  border: 1px solid var(--color-border);
}

.mcp-widget {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.mcp-widget__header {
  padding: 0.75rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  background: var(--color-bg-muted);
  border-bottom: 1px solid var(--color-border);
}

.mcp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.mcp-table th,
.mcp-table td {
  padding: 0.65rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.mcp-table th {
  font-weight: 600;
  color: var(--color-text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mcp-growth {
  color: #059669;
  font-weight: 600;
}

/* Toolkit */
.toolkit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.testimonial-card .stars {
  color: #f59e0b;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.testimonial-card__quote {
  font-size: 0.9375rem;
  margin: 0 0 1.25rem;
  line-height: 1.55;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9375rem;
  flex-shrink: 0;
}

.testimonial-card__author strong {
  display: block;
  font-size: 0.9375rem;
}

/* Pricing */
.pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem;
  background: var(--color-bg-muted);
  border-radius: 999px;
  border: 1px solid var(--color-border);
  margin: 0 auto 2rem;
}

.pricing-toggle button {
  border: none;
  background: transparent;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  color: var(--color-text-muted);
  transition: background var(--transition), color var(--transition);
}

.pricing-toggle button.is-active {
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
}

.pricing-save {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #059669;
  background: rgba(5, 150, 105, 0.12);
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  margin-left: 0.25rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card--popular {
  border-color: rgba(47, 107, 255, 0.35);
  box-shadow: 0 16px 48px rgba(47, 107, 255, 0.15);
}

.pricing-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--gradient-primary);
  color: #fff;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  margin: 0.5rem 0 1rem;
}

.pricing-period {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.pricing-bullets {
  margin: 0 0 1.25rem;
  padding-left: 1.1rem;
  flex: 1;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.pricing-bullets li {
  margin-bottom: 0.35rem;
}

/* FAQ */
.faq-list {
  max-width: 40rem;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0 1rem;
  margin-bottom: 0.65rem;
  background: var(--color-surface);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 1rem 0;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

/* CTA */
.cta-section {
  padding: 4.5rem 0;
  background: var(--color-bg-accent);
  color: var(--color-text-on-dark);
  text-align: center;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 0.75rem;
}

.cta-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  max-width: 28rem;
  margin: 1.5rem auto 0;
}

.cta-form input {
  flex: 1 1 12rem;
  min-width: 0;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.9375rem;
}

.cta-form input::placeholder {
  color: var(--color-text-muted-on-dark);
}

/* Footer */
.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-grid h4 {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin: 0 0 0.75rem;
}

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

.footer-grid li {
  margin-bottom: 0.4rem;
}

.footer-grid a {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.footer-grid a:hover {
  color: var(--color-text);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.footer-disclaimer {
  margin-top: 0.75rem;
  max-width: 52rem;
  line-height: 1.5;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  padding: 0.75rem 1.25rem;
  background: var(--color-bg-accent);
  color: #fff;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  z-index: 100;
  transition: transform 0.35s ease;
  pointer-events: none;
}

.toast.is-visible {
  transform: translateX(-50%) translateY(0);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* iframe embed: avoid double scroll quirks */
html.embed-iframe body {
  overflow-x: hidden;
}
