:root {
  --bg: #ffffff;
  --bg-alt: #f1f5f9;
  --title: #1e293b;
  --text: #475569;
  --text-muted: #94a3b8;
  --accent: #10b981;
  --accent-hover: #059669;
  --border: #e2e8f0;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

h1 {
  font-size: 32px;
  font-weight: 700;
  color: var(--title);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--title);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--title);
  line-height: 1.4;
}

p {
  color: var(--text);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--title);
  letter-spacing: -0.01em;
}

.nav-logo:hover {
  color: var(--title);
}

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

.nav-link {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}

.nav-link:hover {
  color: var(--title);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: background-color 0.15s ease, transform 0.15s ease;
  text-decoration: none;
}

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

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

.btn-secondary {
  background: transparent;
  color: var(--accent);
  padding: 12px 20px;
}

.btn-secondary:hover {
  color: var(--accent-hover);
  background: var(--bg-alt);
}

.btn-lg {
  padding: 14px 24px;
  font-size: 16px;
  border-radius: 12px;
}

/* Hero */
.hero {
  padding: 96px 0 64px;
  text-align: center;
}

.hero h1 {
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero .subtitle {
  font-size: 19px;
  color: var(--text);
  max-width: 620px;
  margin: 0 auto 36px;
}

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

.hero-note {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

/* Hero mockup */
.hero-mockup {
  margin: 48px auto 0;
  max-width: 760px;
  aspect-ratio: 16 / 10;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
}

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

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

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 36px;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 17px;
  color: var(--text);
  max-width: 560px;
  margin: 0 auto;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
}

.step h3 {
  margin-bottom: 8px;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature {
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-alt);
  margin-bottom: 16px;
}

.feature h3 {
  margin-bottom: 6px;
}

.feature p {
  font-size: 15px;
}

/* Feature showcase */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.showcase-media {
  aspect-ratio: 4 / 5;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.showcase h2 {
  font-size: 32px;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.showcase p {
  font-size: 17px;
  margin-bottom: 8px;
}

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.testimonial {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}

.testimonial-quote {
  font-size: 16px;
  color: var(--title);
  margin-bottom: 16px;
  line-height: 1.6;
}

.testimonial-author {
  font-size: 13px;
  color: var(--text-muted);
}

/* FAQ */
.faq {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  color: var(--title);
  cursor: pointer;
  text-align: left;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-toggle {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-left: 16px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding-bottom: 22px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
}

/* Final CTA */
.final-cta {
  text-align: center;
  padding: 96px 24px;
  background: var(--bg-alt);
  border-radius: 24px;
  margin: 64px auto;
  max-width: 1060px;
}

.final-cta h2 {
  font-size: 40px;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.final-cta p {
  font-size: 17px;
  max-width: 480px;
  margin: 0 auto 28px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 40px;
  background: var(--bg);
}

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

.footer-brand {
  font-size: 15px;
  font-weight: 600;
  color: var(--title);
}

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

.footer-link {
  font-size: 14px;
  color: var(--text);
}

.footer-link:hover {
  color: var(--title);
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

/* Legal pages */
.legal {
  padding: 64px 0 96px;
}

.legal h1 {
  font-size: 40px;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.legal .updated {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.legal h2 {
  font-size: 22px;
  margin: 40px 0 14px;
}

.legal h3 {
  font-size: 17px;
  margin: 24px 0 10px;
}

.legal p,
.legal li {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.7;
}

.legal ul,
.legal ol {
  padding-left: 24px;
  margin-bottom: 14px;
}

.legal li {
  margin-bottom: 8px;
}

.legal strong {
  color: var(--title);
  font-weight: 600;
}

.legal .toc {
  background: var(--bg-alt);
  border-radius: 12px;
  padding: 24px 24px 24px 44px;
  margin: 24px 0 40px;
}

.legal .toc li {
  margin-bottom: 4px;
  font-size: 15px;
}

/* Responsive */
@media (max-width: 820px) {
  .hero {
    padding: 64px 0 40px;
  }
  .hero h1 {
    font-size: 40px;
  }
  .hero .subtitle {
    font-size: 17px;
  }
  .section {
    padding: 56px 0;
  }
  .section-header h2 {
    font-size: 28px;
  }
  .steps,
  .features,
  .testimonials {
    grid-template-columns: 1fr;
  }
  .showcase {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .final-cta {
    padding: 64px 20px;
    margin: 32px 16px;
  }
  .final-cta h2 {
    font-size: 30px;
  }
  .nav-links .nav-link-hide {
    display: none;
  }
  .legal h1 {
    font-size: 30px;
  }
}
