:root {
  --bg: #eef6f3;
  --surface: #ffffff;
  --surface-alt: #f7fffc;
  --ink: #10211d;
  --muted: #4f6b63;
  --line: #b9d4cb;
  --teal: #0ea5a4;
  --teal-deep: #0b6e72;
  --coral: #ff6b4a;
  --sun: #ffcd4c;
  --radius-xl: 28px;
  --radius-md: 16px;
  --shadow-soft: 0 20px 48px rgba(11, 63, 55, 0.13);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--ink);
  min-height: 100vh;
  line-height: 1.6;
  background:
    radial-gradient(circle at 4% 8%, #d7efe8 0 18%, transparent 44%),
    radial-gradient(circle at 98% -2%, #d8f0fb 0 12%, transparent 40%),
    var(--bg);
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.04;
  background-image:
    linear-gradient(35deg, rgba(0, 0, 0, 0.8) 0.5px, transparent 0.5px),
    linear-gradient(-35deg, rgba(0, 0, 0, 0.8) 0.5px, transparent 0.5px);
  background-size: 5px 5px;
}

.site-header,
main,
.site-footer {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0 14px;
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(7px);
  background: rgba(238, 246, 243, 0.86);
}

.brand {
  text-decoration: none;
  color: var(--ink);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.main-nav {
  display: flex;
  gap: 24px;
}

.main-nav a,
.mobile-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
}

.main-nav a:hover,
.mobile-nav a:hover,
.text-link:hover {
  color: var(--teal-deep);
}

.menu-btn {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  padding: 7px 14px;
  font: inherit;
  font-weight: 600;
}

.mobile-nav {
  width: min(1120px, 92vw);
  margin: 0 auto;
  display: none;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 12px;
}

.mobile-nav.open {
  display: flex;
}

main {
  display: grid;
  gap: 62px;
  padding: 18px 0 72px;
}

.hero {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(30px, 5.5vw, 64px);
  background:
    linear-gradient(122deg, #ffffff 0%, #f5fffa 46%, #eef8ff 100%);
  box-shadow: var(--shadow-soft);
}

.hero::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  right: -120px;
  top: -120px;
  border-radius: 50%;
  background: conic-gradient(from 35deg, var(--coral), var(--sun), var(--teal), var(--coral));
  opacity: 0.15;
}

.eyebrow {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid #c5e2d8;
  background: #f4fffb;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-deep);
  font-weight: 600;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  font-family: "Bricolage Grotesque", sans-serif;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.15rem, 5.5vw, 4.15rem);
  margin-top: 16px;
  max-width: 16ch;
}

.hero-copy {
  margin: 15px 0 0;
  max-width: 64ch;
  color: #234038;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.btn {
  text-decoration: none;
  border-radius: 999px;
  padding: 11px 18px;
  border: 1px solid transparent;
  font-weight: 600;
}

.btn.primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--teal) 0, var(--teal-deep) 100%);
}

.btn.primary:hover {
  filter: brightness(1.04);
}

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

.section-head {
  margin-bottom: 18px;
}

.section-head h2 {
  font-size: clamp(1.55rem, 2.9vw, 2.5rem);
}

.section-head p {
  margin: 8px 0 0;
  color: var(--muted);
}

.feature-card {
  display: grid;
  gap: 0;
  grid-template-columns: 1.1fr 0.9fr;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.feature-text {
  background: var(--surface);
  padding: clamp(24px, 3vw, 34px);
}

.tag {
  display: inline-flex;
  border: 1px solid #b9dcd5;
  background: #ecfcf9;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
  color: var(--teal-deep);
  margin-bottom: 13px;
}

.feature-text h3 {
  font-size: clamp(1.45rem, 2.1vw, 2rem);
}

.feature-text p {
  color: #28423b;
}

.feature-art {
  min-height: 260px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(160deg, #d9f6f0 0, #cdeefa 52%, #ffe8d7 100%);
  position: relative;
}

.feature-art::before,
.feature-art::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.feature-art::before {
  width: 170px;
  height: 170px;
  background: #ff9f88;
  top: 20px;
  right: 18px;
  opacity: 0.18;
}

.feature-art::after {
  width: 110px;
  height: 110px;
  background: #8dd8d7;
  bottom: 18px;
  left: 18px;
  opacity: 0.25;
}

.cup {
  width: 138px;
  height: 92px;
  border: 5px solid #16554f;
  border-top: 0;
  border-radius: 0 0 42px 42px;
  background: linear-gradient(#2f7d76 0 40%, #eff9f6 40%);
  position: relative;
  box-shadow: 0 12px 28px rgba(9, 62, 56, 0.2);
}

.cup::after {
  content: "";
  position: absolute;
  width: 36px;
  height: 40px;
  border: 5px solid #16554f;
  border-left: 0;
  border-radius: 0 24px 24px 0;
  right: -38px;
  top: 22px;
}

.topic-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.topic-btn {
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  padding: 8px 14px;
}

.topic-btn.active,
.topic-btn:hover {
  background: #edf8f7;
  border-color: #9ecfcd;
  color: var(--teal-deep);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.story-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 6px solid #89d5d4;
  border-radius: var(--radius-md);
  padding: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.story-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(24, 65, 58, 0.14);
}

.story-card.hidden {
  display: none;
}

.meta {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-deep);
  font-weight: 600;
}

.story-card h3 {
  margin-top: 6px;
  font-size: 1.2rem;
}

.excerpt {
  color: #2f4b43;
  margin: 8px 0 10px;
}

.text-link {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}

.newsletter {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
  align-items: center;
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 40px);
  background:
    linear-gradient(136deg, #0f615f 0, #1a807e 50%, #27908d 100%);
  color: #f4fffb;
  box-shadow: var(--shadow-soft);
}

.newsletter h2 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.newsletter p {
  margin: 10px 0 0;
  color: #d7f3ee;
}

.newsletter-form {
  display: grid;
  gap: 10px;
}

.newsletter-form input,
.newsletter-form button {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  font: inherit;
}

.newsletter-form input {
  color: #16332d;
  background: #edfffa;
}

.newsletter-form button {
  background: var(--sun);
  color: #3b2500;
  font-weight: 700;
}

.newsletter-form button:hover {
  filter: brightness(1.03);
}

.about {
  border-radius: var(--radius-xl);
  border: 2px dashed #b9d4cb;
  background: var(--surface-alt);
  padding: clamp(22px, 3.7vw, 34px);
}

.about h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.15rem);
}

.about p {
  margin: 10px 0 0;
  max-width: 68ch;
  color: #29433b;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding: 18px 0 30px;
  color: var(--muted);
  font-size: 0.95rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(16px) scale(0.985);
  animation: reveal 0.75s ease forwards;
}

.reveal:nth-of-type(2) {
  animation-delay: 0.08s;
}

.reveal:nth-of-type(3) {
  animation-delay: 0.16s;
}

.reveal:nth-of-type(4) {
  animation-delay: 0.24s;
}

.reveal:nth-of-type(5) {
  animation-delay: 0.32s;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 940px) {
  .feature-card,
  .newsletter,
  .story-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-card > *:first-child,
  .newsletter > *:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .main-nav {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }

  .feature-card,
  .newsletter,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}
