/*
 * Shared stylesheet for the /insights/ section.
 *
 * The rest of the site inlines its CSS per page, which is fine for five pages
 * that rarely change. Articles are different: they get added weekly, so
 * duplicating ~250 lines of design tokens into every new file would guarantee
 * drift. This file carries the same tokens and component styles as the inline
 * versions — keep them in sync if the main pages are restyled.
 */

:root {
  --navy: #13345c;
  --navy-deep: #0e2646;
  --steel: #1c6ea4;
  --ink: #33455a;
  --muted: #5b7189;
  --faint: #8ba0b3;
  --line: #e7edf3;
  --tint: #f4f8fb;
  --wash: #e6f1fb;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #fff; color: var(--ink);
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif; text-wrap: pretty; }
.page { max-width: 1200px; margin: 0 auto; background: #fff; }
a { color: var(--steel); text-decoration: none; }
a:hover { color: var(--navy); }
:focus-visible { outline: 2px solid var(--steel); outline-offset: 2px; }

.kick { font-size: 13px; font-weight: 700; color: var(--steel); letter-spacing: 1px; margin-bottom: 10px; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between;
  padding: 14px 40px; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: #fff; z-index: 20; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 42px; height: 42px; object-fit: contain; display: block; }
.brand b { display: block; font-weight: 700; font-size: 16px; color: var(--navy); letter-spacing: .5px; }
.brand span { display: block; font-size: 10px; color: var(--muted); letter-spacing: 1px; }
.top nav { display: flex; gap: 28px; font-size: 14px; font-weight: 500; }
.top nav a { color: var(--ink); }
.top nav a:hover { color: var(--steel); }
.top-actions { display: flex; align-items: center; gap: 10px; }
.hamburger { display: none; align-items: center; justify-content: center; width: 40px; height: 40px;
  border: 1.5px solid var(--line); border-radius: 6px; background: #fff; color: var(--navy); cursor: pointer; flex: none; }
.hamburger:hover { background: var(--tint); }

.btn { display: inline-flex; align-items: center; justify-content: center;
  font-family: inherit; font-size: 14px; font-weight: 600; border-radius: 6px;
  padding: 12px 22px; border: 1.5px solid transparent; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--steel); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--navy); }
.btn-ghost:hover { background: var(--tint); color: var(--navy); }

/* ---- insights index ---- */
.ins-head { padding: 56px 40px 34px; border-bottom: 1px solid var(--line); }
.ins-head h1 { font-size: 34px; font-weight: 700; color: var(--navy); margin: 0 0 12px; line-height: 1.2; }
.ins-head p { font-size: 15px; color: var(--muted); line-height: 1.7; margin: 0; max-width: 620px; }

.ins-list { padding: 40px 40px 56px; display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.ins-card { border: 1px solid var(--line); border-radius: 12px; padding: 24px 26px;
  display: flex; flex-direction: column; transition: border-color .15s, box-shadow .15s; }
.ins-card:hover { border-color: #cfe0ef; box-shadow: 0 10px 26px rgba(19,52,92,.07); }
.ins-card .tag { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--steel);
  text-transform: uppercase; margin-bottom: 10px; }
.ins-card h2 { font-size: 19px; font-weight: 700; color: var(--navy); margin: 0 0 10px; line-height: 1.35; }
.ins-card h2 a { color: inherit; }
.ins-card h2 a:hover { color: var(--steel); }
.ins-card p { font-size: 14px; color: var(--muted); line-height: 1.7; margin: 0 0 16px; }
.ins-card .meta { margin-top: auto; font-size: 12px; color: var(--faint); }

/* ---- article ---- */
.art { max-width: 760px; margin: 0 auto; padding: 48px 40px 64px; }
.crumb { font-size: 12px; color: var(--faint); margin-bottom: 20px; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--steel); }
.art h1 { font-size: 34px; font-weight: 700; color: var(--navy); line-height: 1.22; margin: 0 0 14px; }
.art .standfirst { font-size: 17px; line-height: 1.65; color: var(--muted); margin: 0 0 22px; }
.art .byline { font-size: 12px; color: var(--faint); padding-bottom: 22px;
  border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.art h2 { font-size: 22px; font-weight: 700; color: var(--navy); margin: 38px 0 12px; line-height: 1.3; }
.art h3 { font-size: 17px; font-weight: 600; color: var(--navy); margin: 26px 0 8px; }
.art p { font-size: 15.5px; line-height: 1.8; margin: 0 0 16px; }
.art ul, .art ol { font-size: 15.5px; line-height: 1.8; margin: 0 0 18px; padding-left: 22px; }
.art li { margin-bottom: 8px; }
.art strong { color: var(--navy); font-weight: 600; }

.callout { background: var(--tint); border-left: 3px solid var(--steel); border-radius: 0 8px 8px 0;
  padding: 18px 22px; margin: 26px 0; }
.callout p { font-size: 14.5px; margin: 0; }
.callout p + p { margin-top: 10px; }
.callout strong { color: var(--navy); }

.art table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 14.5px; }
.art th, .art td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.art th { background: var(--tint); color: var(--navy); font-weight: 600; font-size: 13px; }

.art-end { margin-top: 42px; padding-top: 26px; border-top: 1px solid var(--line); }
.art-end p { font-size: 14px; color: var(--muted); }
.art-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }

/* disclaimer + footer */
.disclaimer { background: #0b1f3a; color: #a9c0d6; font-size: 12px; line-height: 1.7;
  padding: 18px 40px; border-top: 1px solid #1f3f61; }
.disclaimer strong { color: #fff; font-weight: 600; }

.foot { background: var(--navy-deep); color: #c7d8e8; padding: 48px 40px 24px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.foot .brand b { color: #fff; font-size: 15px; }
.foot .brand span { color: #7d93aa; }
.foot h4 { font-weight: 700; font-size: 13px; color: #fff; margin: 0 0 12px; }
.foot p { font-size: 13px; line-height: 1.9; margin: 0; }
.foot a { color: #c7d8e8; }
.foot a:hover { color: #fff; }
.foot ul { list-style: none; margin: 0; padding: 0; font-size: 13px; line-height: 2; }
.foot-base { border-top: 1px solid #1f3f61; padding-top: 18px; display: flex;
  justify-content: space-between; gap: 16px; font-size: 11px; color: #7d93aa; flex-wrap: wrap; }

@media (max-width: 1000px) {
  .hamburger { display: inline-flex; }
  .top nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 18px;
    box-shadow: 0 14px 28px rgba(19,52,92,.1); }
  .top nav[data-open='true'] { display: flex; }
  .top nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .top, .disclaimer, .foot { padding-left: 20px; padding-right: 20px; }
  .ins-head, .ins-list { padding-left: 20px; padding-right: 20px; }
  .art { padding: 32px 20px 48px; }
  .art h1, .ins-head h1 { font-size: 27px; }
  .foot-grid { grid-template-columns: 1fr; }
}
