:root {
  --paper: #f8fbff;
  --ink: #171717;
  --mint: #b8f4d9;
  --sky: #87d8ff;
  --sun: #ffe27f;
  --peach: #ffc2ab;
  --rose: #ff9ac7;
  --white: #ffffff;
  --line: #171717;
  --shadow: 0 12px 0 rgba(23, 23, 23, 0.1);
  --soft-shadow: 0 22px 36px rgba(23, 23, 23, 0.1);
  --font-display: "Fredoka", "Trebuchet MS", Arial, sans-serif;
  --font-body: "Nunito", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
}

.site-header-inner,
.hero-inner {
  width: min(1240px, calc(100% - 72px));
  margin: 0 auto;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 16px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow);
}

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

button,
a {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 251, 255, 0.86);
  border-bottom: 2px solid var(--line);
  backdrop-filter: blur(12px);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.15rem;
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  border: 2px solid var(--line);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
}

.pill-button {
  border: 2px solid var(--line);
  border-radius: 8px;
  padding: 14px 20px;
  font: inherit;
  font-family: var(--font-display);
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.pill-button:hover,
.pill-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.pill-button.primary {
  background: var(--sun);
  color: var(--ink);
}

.pill-button.accent {
  background: var(--rose);
  color: var(--white);
}

.pill-button.ghost {
  background: rgba(255, 255, 255, 0.26);
  color: var(--white);
}

.pill-button.light {
  background: var(--white);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 92vh;
  padding: 0 0 88px;
  background:
    linear-gradient(to bottom, rgba(17, 46, 119, 0.18), rgba(19, 38, 88, 0.06)),
    url("assets/frogchy-sky.jpg") center/cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(255, 255, 255, 0.08), transparent 45%),
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.24), transparent 20%),
    radial-gradient(circle at 82% 24%, rgba(255, 214, 126, 0.2), transparent 16%);
}

.hero-clouds {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cloud {
  position: absolute;
  display: block;
  background: rgba(255, 255, 255, 0.36);
  filter: blur(10px);
  border-radius: 999px;
  animation: floaty 7s ease-in-out infinite;
}

.cloud-one {
  top: 18%;
  left: 7%;
  width: 180px;
  height: 56px;
}

.cloud-two {
  right: 10%;
  top: 32%;
  width: 220px;
  height: 64px;
  animation-delay: 1.5s;
}

.cloud-three {
  left: 18%;
  bottom: 18%;
  width: 140px;
  height: 46px;
  animation-delay: 0.6s;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: end;
  min-height: 92vh;
  padding-top: clamp(126px, 16vw, 196px);
}

.eyebrow {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.section-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.2rem, 9.4vw, 6.4rem);
  line-height: 0.96;
  text-wrap: balance;
}

.hero h1 {
  max-width: 860px;
  color: var(--white);
  text-shadow: 2px 2px 0 rgba(17, 17, 17, 0.24);
}

.hero-copy {
  max-width: 620px;
  margin: 18px 0 0;
  font-size: clamp(1.02rem, 2vw, 1.28rem);
  line-height: 1.6;
  color: var(--white);
}

.hero-actions,
.join-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-notes span {
  padding: 10px 14px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  font-family: var(--font-display);
  color: var(--white);
  font-weight: 800;
  background: rgba(17, 17, 17, 0.16);
}

.section-shell {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 80px 0;
}

.section-shell.compact {
  padding: 42px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading.narrow {
  max-width: 620px;
}

.section-heading h2,
.section-copy h2 {
  font-size: clamp(2.4rem, 7vw, 4.6rem);
}

.section-heading.on-dark,
.section-heading.on-dark h2,
.join-copy {
  color: var(--white);
}

.band,
.contract-band {
  border-top: 2px solid var(--line);
}

.contract-band {
  background: var(--white);
}

.mint-band {
  background: var(--mint);
}

.sky-band {
  background: var(--sky);
}

.peach-band {
  background: var(--peach);
}

.sun-band {
  background: var(--sun);
}

.rose-band {
  background: var(--rose);
}

.ink-band {
  background: var(--ink);
}

.contract-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.contract-row code {
  flex: 1 1 460px;
  padding: 18px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: var(--soft-shadow);
  overflow-wrap: anywhere;
}

.fine-print {
  margin: 0;
  font-size: 0.95rem;
}

.contract-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  text-align: center;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 28px;
  align-items: center;
}

.two-column.reverse {
  grid-template-columns: minmax(320px, 0.96fr) minmax(0, 1.04fr);
}

.section-copy p,
.join-copy,
.step p,
.stat-tile p,
.feature-card p {
  font-size: 1.06rem;
  line-height: 1.68;
}

.feature-image img,
.gallery-card,
.feature-card,
.stat-tile,
.step {
  border: 2px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow), var(--soft-shadow);
}

.feature-image img {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  object-fit: cover;
}

.feature-grid,
.snapshot-grid,
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.snapshot-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.feature-card,
.stat-tile,
.step {
  padding: 26px;
  background: rgba(255, 255, 255, 0.72);
}

.feature-card h3,
.stat-tile h3,
.step h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1.04;
}

.stat-label,
.step span {
  display: inline-block;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 900;
  text-transform: uppercase;
}

.steps-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 18px;
}

.gallery-card {
  margin: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.58);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.gallery-card.wide img {
  min-height: 520px;
}

.join-shell {
  text-align: center;
}

@media (max-width: 980px) {
  .site-header-inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  .two-column,
  .two-column.reverse,
  .feature-grid,
  .snapshot-grid,
  .steps-grid,
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    min-height: 80vh;
  }

  .hero-inner {
    min-height: 80vh;
  }
}

@media (max-width: 720px) {
  .site-header-inner,
  .hero-inner {
    width: min(100% - 28px, 1240px);
  }

  .site-nav {
    gap: 12px;
  }

  .site-nav a {
    font-size: 0.95rem;
  }

  .section-shell {
    width: min(100% - 28px, 1100px);
    padding: 58px 0;
  }

  .two-column,
  .two-column.reverse,
  .feature-grid,
  .snapshot-grid,
  .steps-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-bottom: 64px;
  }

  .hero-inner {
    min-height: auto;
    padding-top: 118px;
  }

  .contract-row code {
    flex-basis: 100%;
  }
}
