:root {
  --ink: #0b0d0c;
  --ink-2: #141816;
  --paper: #e9e4d8;
  --mute: #9a958a;
  --line: #2a302c;
  --accent: #6fd3b0;
  --accent-dim: #3a8f72;
  --warn: #e8c47a;
  --max: 68rem;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--paper);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(111, 211, 176, 0.12), transparent 55%),
    radial-gradient(900px 500px at -10% 30%, rgba(232, 196, 122, 0.06), transparent 50%),
    linear-gradient(180deg, #0f1210 0%, var(--ink) 40%, #080a09 100%);
  background-attachment: fixed;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #9aebcb;
}

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

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  gap: 1rem;
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--paper);
  text-decoration: none;
}

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

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  font-size: 0.92rem;
}

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

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

.hero {
  padding: 3.5rem 0 4.5rem;
  min-height: min(78vh, 42rem);
  display: grid;
  align-content: center;
  gap: 1.25rem;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -20% 40%;
  height: 70%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300' fill='none'%3E%3Cpath d='M40 220 C80 40 160 40 200 150 S320 260 360 80' stroke='%236fd3b0' stroke-width='2' opacity='0.35'/%3E%3Cpath d='M60 240 C100 80 180 60 220 160 S300 250 340 100' stroke='%23e8c47a' stroke-width='1.5' opacity='0.22'/%3E%3Ccircle cx='200' cy='150' r='48' stroke='%236fd3b0' stroke-width='1.2' stroke-dasharray='4 6' opacity='0.4'/%3E%3C/svg%3E")
    center / contain no-repeat;
  pointer-events: none;
  opacity: 0.9;
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
  max-width: 36rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 8vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0;
}

.hero-brand em {
  font-style: normal;
  color: var(--accent);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--paper);
}

.lead {
  margin: 0;
  color: var(--mute);
  font-size: 1.08rem;
  max-width: 32rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.2rem;
  border-radius: 0.4rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

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

.btn-primary:hover {
  background: #9aebcb;
  color: #062019;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--paper);
}

.btn-ghost:hover {
  border-color: var(--mute);
  color: var(--accent);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--warn);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.badge::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--warn);
  box-shadow: 0 0 0 3px rgba(232, 196, 122, 0.2);
}

section {
  padding: 3.25rem 0;
  border-top: 1px solid var(--line);
}

section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.65rem;
}

.section-lead {
  margin: 0 0 1.75rem;
  color: var(--mute);
  max-width: 36rem;
}

.grid-3 {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.card {
  padding: 1.25rem 1.2rem;
  background: color-mix(in srgb, var(--ink-2) 88%, var(--accent) 4%);
  border: 1px solid var(--line);
  border-radius: 0.55rem;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 0.45rem;
  letter-spacing: -0.02em;
}

.card p {
  margin: 0;
  color: var(--mute);
  font-size: 0.98rem;
}

.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem 0;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
  background: var(--accent);
  width: 2rem;
  height: 2rem;
  border-radius: 0.35rem;
  display: grid;
  place-items: center;
}

.step h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.step p {
  margin: 0;
  color: var(--mute);
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

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

.faq details p {
  margin: 0.65rem 0 0;
  color: var(--mute);
}

.links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1rem;
}

.site-footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--mute);
  font-size: 0.92rem;
}

.site-footer .brand {
  display: inline-block;
  margin-bottom: 0.75rem;
}

.page-hero {
  padding: 2.5rem 0 2rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  line-height: 1.15;
}

.prose {
  max-width: 42rem;
}

.prose p,
.prose ul {
  color: var(--mute);
}

.prose ul {
  padding-left: 1.2rem;
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding-top: 2rem;
  }

  .hero::after {
    inset: auto -20% 0 0;
    height: 40%;
    opacity: 0.45;
  }

  .nav {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
