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

:root {
  --bg: #F7F6F3;
  --surface: #FFFFFF;
  --warm: #EFECE6;
  --dark: #111113;
  --dark-surface: #1A1A1E;
  --dark-border: #2A2A30;
  --border: #E2E0DB;
  --text: #1C1C1A;
  --text-body: #3A3A38;
  --text-muted: #7A7872;
  --accent: #0066FF;
  --accent-soft: #0066FF10;
  --accent-mid: #0066FF25;
  --accent-dark: #0050CC;
  --green: #1A7A52;
  --green-soft: #1A7A5212;
  --orange: #CC6D00;
  --orange-soft: #CC6D0012;
  --purple: #6B4FBB;
  --purple-soft: #6B4FBB12;
}

html { font-size: 17px; scroll-behavior: smooth; }
body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--text-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ===== HEADER ===== */
header {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.9rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}
.logo-pill {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.88rem;
  letter-spacing: -0.02em;
  color: #fff;
  background: var(--accent);
  padding: 0.4em 0.9em;
  border-radius: 999px;
  line-height: 1;
  white-space: nowrap;
}
.logo-pill .tld { opacity: 0.7; }
.logo-tagline {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #666;
  white-space: nowrap;
}
.main-nav a {
  font-size: 0.76rem;
  font-weight: 500;
  color: #999;
  text-decoration: none;
  margin-left: 1.8rem;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.main-nav a:hover { color: #fff; }

/* ===== HERO ===== */
.hero {
  background: var(--dark);
  padding: 4rem 2rem 5rem;
  text-align: center;
}
.hero-inner {
  max-width: 720px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: #0066FF15;
  border: 1px solid #0066FF30;
  padding: 0.4em 1.1em;
  border-radius: 4px;
  margin-bottom: 1.8rem;
}
.hero h1 {
  font-family: 'Newsreader', serif;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero p {
  font-size: 1rem;
  font-weight: 300;
  color: #999;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ===== STATS ===== */
.stats-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 1.6rem 2rem;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--accent);
  line-height: 1.2;
}
.stat-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* ===== TOPIC TILES ===== */
.tiles-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3.5rem 2rem 1rem;
}
.tiles-section .section-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.tiles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.8rem 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.tile:hover {
  border-color: var(--accent-mid);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  transform: translateY(-2px);
}
.tile-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.tile-tag {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.tile h3 {
  font-family: 'Newsreader', serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 0.5rem;
}
.tile p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex-grow: 1;
}
.tile-arrow {
  font-size: 0.75rem;
  color: var(--accent);
  margin-top: 1rem;
  font-weight: 500;
}

/* colour variants */
.tile-blue .tile-icon { background: var(--accent-soft); }
.tile-blue .tile-tag { color: var(--accent); }
.tile-green .tile-icon { background: var(--green-soft); }
.tile-green .tile-tag { color: var(--green); }
.tile-orange .tile-icon { background: var(--orange-soft); }
.tile-orange .tile-tag { color: var(--orange); }
.tile-purple .tile-icon { background: var(--purple-soft); }
.tile-purple .tile-tag { color: var(--purple); }

/* ===== FEATURED ARTICLE ===== */
.featured {
  max-width: 1100px;
  margin: 2rem auto 0;
  padding: 0 2rem;
}
.featured-card {
  background: var(--dark);
  border-radius: 16px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.featured-card .fc-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.featured-card h2 {
  font-family: 'Newsreader', serif;
  font-size: 1.7rem;
  font-weight: 400;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 1rem;
}
.featured-card p {
  font-size: 0.85rem;
  color: #aaa;
  line-height: 1.7;
  margin-bottom: 0.8rem;
}

/* ===== ARTICLE SECTIONS ===== */
.article-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3.5rem 2rem;
}
.article-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
}
.article-sidebar {
  position: sticky;
  top: 5rem;
}
.sidebar-tag {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.sidebar-title {
  font-family: 'Newsreader', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 0.6rem;
}
.sidebar-date {
  font-size: 0.72rem;
  color: var(--text-muted);
}
.article-body p {
  font-size: 0.92rem;
  line-height: 1.78;
  margin-bottom: 1rem;
  color: var(--text-body);
}
.article-body h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 1.6rem;
  margin-bottom: 0.6rem;
}

.callout {
  background: var(--warm);
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  padding: 1.3rem 1.5rem;
  margin: 1.5rem 0;
}
.callout p {
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  color: var(--text-body);
}
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--text); }

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ===== TIMELINE ===== */
.timeline-section {
  background: var(--warm);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.timeline-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3.5rem 2rem;
}
.timeline-header {
  margin-bottom: 2rem;
}
.timeline-header .section-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}
.timeline-header h2 {
  font-family: 'Newsreader', serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--text);
}
.tl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.tl-item {
  background: var(--surface);
  padding: 1.5rem 1.2rem;
}
.tl-year {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.tl-text {
  font-size: 0.76rem;
  line-height: 1.6;
  color: var(--text-body);
}

/* ===== CONTACT ===== */
.contact-section {
  background: var(--dark);
}
.contact-inner {
  max-width: 560px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
}
.contact-inner .section-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.contact-inner h2 {
  font-family: 'Newsreader', serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 0.5rem;
}
.contact-inner > p {
  font-size: 0.85rem;
  color: #888;
  font-weight: 300;
  margin-bottom: 2rem;
}

.contact-form {
  text-align: left;
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: 14px;
  padding: 2rem;
}
.form-row { margin-bottom: 1rem; }
.form-row label {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 0.35rem;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  color: #fff;
  background: var(--dark);
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  padding: 0.7em 0.9em;
  outline: none;
  transition: border-color 0.2s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus { border-color: var(--accent); }
.form-row textarea { resize: vertical; min-height: 80px; }
.form-row select option { background: var(--dark); color: #fff; }
.form-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; }

.submit-btn {
  display: block;
  width: 100%;
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: #fff;
  background: var(--accent);
  border: none;
  padding: 0.85em 2em;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.2s, transform 0.15s;
}
.submit-btn:hover { background: var(--accent-dark); transform: translateY(-1px); }

.success-msg {
  display: none;
  padding: 1.5rem;
  text-align: center;
  background: var(--dark-surface);
  border: 1px solid #1A7A5240;
  border-radius: 14px;
}
.success-msg p:first-child { color: var(--green); font-weight: 500; font-size: 0.92rem; margin-bottom: 0.3rem; }
.success-msg p:last-child { color: #888; font-size: 0.8rem; }

/* ===== FOOTER ===== */
footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.8rem 2rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 800px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .tiles-grid { grid-template-columns: 1fr; }
  .featured-card { grid-template-columns: 1fr; padding: 2rem; }
  .article-grid { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .tl-grid { grid-template-columns: 1fr; }
  .form-columns { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  footer { flex-direction: column; gap: 0.4rem; text-align: center; }
}
/* ===== ADDED OCTOBER 2026: MULTI PAGE LAYOUT ===== */
a { color: var(--accent-dark); }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--accent); color: #fff; padding: 0.6em 1em; z-index: 200; border-radius: 0 0 8px 0; font-size: 0.8rem; }
.skip-link:focus { left: 0; }
.main-nav a[aria-current="page"] { color: #fff; }
.main-nav a { margin-left: 1.4rem; }

.mnav { display: none; position: relative; }
.mnav summary { list-style: none; cursor: pointer; font-size: 0.78rem; font-weight: 500; color: #ddd; border: 1px solid var(--dark-border); border-radius: 8px; padding: 0.45em 0.9em; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav[open] summary { border-color: var(--accent); color: #fff; }
.mnav nav { position: absolute; right: 0; top: calc(100% + 0.6rem); background: var(--dark-surface); border: 1px solid var(--dark-border); border-radius: 12px; padding: 0.5rem; width: 240px; box-shadow: 0 10px 30px rgba(0,0,0,0.35); }
.mnav nav a { display: block; color: #ccc; text-decoration: none; font-size: 0.85rem; padding: 0.55em 0.8em; border-radius: 8px; }
.mnav nav a:hover, .mnav nav a[aria-current="page"] { background: #ffffff12; color: #fff; }

.page-hero { background: var(--dark); padding: 2.4rem 2rem 3.2rem; }
.page-hero-inner { max-width: 1100px; margin: 0 auto; }
.page-hero h1 { font-family: 'Newsreader', serif; font-size: clamp(1.9rem, 4.4vw, 2.8rem); font-weight: 400; color: #fff; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 1rem; max-width: 840px; }
.page-hero .dek { font-size: 1rem; font-weight: 300; color: #aaa; max-width: 700px; line-height: 1.65; margin-bottom: 1.2rem; }
.page-hero .hero-badge { margin-bottom: 1.2rem; }
.meta { font-size: 0.74rem; color: #888; }
.meta a { color: #bbb; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: 0.72rem; color: #888; margin-bottom: 1.4rem; }
.breadcrumb li + li::before { content: "\203A"; margin-right: 0.4rem; color: #555; }
.breadcrumb a { color: #aaa; text-decoration: none; }
.breadcrumb a:hover { color: #fff; }

.toc { list-style: none; border-left: 2px solid var(--border); padding-left: 1rem; margin-bottom: 1.5rem; }
.toc li { margin-bottom: 0.5rem; font-size: 0.8rem; line-height: 1.4; }
.toc a { color: var(--text-muted); text-decoration: none; }
.toc a:hover { color: var(--accent); }

.article-body h2 { font-family: 'Newsreader', serif; font-size: 1.5rem; font-weight: 500; color: var(--text); line-height: 1.3; margin: 2.4rem 0 0.8rem; scroll-margin-top: 5rem; }
.article-body ul, .article-body ol { margin: 0 0 1rem 1.2rem; font-size: 0.92rem; line-height: 1.75; color: var(--text-body); }
.article-body li { margin-bottom: 0.35rem; }
.article-body blockquote { font-family: 'Newsreader', serif; font-size: 1.2rem; line-height: 1.5; color: var(--text); border-left: 3px solid var(--accent); padding: 0.2rem 0 0.2rem 1.2rem; margin: 1.5rem 0; }
.article-body blockquote cite { display: block; font-family: 'Outfit', sans-serif; font-size: 0.75rem; font-style: normal; color: var(--text-muted); margin-top: 0.5rem; }
.takeaways { background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--accent); border-radius: 12px; padding: 1.4rem 1.6rem; margin-bottom: 1rem; }
.article-body .takeaways h2 { font-family: 'Outfit', sans-serif; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin: 0 0 0.8rem; }
.takeaways ul { margin-bottom: 0; }

.article-grid > * { min-width: 0; }
.table-wrap { overflow-x: auto; margin: 1.2rem 0 1.6rem; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 0.82rem; min-width: 520px; }
.table-wrap th, .table-wrap td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--border); vertical-align: top; line-height: 1.5; }
.table-wrap th { font-weight: 600; color: var(--text); background: var(--warm); font-size: 0.76rem; }
.table-wrap tr:last-child td { border-bottom: none; }

.sources { margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--border); }
.article-body .sources h2 { font-family: 'Outfit', sans-serif; font-size: 1rem; font-weight: 600; margin-top: 0; }
.article-body .sources ol { font-size: 0.8rem; color: var(--text-muted); }
.sources a { color: var(--text-body); }

.kicker { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.8rem; }
.section-heading { font-family: 'Newsreader', serif; font-size: 1.5rem; font-weight: 400; color: var(--text); margin-bottom: 1.5rem; line-height: 1.3; }
.band-warm { background: var(--warm); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.wrap { max-width: 1100px; margin: 0 auto; padding: 3.5rem 2rem; }

.status-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 2rem 2.2rem; margin-top: -2.5rem; position: relative; box-shadow: 0 10px 40px rgba(0,0,0,0.06); }
.status-card h2 { font-family: 'Newsreader', serif; font-size: 1.5rem; font-weight: 500; color: var(--text); margin-bottom: 1.2rem; }
.status-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem 2rem; }
.status-item { border-left: 3px solid var(--accent); padding-left: 1rem; }
.status-item strong { display: block; color: var(--text); font-size: 0.9rem; margin-bottom: 0.2rem; }
.status-item p { font-size: 0.84rem; line-height: 1.6; }
.status-item.green { border-color: var(--green); }
.status-item.orange { border-color: var(--orange); }
.status-item.purple { border-color: var(--purple); }
.status-foot { margin-top: 1.4rem; font-size: 0.78rem; color: var(--text-muted); }

.updates { list-style: none; border-top: 1px solid var(--border); }
.updates li { display: grid; grid-template-columns: 130px 1fr; gap: 1.2rem; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.updates time { font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; color: var(--accent); padding-top: 0.15rem; }
.updates a { color: var(--text); font-weight: 500; text-decoration: none; font-size: 0.95rem; }
.updates a:hover { color: var(--accent); }
.updates p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.55; margin-top: 0.2rem; }

.qa details { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; margin-bottom: 0.7rem; }
.qa summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 500; color: var(--text); font-size: 0.95rem; }
.qa details p { padding: 0 1.2rem 1.1rem; font-size: 0.88rem; }

.tl-item.upcoming .tl-year { color: var(--orange); }
.tl-badge { display: inline-block; font-size: 0.58rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange); background: var(--orange-soft); padding: 0.2em 0.6em; border-radius: 4px; margin-left: 0.4rem; vertical-align: middle; font-family: 'Outfit', sans-serif; }
.tl-text a { color: var(--accent-dark); }

.more-link { display: inline-block; margin-top: 1.4rem; font-size: 0.85rem; font-weight: 500; color: var(--accent); text-decoration: none; }
.more-link:hover { text-decoration: underline; }
.featured-card a { color: #8db8ff; }

.site-footer { background: var(--dark); color: #999; max-width: none; display: block; padding: 0; font-size: 0.8rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 3rem 2rem 2rem; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand .logo-pill { text-decoration: none; }
.footer-brand p { margin-top: 1rem; color: #888; font-size: 0.8rem; line-height: 1.6; max-width: 300px; }
.footer-head { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #666; margin-bottom: 0.8rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.45rem; }
.site-footer a { color: #bbb; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-base { max-width: 1100px; margin: 0 auto; padding: 1.2rem 2rem 2rem; border-top: 1px solid var(--dark-border); display: flex; justify-content: space-between; gap: 1rem; font-size: 0.7rem; color: #777; }

@media (max-width: 1000px) {
  .main-nav a { margin-left: 1rem; }
}
@media (max-width: 800px) {
  .mnav { display: block; }
  .status-grid { grid-template-columns: 1fr; }
  .status-card { padding: 1.6rem 1.4rem; }
  .updates li { grid-template-columns: 1fr; gap: 0.3rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-base { flex-direction: column; }
  .site-footer { text-align: left; }
  .article-sidebar { display: none; }
}
@media (max-width: 480px) {
  .logo-tagline { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
}
