:root {
  --green: #018842;
  --green-dark: #0b5e2e;
  --green-light: #02b453;
  --green-deep: #017536;
  --mint: #e4f3e9;
  --mint-soft: #f2faf4;
  --bg: #f7f9f6;
  --surface: #ffffff;
  --ink: #202824;
  --ink-soft: #737b76;
  --line: #e2e8e4;
  --line-strong: #cbd5cf;
  --amber: #e9a23b;
  --red: #d9534f;
  --teal: #2e7d5b;
  --blue: #3a7ca5;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(32, 40, 36, 0.06), 0 1px 3px rgba(32, 40, 36, 0.04);
  --shadow-md: 0 4px 12px rgba(32, 40, 36, 0.07), 0 2px 4px rgba(32, 40, 36, 0.04);
  --shadow-lg: 0 18px 40px rgba(11, 94, 46, 0.13), 0 4px 12px rgba(32, 40, 36, 0.06);
  --maxw: 1120px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
h4 {
  line-height: 1.22;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--ink);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.35rem);
}

h2 {
  font-size: clamp(1.55rem, 3.2vw, 2.2rem);
}

h3 {
  font-size: 1.18rem;
}

p {
  margin: 0 0 1rem;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

.section {
  padding: 72px 0;
}

.section--tint {
  background: var(--mint-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}

.section-head {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.06rem;
  margin: 0;
}

.center {
  text-align: center;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.98rem;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--green-light), var(--green-deep));
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn--primary:hover {
  box-shadow: var(--shadow-lg);
}

.btn--ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.btn--light {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
}

.btn--light:hover {
  background: rgba(255, 255, 255, 0.22);
}

.btn--block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ---------- site header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 249, 246, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.16rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.brand span {
  color: var(--green);
}

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

.nav a {
  color: var(--ink-soft);
  font-size: 0.93rem;
  font-weight: 500;
}

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

.nav .btn {
  padding: 9px 18px;
  font-size: 0.9rem;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 7px 10px;
  cursor: pointer;
  color: var(--ink);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, var(--green-light) 0%, var(--green) 45%, var(--green-deep) 100%);
  color: #fff;
  padding: 84px 0 96px;
}

.hero::after {
  content: "";
  position: absolute;
  right: -160px;
  top: -160px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 65%);
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  left: -120px;
  bottom: -220px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 68%);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  color: #fff;
  margin-bottom: 18px;
}

.hero .lede {
  font-size: 1.14rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 54ch;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-badges li::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
}

.hero-art {
  display: flex;
  justify-content: center;
}

.hero-art img {
  width: min(400px, 100%);
  filter: drop-shadow(0 26px 48px rgba(0, 0, 0, 0.28));
}

/* ---------- pill / note ---------- */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.note {
  border-left: 4px solid var(--green);
  background: var(--mint-soft);
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  margin: 0 0 18px;
}

.note strong {
  color: var(--green-dark);
}

.note--amber {
  border-left-color: var(--amber);
  background: #fdf7ec;
}

.note--amber strong {
  color: #96651b;
}

.note--red {
  border-left-color: var(--red);
  background: #fdf0ef;
}

.note--red strong {
  color: #a3322f;
}

.note p:last-child {
  margin-bottom: 0;
}

/* ---------- feature cards ---------- */

.grid {
  display: grid;
  gap: 22px;
}

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

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

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

.card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0;
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--mint);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

/* ---------- steps ---------- */

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px 26px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-light), var(--green-deep));
  color: #fff;
  font-weight: 800;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 1.06rem;
  margin-bottom: 6px;
}

.step p {
  color: var(--ink-soft);
  font-size: 0.94rem;
  margin: 0;
}

/* ---------- showcase ---------- */

.showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.showcase figure {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.showcase img {
  border-radius: 14px;
  margin-bottom: 16px;
  background: var(--mint-soft);
}

.showcase figcaption h3 {
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.showcase figcaption p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin: 0;
}

/* ---------- privacy highlight block ---------- */

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

.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.checklist li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 12px;
  color: var(--ink);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--mint)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23018842' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center / 13px no-repeat;
}

/* ---------- table ---------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
  min-width: 560px;
}

th,
td {
  text-align: left;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

thead th {
  background: var(--mint-soft);
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

tbody tr:last-child td {
  border-bottom: none;
}

td code {
  font-size: 0.86em;
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 800px;
  margin: 0 auto;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px 20px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 15px 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--green);
  line-height: 1;
  flex: 0 0 auto;
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq details p {
  color: var(--ink-soft);
  margin: 0 0 16px;
}

/* ---------- waitlist ---------- */

.waitlist {
  background: linear-gradient(150deg, var(--green-light) 0%, var(--green) 48%, var(--green-deep) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 46px 44px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.waitlist h2 {
  color: #fff;
}

.waitlist p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 58ch;
  margin: 0 auto 26px;
}

.waitlist-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}

.waitlist-form input {
  flex: 1;
  min-width: 0;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.96rem;
}

.waitlist-form input:focus {
  outline: 3px solid rgba(255, 255, 255, 0.5);
}

.waitlist-note {
  margin-top: 16px;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.78);
}

/* ---------- footer ---------- */

.site-footer {
  background: #10241a;
  color: rgba(255, 255, 255, 0.72);
  padding: 54px 0 30px;
  margin-top: 0;
}

.site-footer h4 {
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 9px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.site-footer a:hover {
  color: #fff;
}

.footer-about p {
  font-size: 0.92rem;
  max-width: 40ch;
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.58);
}

/* ---------- legal pages ---------- */

.page-hero {
  background: linear-gradient(150deg, var(--green-light) 0%, var(--green) 50%, var(--green-deep) 100%);
  color: #fff;
  padding: 58px 0 62px;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 70ch;
  margin: 0;
}

.page-hero .meta {
  margin-top: 20px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb {
  font-size: 0.88rem;
  margin-bottom: 18px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb span {
  opacity: 0.65;
  margin: 0 8px;
}

.doc-layout {
  display: grid;
  grid-template-columns: 268px 1fr;
  gap: 44px;
  align-items: start;
}

.doc-toc {
  position: sticky;
  top: 92px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}

.doc-toc h2 {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.doc-toc ol {
  list-style: none;
  counter-reset: toc;
  padding: 0;
  margin: 0;
}

.doc-toc li {
  counter-increment: toc;
  margin-bottom: 2px;
}

.doc-toc a {
  display: flex;
  gap: 9px;
  padding: 6px 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
  border-left: 2px solid transparent;
  padding-left: 11px;
}

.doc-toc a::before {
  content: counter(toc) ".";
  color: var(--line-strong);
  font-weight: 700;
  font-size: 0.8rem;
}

.doc-toc a:hover {
  color: var(--green);
  text-decoration: none;
}

.doc-body {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 44px;
  box-shadow: var(--shadow-sm);
  font-size: 0.98rem;
}

.doc-body > section {
  padding-top: 8px;
  margin-bottom: 34px;
  scroll-margin-top: 92px;
}

.doc-body > section:last-child {
  margin-bottom: 0;
}

.doc-body h2 {
  font-size: 1.32rem;
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.doc-body h3 {
  font-size: 1.04rem;
  margin: 22px 0 8px;
  color: var(--green-dark);
}

.doc-body ul,
.doc-body ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

.doc-body li {
  margin-bottom: 7px;
}

.doc-body li:last-child {
  margin-bottom: 0;
}

.doc-body code {
  background: var(--mint-soft);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 1px 6px;
  font-size: 0.87em;
  word-break: break-word;
}

.doc-body .muted {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.doc-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin-top: 26px;
}

.doc-footer-nav a {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  flex: 1 1 240px;
}

.doc-footer-nav a:hover {
  text-decoration: none;
  border-color: var(--green);
  color: var(--green);
}

.doc-footer-nav span {
  display: block;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-art {
    order: -1;
  }

  .hero-art img {
    width: min(260px, 62%);
  }

  .grid--3,
  .steps,
  .showcase {
    grid-template-columns: repeat(2, 1fr);
  }

  .split {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .doc-layout {
    grid-template-columns: 1fr;
  }

  .doc-toc {
    position: static;
  }

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

@media (max-width: 720px) {
  .section {
    padding: 56px 0;
  }

  .nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 8px 22px 18px;
    box-shadow: var(--shadow-md);
  }

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

  .nav a {
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav .btn {
    margin-top: 12px;
    width: 100%;
  }

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

  .grid--3,
  .grid--2,
  .steps,
  .showcase {
    grid-template-columns: 1fr;
  }

  .waitlist {
    padding: 34px 22px;
  }

  .waitlist-form {
    flex-direction: column;
  }

  .doc-body {
    padding: 26px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .hero {
    padding: 56px 0 68px;
  }
}

@media print {
  .site-header,
  .site-footer,
  .doc-toc,
  .doc-footer-nav,
  .page-hero .breadcrumb {
    display: none !important;
  }

  .doc-layout {
    display: block;
  }

  .doc-body {
    border: none;
    box-shadow: none;
    padding: 0;
  }

  body {
    background: #fff;
  }
}
