:root {
  --ink: #0c1210;
  --ink-soft: #1a2420;
  --fog: #e8efe9;
  --mist: #b8c9bc;
  --leaf: #3d6b4f;
  --leaf-bright: #5a9a6e;
  --amber: #d4a04a;
  --amber-deep: #b8842e;
  --paper: #f4f7f4;
  --line: rgba(12, 18, 16, 0.12);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Sora", system-ui, sans-serif;

  --space: clamp(1.25rem, 4vw, 3rem);
  --max: 68rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: white;
  padding: 0.5rem 1rem;
}

/* —— Atmosphere —— */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(90, 154, 110, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(212, 160, 74, 0.18), transparent 50%),
    radial-gradient(ellipse 50% 60% at 80% 100%, rgba(61, 107, 79, 0.12), transparent 55%),
    linear-gradient(165deg, #eef3ee 0%, #f4f7f4 45%, #e6ede8 100%);
  animation: drift 18s ease-in-out infinite alternate;
}

@keyframes drift {
  from {
    filter: hue-rotate(0deg);
  }
  to {
    filter: hue-rotate(8deg);
  }
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* —— Shell —— */
.shell {
  width: min(100% - 2 * var(--space), var(--max));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0 0;
  animation: rise 0.8s ease-out both;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.logo span {
  color: var(--leaf);
}

.nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.nav a {
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.nav a:hover {
  opacity: 1;
}

/* —— Hero —— */
.hero {
  min-height: min(88vh, 52rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(3rem, 12vh, 7rem) 0 clamp(2.5rem, 8vh, 5rem);
  position: relative;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 14vw, 8.5rem);
  font-weight: 550;
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin: 0 0 1.25rem;
  animation: rise 0.9s 0.1s ease-out both;
}

.hero-line {
  max-width: 28rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--ink-soft);
  opacity: 0.85;
  margin: 0 0 2rem;
  animation: rise 0.9s 0.22s ease-out both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  animation: rise 0.9s 0.34s ease-out both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0.35rem;
  border: 1.5px solid transparent;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
  cursor: pointer;
}

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

.btn-primary {
  background: var(--ink);
  color: var(--fog);
}

.btn-primary:hover {
  background: var(--leaf);
}

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

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

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

/* —— Sections —— */
.section {
  padding: clamp(3.5rem, 10vh, 6rem) 0;
  border-top: 1px solid var(--line);
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 550;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  line-height: 1.15;
}

.section .lede {
  max-width: 36rem;
  margin: 0 0 2.5rem;
  color: var(--ink-soft);
  opacity: 0.85;
}

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

@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.step {
  counter-increment: step;
}

.step::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--leaf);
  margin-bottom: 0.5rem;
  letter-spacing: 0.06em;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 550;
  margin: 0 0 0.4rem;
}

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

/* —— Legal / consent pages —— */
.page-hero {
  padding: clamp(3rem, 10vh, 5rem) 0 2rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 550;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  line-height: 1.1;
}

.page-hero p {
  max-width: 36rem;
  margin: 0;
  color: var(--ink-soft);
  opacity: 0.85;
}

.prose {
  max-width: 40rem;
  padding-bottom: 4rem;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 550;
  margin: 2.25rem 0 0.75rem;
}

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

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

.prose strong {
  color: var(--ink);
  font-weight: 600;
}

.callout {
  margin: 2rem 0;
  padding: 1.25rem 1.35rem;
  background: rgba(61, 107, 79, 0.08);
  border-left: 3px solid var(--leaf);
  border-radius: 0 0.35rem 0.35rem 0;
}

.callout p {
  margin: 0;
  color: var(--ink);
}

/* —— Footer —— */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 3rem;
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: baseline;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-links a {
  text-decoration: none;
  opacity: 0.65;
}

.footer-links a:hover {
  opacity: 1;
}

.muted {
  opacity: 0.55;
}
