:root {
  color-scheme: light;
  --bg: #ffffff;
  --text: #0a0a0a;
  --muted: #666666;
  --muted-light: #9a9a9a;
  --accent: #0a0a0a;
  --accent-inverse: #ffffff;
  --border: rgba(0, 0, 0, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --sticky-top: clamp(4.2rem, 10vw, 5.4rem);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
}

body.nav-open {
  overflow: hidden;
}

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

a:hover,
a:focus-visible {
  color: var(--text);
}

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

[data-lucide] {
  display: inline-flex;
  width: 20px;
  height: 20px;
  stroke-width: 1.6;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.nav {
  position: relative;
  top: 0;
  z-index: 50;
  background: var(--accent-inverse);
  border-bottom: 1px solid var(--border);
}

.nav.scrolled {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.1rem clamp(1.4rem, 5vw, 2.6rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  padding: 0.2rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.24em;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 0.35rem;
  color: var(--text);
}

.nav-toggle-icon {
  display: inline-flex;
}

.nav-toggle-icon-close {
  display: none;
}

.nav-toggle.open .nav-toggle-icon-open {
  display: none;
}

.nav-toggle.open .nav-toggle-icon-close {
  display: inline-flex;
}

.mobile-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--accent-inverse);
  border-bottom: 1px solid var(--border);
  padding: 1rem clamp(1.4rem, 6vw, 2.6rem) 1.4rem;
  flex-direction: column;
  gap: 1rem;
  z-index: 40;
}

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

.mobile-nav a {
  font-size: 1rem;
}

main {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(2.2rem, 5vw, 3.2rem) clamp(1.2rem, 5vw, 2.2rem) clamp(3rem, 8vw, 4.6rem);
  display: grid;
  gap: clamp(2.6rem, 8vw, 4.4rem);
}

.section {
  position: sticky;
  top: var(--sticky-top);
  min-height: calc(92vh - var(--sticky-top));
  border-radius: 22px;
  padding: clamp(2rem, 6vw, 3.2rem);
  display: flex;
  align-items: center;
}

.section-light {
  background: var(--accent-inverse);
  color: var(--text);
}

.section-dark {
  background: var(--text);
  color: var(--accent-inverse);
}

.section-dark .eyebrow,
.section-dark p,
.section-dark li {
  color: rgba(255, 255, 255, 0.78);
}

.container {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.6rem);
  max-width: 560px;
  width: 100%;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  color: var(--muted-light);
}

.section-dark .eyebrow {
  color: rgba(255, 255, 255, 0.5);
}

h1, h2 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 3rem);
  letter-spacing: -0.02em;
}

p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.section-dark p {
  color: rgba(255, 255, 255, 0.78);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.82rem 1.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn.primary {
  background: var(--text);
  color: var(--accent-inverse);
  border-color: var(--text);
}

.section-dark .btn.primary {
  background: var(--accent-inverse);
  color: var(--text);
  border-color: var(--accent-inverse);
}

.btn.primary:hover,
.btn.primary:focus-visible {
  transform: translateY(-2px);
}

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

.section-dark .btn.ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--accent-inverse);
}

.btn.ghost:hover,
.btn.ghost:focus-visible {
  border-color: rgba(0, 0, 0, 0.4);
}

.section-dark .btn.ghost:hover,
.section-dark .btn.ghost:focus-visible {
  border-color: rgba(255, 255, 255, 0.6);
}

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
  color: var(--muted);
}

.section-dark .feature-list {
  color: rgba(255, 255, 255, 0.8);
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer {
  border-top: 1px solid var(--border);
  background: var(--accent-inverse);
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.8rem clamp(1.6rem, 5vw, 2.8rem);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  font-size: 0.94rem;
  color: var(--muted);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--text);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 720px) {
  :root {
    --sticky-top: clamp(3.2rem, 8vw, 4rem);
  }

  main {
    gap: clamp(2rem, 10vw, 2.8rem);
  }

  .section {
    padding: clamp(1.6rem, 8vw, 2.4rem);
    min-height: calc(90vh - var(--sticky-top));
    align-items: flex-start;
    flex-direction: column;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}
