/* =========================================================
   AI Field Notes — design system
   Editorial clarity, modern warmth. Paper over chrome.
   ========================================================= */

:root {
  /* ---- Colour ---- */
  --bg:        #f7f3ea;
  --bg-2:      #efe8d7;
  --bg-inset:  #ece4d0;
  --ink:       #151412;
  --ink-2:     #3a3732;
  --ink-3:     #6b655c;
  --ink-4:     #9e978c;
  --rule:      #d8cfbe;
  --rule-2:    #e6ddc8;
  --accent:    #b04530;
  --accent-2:  #8d3724;
  --accent-wash: rgba(176, 69, 48, 0.08);

  /* ---- Type families ---- */
  --ff-serif: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  --ff-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* ---- Type scale (5 steps + meta) ---- */
  --fs-display-xl: clamp(44px, 7vw, 84px);
  --fs-display-l:  clamp(34px, 4.6vw, 52px);
  --fs-display-m:  clamp(22px, 2.6vw, 30px);
  --fs-lead:       18px;
  --fs-body:       16px;
  --fs-meta:       12px;

  /* ---- Space scale ---- */
  --sp-1: 6px;
  --sp-2: 12px;
  --sp-3: 18px;
  --sp-4: 24px;
  --sp-5: 36px;
  --sp-6: 56px;
  --sp-7: 88px;
  --sp-8: 128px;

  /* ---- Structure ---- */
  --wrap: 1120px;
  --measure: 680px;
  --measure-wide: 820px;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-pill: 999px;
  --t: 180ms ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
ol, ul { list-style: none; }
p { margin: 0; }

body {
  font-family: var(--ff-sans);
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11', 'ss01';
  background: var(--bg);
  color: var(--ink);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--ink); color: var(--bg); }

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--t), text-decoration-color var(--t);
}
a:hover { color: var(--accent); text-decoration-color: var(--accent); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* =========================================================
   Layout primitives
   ========================================================= */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
}
.measure { max-width: var(--measure); }
.measure-wide { max-width: var(--measure-wide); }

/* =========================================================
   Typography primitives
   ========================================================= */
.meta {
  font-family: var(--ff-sans);
  font-size: var(--fs-meta);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: var(--measure);
}

.display-xl,
.display-l,
.display-m {
  font-family: var(--ff-serif);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.display-xl { font-size: var(--fs-display-xl); line-height: 0.98; letter-spacing: -0.025em; }
.display-l  { font-size: var(--fs-display-l);  line-height: 1.04; }
.display-m  { font-size: var(--fs-display-m);  line-height: 1.22; letter-spacing: -0.01em; }

.display-xl em,
.display-l em,
.display-m em {
  font-style: italic;
  color: var(--accent);
}

/* =========================================================
   Topbar
   ========================================================= */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 243, 234, 0.86);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
  flex-wrap: wrap;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}
.wordmark em { font-style: italic; color: var(--accent); }
.wordmark:hover { color: var(--accent); }
.wordmark-mark {
  width: 22px;
  height: 22px;
  flex: none;
  display: block;
}
.wordmark-text {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}
.wordmark-title {
  font-family: var(--ff-serif);
  font-size: 22px;
  letter-spacing: -0.005em;
  line-height: 1;
}
.wordmark-by {
  font-family: var(--ff-sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  line-height: 1;
  transition: color var(--t);
}
.wordmark:hover .wordmark-by { color: var(--ink-3); }

.topnav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.topnav a:not(.btn) {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  transition: color var(--t);
}
.topnav a:not(.btn):hover { color: var(--ink); }
.topnav a:not(.btn).is-active {
  color: var(--ink);
  position: relative;
}
.topnav a:not(.btn).is-active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--ink);
}
.digest-count {
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
  margin-left: 2px;
}
.topnav a:not(.btn):hover .digest-count { color: var(--ink-2); }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  text-decoration: none;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t);
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
  text-decoration: none;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
}
.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
  text-decoration: none;
}
.btn-sm { padding: 8px 14px; font-size: 13px; }

/* =========================================================
   Subscribe form
   ========================================================= */
.form-subscribe {
  display: flex;
  gap: 8px;
  max-width: 460px;
  margin-top: 0;
}
.form-subscribe input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 13px 18px;
  background: var(--bg);
  border: 1px solid var(--ink);
  border-radius: var(--radius-pill);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  transition: border-color var(--t), box-shadow var(--t);
}
.form-subscribe input[type="email"]::placeholder { color: var(--ink-4); }
.form-subscribe input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(176, 69, 48, 0.15);
}
.form-subscribe button {
  padding: 13px 24px;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  transition: background var(--t), border-color var(--t);
  white-space: nowrap;
}
.form-subscribe button:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.trust-line {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-3);
}
.trust-line a { color: var(--ink); }

/* =========================================================
   Hero
   ========================================================= */
.hero { padding: 96px 0 84px; }
.hero-inner { max-width: var(--measure-wide); }
.hero .dateline { margin-bottom: 28px; }
.hero h1 { margin: 0; }
.hero .lead { margin-top: 28px; }
.hero .form-subscribe { margin-top: 36px; }
.hero .trust-line { margin-top: 16px; }

.dateline {
  font-family: var(--ff-sans);
  font-size: var(--fs-meta);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.dateline::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}

/* =========================================================
   Byline strip
   ========================================================= */
.byline {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--bg-2);
  padding: 72px 0;
}
.byline-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 48px;
  align-items: start;
  max-width: 960px;
}
.byline-grid .meta { padding-top: 10px; }
.byline-grid h2 {
  font-family: var(--ff-serif);
  font-weight: 400;
  font-size: var(--fs-display-m);
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 680px;
}
.byline-grid h2 em {
  font-style: italic;
  color: var(--accent);
}
.byline-grid p {
  margin-top: 20px;
  color: var(--ink-2);
  max-width: 620px;
  line-height: 1.65;
}

/* =========================================================
   Byline strip — compact variant (homepage, after preview)
   ========================================================= */
.byline-strip {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--bg-2);
  padding: 28px 0;
}
.byline-strip-inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.byline-strip p {
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 720px;
  font-size: 15px;
}
.byline-strip p em {
  font-family: var(--ff-serif);
  font-style: italic;
  color: var(--ink);
  font-size: 17px;
}
.byline-strip .byline-more {
  flex-shrink: 0;
  white-space: nowrap;
}

/* =========================================================
   Promises (what this is)
   ========================================================= */
.promises { padding: 104px 0 72px; }
.promises .meta { margin-bottom: 24px; }
.promises-lead {
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 400;
  font-size: var(--fs-display-m);
  line-height: 1.32;
  color: var(--ink);
  max-width: 620px;
}

.promise-list {
  margin-top: 64px;
  display: flex;
  flex-direction: column;
}
.promise-list li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--rule);
}
.promise-list li:first-child { border-top: 1px solid var(--rule); }
.promise-no {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 28px;
  color: var(--accent);
  line-height: 1;
  padding-top: 6px;
}
.promise-list h3 {
  font-family: var(--ff-sans);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}
.promise-list p {
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 560px;
}

/* =========================================================
   Preview on homepage
   ========================================================= */
.preview { padding: 48px 0 72px; }
.preview-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 8px;
}
.preview-head h2 {
  font-family: var(--ff-serif);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.preview-more {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  transition: color var(--t), border-color var(--t);
}
.preview-more:hover { color: var(--accent); border-color: var(--accent); }
.preview-list { display: flex; flex-direction: column; }
.preview-empty {
  padding: 32px 0;
  color: var(--ink-3);
  font-style: italic;
}

/* =========================================================
   Final CTA panel
   ========================================================= */
.final-cta {
  margin-top: 64px;
  padding: 96px 0 112px;
  border-top: 1px solid var(--rule);
  background: var(--bg-2);
}
.final-cta-inner {
  max-width: 680px;
}
.final-cta .meta { margin-bottom: 20px; }
.final-cta h2 { margin: 0; }
.final-cta p.sub {
  margin-top: 18px;
  color: var(--ink-2);
  font-size: var(--fs-lead);
  line-height: 1.55;
  max-width: 560px;
}
.final-cta .form-subscribe { margin-top: 32px; }
.final-cta .trust-line { margin-top: 16px; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  border-top: 1px solid var(--rule);
  background: var(--bg);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 32px;
  flex-wrap: wrap;
  max-width: var(--wrap);
  margin: 0 auto;
}
.footer-copy {
  font-size: 13px;
  color: var(--ink-3);
}
.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 13px;
  color: var(--ink-2);
  text-decoration: none;
}
.footer-nav a:hover { color: var(--accent); }

/* =========================================================
   Field Notes — compact header (issue + TL;DR + filters)
   ========================================================= */
.fn-header {
  padding: 48px 0 24px;
  border-bottom: 1px solid var(--rule);
}
.fn-header .dateline { margin-bottom: 14px; }
.fn-header-tldr-row {
  display: flex;
  align-items: flex-start;
  gap: 36px;
  margin-top: 14px;
}
.fn-header-tldr-row .fn-header-tldr {
  flex: 1 1 50%;
  margin-top: 0;
  min-width: 0;
}
.fn-header-cover {
  flex: 1 1 50%;
  min-width: 0;
  margin: 0;
}
.fn-header-cover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  background: var(--bg-2);
}
@media (max-width: 720px) {
  .fn-header-tldr-row {
    flex-direction: column;
    gap: 20px;
  }
  .fn-header-cover { width: 100%; max-width: 460px; }
}
.fn-header-title {
  font-family: var(--ff-serif);
  font-weight: 400;
  font-size: var(--fs-display-m);
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  line-height: 1.15;
}
.fn-header-tldr {
  margin-top: 14px;
  max-width: 680px;
  color: var(--ink-2);
}
.fn-header .filters { margin-top: 22px; }

/* =========================================================
   Field Notes — feed
   ========================================================= */
.feed-section { padding: 24px 0 80px; }

.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  padding: 6px 13px;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--ink-3);
  transition: color var(--t), border-color var(--t), background var(--t);
}
.chip:hover { color: var(--ink); border-color: var(--ink-3); }
.chip.is-active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.feed-day {
  padding: 32px 0 0;
}
.feed-day-heading {
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.005em;
  color: var(--ink-3);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.feed-day-heading .today-badge {
  font-style: normal;
  font-family: var(--ff-sans);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  font-weight: 600;
}

.feed-card {
  display: block;
  padding: 32px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
}
.feed-card:last-child { border-bottom: 0; }

.feed-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.feed-card-meta .tag {
  color: var(--accent);
  font-weight: 600;
}
.feed-card-meta .tag + .tag::before {
  content: '·';
  color: var(--ink-4);
  margin-right: 6px;
  margin-left: -4px;
}
.feed-card-meta .dot {
  color: var(--ink-4);
}

.feed-card h3 {
  font-family: var(--ff-serif);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 16px;
  max-width: 720px;
}

.feed-card-body {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
  gap: 40px;
  align-items: start;
}
.feed-card-main { min-width: 0; }
.feed-card-what {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.65;
}

.feed-card-sowhat {
  padding-left: 22px;
  border-left: 3px solid var(--accent);
}
.feed-card-sowhat-label {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: var(--fs-lead);
  color: var(--accent);
  line-height: 1.2;
  margin-bottom: 10px;
}
.feed-card-sowhat-qualifier {
  opacity: 0.7;
}
.feed-card-sowhat-body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
}

.feed-card-source {
  margin-top: 22px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.feed-card-source a {
  color: var(--ink-3);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--t);
}
.feed-card-source a:hover { color: var(--accent); }
.feed-card-source .host {
  color: var(--ink-4);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}
.feed-card-source .arrow { transition: transform var(--t); }
.feed-card-source a:hover .arrow { transform: translateX(3px); }

.feed-card-takeaway {
  background: var(--accent-wash);
  padding: 28px 28px;
  border-left: 2px solid var(--accent);
  margin: 24px 0;
  border-bottom: 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.feed-card-takeaway .feed-card-meta .tag { color: var(--accent-2); }
.feed-card-takeaway h3 {
  color: var(--accent-2);
  margin-bottom: 10px;
}
.feed-card-takeaway p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  max-width: 680px;
}

.feed-empty {
  padding: 56px 0;
  font-size: 15px;
  color: var(--ink-3);
  text-align: center;
  font-style: italic;
}

/* =========================================================
   Delivery channels — free + premium grid
   ========================================================= */
.channels {
  padding: 80px 0 72px;
  border-top: 1px solid var(--rule);
}
.channels-inner { max-width: var(--measure-wide); }
.channels .meta { margin-bottom: 20px; }
.channels h2 { margin: 0; }
.channels p.sub {
  margin-top: 18px;
  color: var(--ink-2);
  font-size: var(--fs-lead);
  line-height: 1.55;
  max-width: 580px;
}

.channel-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.channel-card {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.channel-card-premium {
  background: var(--bg);
  border-color: var(--rule-2);
}

.channel-badge {
  align-self: flex-start;
  font-family: var(--ff-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
}
.channel-badge-free {
  background: var(--ink);
  color: var(--bg);
}
.channel-badge-premium {
  background: var(--accent-wash);
  color: var(--accent-2);
  border: 1px solid rgba(176, 69, 48, 0.25);
}

.channel-card h3 {
  font-family: var(--ff-serif);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.2;
  margin-top: 2px;
}

.channel-card p {
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.55;
  flex: 1;
}

.channel-cta {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  align-self: flex-start;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  transition: color var(--t), border-color var(--t);
}
.channel-cta:hover { color: var(--accent); border-color: var(--accent); }
.channel-cta-current {
  color: var(--ink-3);
  border-bottom-color: transparent;
  cursor: default;
}

.channels-foot {
  margin-top: 28px;
  font-size: 13px;
  color: var(--ink-3);
  font-style: italic;
  max-width: 560px;
}

/* Field Notes subscribe panel */
.fn-subscribe {
  border-top: 1px solid var(--rule);
  background: var(--bg-2);
  padding: 80px 0 96px;
}
.fn-subscribe-inner { max-width: 680px; }
.fn-subscribe .meta { margin-bottom: 20px; }
.fn-subscribe h2 { margin: 0; }
.fn-subscribe p.sub {
  margin-top: 18px;
  color: var(--ink-2);
  font-size: var(--fs-lead);
  line-height: 1.55;
  max-width: 560px;
}
.fn-subscribe .form-subscribe { margin-top: 28px; }

/* =========================================================
   Homepage preview — TL;DR teaser cards
   First card (latest) links to today's digest, the rest to the
   subscriber-only Substack archive.
   ========================================================= */
.preview-tldr {
  display: block;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  text-decoration: none;
  transition: opacity var(--t);
}
.preview-tldr:last-child { border-bottom: 0; }
.preview-tldr-body-row {
  display: flex;
  align-items: flex-start;
  gap: 28px;
}
.preview-tldr-body-row .preview-tldr-body { flex: 1 1 50%; min-width: 0; }
.preview-tldr-cover {
  flex: 1 1 50%;
  min-width: 0;
  margin: 0;
}
.preview-tldr-cover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--rule);
  background: var(--bg-2);
}
@media (max-width: 640px) {
  .preview-tldr-body-row {
    flex-direction: column;
    gap: 16px;
  }
  .preview-tldr-cover {
    max-width: 360px;
  }
}
.preview-tldr-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.preview-tldr-meta {
  font-family: var(--ff-sans);
  font-size: var(--fs-meta);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-3);
}
.preview-tldr-latest .preview-tldr-meta { color: var(--accent); }
.preview-tldr-lock {
  font-family: var(--ff-sans);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-3);
  border: 1px solid var(--rule);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}
.preview-tldr-body {
  font-family: var(--ff-serif);
  font-size: 20px;
  line-height: 1.45;
  letter-spacing: -0.005em;
  color: var(--ink);
  max-width: 720px;
  margin-bottom: 14px;
}
.preview-tldr-locked .preview-tldr-body { color: var(--ink-2); }
.preview-tldr-cta {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  transition: color var(--t), border-color var(--t);
}
.preview-tldr:hover .preview-tldr-cta {
  color: var(--accent);
  border-color: var(--accent);
}

/* =========================================================
   About page
   ========================================================= */
.about-section { padding: 80px 0; }
.about-section-alt {
  background: var(--bg-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.focus-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 680px;
}
.focus-list li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.65;
}
.focus-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 10px;
  height: 1px;
  background: var(--accent);
}

.cta-row {
  margin-top: 32px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.byline-more {
  display: inline-block;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  transition: color var(--t), border-color var(--t);
}
.byline-more:hover { color: var(--accent); border-color: var(--accent); }

.motto {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink);
  margin-top: 24px;
  padding-left: 18px;
  border-left: 2px solid var(--accent);
  max-width: 560px;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 820px) {
  .wrap { padding: 0 22px; }
  .footer-inner { padding: 24px 22px; }

  .topbar-inner { padding-top: 14px; padding-bottom: 14px; gap: 16px; }
  .topnav { gap: 18px; }

  .hero { padding: 72px 0 64px; }
  .byline { padding: 56px 0; }
  .byline-grid { grid-template-columns: 1fr; gap: 12px; }
  .byline-grid .meta { padding-top: 0; }

  .byline-strip { padding: 22px 0; }
  .byline-strip-inner { gap: 14px; }

  .promises { padding: 72px 0 48px; }
  .promise-list { margin-top: 40px; }
  .promise-list li { grid-template-columns: 48px 1fr; gap: 16px; padding: 24px 0; }

  .preview { padding: 24px 0 40px; }
  .final-cta { padding: 72px 0 80px; }

  .fn-header { padding: 32px 0 20px; }
  .fn-header .filters { margin-top: 16px; }
  .feed-section { padding: 20px 0 56px; }
  .feed-card { padding: 28px 0; }
  .feed-card-body { grid-template-columns: 1fr; gap: 20px; }
  .channels { padding: 56px 0 48px; }
  .channel-grid { margin-top: 32px; }
  .fn-subscribe { padding: 56px 0 72px; }

  .form-subscribe { flex-direction: column; max-width: 100%; }
  .form-subscribe button { width: 100%; }

  .about-section { padding: 56px 0; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; }
}

@media (max-width: 560px) {
  .topnav a:not(.btn) { display: none; }
  .topnav a.btn { display: inline-flex; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
