:root {
  --bg: #141816;
  --bg-alt: #1a1f1c;
  --surface: #222826;
  --text: #f2f5f3;
  --text-muted: #b5c0ba;
  --text-light: #8a968f;
  --accent: #10b981;
  --accent-dark: #059669;
  --accent-soft: rgba(16, 185, 129, 0.16);
  --border: rgba(180, 200, 190, 0.14);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);
  --radius: 12px;
  --radius-lg: 20px;
  --font: "DM Sans", system-ui, sans-serif;
  --font-display: "Instrument Serif", Georgia, serif;
  --max: 1120px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1000px 520px at 12% -8%, rgba(16, 185, 129, 0.2), transparent 55%),
    radial-gradient(900px 480px at 100% 8%, rgba(5, 150, 105, 0.12), transparent 50%),
    radial-gradient(800px 400px at 50% 100%, rgba(20, 40, 32, 0.55), transparent 55%),
    linear-gradient(180deg, #101412 0%, var(--bg) 40%, #171c19 100%);
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(20, 24, 22, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9375rem;
  flex-shrink: 0;
}

.logo__mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
}

.logo__brand {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero__lead strong {
  color: var(--text);
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

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

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

.header__cta {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  cursor: pointer;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

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

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
}

.btn--primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(181, 192, 186, 0.35);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: #fff;
  background: var(--accent-soft);
}

.btn--large {
  padding: 14px 28px;
  font-size: 0.9375rem;
}

/* Hero */
.hero {
  padding: calc(var(--header-h) + 64px) 0 80px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
  max-width: 720px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero__lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 48ch;
  margin-bottom: 24px;
}

.hero__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.hero__highlights li {
  padding: 6px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
}

.hero__sub {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Intro / feature cards */
.intro {
  padding: 80px 0;
  background: rgba(26, 31, 28, 0.85);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.0625rem;
}

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

.feature-card {
  padding: 32px 28px;
  background: linear-gradient(160deg, rgba(40, 48, 44, 0.95) 0%, rgba(26, 31, 28, 0.98) 100%);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: var(--accent);
}

.feature-card__num {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.feature-card__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  transition: color 0.2s;
}

.feature-card__link:hover {
  color: var(--accent-dark);
}

/* Detail sections */
.detail {
  padding: 80px 0;
}

.detail--alt {
  background: linear-gradient(180deg, rgba(26, 31, 28, 0.95) 0%, rgba(20, 24, 22, 0.98) 100%);
}

.detail__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.detail__grid--reverse .detail__content {
  order: 2;
}

.detail__grid--reverse .check-list,
.detail__grid--reverse .tag-list {
  order: 1;
}

.detail__content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3.5vw, 2.5rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 16px;
}

.detail__lead {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.detail__note {
  font-size: 0.9375rem;
  color: var(--text);
  font-weight: 500;
}

.check-list {
  display: grid;
  gap: 12px;
}

.check-list--cols {
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3E%3Cpath d='M6.5 11.5L3 8l1-1 2.5 2.5L12 4l1 1-6.5 6.5z'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-list li {
  padding: 10px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  background: rgba(26, 31, 28, 0.9);
  border: 1.5px solid rgba(16, 185, 129, 0.4);
  border-radius: 999px;
  color: var(--text);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.tag-list li:hover {
  border-color: var(--accent);
  color: #fff;
  background: var(--accent);
}

.detail--alt .tag-list li {
  background: rgba(26, 31, 28, 0.9);
}

.detail:not(.detail--alt) .tag-list li {
  background: rgba(34, 40, 38, 0.95);
}

/* CTA */
.cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #14532d 0%, #059669 50%, #10b981 100%);
  color: #fff;
}

.cta__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 12px;
}

.cta__copy p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  max-width: 48ch;
}

.cta__actions {
  text-align: center;
}

.cta .btn--primary {
  background: #0f1412;
  white-space: nowrap;
}

.cta .btn--primary:hover {
  background: #000;
}

.cta__hint {
  margin-top: 12px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.85);
}

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

.footer__inner {
  text-align: center;
}

.logo--footer {
  justify-content: center;
  margin-bottom: 12px;
}

.footer__product {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 8px;
}

.footer__tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer__copy {
  font-size: 0.8125rem;
  color: var(--text-light);
}

/* Motion */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__content {
  animation: fadeUp 0.8s ease both;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0s);
}

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

@media (prefers-reduced-motion: reduce) {
  .hero__content,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .btn:hover {
    transform: none;
  }
}

/* Mobile */
@media (max-width: 900px) {
  .hero__grid,
  .detail__grid,
  .feature-cards,
  .cta__inner {
    grid-template-columns: 1fr;
  }

  .detail__grid--reverse .detail__content,
  .detail__grid--reverse .check-list,
  .detail__grid--reverse .tag-list {
    order: unset;
  }

  .check-list--cols {
    grid-template-columns: 1fr;
  }

  .cta__actions {
    text-align: left;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 24px 24px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
    margin-left: 0;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .header__cta {
    display: none;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(var(--max), calc(100% - 32px));
  }

  .hero {
    padding-bottom: 56px;
  }

  .intro,
  .detail,
  .cta {
    padding: 56px 0;
  }
}
