@font-face {
  font-family: "Geist";
  src: url("fonts/Geist-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Geist";
  src: url("fonts/Geist-SemiBold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Geist";
  src: url("fonts/Geist-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Geist";
  src: url("fonts/Geist-ExtraBold.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  --bg-0: hsl(26 58% 93%);
  --bg-1: hsl(22 50% 89%);
  --ink: hsl(220 22% 14%);
  --muted: hsl(220 10% 42%);
  --line: hsl(22 26% 78%);
  --card: hsl(0 0% 100% / 0.85);
  --card-2: hsl(0 0% 100% / 0.7);
  --accent: hsl(164 55% 36%);
  --accent-2: hsl(192 55% 40%);
  --shadow-sm: 0 10px 24px hsl(210 20% 10% / 0.08);
  --shadow-md: 0 20px 40px hsl(210 20% 10% / 0.12);
  --r-sm: 14px;
  --r-md: 18px;
  --r-lg: 26px;
  --container: 1120px;
  --gutter: clamp(18px, 4vw, 30px);
  --space-1: clamp(10px, 1.4vw, 16px);
  --space-2: clamp(16px, 2.2vw, 24px);
  --space-3: clamp(24px, 3vw, 40px);
  --space-4: clamp(34px, 4.8vw, 72px);
  --h1: clamp(34px, 4.4vw, 56px);
  --h2: clamp(24px, 2.7vw, 34px);
  --h3: clamp(18px, 2.1vw, 22px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

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

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  min-height: 100dvh;
  overflow-x: hidden;
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1800px 1300px at 10% 10%, hsl(164 55% 78% / 0.2), transparent 60%),
    radial-gradient(1600px 1200px at 90% 20%, hsl(28 70% 84% / 0.3), transparent 55%),
    radial-gradient(1600px 1100px at 20% 90%, hsl(192 55% 80% / 0.2), transparent 70%),
    linear-gradient(180deg, var(--bg-0), var(--bg-1));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page {
  min-height: 100dvh;
}

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

picture {
  display: block;
}

figure {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: hsl(164 55% 36% / 0.18);
  color: hsl(220 22% 14%);
}

:focus-visible {
  outline: 3px solid hsl(164 55% 36% / 0.35);
  outline-offset: 3px;
  border-radius: 10px;
}

.container {
  position: relative;
  z-index: 1;
  width: min(var(--container), 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

.container--margin {
  margin-top: 14px;
}

.main {
  position: relative;
  z-index: 1;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: var(--h1);
  line-height: 1.05;
}

h2 {
  font-size: var(--h2);
  line-height: 1.15;
}

h3 {
  font-size: var(--h3);
  line-height: 1.2;
}

p {
  margin: 0;
  line-height: 1.75;
}

.muted {
  color: var(--muted);
}

.lead {
  font-size: clamp(16px, 1.45vw, 18px);
  line-height: 1.7;
  color: hsl(210 12% 26%);
  text-wrap: pretty;
}

.link {
  position: relative;
  display: inline-flex;
  gap: 8px;
  align-items: baseline;
  font-weight: 700;
  color: hsl(150 15% 24%);
}

.link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, hsl(150 15% 38%), hsl(25 25% 44%));
  opacity: 0.8;
  transform: scaleX(.15);
  transform-origin: left;
  transition: transform .45s var(--ease-out);
}

.link:hover::after {
  transform: scaleX(1);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: start;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  overflow: hidden;
  border: 1px solid hsl(210 15% 84% / 0.75);
  border-radius: 999px;
  background: linear-gradient(180deg, hsl(0 0% 100% / 0.84), hsl(0 0% 100% / 0.62));
  box-shadow: 0 12px 26px hsl(210 20% 10% / 0.08);
  color: inherit;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0;
  cursor: pointer;
  user-select: none;
  isolation: isolate;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s var(--ease-out), background .35s var(--ease-out);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(180deg, hsl(0 0% 100% / 0.28), transparent 55%);
  pointer-events: none;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: hsl(210 15% 78% / 0.9);
  box-shadow: 0 18px 44px hsl(210 20% 10% / 0.12);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  border-color: hsl(164 55% 36% / 0.8);
  background: linear-gradient(180deg, hsl(164 55% 42%), hsl(164 55% 36%));
  box-shadow: 0 4px 14px hsl(164 55% 36% / 0.3), inset 0 1px 0 hsl(0 0% 100% / 0.2);
  color: #fff;
}

.btn--primary:hover {
  border-color: hsl(164 55% 34%);
  background: linear-gradient(180deg, hsl(164 55% 44%), hsl(164 55% 38%));
  box-shadow: 0 6px 20px hsl(164 55% 36% / 0.4);
}

.btn--lg {
  padding: 14px 18px;
  font-size: 14px;
}

.section {
  padding-block: var(--space-2);
}

.section--soft {
  border-top: 1px solid hsl(210 15% 88% / 0.7);
  border-bottom: 1px solid hsl(210 15% 88% / 0.7);
  background:
    radial-gradient(800px 360px at 12% 0%, hsl(150 15% 74% / 0.08), transparent 60%),
    linear-gradient(180deg, hsl(0 0% 100% / 0.4), hsl(0 0% 100% / 0.18));
}

.section__head {
  display: grid;
  gap: 12px;
  margin-bottom: var(--space-2);
}

.section__head h2 {
  max-width: 30ch;
}
