:root {
  --bg: #ffffff;
  --bg-soft: #f8f9fa;
  --bg-tint: #f1f3f4;
  --text: #202124;
  --text-secondary: #5f6368;
  --text-muted: #80868b;
  --blue: #1a73e8;
  --blue-hover: #1557b0;
  --blue-soft: #e8f0fe;
  --border: #e8eaed;
  --shadow-sm: 0 1px 2px rgba(60, 64, 67, 0.08), 0 1px 3px 1px rgba(60, 64, 67, 0.04);
  --shadow-md: 0 4px 16px rgba(60, 64, 67, 0.08);
  --font-sans: "Google Sans", "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --max-w: 1120px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  position: relative;
  overflow-x: hidden;
  background: var(--bg);
}

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

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(232, 234, 237, 0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.brand img {
  width: 30px;
  height: 30px;
  display: block;
}

.brand-tag {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-soft);
  padding: 3px 10px;
  border-radius: 999px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.18s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-cta {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--text);
  color: #ffffff !important;
  font-size: 0.875rem !important;
  transition: background 0.18s ease, transform 0.18s ease !important;
}

.nav-cta:hover {
  background: #3c4043;
}

.nav-toggle {
  display: none;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
}

/* Hero with Interactive Particle Canvas */
.hero {
  position: relative;
  min-height: calc(100vh - 68px);
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}

#particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
  padding: 88px 0;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(2.4rem, 5.2vw, 4.1rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 600;
  color: var(--text);
}

.hero-lead {
  margin: 0 auto 36px;
  max-width: 58ch;
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  color: var(--text-secondary);
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 500;
  transition: all 0.18s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--text);
  color: #ffffff;
}

.btn-primary:hover {
  background: #3c4043;
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg-soft);
}

/* Sections */
.section {
  padding: 96px 0;
}

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

.section-header {
  max-width: 660px;
  margin-bottom: 52px;
}

.eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.section-header h2 {
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 3.2vw, 2.55rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.section-header p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* Cards & Surfaces (Google Material You / Labs style) */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.cards-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.surface {
  background: var(--bg);
  border-radius: 24px;
  padding: 32px;
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.section:not(.section-soft) .surface {
  background: var(--bg-soft);
  border-color: transparent;
}

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

.surface-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 1rem;
}

.surface h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.surface p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.96rem;
}

/* Process strip */
.steps-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.step-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px 18px;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 8px;
}

.step-card h4 {
  margin: 0 0 6px;
  font-size: 0.96rem;
  font-weight: 600;
}

.step-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Feature split */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.metric-stack {
  display: grid;
  gap: 14px;
}

.metric-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

.metric-label {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.metric-value {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  text-align: right;
}

/* Status chip */
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  background: #fef7e0;
  color: #b06000;
  margin-bottom: 14px;
}

/* Legal notice */
.legal-box {
  margin-top: 32px;
  background: var(--bg-soft);
  border-radius: 20px;
  padding: 26px 28px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.93rem;
}

.legal-box strong {
  color: var(--text);
}

/* Footer */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 44px 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

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

@media (max-width: 960px) {
  .cards-3,
  .cards-2,
  .steps-list,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 540px;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 28px;
    gap: 14px;
  }

  .nav-links.open {
    display: flex;
  }
}
