/* 15-Month Policy content pack — shared styles for the pillar + 25 spokes */

:root {
  --ink: #12132a;
  --ink-2: #3d4166;
  --muted: #6b7194;
  --line: #e6e8f2;
  --bg-soft: #f7f8fc;
  --brand: #6366f1;
  --brand-2: #8b5cf6;
  --brand-ink: #4f46e5;
  --gold: #f59e0b;
  --radius: 14px;
  --wrap: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink-2);
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Urbanist', sans-serif; color: var(--ink); line-height: 1.25; }

a { color: var(--brand-ink); }

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

/* ---------------------------------------------------------- breadcrumb */

.breadcrumb { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 14px 0; }
.breadcrumb-list {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center; list-style: none;
  font-size: 14px; color: var(--muted); max-width: var(--wrap); margin: 0 auto; padding: 0 20px;
}
.breadcrumb-list li:not(:last-child)::after { content: "›"; margin-left: 8px; color: #b9bed6; }
.breadcrumb-list a { color: var(--brand-ink); text-decoration: none; }
.breadcrumb-list a:hover { text-decoration: underline; }

/* --------------------------------------------------------------- heroes */

.hub-hero, .post-hero {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 55%, #9333ea 100%);
  color: #fff;
  padding: 64px 0 56px;
}
.post-hero { padding: 52px 0 44px; }
.hub-hero h1, .post-hero h1 { color: #fff; }
.hub-hero h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 800; letter-spacing: -0.02em; max-width: 20ch; }
.post-hero h1 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 700; max-width: 26ch; }

.kicker { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pill {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.22); color: #fff;
}
.pill--ghost { background: transparent; border: 1px solid rgba(255,255,255,.4); }
.pill--client { background: #fff; color: var(--brand-ink); text-transform: none; letter-spacing: 0; font-size: 12.5px; }

.lede { margin-top: 18px; font-size: 1.08rem; max-width: 68ch; color: rgba(255,255,255,.92); }
.take { margin-top: 16px; font-size: 1.05rem; max-width: 62ch; color: rgba(255,255,255,.94); }
.take strong { color: #fff; }
.verdict { margin-top: 10px; font-size: .95rem; color: rgba(255,255,255,.8); }
.verdict strong { color: #fff; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px; list-style: none; margin-top: 36px; max-width: 620px;
}
.hero-stats li {
  background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px; padding: 14px 12px; text-align: center;
}
.hero-stats strong { display: block; font-family: 'Urbanist', sans-serif; font-size: 1.5rem; color: #fff; }
.hero-stats span { font-size: 12px; color: rgba(255,255,255,.82); line-height: 1.35; display: block; }

/* -------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 15px/1 'Inter', sans-serif; text-decoration: none;
  padding: 13px 22px; border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(99,102,241,.28); }
.btn--primary:hover { background: var(--brand-ink); }
.btn--ghost { background: #fff; color: var(--brand-ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); }
.btn--magnet { background: #fff7ed; color: #b45309; border-color: #fcd9a4; }
.btn--magnet:hover { background: #ffedd5; }
.btn--white { background: #fff; color: var(--brand-ink); }
.btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn.is-copied { background: #059669; color: #fff; border-color: #059669; }

/* --------------------------------------------------------------- cards */

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; margin: 28px 0;
}
.card h2 { font-size: 1.25rem; margin-bottom: 10px; }
.card__hint { font-size: .92rem; color: var(--muted); margin-bottom: 16px; }
.disclaimer { font-size: .86rem; color: var(--muted); font-style: italic; margin-top: 16px; }

.actionbar {
  display: flex; flex-wrap: wrap; gap: 10px;
  padding: 18px; margin-top: -26px; position: relative; z-index: 2;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(18,19,42,.08);
}

.card--script { background: var(--bg-soft); }
.script-body p { margin-bottom: 16px; font-size: 1.06rem; color: var(--ink-2); }
.script-body p:last-child { margin-bottom: 0; }
.script-body p:first-child { font-size: 1.14rem; color: var(--ink); font-weight: 500; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-2 .card { margin: 0; }

.kv { display: grid; grid-template-columns: 1fr; gap: 2px; }
.kv dt { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; margin-top: 12px; }
.kv dt:first-child { margin-top: 0; }
.kv dd { font-size: .98rem; color: var(--ink); }

.card--magnet { background: #fffbf3; border-color: #f6e3c4; display: flex; flex-direction: column; }
.card--magnet code { background: #fff; border: 1px solid #f0d9b5; padding: 2px 8px; border-radius: 6px; color: #b45309; font-size: .9em; }
.magnet__desc { font-size: 1.02rem; color: var(--ink-2); margin-bottom: 10px; }
.card--magnet .btn { margin-top: auto; align-self: flex-start; }

.card--facts ul { margin: 8px 0 0 20px; }
.card--facts li { margin-bottom: 8px; }

.card--series {
  background: var(--tone-soft, var(--bg-soft));
  border-color: var(--tone-line, var(--line));
  border-left: 4px solid var(--tone, var(--brand));
}
.series-list { margin: 6px 0 0 20px; }
.series-list li { margin-bottom: 9px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.series-list a { color: var(--ink); text-decoration: none; font-weight: 500; }
.series-list a:hover { color: var(--tone-ink, var(--brand-ink)); text-decoration: underline; }
.series-list__code {
  font-size: 11px; font-weight: 600; color: var(--tone-ink, var(--muted));
  background: #fff; border: 1px solid var(--tone-line, var(--line));
  padding: 2px 7px; border-radius: 5px;
}

.card--howto { background: var(--bg-soft); }
.howto { margin: 8px 0 0 20px; }
.howto li { margin-bottom: 10px; }

/* ------------------------------------------------------------ briefing */

.briefing { margin: 52px 0; }
.briefing h2 { font-size: 1.75rem; padding-bottom: 12px; border-bottom: 2px solid var(--brand); margin-bottom: 22px; }
.briefing h3 { font-size: 1.2rem; margin: 30px 0 10px; }
.briefing p { margin-bottom: 14px; max-width: 74ch; }

.quick-answer {
  background: #f0f0ff; border-left: 4px solid var(--brand);
  padding: 22px 26px; border-radius: 0 12px 12px 0; margin-bottom: 8px;
}
.quick-answer h3 { margin: 0 0 6px; font-size: 1.05rem; color: var(--brand-ink); }
.quick-answer p { margin: 0; }

.changes { width: 100%; border-collapse: collapse; margin: 18px 0 8px; font-size: .95rem; }
.changes th, .changes td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.changes thead th { background: var(--bg-soft); font-family: 'Urbanist', sans-serif; color: var(--ink); font-size: .9rem; }
.changes td.yes { color: #047857; font-weight: 600; }
.changes td.no { color: #b45309; font-weight: 600; }
.table-scroll { overflow-x: auto; }

.facts-list { margin: 10px 0 18px 20px; }
.facts-list li { margin-bottom: 8px; }

/* --------------------------------------------------- tones (audiences) */

.tone-gain        { --tone: #059669; --tone-soft: #ecfdf5; --tone-line: #a7f3d0; --tone-ink: #047857; }
.tone-gain-strong { --tone: #047857; --tone-soft: #e7f8f0; --tone-line: #8fe7c4; --tone-ink: #065f46; }
.tone-mixed       { --tone: #d97706; --tone-soft: #fffbeb; --tone-line: #fde3ab; --tone-ink: #b45309; }
.tone-lose        { --tone: #dc2626; --tone-soft: #fef2f2; --tone-line: #fecaca; --tone-ink: #b91c1c; }
.tone-neutral     { --tone: #0d9488; --tone-soft: #f0fdfa; --tone-line: #99f6e4; --tone-ink: #0f766e; }
.tone-trust       { --tone: #7c3aed; --tone-soft: #f5f3ff; --tone-line: #ddd6fe; --tone-ink: #6d28d9; }

/* -------------------------------------------------------- client board */

.clients { margin: 56px 0; scroll-margin-top: 90px; }
.clients h2 { font-size: 1.75rem; padding-bottom: 12px; border-bottom: 2px solid var(--brand); margin-bottom: 10px; }

.board-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; align-items: start; }
/* The catch-all group is the widest list — give it the full row. */
#client-all { grid-column: 1 / -1; }

.board {
  border: 1px solid var(--tone-line, var(--line));
  border-radius: var(--radius);
  background: var(--tone-soft, #fff);
  overflow: hidden;
  scroll-margin-top: 90px;
}
.board__head {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: var(--ink); padding: 14px 18px;
}
.board__icon {
  width: 30px; height: 30px; flex: none; display: grid; place-items: center;
  background: var(--tone, var(--brand)); border-radius: 50%; font-size: 15px;
}
.board__head h3 { color: #fff; font-size: 1.04rem; margin: 0; flex: 1; min-width: 140px; }
.board__badge {
  font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  background: var(--tone, var(--brand)); color: #fff; padding: 5px 10px; border-radius: 999px;
}
.board__count { font-size: 12px; color: rgba(255,255,255,.65); font-weight: 500; }
.board__blurb { font-size: .89rem; color: var(--muted); padding: 14px 18px 0; margin: 0; }

.board__list { list-style: none; padding: 10px 18px 16px; margin: 0; }
.board__row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--tone-line, var(--line));
}
.board__row:last-child { border-bottom: 0; }
.board__link { display: flex; align-items: baseline; gap: 10px; text-decoration: none; flex: 1; min-width: 0; }
.board__n { font-family: 'Urbanist', sans-serif; font-weight: 800; font-size: .95rem; color: var(--tone-ink, var(--brand)); flex: none; }
.board__title { font-size: .93rem; color: var(--ink); line-height: 1.4; }
.board__link:hover .board__title { color: var(--tone-ink, var(--brand-ink)); text-decoration: underline; }
.board__pdf {
  flex: none; font-size: 11px; font-weight: 600; color: var(--muted);
  text-decoration: none; padding: 4px 8px; border-radius: 6px; border: 1px solid transparent;
}
.board__pdf:hover { color: var(--tone-ink, var(--brand-ink)); border-color: var(--tone-line, var(--line)); background: #fff; }

/* ------------------------------------------------------ impact summary */

.impact-summary {
  display: grid; grid-template-columns: 220px 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 22px;
}
.impact-summary__head { background: var(--ink); color: #fff; padding: 22px; display: flex; flex-direction: column; justify-content: center; }
.impact-summary__head strong { font-family: 'Urbanist', sans-serif; font-size: 1.5rem; color: #fff; }
.impact-summary__head span { font-size: .84rem; color: rgba(255,255,255,.7); }
.impact-list { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; }
.impact { padding: 20px 18px; border-left: 1px solid var(--line); }
.impact strong { display: block; font-family: 'Urbanist', sans-serif; font-size: 1.05rem; color: var(--tone-ink, var(--ink)); }
.impact__pct { display: block; font-size: .8rem; color: var(--tone, var(--muted)); font-weight: 600; margin-bottom: 6px; }
.impact__label { font-size: .84rem; color: var(--muted); line-height: 1.4; display: block; }

/* -------------------------------------------------------------- angles */

.angles-section { margin: 56px 0; scroll-margin-top: 90px; }
.angles-section h2, .clusters h2, .faq-section h2, .related h2 {
  font-size: 1.75rem; padding-bottom: 12px; border-bottom: 2px solid var(--brand); margin-bottom: 10px;
}
.section-sub { color: var(--muted); margin-bottom: 22px; }

.filters { margin-bottom: 24px; }
.filter-row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.filter-row__label {
  flex: none; width: 52px; padding-top: 11px; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; color: var(--muted);
}
.filter-empty { font-size: .92rem; color: var(--muted); padding: 8px 0 0 64px; }
.linkish {
  background: none; border: 0; padding: 0; font: inherit; color: var(--brand-ink);
  font-weight: 600; cursor: pointer; text-decoration: underline;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 0; }
.chip {
  font: 600 13px/1 'Inter', sans-serif; padding: 10px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2); cursor: pointer;
  transition: all .15s ease;
}
.chip span { color: var(--muted); font-weight: 500; }
.chip:hover { border-color: var(--brand); }
.chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip.is-active span { color: rgba(255,255,255,.75); }

.angles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 18px; }

.angle {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  display: flex; flex-direction: column; background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.angle:hover { border-color: var(--brand); box-shadow: 0 10px 26px rgba(18,19,42,.07); transform: translateY(-2px); }
.angle[hidden] { display: none; }
.angle__head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.angle__n { font-family: 'Urbanist', sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--brand); }
.angle__cluster { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; color: var(--muted); }
.angle h3 { font-size: 1.05rem; margin-bottom: 8px; }
.angle h3 a { color: var(--ink); text-decoration: none; }
.angle h3 a:hover { color: var(--brand-ink); }
.angle__take { font-size: .93rem; color: var(--muted); margin-bottom: 16px; flex: 1; }
.angle__actions { display: flex; flex-wrap: wrap; gap: 8px; }

.mini {
  font: 600 12.5px/1 'Inter', sans-serif; padding: 8px 12px; border-radius: 8px;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  text-decoration: none; cursor: pointer; transition: all .15s ease;
}
.mini:hover { border-color: var(--brand); color: var(--brand-ink); }
.mini--primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.mini--primary:hover { background: var(--brand-ink); color: #fff; }
.mini.is-copied { background: #059669; border-color: #059669; color: #fff; }

/* ------------------------------------------------------------ clusters */

.clusters { margin: 56px 0; }
.cluster-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 22px; }
.cluster { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.cluster h3 { font-size: 1.05rem; margin-bottom: 6px; }
.cluster p { font-size: .9rem; color: var(--muted); margin-bottom: 12px; }
.cluster ul { margin-left: 18px; }
.cluster li { margin-bottom: 7px; font-size: .93rem; }
.cluster a { text-decoration: none; }
.cluster a:hover { text-decoration: underline; }

/* ------------------------------------------------------- pager/related */

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 44px 0; }
.pager__link {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px;
  text-decoration: none; display: block; transition: border-color .15s ease;
}
.pager__link:hover { border-color: var(--brand); }
.pager__link span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.pager__link strong { color: var(--ink); font-family: 'Urbanist', sans-serif; font-weight: 600; font-size: 1rem; line-height: 1.35; }
.pager__link--next { text-align: right; }

.related { margin: 52px 0; }
.rel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-top: 20px; }
.rel-card {
  border: 1px solid var(--line); border-radius: 12px; padding: 18px;
  text-decoration: none; display: flex; flex-direction: column; gap: 6px;
  background: #fff; transition: border-color .15s ease, transform .15s ease;
}
.rel-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.rel-card__cluster { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; color: var(--brand); }
.rel-card__title { font-family: 'Urbanist', sans-serif; font-weight: 600; color: var(--ink); font-size: 1rem; line-height: 1.35; }
.rel-card__take { font-size: .88rem; color: var(--muted); }
.backlink { margin-top: 22px; }
.backlink a { text-decoration: none; font-weight: 600; }
.backlink a:hover { text-decoration: underline; }

/* ---------------------------------------------------------- disclaimer */

.disclaimer-band {
  background: #fffbeb;
  border: 1px solid #fcd9a4;
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 40px 0;
}
.disclaimer-band h2 {
  font-size: 1.02rem;
  color: #92400e;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.disclaimer-band h2::before { content: "⚠"; font-size: 1.1em; }
.disclaimer-band p { font-size: .92rem; color: #78350f; margin-bottom: 10px; max-width: 78ch; }
.disclaimer-band p:last-child { margin-bottom: 0; }
.disclaimer-band strong { color: #7c2d12; }
.disclaimer-band a { color: #b45309; font-weight: 600; }

/* ------------------------------------------------------------- faq/cta */

.faq-section { margin: 52px 0; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; margin-top: 12px; }
.faq-item h3 { font-size: 1.02rem; color: var(--brand-ink); margin-bottom: 6px; }
.faq-item p { font-size: .96rem; margin: 0; }

.cta {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: #fff; border-radius: 16px; padding: 46px 32px; text-align: center; margin: 52px 0;
}
.cta h2 { color: #fff; font-size: 1.6rem; margin-bottom: 12px; }
.cta p { max-width: 62ch; margin: 0 auto 24px; color: rgba(255,255,255,.9); }
.cta .btn + .btn { margin-left: 10px; }

/* ------------------------------------------------------------ responsive */

@media (max-width: 980px) {
  .impact-summary { grid-template-columns: 1fr; }
  .impact-list { grid-template-columns: repeat(2, 1fr); }
  .impact { border-left: 0; border-top: 1px solid var(--line); }
  .impact:nth-child(even) { border-left: 1px solid var(--line); }
}

@media (max-width: 860px) {
  .grid-2 { grid-template-columns: 1fr; }
  .pager { grid-template-columns: 1fr; }
  .pager__link--next { text-align: left; }
  .board-grid { grid-template-columns: 1fr; }
  .filter-row { flex-direction: column; gap: 6px; }
  .filter-row__label { width: auto; padding-top: 0; }
  .filter-empty { padding-left: 0; }
}

@media (max-width: 600px) {
  .hub-hero, .post-hero { padding: 44px 0 40px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .actionbar { margin-top: -20px; padding: 14px; }
  .btn { width: 100%; justify-content: center; }
  .cta .btn + .btn { margin-left: 0; margin-top: 10px; }
  .card { padding: 22px 18px; }
  .impact-list { grid-template-columns: 1fr; }
  .impact, .impact:nth-child(even) { border-left: 0; }
  .board__head { padding: 12px 14px; }
  .board__blurb, .board__list { padding-left: 14px; padding-right: 14px; }
  .board__row { flex-wrap: wrap; gap: 6px; }
  .changes { font-size: .88rem; }
  .changes th, .changes td { padding: 10px; }
}

@media print {
  .actionbar, .cta, .chips, .angle__actions, .pager, #header-include, #footer-include { display: none !important; }
  .hub-hero, .post-hero { background: none; color: #000; }
  .hub-hero h1, .post-hero h1, .lede, .take { color: #000; }
}
