/*
  Central stylesheet for the landing page and passages page.
  Update colors, spacing, or typography here to change the entire site quickly.
*/

:root {
  --bg: #f4f8ff;
  --surface: rgba(255, 255, 255, 0.8);
  --surface-strong: #ffffff;
  --text: #10233f;
  --muted: #53657f;
  --primary: #0f9d8f;
  --primary-dark: #0d7f74;
  --secondary: #ffb648;
  --accent: #e7f7f4;
  --border: rgba(16, 35, 63, 0.1);
  --shadow: 0 20px 50px rgba(37, 72, 112, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(15, 157, 143, 0.24), transparent 32%),
    radial-gradient(circle at right center, rgba(255, 182, 72, 0.25), transparent 24%),
    linear-gradient(180deg, #eef6ff 0%, #f8fbff 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}

.brand {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-weight: 600;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 56px;
}

.hero-copy,
.hero-card,
.content-block,
.passage-card,
.page-intro {
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.hero-copy,
.page-intro,
.content-block {
  padding: 32px;
}

.hero-copy h1,
.page-intro h1 {
  margin: 0 0 16px;
  font-size: clamp(2.4rem, 4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hero-text,
.page-intro p,
.feature-card p,
.study-panel p,
.passage-card p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero-actions,
.study-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary) 0%, #14b8a6 100%);
  box-shadow: 0 12px 24px rgba(15, 157, 143, 0.25);
}

.button-secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
}

.hero-card {
  display: grid;
  gap: 16px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(16, 35, 63, 0.96), rgba(25, 56, 94, 0.92)),
    linear-gradient(135deg, rgba(15, 157, 143, 0.4), rgba(255, 182, 72, 0.22));
  color: #f7fbff;
}

.stat-card {
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-value {
  display: block;
  margin-bottom: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
}

.stat-label {
  color: rgba(247, 251, 255, 0.82);
  line-height: 1.55;
}

.content-block {
  margin-bottom: 28px;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 26px;
}

.section-heading h2,
.study-panel h3,
.feature-card h3,
.passage-card h2 {
  margin: 0;
  letter-spacing: -0.04em;
}

.section-heading h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
}

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

.feature-card,
.passage-card {
  padding: 24px;
  background: var(--surface-strong);
}

.accent-block {
  background:
    linear-gradient(180deg, rgba(231, 247, 244, 0.92), rgba(255, 249, 238, 0.9));
}

.study-panel {
  justify-content: space-between;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
}

.inner-page-shell {
  padding-top: 24px;
}

.page-intro {
  margin-bottom: 24px;
}

.passage-list {
  display: grid;
  gap: 18px;
}

@media (max-width: 860px) {
  .hero,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .site-header,
  .study-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(100% - 20px, 1120px);
  }

  .hero-copy,
  .hero-card,
  .content-block,
  .page-intro,
  .passage-card {
    padding: 22px;
    border-radius: 22px;
  }

  .site-nav {
    gap: 12px;
  }
}
