:root{
  --paper: #f8f3e7;
  --paper-dim: #efe7d3;
  --ink: #000000;
  --ink-soft: #34322c;
  --rule: rgba(0,0,0,0.85);
  --yellow: #e8b825;
  --serif-display: "PT Serif", Georgia, "Times New Roman", serif;
  --serif-body: "PT Serif", Georgia, "Times New Roman", serif;
  --wrap-max: 1080px;
}

*{ box-sizing: border-box; }

html{ background: var(--paper); scroll-behavior: smooth; }

body{
  position: relative;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif-body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* subtle newsprint grain */
body::before{
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.09;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

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

.wrap{
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow{
  font-family: var(--serif-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.rule{ height: 2px; background: var(--rule); border: 0; margin: 0; }
.rule--double{
  height: 7px;
  border-top: 3px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: transparent;
  margin-top: 6px;
}

.tagline{
  text-align: center;
  font-size: 12.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 24px 0;
  margin: 0;
}

/* Buttons */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--serif-body);
  font-size: 16px;
  font-weight: 700;
  padding: 16px 26px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover{ transform: translateY(-1px); }
.btn--yellow{ background: var(--yellow); color: var(--ink); }
.btn--outline{ background: transparent; color: var(--ink); border: 2px solid var(--ink); }

.mobile-break{ display: none; }

/* Masthead */
.masthead{ padding: 48px 0 0; }
.masthead__title{
  text-align: center;
  margin: 0;
}
.masthead__logo{
  display: inline-block;
  width: 100%;
  max-width: 408px;
  height: auto;
}
.masthead__kicker{
  text-align: center;
  font-size: 14.3px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 4px 0 22px;
  color: var(--ink-soft);
}

/* Hero */
.hero{ padding-top: 76px; }
.hero__grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}
.hero__headline{
  font-family: var(--serif-display);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  margin: 0 0 20px;
}
.hero__subhead{
  font-size: 18px;
  max-width: 46ch;
  margin: 0 0 28px;
  color: var(--ink-soft);
}

.signup-form{
  display: flex;
  max-width: 520px;
  border: 2px solid var(--ink);
}
.signup-form__input{
  flex: 1;
  min-width: 0;
  border: none;
  background: var(--paper);
  padding: 0 20px;
  font-family: var(--serif-body);
  font-size: 17px;
  color: var(--ink);
}
.signup-form__input::placeholder{ color: #8a8270; }
.signup-form__input:focus{ outline: 2px solid var(--ink); outline-offset: -4px; }
.signup-form .btn{ border-radius: 0; flex-shrink: 0; }

.hero__art{ position: relative; text-align: center; }
.hero__robot{ max-width: 384px; margin: 0 auto; }

/* Benefits */
.benefits{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 68px 32px;
  text-align: center;
}
.benefit{ padding: 0 28px; position: relative; }
.benefit + .benefit::before{
  content: "";
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 1px;
  background: var(--rule);
}
.benefit__icon{ width: 88px; height: 88px; object-fit: contain; margin: 0 auto 20px; }
.benefit__title{
  font-family: var(--serif-display);
  font-weight: 700;
  font-size: 21px;
  margin: 0 0 10px;
}
.benefit__text{ color: var(--ink-soft); font-size: 15.5px; margin: 0; }

/* Section head (shared: sources + editions) */
.section-head{ padding-top: 76px; }
.section-head__title{
  font-family: var(--serif-display);
  font-weight: 700;
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.08;
  margin: 0;
  max-width: 16ch;
}

/* Sources */
.sources{ padding-bottom: 24px; }
.sources__such-as{
  font-size: 18px;
  font-style: italic;
  color: var(--ink-soft);
  margin: 34px 0 24px;
}
.logo-row{
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0 0 18px;
  padding: 22px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.logo-row__item{
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-left: 1px solid var(--rule);
  font-family: var(--serif-display);
  font-weight: 700;
  font-size: 19px;
  white-space: nowrap;
}
.logo-row__item:first-child{ border-left: none; }
.logo-row__item--tracked{ font-family: var(--serif-body); letter-spacing: 0.12em; font-weight: 600; font-size: 15px; }
.logo-row__sup{ font-size: 12px; vertical-align: super; margin-left: 2px; }
.sources__plus{
  text-align: center;
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0 0 40px;
}

/* Editions */
.edition-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin: 34px 0 64px;
}
.edition-card{ border: 1px solid var(--rule); padding: 20px; }
.edition-card__head{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 10px;
  margin-bottom: 16px;
}
.edition-card__brand{
  font-family: var(--serif-display);
  font-weight: 700;
  font-size: 17px;
}
.edition-card__date{
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.edition-card__body{ display: flex; gap: 18px; }
.edition-card__thumb{
  flex: 0 0 118px;
  height: 118px;
  background:
    repeating-linear-gradient(45deg, rgba(0,0,0,0.14) 0 2px, transparent 2px 6px),
    var(--paper-dim);
  border: 1px solid var(--rule);
}
.edition-card__copy h3{
  font-family: var(--serif-display);
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 8px;
}
.edition-card__copy p{
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 0 0 10px;
}
.text-link{
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.load-more-editions{ display: none; margin: 0 auto; }

/* Final CTA — same light theme as the rest of the site */
.final-cta{
  position: relative;
  background: var(--paper);
  color: var(--ink);
  padding: 88px 0 0;
}
.final-cta__grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
  margin-top: 72px;
}
.final-cta__headline{
  font-family: var(--serif-display);
  font-weight: 700;
  font-size: clamp(32px, 4.6vw, 50px);
  line-height: 1.08;
  margin: 0 0 14px;
  color: var(--ink);
}
.final-cta__subhead{
  color: var(--ink-soft);
  margin: 0 0 26px;
}
.final-cta__art{ text-align: center; }
.final-cta__robot{ max-width: 380px; margin: 0 auto; }

.signup-form--field-first{
  max-width: 520px;
}
.signup-form--field-first .signup-form__input--big{
  background: var(--paper);
  padding: 0 22px;
  font-size: 20px;
  font-weight: 600;
  height: 64px;
}
.signup-form--field-first .btn--field-accent{
  font-weight: 700;
}

/* Footer */
.site-footer{ padding: 46px 32px 64px; }

/* Responsive */
@media (max-width: 860px){
  .mobile-break{ display: block; }

  .masthead{ padding: 36px 0 0; }
  .masthead__logo{ width: 85%; }
  .masthead__kicker{ font-size: 12.2px; }

  .hero{ padding-top: 48px; }
  .hero__grid, .final-cta__grid{ grid-template-columns: 1fr; }
  .final-cta__grid{ margin-top: 48px; }
  .hero__art, .final-cta__art{ margin-top: 36px; }
  .hero__robot{ max-width: 220px; }
  .hero__subhead{ font-size: 15px; }

  .signup-form{ flex-direction: column; }
  .signup-form .btn{ width: 100%; }
  .signup-form__input{ padding: 15px 18px; font-size: 15px; }
  .signup-form--field-first .signup-form__input--big{ padding: 15px 18px; font-size: 16px; }

  .benefits{ grid-template-columns: 1fr; gap: 40px; padding: 56px 24px; }
  .benefit + .benefit::before{ display: none; }
  .section-head{ padding-top: 56px; }
  .section-head__title{ max-width: none; }
  .logo-row{ flex-direction: column; align-items: stretch; }
  .logo-row__item{ border-left: none; border-top: 1px solid var(--rule); justify-content: flex-start; }
  .logo-row__item:first-child{ border-top: none; }

  .edition-grid{ grid-template-columns: 1fr; }
  .edition-card__body{ flex-direction: column; }
  .edition-card__thumb{ width: 100%; flex-basis: auto; }
  .edition-card--extra{ display: none; }
  .edition-card--extra.is-visible{ display: block; }
  .load-more-editions{ display: flex; margin: 8px auto 0; }

  .final-cta{ padding-top: 56px; }
  .final-cta__robot{ max-width: 240px; }
  .final-cta__end-rule{ display: none; }

  .site-footer{ padding-top: 0; }
  .tagline{ letter-spacing: 0.1em; font-size: 11.5px; }
}


/* ===== Issue page styles v2 ===== */
.issue-cover { padding: 18px 0 4px; }
.cover-image { width: 100%; max-width: 560px; margin: 0 auto; display: block; }

/* Image separator — the only section divider on the issue page */
.separator {
  width: 100%;
  max-width: 380px;
  display: block;
  margin: 26px auto;
}

.positioning-line { font-size: 18px; font-style: italic; color: var(--ink-soft); margin: 20px 0 14px; }
.issue-toc-title { font-family: var(--serif-display); font-weight: 700; font-size: 21px; margin: 0 0 10px; }
.issue-toc { list-style: none; padding: 0; margin: 0 0 20px; }
.issue-toc li { padding: 5px 0; font-size: 16px; }
.issue-toc li::before { content: "→ "; color: var(--ink-soft); }

.issue-section { padding: 18px 0; }
.section-header {
  font-family: var(--serif-display); font-weight: 700;
  font-size: clamp(24px, 3.2vw, 34px); line-height: 1.15;
  margin: 6px 0 18px;
}
.section-header--center { text-align: center; }

.issue-body { max-width: 66ch; }
.issue-body p { margin: 0 0 14px; line-height: 1.62; }
.issue-body strong { font-weight: 700; }

/* Economy mini-titles break up long sections */
.econ-minititle {
  font-family: var(--serif-display); font-weight: 700;
  font-size: 18px; margin: 16px 0 8px;
}

.story-image {
  width: 100%; max-width: 600px; display: block;
  margin: 8px auto 14px; border: 1px solid rgba(0,0,0,0.18);
}

.issue-link { font-size: 15px; color: var(--ink-soft); margin: 14px 0 0; }
.issue-link a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Roundup — title + 2 short sentences + link, in one readable column */
.roundup-grid { display: grid; grid-template-columns: 1fr; gap: 6px; margin: 16px 0; max-width: 66ch; }
.roundup-item { padding: 12px 0 14px; border-top: 1px solid rgba(0,0,0,0.25); }
.roundup-item:first-child { border-top: none; }
.roundup-item h3 {
  font-family: var(--serif-display); font-weight: 700;
  font-size: 18.5px; margin: 0 0 8px; line-height: 1.3;
}
.roundup-item p { font-size: 15.5px; color: var(--ink-soft); margin: 0 0 6px; line-height: 1.55; }
.roundup-item p.roundup-link { margin-top: 8px; }
.roundup-link a { color: var(--ink); font-weight: 600; font-size: 14.5px; text-decoration: underline; text-underline-offset: 2px; }

.tools-list { list-style: none; padding: 0; margin: 12px 0; max-width: 66ch; }
.tools-list li {
  padding: 11px 0; border-bottom: 1px solid rgba(0,0,0,0.12);
  font-size: 16px; line-height: 1.55;
}
.tools-list li:last-child { border-bottom: none; }
.tools-list li a { font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 860px) {
  .cover-image { max-width: 100%; }
  .separator { max-width: 300px; margin: 20px auto; }
  .roundup-grid { grid-template-columns: 1fr; }
  .story-image { max-width: 100%; }
}

/* ===== v3 additions ===== */

/* Eyebrow above section titles on issue pages */
.eyebrow--issue {
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 6px;
  font-weight: 700;
}

/* TOC bullets instead of arrows */
.issue-toc--bullets li::before { content: "\2022  "; color: var(--ink); }
.issue-toc--bullets { padding-left: 8px; }
.issue-toc--bullets li { padding-left: 4px; }

/* Image figures with source captions */
.story-figure { margin: 4px 0 18px; }
.story-image--hero { margin-bottom: 0; }
.story-caption {
  font-size: 12.5px;
  color: var(--ink-soft);
  font-style: italic;
  margin: 6px 0 0;
  text-align: center;
}

/* Model movers table (AI & Economy) */
.movers-block {
  border: 1px solid rgba(0,0,0,0.5);
  max-width: 66ch;
  margin: 18px 0 6px;
  background: rgba(0,0,0,0.02);
}
.movers-title {
  font-family: var(--serif-display);
  font-weight: 700;
  font-size: 16.5px;
  margin: 12px 14px 4px;
}
.movers-sub { font-size: 12.5px; font-weight: 400; color: var(--ink-soft); }
.movers-list { list-style: none; margin: 6px 0 8px; padding: 0 14px 10px; }
.movers-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 7px 0;
  border-bottom: 1px solid rgba(0,0,0,0.12);
}
.movers-row:last-child { border-bottom: none; }
.movers-model { font-size: 15px; font-weight: 700; }
.movers-org { font-size: 12.5px; font-weight: 400; color: var(--ink-soft); margin-left: 6px; }
.movers-arrow { font-size: 12px; margin-right: 3px; }
.movers-arrow--up { color: #1a7a1a; }
.movers-arrow--flat { color: var(--ink-soft); }
.movers-pct { font-size: 15px; font-weight: 700; }
.movers-pct--up { color: #1a7a1a; }
.movers-pct--flat { color: var(--ink-soft); }
.movers-source { margin: 0 14px 10px; text-align: left; }

/* Homepage edition card: show only the cover photo (no full newspaper cover) */
.edition-card__thumb img { display: block; }

.movers-arrow--down { color: #b00020; }
.movers-pct--down { color: #b00020; }

.movers-heading {
  font-family: var(--serif-display); font-weight: 700;
  font-size: 16.5px; margin: 16px 0 8px;
}
.movers-img {
  width: 100%;
  max-width: 600px;
  display: block;
  margin: 0 0 4px;
  border: 2px solid var(--ink);
  image-rendering: -webkit-optimize-contrast;
}
.movers-source { margin: 0 0 14px; }
.eyebrow--center { text-align: center; }
.section-header--takeaway { font-size: clamp(22px, 2.8vw, 30px); }
.movers-heading { font-size: 16.5px; }

/* ===== Round 5: center the content column on the page (text stays left-aligned) ===== */
.positioning-line { max-width: 66ch; margin: 20px auto 14px; }
.issue-toc-title { max-width: 66ch; margin: 0 auto 10px; }
.issue-toc { max-width: 66ch; margin: 0 auto 20px; }
.eyebrow--issue { max-width: 66ch; margin: 0 auto 6px; }
.section-header { max-width: 66ch; margin: 6px auto 18px; }
.story-figure { max-width: 66ch; margin: 4px auto 18px; }
.issue-body { max-width: 66ch; margin: 0 auto; }
.issue-link { max-width: 66ch; margin: 14px auto 0; }
.roundup-grid { max-width: 66ch; margin: 16px auto; }
.tools-list { max-width: 66ch; margin: 12px auto; }
.movers-block { max-width: 66ch; margin: 18px auto 6px; }

/* ===== Round 6: eyebrows + titles are TEXT-centered too ===== */
.eyebrow--issue { text-align: center; }
.section-header { text-align: center; }
.issue-toc-title { text-align: center; }
.movers-heading { text-align: center; }

/* ===== Round 7: letter-spaced centered text compensation =====
   letter-spacing adds space after the LAST character too, so text-align:center
   shifts the visible glyphs left. padding-left equal to the letter-spacing re-centers it. */
.eyebrow--issue { text-align: center; padding-left: 0.16em; }
.issue-toc-title { text-align: center; }
.masthead__kicker { text-align: center; }
