:root {
  --bg: #eff8f6;
  --surface: rgba(250, 255, 253, 0.82);
  --surface-strong: #f8fffc;
  --text: #0f3552;
  --muted: #49647a;
  --accent: #1d8a98;
  --accent-strong: #166d89;
  --accent-soft: rgba(29, 138, 152, 0.16);
  --highlight: #4ec863;
  --deep: #18598d;
  --border: rgba(31, 41, 51, 0.12);
  --shadow: 0 24px 80px rgba(17, 76, 118, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(24, 89, 141, 0.22), transparent 24rem),
    radial-gradient(circle at top right, rgba(78, 200, 99, 0.2), transparent 28rem),
    radial-gradient(circle at 70% 20%, rgba(29, 138, 152, 0.14), transparent 22rem),
    linear-gradient(180deg, #f7fffd 0%, var(--bg) 52%, #dff3ef 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.42) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.42) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 85%);
}

.page-shell,
.site-footer {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.page-shell {
  padding: 3rem 0 2rem;
}

.hero {
  width: 100%;
  margin-bottom: 1.5rem;
}

.hero-copy,
.section-card,
.cta-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-copy,
.section-card,
.cta-card {
  padding: 2rem;
}

.hero-copy::after,
.section-card::after,
.cta-card::after {
  content: "";
  position: absolute;
  inset: auto -4rem -4rem auto;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(78, 200, 99, 0.14), transparent 70%);
}

.eyebrow,
.section-kicker,
.panel-kicker {
  margin: 0 0 0.75rem;
  color: var(--accent-strong);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.92;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.08;
}

.hero-summary,
.section-summary,
.feature-list,
.pillar p,
.ecosystem-description,
.site-footer,
.prose {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-summary {
  margin: 1.25rem 0 0;
  font-size: 1.14rem;
}

.hero-copy-centered {
  width: 100%;
  text-align: center;
  padding: 2.35rem 2rem 2rem;
}

.hero-brand {
  width: min(100%, 960px);
  margin: 0 auto 1.1rem;
  padding: clamp(0.75rem, 1.8vw, 1.25rem);
  border-radius: calc(var(--radius-lg) - 8px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 251, 249, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 18px 40px rgba(17, 76, 118, 0.08);
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(44vw, 420px);
  margin: 0 auto;
  object-fit: contain;
}

.waitlist-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: center;
  max-width: 38rem;
  margin: 1.75rem auto 0;
}

.waitlist-form input[type="email"] {
  min-height: 3.25rem;
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(24, 89, 141, 0.18);
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  font: inherit;
}

.waitlist-form input[type="email"]:focus {
  outline: 2px solid rgba(29, 138, 152, 0.2);
  border-color: var(--accent);
}

.form-note {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

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

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible,
.ecosystem-link:hover,
.ecosystem-link:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--deep), var(--accent));
  color: #f8f5ef;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
}

.button-secondary {
  color: var(--text);
  border-color: rgba(24, 89, 141, 0.18);
  background: rgba(255, 255, 255, 0.62);
}

.grid-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.section-card,
.cta-card {
  margin-bottom: 1.5rem;
}

.section-heading {
  max-width: 42rem;
  margin-bottom: 1.25rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  position: relative;
  padding-left: 1.6rem;
}

.feature-list li + li {
  margin-top: 0.95rem;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--highlight), var(--accent));
  box-shadow: 0 0 0 0.32rem var(--accent-soft);
}

.pillar-grid,
.ecosystem-grid {
  display: grid;
  gap: 1rem;
}

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

.pillar,
.ecosystem-link {
  position: relative;
  display: block;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(24, 89, 141, 0.1);
  background: rgba(255, 255, 255, 0.62);
}

.pillar p,
.ecosystem-description {
  margin: 0.75rem 0 0;
}

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

.ecosystem-link {
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.ecosystem-link:hover,
.ecosystem-link:focus-visible {
  border-color: rgba(29, 138, 152, 0.28);
  background: rgba(255, 255, 255, 0.82);
}

.ecosystem-name {
  display: inline-block;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 1.35rem;
  color: var(--text);
}

.prose p {
  margin: 0;
}

.site-footer {
  padding: 0 0 3rem;
}

.page-shell-single {
  min-height: calc(100vh - 6rem);
  display: flex;
  align-items: center;
}

.section-card-single {
  max-width: 42rem;
  margin: 0 auto;
}

.single-title {
  margin-bottom: 1rem;
}

.site-footer p {
  margin: 0;
}

.site-footer p + p {
  margin-top: 0.45rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: reveal-up 720ms ease forwards;
}

.reveal-delay-1 {
  animation-delay: 120ms;
}

.reveal-delay-2 {
  animation-delay: 220ms;
}

.reveal-delay-3 {
  animation-delay: 320ms;
}

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

@media (max-width: 900px) {
  .hero,
  .grid-section,
  .pillar-grid,
  .ecosystem-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: none;
  }

  .page-shell {
    padding-top: 1.25rem;
  }

  .hero-copy,
  .section-card,
  .cta-card {
    padding: 1.4rem;
  }

  .hero-brand {
    padding: 0.65rem;
    margin-bottom: 0.9rem;
  }

  .brand-logo {
    max-height: none;
  }

  .waitlist-form {
    grid-template-columns: 1fr;
  }
}

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

  .button,
  .ecosystem-link,
  .reveal {
    transition: none;
    animation: none;
    opacity: 1;
    transform: none;
  }
}
