/* content.css — shared styles for Tagline content pages (comparisons + guides).
   Reuses the marketing palette + type system so these pages read as native. */

:root {
  --bone: #F2EDE3;
  --bone-deep: #E8E0D0;
  --ink: #1A1814;
  --ink-soft: #2D2823;
  --dust: #8C7B6B;
  --dust-light: #B5A697;
  --terra: #B8501F;
  --terra-deep: #8E3B14;
  --eucalypt: #2D3B2D;
  --mustard: #D4A23A;
  --paper-line: rgba(26, 24, 20, 0.08);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bone); color: var(--ink);
  font-family: 'Manrope', -apple-system, system-ui, sans-serif; font-weight: 400; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: var(--terra); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Nav ──────────────────────────────────────────────────────────────────── */
nav.topnav {
  position: sticky; top: 0; z-index: 100;
  padding: 1.1rem 2.5rem; display: flex; justify-content: space-between; align-items: center;
  backdrop-filter: blur(8px); background: rgba(242, 237, 227, 0.85);
  border-bottom: 1px solid var(--paper-line);
}
.logo { display: flex; align-items: baseline; gap: 0.5rem; }
.logo-mark { width: 14px; height: 14px; background: var(--terra); border-radius: 50%; position: relative; align-self: center; }
.logo-mark::after { content: ""; position: absolute; inset: 3px; background: var(--bone); border-radius: 50%; }
.logo-text { font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: 1.35rem; letter-spacing: -0.02em; color: var(--ink); }
.logo-tag { font-family: 'JetBrains Mono', monospace; font-size: 0.62rem; color: var(--dust); text-transform: uppercase; letter-spacing: 0.14em; }
.logo a { color: inherit; text-decoration: none; }
.nav-links { display: flex; list-style: none; gap: 1.6rem; align-items: center; }
.nav-links a:not(.nav-cta) { color: var(--ink-soft); font-size: 0.9rem; font-weight: 500; }
.nav-links a:not(.nav-cta):hover { color: var(--terra); text-decoration: none; }
.nav-cta { background: var(--ink); color: var(--bone) !important; padding: 0.55rem 1.2rem; border-radius: 100px; font-size: 0.85rem; font-weight: 600; }
.nav-cta:hover { background: var(--terra); text-decoration: none; }
@media (max-width: 720px) { .nav-links li:not(:last-child) { display: none; } nav.topnav { padding: 1rem 1.25rem; } }

/* ── Article ──────────────────────────────────────────────────────────────── */
.article-wrap { max-width: 760px; margin: 0 auto; padding: 3.5rem 1.5rem 1rem; }
.breadcrumb { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; letter-spacing: 0.04em; color: var(--dust); margin-bottom: 1.5rem; text-transform: uppercase; }
.breadcrumb a { color: var(--dust); }
.eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--terra); font-weight: 500; }
.article-wrap h1 {
  font-family: 'Fraunces', Georgia, serif; font-weight: 400; letter-spacing: -0.025em; line-height: 1.08;
  font-size: clamp(2.1rem, 5vw, 3.1rem); margin: 0.75rem 0 1rem; color: var(--ink);
}
.lede { font-size: 1.18rem; color: var(--ink-soft); line-height: 1.6; margin-bottom: 1rem; }
.article-meta { font-size: 0.82rem; color: var(--dust); margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--paper-line); }

.prose { font-size: 1.04rem; color: var(--ink-soft); }
.prose h2 { font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: 1.7rem; color: var(--ink); margin: 2.5rem 0 0.9rem; letter-spacing: -0.02em; }
.prose h3 { font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 1.15rem; color: var(--ink); margin: 1.8rem 0 0.6rem; }
.prose p { margin: 0 0 1.1rem; }
.prose ul, .prose ol { margin: 0 0 1.3rem 1.3rem; }
.prose li { margin-bottom: 0.5rem; }

/* Article-body lists (comparison pages + nlis-software) — the global `* { padding:0 }`
   reset wipes the browser ul default, so without these the bullets land in the
   left gutter outside the article column. */
.article-body ul, .article-body ol { margin: 0 0 1.3rem 1.4rem; padding-left: 0.4rem; }
.article-body li { margin-bottom: 0.5rem; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose blockquote {
  border-left: 3px solid var(--terra); padding: 0.5rem 0 0.5rem 1.25rem; margin: 1.5rem 0;
  color: var(--ink); font-style: italic; font-size: 1.1rem;
}

/* Comparison table */
.cmp-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0 2rem; font-size: 0.92rem; }
.cmp-table th, .cmp-table td { text-align: left; padding: 0.8rem 0.9rem; border-bottom: 1px solid var(--paper-line); vertical-align: top; }
.cmp-table thead th { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--dust); }
.cmp-table th.hl, .cmp-table td.hl { background: rgba(184, 80, 31, 0.06); }
.cmp-table thead th.hl { color: var(--terra); }
.cmp-table td.feature { font-weight: 600; color: var(--ink); }
.tick { color: var(--eucalypt); font-weight: 700; }
.cross { color: var(--dust-light); }

/* Key-takeaways / callout box */
.callout { background: #fff; border: 1px solid var(--paper-line); border-radius: 12px; padding: 1.4rem 1.6rem; margin: 2rem 0; }
.callout h3 { margin-top: 0; }
.callout ul { margin-bottom: 0; }

/* FAQ */
.faq { margin: 2rem 0; }
.faq-q { font-weight: 700; color: var(--ink); margin: 1.4rem 0 0.4rem; font-size: 1.05rem; }

/* ── CTA band ─────────────────────────────────────────────────────────────── */
.cta-band { background: var(--eucalypt); color: var(--bone); margin-top: 3.5rem; padding: 3rem 1.5rem; text-align: center; }
.cta-band h2 { font-family: 'Fraunces', Georgia, serif; font-weight: 400; font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: 0.6rem; }
.cta-band h2 em { color: var(--mustard); font-style: italic; }
.cta-band p { color: rgba(242, 237, 227, 0.85); max-width: 520px; margin: 0 auto 1.6rem; }
.btn-primary {
  background: var(--terra); color: #fff; padding: 0.95rem 1.9rem; border: none; border-radius: 100px;
  font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 0.95rem; text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.5rem; transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--terra-deep); transform: translateY(-2px); text-decoration: none; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
footer.site-footer { background: var(--bone-deep); padding: 2.5rem 1.5rem; border-top: 1px solid var(--paper-line); }
footer.site-footer .inner { max-width: 760px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.82rem; color: var(--dust); }
footer.site-footer a { color: var(--dust); }

/* ── Share row on guides ──────────────────────────────────────────────
   Plain links, no Facebook SDK or third-party share widget. Deliberate:
   an <a href> needs no JS, sends nothing to Facebook until the reader
   actually clicks, and requires no CSP change (navigation isn't covered
   by connect-src/script-src). The only script is the copy-link button. */
.share-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
  margin: 2.5rem 0 0; padding-top: 1.5rem;
  border-top: 1px solid rgba(26,24,20,0.12);
}
.share-label {
  font-family: 'JetBrains Mono', monospace; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.08em; color: #8C7B6B;
  margin-right: 0.25rem;
}
.share-btn {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font: inherit; font-size: 0.85rem; line-height: 1;
  padding: 0.5rem 0.8rem; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(26,24,20,0.16); background: rgba(255,255,255,0.5);
  color: var(--ink, #1A1814); text-decoration: none;
  transition: border-color .16s, background .16s, transform .16s;
}
.share-btn:hover { border-color: var(--terra, #B8501F); color: var(--terra, #B8501F);
  background: rgba(255,255,255,0.85); transform: translateY(-1px); }
.share-btn svg { width: 14px; height: 14px; flex: none; }
.share-btn[data-copied="1"] { border-color: var(--terra, #B8501F); color: var(--terra, #B8501F); }

/* ── Deadline alert strip ─────────────────────────────────────────────
   For time-bound regulatory changes (e.g. the 1 Sept 2026 LPA
   biosecurity upload). Sits directly under the top nav on affected
   guides and links to /guides/compliance-changes-2026.

   Deliberately NOT dismissible and NOT sticky: it's a real deadline that
   expires on its own, a dismissed banner can't warn anyone, and a
   floating bar eats scarce mobile screen and reads like an ad — the
   opposite of the credibility these guides are built on. No JS, no
   stored state. */
.deadline-strip {
  background: #1A1814;
  color: #F2EDE3;
  font-size: 0.88rem;
  line-height: 1.5;
}
.deadline-strip .inner {
  /* 760px matches .article-wrap so the strip lines up with the article text
     rather than sitting wider than the content it belongs to. */
  max-width: 760px; margin: 0 auto; padding: 0.8rem 1.5rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem;
}
.deadline-strip .pill {
  font-family: 'JetBrains Mono', monospace; font-size: 0.64rem;
  text-transform: uppercase; letter-spacing: 0.12em;
  background: #D4A23A; color: #1A1814;
  padding: 0.22rem 0.5rem; border-radius: 4px; white-space: nowrap;
}
.deadline-strip strong { color: #fff; font-weight: 600; }
.deadline-strip a {
  color: #E8A87C; text-decoration: none; font-weight: 500; white-space: nowrap;
  border-bottom: 1px solid rgba(232,168,124,0.4);
}
.deadline-strip a:hover { color: #fff; border-bottom-color: #fff; }
@media (max-width: 640px) {
  .deadline-strip { font-size: 0.82rem; }
  .deadline-strip .inner { padding: 0.6rem 1rem; }
}

/* Rows on the compliance-changes page */
.change-card {
  border: 1px solid rgba(26,24,20,0.14); border-left: 3px solid #B8501F;
  border-radius: 0 10px 10px 0; padding: 1.25rem 1.4rem; margin: 0 0 1.25rem;
  background: rgba(255,255,255,0.45);
}
.change-card .when {
  font-family: 'JetBrains Mono', monospace; font-size: 0.7rem;
  text-transform: uppercase; letter-spacing: 0.1em; color: #B8501F;
  margin-bottom: 0.35rem;
}
.change-card h3 { margin: 0 0 0.5rem; }
.change-card .who {
  font-size: 0.85rem; color: #5C5347; margin: 0 0 0.75rem;
  padding-bottom: 0.6rem; border-bottom: 1px dashed rgba(26,24,20,0.14);
}
