:root {
  --mint: #3ECFB2;
  --mint-dim: rgba(62, 207, 178, 0.12);
  --navy: #1A2B4A;
  --navy-mid: #243555;
  --white: #ffffff;
  --cream: #F6F8F7;
  --text-muted: #6B7A8D;
  --border: rgba(26, 43, 74, 0.1);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-pill: 100px;
  --display: 'Bricolage Grotesque', sans-serif;
  --body: 'Plus Jakarta Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body);
  background: var(--cream);
  color: var(--navy);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  /* subtle noise texture */
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
}

/* ── Page shell ── */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
  position: relative;
  overflow: hidden;
}

/* ambient background blob */
.page::before {
  content: '';
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(62,207,178,0.13) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── Header ── */
.header {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
  padding: 28px 0 0;
  animation: fadeUp 0.5s ease both;
  display: flex;
  justify-content: center;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
}

.wordmark-logo {
  height: 29px;
  width: auto;
}

.wordmark span {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--navy);
}

/* ── Hero ── */
.hero {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 600px;
  padding: 64px 0 56px;
  gap: 28px;
  animation: fadeUp 0.55s 0.05s ease both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--mint-dim);
  color: #1f8e77;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(62, 207, 178, 0.25);
}

.hero-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.5rem, 7vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--navy);
}

.hero-title em {
  font-style: normal;
  color: var(--mint);
  /* slight underline decoration */
  position: relative;
  display: inline-block;
}

.hero-title em::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--mint);
  border-radius: 2px;
  opacity: 0.4;
}

.hero-sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 460px;
  font-weight: 400;
}

/* ── CTA Button ── */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  transition: background 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease;
  box-shadow: 0 4px 20px rgba(26, 43, 74, 0.18);
}

.cta-btn:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26, 43, 74, 0.24);
}

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

/* ── Features ── */
.features {
  display: flex;
  align-items: flex-start;
  gap: 0;
  width: 100%;
  max-width: 520px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-top: 8px;
  box-shadow: 0 2px 16px rgba(26, 43, 74, 0.06);
  animation: fadeUp 0.6s 0.15s ease both;
}

.feature {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 24px 16px 20px;
  text-align: center;
}

.feature-divider {
  width: 1px;
  align-self: stretch;
  background: var(--border);
  margin: 20px 0;
  flex-shrink: 0;
}

.feature-icon {
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 2px;
}

.feature-label {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ── Footer ── */
.footer {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
  padding: 20px 0 32px;
  text-align: center;
  animation: fadeUp 0.6s 0.2s ease both;
}

.footer a {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.footer a:hover {
  color: var(--navy);
}

/* ── Animations ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Prose pages (privacy) ── */
.page--prose {
  align-items: flex-start;
}

.page--prose::before {
  display: none;
}

.page--prose .header,
.page--prose .footer {
  margin: 0 auto;
}

.page--prose .footer {
  text-align: left;
}

.prose {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 0 64px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeUp 0.5s ease both;
}

.prose h1 {
  font-family: var(--display);
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.prose .updated {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: -12px;
}

.prose h2 {
  font-family: var(--display);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: 8px;
  color: var(--navy);
}

.prose p,
.prose li {
  font-size: 0.9375rem;
  color: #374151;
  line-height: 1.75;
}

.prose ul {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.prose a {
  color: #1f8e77;
  text-decoration: none;
  font-weight: 500;
}

.prose a:hover {
  text-decoration: underline;
}

/* ── Responsive ── */
@media (max-width: 520px) {
  .features {
    flex-direction: column;
  }

  .feature-divider {
    width: auto;
    height: 1px;
    margin: 0 20px;
    align-self: auto;
  }

  .feature {
    flex-direction: row;
    text-align: left;
    gap: 12px;
    padding: 18px 20px;
  }

  .feature-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
  }

  .feature-label, .feature-desc {
    text-align: left;
  }
}
