* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: white;
  color: black;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
}

.site-header {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}

.site-header nav {
  order: -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.site-header nav a {
  color: #333;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  color: #c41e3a;
}

.logo {
  text-decoration: none;
  color: black;
  font-weight: 800;
  line-height: 0.95;
  font-size: clamp(2.8rem, 10vw, 5.6rem);
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px 96px;
}

.hero {
  margin-top: 56px;
}

.kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  color: #555;
}

.hero h1 {
  margin: 12px 0 0;
  font-size: clamp(2rem, 4.8vw, 3.2rem);
  line-height: 1.05;
}

.subheading {
  margin: 12px 0 0;
  font-size: clamp(1.05rem, 2.1vw, 1.35rem);
  line-height: 1.45;
  color: #222;
  max-width: 65ch;
}

section {
  margin-top: 48px;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 3.2rem);
  line-height: 1.05;
}

h3 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.1;
}

.section-intro {
  margin: 12px 0 0;
  color: #6b6b6b;
  max-width: 70ch;
}

.card-grid {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
}

.card-grid > li {
  align-self: start;
}

.content-card {
  display: block;
  width: 100%;
  text-decoration: none;
  color: black;
  border: 0;
  border-radius: 0;
  padding: 16px;
  background: white;
}

.content-card:hover,
.content-card:focus-visible {
  background: #fff8e6;
}

.content-card h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.content-card h2::after {
  content: "";
  width: 9px;
  height: 9px;
  border-top: 2px solid #b8860b;
  border-right: 2px solid #b8860b;
  transform: rotate(45deg);
  flex-shrink: 0;
}

.content-card p {
  margin: 8px 0 0;
  font-size: 1rem;
  line-height: 1.35;
}

.daily-topic {
  color: #333;
  font-weight: 600;
}

.muted {
  color: #5f5f5f;
}

.quote {
  font-style: italic;
}

.cta-shell {
  margin-top: 48px;
  border: 1px solid #e2e2e2;
  border-radius: 16px;
  padding: 20px;
  background: white;
}

.cta-shell h2 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.05;
}

.cta-shell p {
  margin: 10px 0 0;
  color: #333;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
}

.cta-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid black;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
}

.btn-primary {
  background-color: white;
  color: black;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: #f0f0f0;
  color: black;
}

.btn-outline {
  border-color: #b8860b;
  color: #8b6508;
  background: white;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: #fff8e6;
}

.pill-row {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  display: inline-flex;
  text-decoration: none;
  border-radius: 999px;
  padding: 8px 14px;
  border: 1px solid #dddddd;
  color: #333;
  background: white;
  font-size: 1.1rem;
}

.pill:hover,
.pill:focus-visible {
  border-color: #bababa;
}

.devotional-article {
  margin-top: 48px;
  border: 1px solid #e2e2e2;
  border-radius: 16px;
  padding: 20px;
  background: white;
}

.devotional-article blockquote {
  margin: 14px 0;
  padding-left: 14px;
  border-left: 4px solid #d0d0d0;
  color: #3b3b3b;
}

.meta {
  margin: 0;
  color: #666;
}

.site-footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 14px;
  color: #666;
}

.site-footer a {
  color: #666;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #c41e3a;
}

@media (max-width: 980px) {
  .site-header {
    gap: 28px;
  }

  .site-header nav {
    gap: 14px;
  }

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

  .hero {
    margin-top: 28px;
  }
}
