/* landing-page/archive/archive.css */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;600;700&family=Nunito:wght@400;500;600;700&display=swap');

:root {
  --bg:        #fdfcfb;
  --white:     #ffffff;
  --text:      #111111;
  --muted:     #888888;
  --orange:    #F97316;
  --blue:      #0EA5E9;
  --border:    #f0f0f0;
  --font-head: 'Fredoka', sans-serif;
  --font-body: 'Nunito', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font-family: var(--font-body); }

/* NAV (matches landing page) */
.nav { display: flex; justify-content: space-between; align-items: center;
       padding: 20px 40px; }
.nav-logo { font-family: var(--font-head); font-size: 20px; font-weight: 600;
            text-decoration: none; color: var(--text); }

/* ── ARCHIVE PAGE ── */
.archive-header { text-align: center; padding: 60px 20px 40px; }
.archive-header h1 { font-family: var(--font-head); font-size: 48px; font-weight: 600; }
.archive-header p { font-size: 16px; color: var(--muted); margin-top: 12px; }

.archive-grid { max-width: 1100px; margin: 0 auto; padding: 0 20px 80px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }

.issue-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px;
  padding: 24px; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.issue-card:hover { border-color: var(--orange);
  box-shadow: 0 4px 16px rgba(249,115,22,.12); }
.issue-card-meta { display: flex; justify-content: space-between;
  font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.issue-card-title { font-family: var(--font-head); font-size: 20px; font-weight: 600;
  margin-bottom: 10px; }
.issue-card-preview { font-size: 14px; color: var(--muted); line-height: 1.6;
  margin-bottom: 16px; }
.issue-card-link { color: var(--orange); font-size: 14px; font-weight: 500;
  text-decoration: none; }
.issue-card-link:hover { text-decoration: underline; }

/* ── ISSUE PAGE ── */
.issue-wrap { max-width: 640px; margin: 40px auto 80px; padding: 0 20px; }

.newsletter-box { background: var(--white); border-radius: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,.08); overflow: hidden; }

.nl-header { padding: 28px 40px 20px; border-bottom: 3px solid var(--orange);
  display: flex; align-items: center; justify-content: space-between; }
.nl-logo { font-family: var(--font-head); font-size: 22px; font-weight: 600; }
.nl-meta  { font-size: 11px; color: #bbb; letter-spacing: 1px; text-transform: uppercase; }

.nl-section { padding: 24px 40px 0; }
.nl-section-label { font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: 14px; color: var(--text); }
.nl-section-label.orange { color: var(--orange); }

.nl-title { font-family: var(--font-head); font-size: 28px; font-weight: 600;
  line-height: 1.2; margin-bottom: 10px; }
.nl-readtime { font-size: 12px; color: #aaa; margin-bottom: 20px; }

.nl-body p { font-size: 15px; line-height: 1.75; margin-bottom: 14px; }
.nl-body ul { padding-left: 20px; font-size: 14px; color: #444; line-height: 2; }
.nl-body a { color: var(--blue); text-decoration: none; border-bottom: 1px solid var(--blue); }
.nl-body a:hover { color: var(--orange); border-bottom-color: var(--orange); }

/* Guide call-out pill */
.guide-link { display: inline-flex; align-items: center; gap: 6px;
  background: #FFF7ED; border: 1px solid rgba(249,115,22,.3); border-radius: 9999px;
  padding: 8px 16px; color: var(--orange); font-size: 14px; font-weight: 600;
  text-decoration: none; margin-top: 16px; transition: background .15s; }
.guide-link:hover { background: #ffedd5; }

.nl-divider { margin: 24px 40px; height: 1px; background: var(--border); border: none; }
.nl-divider--tight { margin-top: 20px; margin-bottom: 20px; }

.nl-signoff { padding-bottom: 28px; }
.nl-signoff .nl-body p { color: #333; }

.nl-footer { padding: 16px 40px 24px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; font-size: 12px; color: #ccc; }
.nl-footer a { color: #ccc; text-decoration: none; }

@media (max-width: 600px) {
  .nl-header, .nl-section, .nl-footer { padding-left: 20px; padding-right: 20px; }
  .nl-title { font-size: 22px; }
}
