/* ===========================
   Morning Cup AI — style.css
   =========================== */

:root {
  --navy:  #2A3F55;
  --cream: #FDF6EC;
  --slate: #6B7B8A;
  --white: #FFFFFF;
  --text:  #222222;
  --border: #D8D0C4;
  --radius: 8px;
  --max-w: 1080px;
}

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

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
  line-height: 1.3;
}

a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--slate);
}

img {
  max-width: 100%;
  display: block;
}

/* ===========================
   NAV
   =========================== */

.site-nav {
  background: var(--navy);
  padding: 0 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--cream);
  font-family: Georgia, serif;
  font-size: 1.1rem;
  font-weight: bold;
  letter-spacing: 0.01em;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-brand:hover {
  color: var(--white);
}

.nav-brand svg {
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  display: block;
  color: #C8D4DF;
  text-decoration: none;
  font-size: 0.88rem;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  letter-spacing: 0.02em;
  transition: background 0.15s, color 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}

/* ===========================
   HERO
   =========================== */

.hero {
  background: var(--cream);
  padding: 5rem 1.5rem 4rem;
  text-align: center;
}

.hero-inner {
  max-width: 740px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 1.2rem;
  color: var(--navy);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--slate);
  max-width: 560px;
  margin: 0 auto 2rem;
}

.btn {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.75rem 1.8rem;
  border-radius: var(--radius);
  letter-spacing: 0.02em;
  transition: background 0.15s, transform 0.1s;
}

.btn:hover {
  background: var(--slate);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--navy);
  color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

/* ===========================
   BENEFITS SECTION
   =========================== */

.benefits {
  padding: 4rem 1.5rem;
  background: var(--white);
}

.benefits-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-label {
  text-align: center;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate);
  margin-bottom: 0.5rem;
}

.section-title {
  text-align: center;
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 2.5rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.benefit-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
}

.benefit-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.benefit-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.benefit-card p {
  font-size: 0.92rem;
  color: var(--slate);
  line-height: 1.6;
}

/* ===========================
   SIGNUP / EMBED SECTION
   =========================== */

.signup-section {
  background: var(--cream);
  padding: 4rem 1.5rem;
  text-align: center;
}

.signup-inner {
  max-width: 620px;
  margin: 0 auto;
}

.signup-section h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
}

.signup-section p {
  color: var(--slate);
  margin-bottom: 2rem;
}

.subscribe-form {
  max-width: 480px;
  margin: 0 auto;
}


/* ===========================
   FOOTER
   =========================== */

.site-footer {
  background: var(--navy);
  color: #A8B8C4;
  padding: 2.5rem 1.5rem;
  font-size: 0.85rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-copy {
  color: #A8B8C4;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
}

.footer-links a {
  color: #A8B8C4;
  text-decoration: none;
  transition: color 0.15s;
}

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

/* ===========================
   PAGE HEADER (interior pages)
   =========================== */

.page-header {
  background: var(--cream);
  padding: 3.5rem 1.5rem 2.5rem;
  text-align: center;
}

.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 0.6rem;
}

.page-header p {
  color: var(--slate);
  max-width: 540px;
  margin: 0 auto;
}

/* ===========================
   ABOUT PAGE
   =========================== */

.about-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}

.about-content h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 0.6rem;
}

.about-content p {
  margin-bottom: 1.2rem;
  color: #333;
}

.about-cta {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  margin-top: 3rem;
}

.about-cta h2 {
  margin-bottom: 0.75rem;
}

.about-cta p {
  color: var(--slate);
  margin-bottom: 1.25rem;
}

/* ===========================
   BLOG PAGE
   =========================== */

.blog-section {
  padding: 3.5rem 1.5rem;
}

.blog-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.blog-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: box-shadow 0.2s;
}

.blog-card:hover {
  box-shadow: 0 4px 16px rgba(42,63,85,0.1);
}

.blog-card-date {
  font-size: 0.8rem;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.blog-card h2 {
  font-size: 1.25rem;
  line-height: 1.35;
}

.blog-card p {
  font-size: 0.92rem;
  color: #444;
  flex: 1;
}

.blog-card .read-more {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid var(--navy);
  padding-bottom: 1px;
  align-self: flex-start;
  transition: color 0.15s, border-color 0.15s;
}

.blog-card .read-more:hover {
  color: var(--slate);
  border-color: var(--slate);
}

/* ===========================
   SUBSCRIBE PAGE
   =========================== */

.subscribe-section {
  padding: 5rem 1.5rem;
  text-align: center;
}

.subscribe-inner {
  max-width: 580px;
  margin: 0 auto;
}

.subscribe-inner h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 0.75rem;
}

.subscribe-inner .sub-tagline {
  color: var(--slate);
  margin-bottom: 2.5rem;
  font-size: 1rem;
}

/* ===========================
   UTILITY
   =========================== */

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

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 700px) {
  html { font-size: 16px; }

  .nav-inner { height: 56px; }

  .nav-links a {
    font-size: 0.82rem;
    padding: 0.3rem 0.55rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .hero { padding: 3.5rem 1.25rem 3rem; }
}
