:root {
  --primary: #4dddd8;
  --gold: #f7cd62;
  --bg: #f5fffe;
  --text: #111827;
  --muted: #6b7280;
}

/* ======================
   RESET
====================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ======================
   TYPOGRAPHY (Mobile First)
====================== */
h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.02em;
  color:#f7cd62
}



h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.05rem;
    color:#000;
}

p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ======================
   SECTIONS
====================== */
section {
  padding: 3.5rem 1.25rem;
  max-width: 1100px;
  margin: auto;
}

/* ======================
   HERO
====================== */
header {
  padding: 4rem 1.25rem 3.5rem 1.25rem;
  text-align: center;
}

header h1 {
  color: var(--primary);
  margin-bottom: 0.75rem;
}

header h2 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

header p {
  margin-bottom: 2rem;
}

/* ======================
   BUTTONS
====================== */
.cta {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 0.6rem auto;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  transition: 0.3s ease;
}

.cta {
  background: var(--primary);
  color: white;
  box-shadow: 0 10px 25px rgba(77,221,216,0.3);
}

.cta.secondary {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.cta:hover {
  transform: translateY(-2px);
}

/* ======================
   TODAY SECTION
====================== */
.today-section {
  background: linear-gradient(180deg, #ffffff 0%, #f9ffff 100%);
}

.today-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.today-label {
  font-size: 0.7rem;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.today-sub {
  font-size: 0.9rem;
}

/* Stack by default (mobile first) */
.today-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.today-card {
  background: white;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

.verse-card {
  border: 1px solid rgba(77,221,216,0.3);
}

.checkin-card {
  border: 1px solid rgba(77,221,216,0.4);
}

/* ======================
   FEATURES GRID
====================== */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.card {
  padding: 1.4rem;
  border-radius: 14px;
  background: white;
  border: 1px solid #f3f4f6;
  transition: 0.25s ease;
}

.card:hover {
  border-color: var(--primary);
  box-shadow: 0 15px 40px rgba(77,221,216,0.12);
}

/* ======================
   CENTER SECTIONS
====================== */
.center {
  text-align: center;
}

/* ======================
   FOOTER
====================== */
footer {
  padding: 3rem 1.25rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid #f3f4f6;
}

/* ======================
   TABLET (768px+)
====================== */
@media (min-width: 768px) {

  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.9rem; }
  p { font-size: 1rem; }

  .cta {
    display: inline-block;
    width: auto;
    margin: 0.5rem 0.75rem;
  }

  .today-grid {
    grid-template-columns: 1fr 1fr;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  section {
    padding: 5rem 1.5rem;
  }
}

/* ======================
   DESKTOP (1024px+)
====================== */
@media (min-width: 1024px) {

  .today-grid {
    grid-template-columns: 1.2fr 1.8fr;
    grid-template-rows: auto auto;
    gap: 2rem;
  }

  .verse-card { grid-column: 1; grid-row: 1; }
  .devotional-card { grid-column: 2; grid-row: 1 / span 2; }
  .checkin-card { grid-column: 1; grid-row: 2; }

  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
