:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --bg-dark: #1d1d1f;
  --text: #1d1d1f;
  --text-inverse: #ffffff;
  --muted: #6e6e73;
  --muted-inverse: #a1a1a6;
  --accent: #48484a;
  --accent-hover: #1d1d1f;
  --border: #e5e5e7;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-pill: 980px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

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

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

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100%;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav .container {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.nav-logo {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
}
.nav-logo img {
  height: 32px;
  width: auto;
  display: block;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 15px; }
.nav-links a:hover { color: var(--accent); }

.nav-toggle { display: none; }
.nav-toggle-label {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
}
.nav-toggle-label span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 17px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { color: var(--accent); padding: 14px 4px; }
.btn-secondary:hover { color: var(--accent-hover); }

/* HERO */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 140px 24px 120px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.hero.small { padding: 120px 24px 100px; }
.eyebrow {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  font-size: 72px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 820px;
}
.hero.small h1 { font-size: 60px; line-height: 1.1; }
.hero p.lead {
  margin: 0;
  font-size: 21px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 640px;
}
.hero-actions { display: flex; gap: 16px; margin-top: 12px; flex-wrap: wrap; justify-content: center; }

/* SECTIONS */
.section { padding: 40px 24px 100px; }
.section-alt { width: 100%; background: var(--bg-alt); padding: 100px 0; }
.section-header { max-width: 560px; margin: 0 auto 56px; }
.section-header.center { text-align: center; max-width: 700px; }
h2 {
  margin: 0 0 16px;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.section-header p, .lead-muted {
  margin: 0;
  font-size: 19px;
  line-height: 1.5;
  color: var(--muted);
}

/* GRID / CARDS */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card {
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card:hover { background: #eeeef0; }
.card h3 { margin: 0; font-size: 22px; font-weight: 600; }
.card p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--muted); }

.product-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.product-card .kicker {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.product-card .name { font-size: 28px; font-weight: 700; letter-spacing: -0.01em; }
.product-card p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--muted); }
.product-card .cta {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ABOUT / SPLIT */
.split {
  max-width: var(--max);
  margin: 0 auto;
  padding: 100px 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
  align-items: center;
}
.split h2 { margin: 0 0 16px; }
.split p { margin: 0; font-size: 19px; line-height: 1.6; color: var(--muted); }
.bullet { display: flex; gap: 16px; align-items: flex-start; }
.bullet .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); margin-top: 10px; flex-shrink: 0;
}
.bullet-list { display: flex; flex-direction: column; gap: 28px; }
.bullet span.text { font-size: 17px; line-height: 1.5; }

/* CONTACT / CTA DARK */
.cta-dark {
  width: 100%;
  background: var(--bg-dark);
  padding: 100px 0;
}
.cta-dark .container {
  max-width: 720px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.cta-dark h2 { color: #fff; margin: 0; }
.cta-dark p { margin: 0; font-size: 19px; line-height: 1.5; color: var(--muted-inverse); }

/* NUMBERED STEPS */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.step { display: flex; flex-direction: column; gap: 12px; }
.step .num { font-size: 15px; font-weight: 600; color: var(--accent); }
.step h3 { margin: 0; font-size: 20px; font-weight: 600; }
.step p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--muted); }

/* FOOTER */
.site-footer { width: 100%; background: var(--bg-alt); padding: 32px 0; }
.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer .copyright { font-size: 13px; color: var(--muted); }
.site-footer .links { display: flex; gap: 20px; }
.site-footer .links a { font-size: 13px; color: var(--muted); }
.site-footer .links a:hover { color: var(--accent); }

/* LEGAL PAGES */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 120px 24px 100px;
}
.legal h1 { font-size: 44px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 40px; }
.legal h2 { font-size: 22px; margin: 40px 0 12px; }
.legal p, .legal li { font-size: 17px; line-height: 1.6; color: var(--text); }
.legal p.muted { color: var(--muted); }
.legal a { color: var(--accent); }
.legal a:hover { color: var(--accent-hover); }

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
}

/* RESPONSIVE */
@media (max-width: 860px) {
  .nav-toggle-label { display: flex; }
  .nav-links-main {
    position: absolute;
    top: 65px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 12px;
    display: none;
    box-shadow: 0 12px 24px rgba(0,0,0,0.06);
  }
  .nav-links-main a {
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid var(--border);
    font-size: 17px;
  }
  .nav-links-main a:last-child { border-bottom: none; }
  .nav-toggle:checked ~ .nav-links-main { display: flex; }

  .hero h1 { font-size: 44px; }
  .hero.small h1 { font-size: 38px; }
  h2 { font-size: 30px; }
  .grid-3, .steps { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; padding: 72px 24px; gap: 40px; }
  .hero, .hero.small { padding: 96px 24px 72px; }
  .hero p.lead { font-size: 18px; }
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-actions .btn { justify-content: center; width: 100%; }

  .section { padding: 32px 24px 72px; }
  .section-alt { padding: 72px 0; }
  .section-header { margin-bottom: 40px; }
  .section-header p, .lead-muted { font-size: 17px; }

  .card, .product-card { padding: 24px; }
  .product-card .name { font-size: 24px; }

  .cta-dark { padding: 72px 0; }
  .cta-dark h2 { font-size: 28px; }

  .legal { padding: 96px 24px 72px; }
  .legal h1 { font-size: 32px; margin-bottom: 28px; }
  .legal p, .legal li { font-size: 16px; }

  .site-footer .container { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 34px; }
  .hero.small h1 { font-size: 30px; }
  h2 { font-size: 26px; }
  .hero p.lead { font-size: 17px; }
  .eyebrow { font-size: 13px; }
  .btn { padding: 13px 22px; font-size: 16px; }
  .legal h1 { font-size: 28px; }
}
