:root {
  --ink: #14201c;
  --ink-soft: #2a3a34;
  --fog: #e8efe9;
  --mist: #d3dfd6;
  --paper: #f3f7f4;
  --leaf: #1f6b4a;
  --leaf-deep: #0f3d2c;
  --clay: #c46b3a;
  --line: rgba(20, 32, 28, 0.12);
  --shadow: 0 24px 60px rgba(15, 40, 30, 0.14);
  --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", serif;
  --body: "Source Sans 3", "Source Sans Pro", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.55;
  background:
    radial-gradient(1200px 700px at 12% -10%, rgba(31, 107, 74, 0.18), transparent 55%),
    radial-gradient(900px 600px at 100% 8%, rgba(196, 107, 58, 0.12), transparent 50%),
    linear-gradient(180deg, #eef4f0 0%, var(--paper) 38%, #e7eee8 100%);
  min-height: 100vh;
}

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

a {
  color: var(--leaf-deep);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--leaf);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 20;
  background: #fff;
  padding: 0.5rem 0.75rem;
}

.shell {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

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

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

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

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

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

.hero {
  position: relative;
  min-height: min(78vh, 640px);
  margin: 0 0 3.5rem;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
}

.hero-plane {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, rgba(15, 61, 44, 0.92) 0%, rgba(20, 32, 28, 0.72) 48%, rgba(20, 32, 28, 0.55) 100%),
    radial-gradient(800px 480px at 78% 42%, rgba(196, 107, 58, 0.28), transparent 60%),
    linear-gradient(160deg, #0f3d2c, #1a2e28 55%, #24352f);
}

.hero-plane::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, transparent, #000 35%, #000 75%, transparent);
  opacity: 0.35;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.5rem 2rem;
  align-items: center;
  padding-block: clamp(3.5rem, 10vh, 5.5rem);
  width: min(1120px, calc(100% - 2.5rem));
}

.hero-art {
  width: 100%;
  max-width: 520px;
  height: auto;
  justify-self: end;
  opacity: 0.98;
  animation: drift 12s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero-copy {
  color: #f4f8f5;
  max-width: 34rem;
  padding: 0;
  margin: 0;
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 650;
  animation: rise 0.9s ease both;
}

.hero .lede {
  margin: 0 0 1.6rem;
  font-size: 1.12rem;
  line-height: 1.5;
  color: rgba(244, 248, 245, 0.88);
  max-width: 30rem;
  animation: rise 0.9s ease 0.12s both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.9s ease 0.22s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.72rem 1.15rem;
  border-radius: 0.35rem;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

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

.btn-primary {
  background: #f4f8f5;
  color: var(--leaf-deep);
}

.btn-primary:hover {
  background: #fff;
  color: var(--leaf-deep);
}

.btn-ghost {
  border-color: rgba(244, 248, 245, 0.45);
  color: #f4f8f5;
  background: transparent;
}

.btn-ghost:hover {
  border-color: #f4f8f5;
  color: #fff;
}

.section {
  padding: 2.75rem 0;
}

.section h2 {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.4vw, 2.25rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section .support {
  margin: 0 0 1.4rem;
  color: var(--ink-soft);
  max-width: 40rem;
}

.split {
  display: grid;
  gap: 1.5rem 2.5rem;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}

.feature-list li {
  padding: 0;
  border: 0;
  background: transparent;
}

.feature-list strong {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
}

.feature-list p {
  margin: 0;
  color: var(--ink-soft);
}

.panel {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

.mono {
  font-family: var(--mono);
  font-size: 0.92em;
}

.legal-hero {
  padding: 2.5rem 0 1rem;
}

.legal-hero h1 {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: -0.03em;
}

.meta {
  color: var(--ink-soft);
  margin: 0 0 1.5rem;
}

.prose {
  max-width: 44rem;
  padding-bottom: 3rem;
}

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

.prose p,
.prose li {
  color: var(--ink-soft);
}

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

.site-foot {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2.25rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.site-foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  margin-bottom: 0.75rem;
}

.site-foot a {
  text-decoration: none;
}

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

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) rotate(-1deg);
  }
  to {
    transform: translate3d(-12px, 10px, 0) rotate(1deg);
  }
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-block: 3rem 2.5rem;
  }

  .hero-art {
    order: -1;
    max-width: 320px;
    justify-self: start;
    opacity: 0.85;
  }

  .hero-copy {
    max-width: none;
  }

  .hero {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
