/* Page foundation: reset, atmosphere background, typography. */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 12% -10%, rgba(61, 195, 114, 0.14), transparent 55%),
    radial-gradient(900px 500px at 95% 8%, rgba(36, 38, 42, 0.08), transparent 50%),
    linear-gradient(180deg, #f7f8fa 0%, #eef0f3 48%, #f7f8fa 100%);
  background-attachment: fixed;
}

/* Subtle grain overlay for depth (not a flat fill). */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.container {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

a {
  color: var(--green-deep);
  text-underline-offset: 0.15em;
}

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

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

section {
  padding-block: 4.5rem;
}

section + section {
  border-top: 1px solid rgba(36, 38, 42, 0.06);
}

.eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-deep);
}

.hero-brand-name {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: var(--charcoal);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--charcoal);
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  max-width: 18ch;
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
  max-width: 22ch;
}

h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

p {
  margin: 0 0 1rem;
}

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

.lead {
  max-width: 38rem;
  font-size: 1.12rem;
  color: var(--muted);
}

.section-intro,
.section-note,
.fine-print {
  color: var(--muted);
}

.fine-print {
  margin-top: 1rem;
  font-size: 0.875rem;
}
