:root {
  --ink: #0e1412;
  --ink-soft: #1a2420;
  --bone: #f2efe6;
  --bone-dim: #d9d4c7;
  --mint: #8fd9a8;
  --mint-deep: #3f8f5c;
  --fog: rgba(242, 239, 230, 0.08);
  --font-display: "Syne", sans-serif;
  --font-body: "Figtree", sans-serif;
  --max: 68rem;
}

*,
*::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(--bone);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(143, 217, 168, 0.18), transparent 55%),
    radial-gradient(900px 500px at -10% 30%, rgba(143, 217, 168, 0.08), transparent 50%),
    linear-gradient(165deg, #0b100e 0%, var(--ink) 45%, #121a17 100%);
  background-attachment: fixed;
}

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

a:hover {
  color: #b7efc8;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(14, 20, 18, 0.72);
  border-bottom: 1px solid var(--fog);
}

.site-header__inner,
.site-footer__inner,
.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

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

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

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

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
  font-size: 0.95rem;
}

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

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--bone);
}

.hero {
  position: relative;
  min-height: min(92vh, 52rem);
  display: grid;
  align-items: end;
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 8% -5% auto auto;
  width: min(48vw, 34rem);
  height: min(48vw, 34rem);
  border-radius: 40% 60% 55% 45%;
  background:
    linear-gradient(140deg, rgba(143, 217, 168, 0.35), transparent 60%),
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 10px,
      rgba(242, 239, 230, 0.035) 10px,
      rgba(242, 239, 230, 0.035) 11px
    );
  filter: blur(0.2px);
  animation: drift 18s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) rotate(0deg); }
  to { transform: translate3d(-2%, 4%, 0) rotate(4deg); }
}

.hero__content {
  position: relative;
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
  max-width: 38rem;
  animation: rise 0.9s ease-out both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-weight: 750;
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero h1 em {
  font-style: normal;
  color: var(--mint);
}

.hero__byline {
  margin: 0 0 1.1rem;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--bone-dim);
}

.hero__byline a {
  color: var(--mint);
  text-decoration: none;
}

.hero__byline a:hover {
  color: #b7efc8;
}

.hero [data-text="tagline"] {
  margin: 0 0 1.75rem;
  color: var(--bone-dim);
  font-size: 1.15rem;
  max-width: 32rem;
}

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

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

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

.button--primary {
  background: var(--mint);
  color: var(--ink);
}

.button--primary:hover {
  background: #b7efc8;
  color: var(--ink);
}

.button--ghost {
  border-color: rgba(242, 239, 230, 0.28);
  color: var(--bone);
  background: transparent;
}

.button--ghost:hover {
  color: var(--bone);
  border-color: var(--bone);
}

.section {
  padding: 4rem 0;
  border-top: 1px solid var(--fog);
}

.section h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
}

.section p.lead {
  margin: 0 0 1.5rem;
  color: var(--bone-dim);
  max-width: 38rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 1rem 1rem 1rem 3.4rem;
  border-left: 2px solid rgba(143, 217, 168, 0.35);
  background: linear-gradient(90deg, rgba(143, 217, 168, 0.06), transparent 70%);
  animation: rise 0.8s ease-out both;
}

.steps li:nth-child(2) { animation-delay: 0.08s; }
.steps li:nth-child(3) { animation-delay: 0.16s; }
.steps li:nth-child(4) { animation-delay: 0.24s; }

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0.9rem;
  top: 1rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--mint);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.85rem;
  display: grid;
  place-items: center;
}

.steps strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 0.2rem;
}

.prose {
  max-width: 42rem;
}

.prose h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 2rem 0 0.6rem;
}

.prose p,
.prose li {
  color: var(--bone-dim);
}

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

.page {
  padding: 3rem 0 4.5rem;
}

.site-footer {
  border-top: 1px solid var(--fog);
  padding: 1.75rem 0 2.25rem;
  color: var(--bone-dim);
  font-size: 0.92rem;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
}

.site-footer a {
  color: var(--bone-dim);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--mint);
}

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

  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
