:root {
  --ink: #1a2421;
  --ink-soft: #3d4a45;
  --muted: #5c6b64;
  --paper: #f3f6f4;
  --paper-deep: #e4ebe7;
  --accent: #0f6b5c;
  --accent-hover: #0a5549;
  --line: rgba(26, 36, 33, 0.12);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Sora", "Segoe UI", sans-serif;
}

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

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 10;
  padding: 0.65rem 1rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  border-radius: 0.25rem;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
}

.hero__atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 90% 70% at 85% 15%, rgba(15, 107, 92, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 60% at 10% 90%, rgba(61, 90, 78, 0.14), transparent 50%),
    linear-gradient(165deg, #eef3f0 0%, #dfe8e3 42%, #c9d8d1 100%);
  animation: atmosphere-drift 18s ease-in-out infinite alternate;
}

.hero__atmosphere::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26, 36, 33, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 36, 33, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), transparent 75%);
  opacity: 0.7;
}

.hero__atmosphere::after {
  content: "";
  position: absolute;
  right: -8%;
  top: 8%;
  width: min(52vw, 34rem);
  height: min(52vw, 34rem);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.55), transparent 45%),
    radial-gradient(circle at 60% 60%, rgba(15, 107, 92, 0.22), transparent 70%);
  border: 1px solid rgba(15, 107, 92, 0.12);
  animation: orb-float 14s ease-in-out infinite alternate;
}

.hero__content {
  width: min(40rem, calc(100% - 2.5rem));
  margin: 0 auto 0 0;
  padding: clamp(4.5rem, 12vh, 7rem) clamp(1.25rem, 5vw, 4.5rem)
    clamp(3rem, 8vh, 5rem);
  animation: rise-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand {
  margin: 0 0 1.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 6vw, 3.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.status {
  margin: 0 0 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.headline {
  margin: 0 0 1rem;
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.6vw, 2.35rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.lede {
  margin: 0 0 2rem;
  max-width: 34ch;
  color: var(--ink-soft);
  font-size: 1.0625rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 1.35rem;
  background: var(--accent);
  color: #f7faf8;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: 0.2rem;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.cta:hover,
.cta:focus-visible {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.cta:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.cta__arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.cta:hover .cta__arrow,
.cta:focus-visible .cta__arrow {
  transform: translateX(3px);
}

.footnote {
  margin: 1.75rem 0 0;
  max-width: 36ch;
  font-size: 0.875rem;
  color: var(--muted);
}

.footnote a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

.footnote a:hover,
.footnote a:focus-visible {
  color: var(--accent-hover);
}

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

@keyframes atmosphere-drift {
  from {
    filter: saturate(1);
    transform: scale(1);
  }
  to {
    filter: saturate(1.08);
    transform: scale(1.03);
  }
}

@keyframes orb-float {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(-2%, 4%);
  }
}

@media (min-width: 768px) {
  .hero {
    align-items: center;
  }

  .hero__content {
    margin-left: clamp(1rem, 8vw, 7rem);
    padding-block: clamp(4rem, 10vh, 6rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__atmosphere,
  .hero__atmosphere::after,
  .hero__content,
  .cta,
  .cta__arrow {
    animation: none;
    transition: none;
  }

  .cta:hover,
  .cta:focus-visible {
    transform: none;
  }
}
