/* ============================================================
   AWS Security Digest, redesign mock stylesheet
   Pure CSS, no build step. Shared by the website pages
   (landing, articles list, past-issues list, article reader).
   The email-safe issue template (issue.html) is self-contained
   with inline styles and does NOT use this file.
   ============================================================ */

/* ---- Fonts (CDN link is in each page's <head>) -------------
   Display/headings : Space Grotesk
   Body             : Inter
   Mono accents     : JetBrains Mono
   ------------------------------------------------------------ */

/* ---- Design tokens ---------------------------------------- */
:root {
  --pink: #f4344d;        /* primary brand, unchanged */
  --pink-600: #d81e38;    /* hover / pressed */
  --pink-50: #fff1f3;     /* pink tint background */
  --plum: #3b0918;        /* deep brand maroon, dark sections */
  --plum-700: #581021;

  --ink: #1c1117;         /* primary text (warm near-black) */
  --muted: #6f6169;       /* secondary text */
  --paper: #fbf7f1;       /* page background (evolves the cream) */
  --cream: #f3eee6;       /* alternating section background */
  --card: #ffffff;
  --line: #eadfd6;        /* hairlines / borders */

  --maxw: 1120px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(28,17,23,.06), 0 4px 16px rgba(28,17,23,.05);
  --shadow-md: 0 8px 30px rgba(28,17,23,.10);
  --ring: 0 0 0 3px rgba(244,52,77,.30);

  --ff-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ff-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

/* ---- Reset ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink-600); text-underline-offset: 2px; }
a:hover { color: var(--pink); }
h1, h2, h3, h4 { font-family: var(--ff-display); line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1rem; }

/* ---- Utility ----------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
/* vertical-only padding so it never clobbers .wrap's side padding when both
   classes sit on the same element (e.g. the past-issues archive) */
.section { padding-block: 72px; }
.section--tight { padding-block: 48px; }
.center { text-align: center; }
.eyebrow {
  font-family: var(--ff-mono);
  font-size: .8rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--pink-600);
  margin: 0 0 14px;
}
.lead { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---- Buttons ---------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--ff-display); font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer;
  text-decoration: none; transition: transform .08s ease, background .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--pink); color: #fff; box-shadow: 0 6px 18px rgba(244,52,77,.32); }
.btn--primary:hover { background: var(--pink-600); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--pink); color: var(--pink-600); }
.btn--light { background: #fff; color: var(--plum); }
.btn--light:hover { background: var(--pink-50); color: var(--pink-600); }
.btn--sm { padding: 9px 18px; font-size: .92rem; box-shadow: 0 4px 12px rgba(244,52,77,.28); }

/* visible focus everywhere for accessibility */
a:focus-visible, .btn:focus-visible, input:focus-visible, summary:focus-visible {
  outline: none; box-shadow: var(--ring); border-radius: 8px;
}

/* ---- Navbar ------------------------------------------------ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,247,241,.82);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 66px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); font-family: var(--ff-display); font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; }
.brand img { width: 34px; height: 34px; }
.brand b { color: var(--pink-600); }
.nav__links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: var(--ink); text-decoration: none; font-size: .98rem; font-weight: 500; }
.nav__links a:hover { color: var(--pink-600); }
.nav__cta { margin-left: 6px; }
/* the .nav__links a rule above out-specifies .btn--primary, so restore the button's white text */
.nav__links a.btn--primary, .nav__links a.btn--primary:hover, .nav__links a.btn--primary:visited { color: #fff; }
.nav__toggle, .nav__burger { display: none; }

@media (max-width: 860px) {
  .nav__burger {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px;
    background: #fff; cursor: pointer; color: var(--ink);
  }
  .nav__burger svg { width: 22px; height: 22px; }
  .nav__links {
    display: none; position: absolute; left: 0; right: 0; top: 66px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px;
  }
  .nav__links li { border-top: 1px solid var(--line); }
  .nav__links a { display: block; padding: 14px 4px; }
  .nav__links .nav__cta { margin: 14px 0 0; }
  /* keep the button a centered flex pill (the .nav__links a rule above would force display:block) */
  .nav__links a.btn { display: flex; justify-content: center; width: 100%; padding: 13px 18px; }
  .nav__toggle:checked ~ .nav__links { display: flex; }
}

/* ---- Hero -------------------------------------------------- */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 60% at 85% -10%, rgba(244,52,77,.12), transparent 60%),
    radial-gradient(50% 50% at 0% 100%, rgba(59,9,24,.06), transparent 60%);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-block: 84px 72px; }
.hero h1 { margin-bottom: 18px; }
.hero h1 .hl { color: var(--pink); }
.hero__sub { font-size: 1.22rem; color: var(--muted); max-width: 34ch; margin-bottom: 28px; }

/* signup form */
.signup { max-width: 460px; }
/* offset anchor jumps so the sticky nav (66px) doesn't cover the target */
#subscribe { scroll-margin-top: 90px; }
.signup__row { display: flex; gap: 10px; }
.signup input[type=email] {
  flex: 1; min-width: 0; font-family: var(--ff-body); font-size: 1rem;
  padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink);
}
.signup input::placeholder { color: #9a8c92; }

/* input and button share one height so the row lines up cleanly */
.signup input[type=email], .signup__row .btn { min-height: 54px; }
/* inline success / error message after an AJAX submit */
.signup__msg { margin: 14px 2px 0; font-size: .95rem; font-weight: 600; }
.signup__msg.is-ok { color: #157a3e; }
.signup__msg.is-err { color: var(--pink-600); }
.cta-band .signup__msg.is-ok, .cta-band .signup__msg.is-err { color: #fff; }

.signup__note { margin: 12px 2px 0; font-size: .9rem; color: var(--muted); }
.signup__note b { color: var(--ink); font-weight: 600; }
.trust { display: flex; align-items: center; gap: 12px; margin-top: 26px; font-size: .95rem; color: var(--muted); }
.avatars { display: flex; }
.avatars span {
  width: 34px; height: 34px; border-radius: 50%; margin-left: -10px; border: 2px solid var(--paper);
  display: inline-flex; align-items: center; justify-content: center; font-size: 15px;
  background: var(--cream);
}
.avatars span:first-child { margin-left: 0; }
.trust b { color: var(--ink); }

/* hero issue-preview card */
.preview-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); overflow: hidden; transform: rotate(.6deg);
}
.preview-card__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--cream); border-bottom: 1px solid var(--line); }
.preview-card__bar i { width: 11px; height: 11px; border-radius: 50%; background: #d9cdc4; display: inline-block; }
.preview-card__bar span { margin-left: auto; font-family: var(--ff-mono); font-size: .76rem; color: var(--muted); }
.preview-card__body { padding: 22px 22px 26px; }
.preview-card__body .kicker { font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--pink-600); }
.preview-card__body h3 { font-size: 1.35rem; margin: 6px 0 14px; }
.preview-line { display: flex; gap: 10px; padding: 9px 0; border-top: 1px dashed var(--line); font-size: .92rem; }
.preview-line .e { flex: none; }
.preview-line b { font-weight: 600; }

/* ---- Stat ribbon (menu-band style, deliberately not a 4-column grid) -- */
.stats { background: var(--plum); color: #fff; }
.stats__inner { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 14px 28px; padding: 22px 24px; }
.stat { display: inline-flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.stat .n { font-family: var(--ff-display); font-weight: 700; font-size: clamp(1.45rem, 2.8vw, 2rem); color: var(--pink); line-height: 1; }
.stat .l { font-family: var(--ff-mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: #edd3d8; }
.stats .dot { color: var(--pink); opacity: .55; font-size: .62rem; transform: translateY(-2px); }

/* ---- Menu / what you get ----------------------------------- */
.alt { background: var(--cream); }
.menu-head { display: flex; align-items: end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-bottom: 38px; }
.menu-head > div { flex: 1 1 500px; }          /* heading block */
.menu-head .lead { flex: 1 1 300px; max-width: none; } /* lead fills its column instead of capping */
.course { margin-bottom: 40px; }
.course:last-child { margin-bottom: 0; }
.course__label { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.course__label .e { font-size: 1.5rem; }
.course__label h3 { margin: 0; font-size: 1.3rem; }
.course__label .tag { margin-left: auto; font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: #fff; border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 20px; box-shadow: var(--shadow-sm);
}
.feature .e { font-size: 1.4rem; }
.feature h4 { font-family: var(--ff-display); font-size: 1.02rem; margin: 10px 0 6px; }
.feature p { margin: 0; font-size: .94rem; color: var(--muted); }

/* ---- Sample issue strip ------------------------------------ */
.taste { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.issue-list { list-style: none; margin: 0; padding: 0; }
.issue-list li { border-top: 1px solid var(--line); }
.issue-list li:last-child { border-bottom: 1px solid var(--line); }
.issue-list a { display: flex; align-items: baseline; gap: 14px; padding: 16px 4px; text-decoration: none; color: var(--ink); }
.issue-list a:hover { color: var(--pink-600); }
.issue-list .num { font-family: var(--ff-mono); font-size: .82rem; color: var(--muted); flex: none; width: 56px; }
.issue-list .ttl { font-weight: 600; }
.issue-list .dt { margin-left: auto; font-size: .85rem; color: var(--muted); flex: none; }

/* ---- Testimonials ------------------------------------------ */
/* equal-height cards (bottoms align in a tidy row); attribution pinned to the bottom */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.quote {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  text-decoration: none; color: var(--ink);
}
a.quote:hover { border-color: #f6cdd4; box-shadow: var(--shadow-md); }
.quote .mark { font-family: var(--ff-display); font-size: 1.9rem; line-height: .6; color: var(--pink); height: 14px; }
.quote blockquote { margin: 0; }
.quote p { font-size: 1rem; line-height: 1.55; margin: 10px 0 0; }
.quote .who { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.quote .who .nm { display: block; font-weight: 600; font-size: .95rem; }
a.quote:hover .who .nm { color: var(--pink-600); }
.quote .who .hd { display: block; font-size: .82rem; color: var(--muted); margin-top: 2px; }

/* ---- Sponsors ---------------------------------------------- */
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 46px 72px; }
/* multiply blends white logo backgrounds into the paper color, no image editing needed */
.logos img { height: 30px; width: auto; opacity: .7; filter: grayscale(1); mix-blend-mode: multiply; transition: opacity .15s ease, filter .15s ease; }
.logos img:hover { opacity: 1; filter: none; mix-blend-mode: normal; }

/* ---- FAQ --------------------------------------------------- */
.faq { max-width: 760px; margin-inline: auto; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 22px; font-family: var(--ff-display); font-weight: 600; font-size: 1.06rem; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--pink); line-height: 1; flex: none; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

/* ---- Final CTA --------------------------------------------- */
.cta-band { background: linear-gradient(135deg, var(--plum), var(--plum-700)); color: #fff; border-radius: 22px; padding: 56px 40px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 80% at 80% 0%, rgba(244,52,77,.35), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #f0d9de; max-width: 48ch; margin-inline: auto; }
.cta-band .signup { margin: 26px auto 0; }
.cta-band .signup input { border-color: transparent; }
.cta-band .signup__note { color: #e7c9cf; }
.cta-band .signup__note b { color: #fff; }

/* ---- Footer ------------------------------------------------ */
.footer { background: var(--ink); color: #cdbfc6; padding: 56px 0 40px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; }
.footer .brand { color: #fff; }
.footer h5 { font-family: var(--ff-mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: #8d7c84; margin: 0 0 14px; }
.footer a { color: #cdbfc6; text-decoration: none; display: block; padding: 4px 0; }
.footer a:hover { color: #fff; }
.footer__social { display: flex; gap: 12px; margin-top: 16px; }
.footer__social a { padding: 0; }
.footer__social img { width: 28px; height: 28px; filter: grayscale(1) brightness(2); opacity: .7; }
.footer__social a:hover img { opacity: 1; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 38px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; color: #8d7c84; }
.footer__bottom a { display: inline; }

/* ---- Generic page header (list/article pages) -------------- */
.page-head { padding-block: 64px 8px; }
.page-head .eyebrow { justify-content: center; }

/* article cards (articles.html) */
.grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.acard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .12s ease, box-shadow .12s ease; }
.acard:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.acard a.thumb { display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--cream); }
.acard a.thumb img { width: 100%; height: 100%; object-fit: cover; }
.acard__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.acard h3 { margin: 0; font-size: 1.12rem; }
.acard h3 a { color: var(--ink); text-decoration: none; }
.acard h3 a:hover { color: var(--pink-600); }
.acard .meta { margin-top: auto; font-family: var(--ff-mono); font-size: .78rem; color: var(--muted); }

/* ---- Article reader (article.html) ------------------------- */
.reader { max-width: 760px; margin-inline: auto; padding: 8px 24px 24px; }
.reader__head { padding: 56px 0 8px; }
.reader__meta { display: flex; align-items: center; gap: 12px; font-family: var(--ff-mono); font-size: .82rem; color: var(--muted); margin-top: 14px; }
.reader__hero { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin: 28px 0 8px; }
.prose { font-size: 1.12rem; line-height: 1.75; font-family: var(--ff-body); }
/* body copy stays in the body font even if legacy markup mis-nests headings */
.prose p, .prose li, .prose ul, .prose ol, .prose blockquote, .prose table, .prose span { font-family: var(--ff-body); font-weight: 400; }
.prose h2 { margin-top: 1.8em; font-size: 1.7rem; }
.prose h3 { margin-top: 1.5em; font-size: 1.25rem; }
.prose img { border-radius: var(--radius-sm); border: 1px solid var(--line); margin: 1.4em 0; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--pink); color: var(--muted); font-style: italic; }
.prose code { font-family: var(--ff-mono); font-size: .9em; background: var(--cream); padding: 2px 6px; border-radius: 6px; }
.prose pre { background: var(--ink); color: #f3eee6; padding: 18px; border-radius: var(--radius-sm); overflow: auto; }
.prose pre code { background: none; padding: 0; color: inherit; }
.inline-cta {
  margin: 40px 0; padding: 28px; border-radius: var(--radius); background: var(--pink-50);
  border: 1px solid #f6cdd4; text-align: center;
}
.inline-cta h3 { font-size: 1.3rem; margin-bottom: 6px; }
.inline-cta .signup { margin: 16px auto 0; }

/* ---- Issue page (generated newsletter issue on the web) ---- */
.issue { max-width: 760px; margin-inline: auto; padding: 8px 24px; }
.issue__head { padding: 48px 0 8px; }
.issue__head .eyebrow { margin-bottom: 8px; }
.issue__date { font-family: var(--ff-mono); font-size: .9rem; color: var(--muted); margin: 0; }
.issue__date strong { color: var(--pink-600); }
.issue__section { margin: 30px 0; }
.issue__section h2 { font-size: 1.55rem; margin: 0 0 14px; }
.issue__cleanser p { font-size: 1.18rem; line-height: 1.7; }
.issue__share { font-size: .95rem !important; color: var(--muted); }
.issue__list { margin: 0; padding-left: 22px; }
.issue__list li { margin: 0 0 8px; line-height: 1.5; }
.issue__empty { color: var(--muted); }
/* chef's selections */
.pick { padding: 16px 0; border-top: 1px solid var(--line); }
.pick:first-of-type { border-top: 0; padding-top: 4px; }
.pick h3 { font-size: 1.18rem; margin: 0 0 4px; }
.pick h3 a { color: var(--ink); text-decoration: none; }
.pick h3 a:hover { color: var(--pink-600); }
.pick__meta { font-family: var(--ff-mono); font-size: .82rem; color: var(--muted); margin: 0 0 8px; }
.pick p:last-child { margin: 0; }
/* sponsor box */
.sponsor { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--pink); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-md); }
.sponsor__label { display: inline-block; background: var(--pink); color: #fff; font-family: var(--ff-mono); font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 5px 13px; border-radius: 999px; margin: 0 0 14px; }
.sponsor__body { overflow: hidden; }   /* contain the floated logo */
.sponsor__body img { float: left; width: 54px; height: auto; margin: 2px 16px 6px 0; border-radius: 8px; }
.sponsor__body p { margin: 0 0 .6em; }
.sponsor__body p:last-child { margin-bottom: 0; }
/* dessert divider */
.issue__dessert { margin-top: 40px; }
.issue__rule { border: 0; border-top: 1px solid var(--line); margin: 0 0 28px; }
.issue__dessert h2 { font-size: 1.9rem; }
.issue__dessert .issue__lead { font-size: .98rem; color: var(--muted); margin: 0; }
/* issue social row */
.issue__social { display: flex; justify-content: center; gap: 16px; margin: 40px 0 8px; }
.issue__social img { width: 30px; height: 30px; opacity: .6; filter: grayscale(1); }
.issue__social a:hover img { opacity: 1; filter: none; }

/* ---- Responsive -------------------------------------------- */
@media (max-width: 900px) {
  /* single column, left-aligned like every other section; content fills the width instead of leaving a gap */
  .hero__grid { grid-template-columns: 1fr; gap: 36px; padding-block: 56px 48px; }
  .hero__sub { max-width: none; }
  .hero .signup { max-width: none; }
  .cards, .quotes, .grid-cards { grid-template-columns: 1fr 1fr; }
  .taste { grid-template-columns: 1fr; gap: 28px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 20px; }            /* keep content off the edges on phones */
  .section { padding: 52px 0; }
  .cards, .quotes, .grid-cards { grid-template-columns: 1fr; }
  .signup { max-width: none; }   /* fill the column instead of capping at 460px (left a right-side gap) */
  .signup__row { flex-direction: column; }
  .signup input[type=email], .signup .btn { width: 100%; }
  .preview-card { transform: none; }
  .menu-head { flex-direction: column; align-items: start; }
  /* in column layout, basis must not act as a height (was forcing a 500px-tall gap) */
  .menu-head > div, .menu-head .lead { flex: 0 1 auto; }
  .footer__grid { grid-template-columns: 1fr; }
  /* archive rows wrap on phones: "#num  title" on line 1, date on line 2 */
  .issue-list a { flex-wrap: wrap; gap: 2px 12px; }
  .issue-list .num { width: auto; }
  .issue-list .ttl { flex: 1 1 auto; }
  .issue-list .dt { flex-basis: 100%; margin-left: 0; }
  .cta-band { padding: 36px 22px; border-radius: 18px; }   /* roomier on small screens */
  .stats__inner { gap: 10px 16px; padding: 20px; }
  .stats .dot { display: none; }
  .reader__head, .page-head { padding-top: 40px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto; transition: none !important; } }
