:root {
  --bg-cream: #fbf5ea;
  --bg-sand: #ffd486;
  --bg-rose: #f1bbd3;
  --bg-mint: #c7f3db;
  --ink: #131313;
  --ink-soft: rgba(19, 19, 19, 0.68);
  --line: rgba(19, 19, 19, 0.08);
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --green: #12935f;
  --green-deep: #0c5c3a;
  --shadow-soft: 0 18px 50px rgba(17, 17, 17, 0.08);
  --shadow-strong: 0 28px 90px rgba(17, 17, 17, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
  background:
    radial-gradient(48rem 36rem at 10% 8%, rgba(255, 212, 134, 0.75), rgba(255, 212, 134, 0) 65%),
    radial-gradient(40rem 30rem at 88% 12%, rgba(241, 187, 211, 0.6), rgba(241, 187, 211, 0) 65%),
    radial-gradient(36rem 28rem at 70% 92%, rgba(199, 243, 219, 0.62), rgba(199, 243, 219, 0) 60%),
    linear-gradient(180deg, #fffdfa 0%, var(--bg-cream) 100%);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(19, 19, 19, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 19, 19, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0));
}

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

.site-shell {
  width: min(1200px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.topbar,
.hero,
.section,
.cta-strip,
.site-footer {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #0f5c3a 0%, #25d366 100%);
  box-shadow: 0 12px 30px rgba(18, 147, 95, 0.28);
}

.topnav {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  color: var(--ink-soft);
  font-weight: 700;
}

.topnav a:hover,
.footer-links a:hover {
  color: var(--green-deep);
}

.topbar-actions,
.hero-actions,
.cta-actions,
.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-large {
  min-height: 56px;
  padding: 0 24px;
}

.button-solid {
  color: #fff;
  background: linear-gradient(135deg, #0f5c3a 0%, #25d366 100%);
  box-shadow: 0 16px 36px rgba(18, 147, 95, 0.28);
}

.button-ghost {
  color: var(--ink);
  border-color: rgba(19, 19, 19, 0.12);
  background: rgba(255, 255, 255, 0.48);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: 38px;
  padding: 56px 0 34px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.cta-strip h2 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  line-height: 0.96;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.3vw, 3.8rem);
  max-width: 15ch;
  line-height: 1.02;
}

.hero-lead {
  margin: 22px 0 26px;
  max-width: 60ch;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.78;
}

.hero-points {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-soft);
  font-weight: 700;
}

.hero-points li::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f5c3a 0%, #25d366 100%);
  box-shadow: 0 0 0 6px rgba(37, 211, 102, 0.14);
}

.hero-stage {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.pulse {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  animation: drift 8s ease-in-out infinite;
}

.pulse-a {
  inset: 38px 36px auto auto;
  width: 180px;
  height: 180px;
  background: rgba(241, 187, 211, 0.36);
}

.pulse-b {
  inset: auto auto 30px 12px;
  width: 220px;
  height: 220px;
  background: rgba(199, 243, 219, 0.42);
  animation-delay: -2.5s;
}

.stage-card {
  position: absolute;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-strong);
}

.stage-primary {
  inset: 72px 32px 120px 24px;
  padding: 28px;
}

.stage-kicker,
.mini-label,
.stage-stat-label {
  display: block;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stage-primary h2 {
  margin: 12px 0 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 3vw, 3.2rem);
}

.stage-caption {
  max-width: 28ch;
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.stage-stat-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.stage-stat-row strong,
.rail-item strong {
  display: block;
  margin-top: 4px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.55rem;
}

.stage-note {
  top: 26px;
  right: 0;
  width: min(290px, calc(100% - 18px));
  padding: 18px 18px 16px;
  transform: rotate(4deg);
}

.stage-note p {
  margin: 12px 0 0;
  font-size: 0.96rem;
  line-height: 1.6;
}

.stage-rail {
  left: 0;
  bottom: 34px;
  width: min(240px, calc(100% - 40px));
  padding: 18px;
}

.rail-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(19, 19, 19, 0.08);
}

.rail-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(19, 19, 19, 0.06);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
}

.pill-green {
  background: rgba(37, 211, 102, 0.16);
  color: var(--green-deep);
}

.section {
  margin-top: 40px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}

.section-heading h2,
.cta-strip h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: none;
}

.feature-grid,
.usage-grid,
.process-grid {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.usage-grid,
.process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.usage-card,
.process-card {
  min-height: 100%;
  padding: 24px;
  border-radius: 26px;
  border: 1px solid rgba(19, 19, 19, 0.08);
  background: var(--surface-strong);
}

.feature-card h3,
.process-card h3 {
  margin: 0 0 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.28rem;
}

.feature-card p,
.usage-card p,
.process-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.75;
}

.usage-card {
  display: grid;
  gap: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.78)),
    linear-gradient(135deg, rgba(255, 212, 134, 0.18), rgba(199, 243, 219, 0.18));
}

.process-card {
  position: relative;
  overflow: hidden;
}

.process-card::after {
  content: '';
  position: absolute;
  inset: auto -28px -28px auto;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: rgba(37, 211, 102, 0.08);
}

.process-step {
  display: inline-block;
  margin-bottom: 18px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--green-deep);
}

.cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 40px;
  padding: 30px 32px;
  border-radius: 32px;
  color: #fff;
  background: linear-gradient(135deg, #0f5c3a 0%, #16704c 46%, #25d366 100%);
  box-shadow: 0 26px 80px rgba(15, 92, 58, 0.28);
}

.cta-strip .eyebrow {
  color: rgba(255, 255, 255, 0.74);
}

.cta-strip .button-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 4px 0;
  color: var(--ink-soft);
  font-weight: 700;
}

.site-footer p {
  margin: 0;
}

.legal-page {
  padding-top: 18px;
}

.legal-shell {
  width: min(960px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 0 0 40px;
}

.legal-back {
  margin-top: 20px;
}

.legal-hero,
.legal-card {
  margin-top: 20px;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.legal-hero h1 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  line-height: 1.02;
}

.legal-hero p {
  margin: 16px 0 0;
  max-width: 62ch;
  color: var(--ink-soft);
  line-height: 1.75;
}

.legal-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.legal-meta-item {
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(19, 19, 19, 0.08);
  background: var(--surface-strong);
}

.legal-meta-item span {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.legal-meta-item strong {
  display: block;
  font-size: 1rem;
  line-height: 1.5;
}

.legal-note {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(250, 173, 20, 0.22);
  background: linear-gradient(180deg, rgba(255, 240, 196, 0.9), rgba(255, 248, 223, 0.74));
  color: rgba(19, 19, 19, 0.82);
  line-height: 1.7;
}

.legal-content {
  display: grid;
  gap: 18px;
}

.legal-section {
  padding: 22px 24px;
  border-radius: 24px;
  border: 1px solid rgba(19, 19, 19, 0.08);
  background: var(--surface-strong);
}

.legal-section h2 {
  margin: 0 0 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.legal-section p,
.legal-section li {
  color: var(--ink-soft);
  line-height: 1.8;
}

.legal-section p:last-child,
.legal-section ul:last-child {
  margin-bottom: 0;
}

.legal-list {
  margin: 0;
  padding-left: 20px;
}

.legal-list li + li {
  margin-top: 8px;
}

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

.legal-footer {
  margin-top: 24px;
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -16px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pulse,
  .button {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 1080px) {
  .topbar,
  .hero,
  .cta-strip,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .topbar {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 500px;
  }

  .feature-grid,
  .usage-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .cta-strip,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100vw - 20px, 1200px);
    padding-top: 12px;
  }

  .legal-shell {
    width: min(100vw - 20px, 960px);
  }

  .topnav {
    display: none;
  }

  .section,
  .cta-strip,
  .legal-hero,
  .legal-card {
    padding: 24px 20px;
  }

  .hero {
    padding-top: 30px;
  }

  .hero h1 {
    font-size: clamp(2rem, 8.4vw, 3rem);
    max-width: 13ch;
  }

  .hero-stage {
    min-height: 440px;
  }

  .stage-primary {
    inset: 52px 18px 108px 14px;
    padding: 22px;
  }

  .stage-note {
    right: 4px;
    width: min(250px, calc(100% - 20px));
  }

  .stage-rail {
    left: 8px;
  }

  .legal-meta,
  .legal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .topbar-actions,
  .hero-actions,
  .cta-actions,
  .footer-links {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .stage-primary h2 {
    font-size: 2rem;
  }

  .stage-stat-row {
    grid-template-columns: 1fr;
  }
}
