/* TechAgs report pages — shared styles. Mirrors index-simple.html design system. */
:root {
  --ink: #0B1B2B;
  --ink-2: #1A2E47;
  --slate: #4A5868;
  --slate-2: #7B8794;
  --rule: #E5E7EB;
  --bg: #FFFFFF;
  --bg-2: #F5F6F8;
  --accent: #00338D;
  --accent-2: #005EB8;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* Nav (matches main site) */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 22px; letter-spacing: -0.01em;
  color: var(--accent);
  text-decoration: none;
}
.brand-mark {
  width: 28px; height: 28px;
  background: var(--accent);
  display: inline-block;
  position: relative;
}
.brand-mark::after {
  content: ""; position: absolute; inset: 5px; background: #fff;
}
.nav-back {
  font-size: 14px; font-weight: 500;
  color: var(--slate);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: color .15s;
}
.nav-back:hover { color: var(--accent); }

/* Report header */
.report-header {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--rule);
}
.report-eyebrow {
  font-size: 12px; font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.report-title {
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-top: 16px;
  text-wrap: balance;
}
.report-deck {
  font-size: 20px;
  line-height: 1.55;
  color: var(--slate);
  margin-top: 20px;
  max-width: 60ch;
}
.report-meta {
  display: flex; flex-wrap: wrap; gap: 24px;
  margin-top: 32px;
  font-size: 13px;
  color: var(--slate-2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}
.report-meta .dot { color: var(--rule); }

/* Hero image */
.report-hero {
  aspect-ratio: 16/7;
  width: 100%;
  background-size: cover;
  background-position: center;
  margin-top: 40px;
  position: relative;
}
.report-hero::after {
  content: attr(data-caption);
  position: absolute; left: 16px; bottom: 16px;
  background: #fff; padding: 6px 10px;
  font-size: 11px; color: var(--slate);
  letter-spacing: 0.05em; text-transform: uppercase;
  border: 1px solid var(--rule);
}

/* Body content */
.report-body {
  padding: 56px 0 80px;
}
.report-body h2 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-top: 48px;
  color: var(--ink);
}
.report-body h2:first-child { margin-top: 0; }
.report-body h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin-top: 32px;
  color: var(--ink);
}
.report-body p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
  margin-top: 16px;
}
.report-body ul, .report-body ol {
  margin-top: 16px;
  padding-left: 22px;
}
.report-body li {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
  margin-top: 8px;
}
.report-body strong { color: var(--ink); font-weight: 600; }
.report-body blockquote {
  margin-top: 32px;
  padding: 8px 0 8px 24px;
  border-left: 3px solid var(--accent);
  font-size: 22px;
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.report-body blockquote cite {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--slate-2);
  font-style: normal;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Key stats strip inside body */
.report-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 40px;
}
.report-stat {
  background: #fff;
  padding: 28px 24px;
}
.report-stat .v {
  font-size: 40px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
}
.report-stat .l {
  font-size: 13px;
  color: var(--slate);
  margin-top: 10px;
  line-height: 1.4;
}

/* Inline figure */
.report-figure {
  margin-top: 40px;
}
.report-figure-img {
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-2);
  background-image:
    repeating-linear-gradient(135deg,
      transparent 0 12px,
      rgba(11,27,43,0.06) 12px 13px);
}
.report-figure figcaption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--slate-2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}

/* Author block */
.report-author {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
  display: flex;
  gap: 16px;
  align-items: center;
}
.report-author-avatar {
  width: 56px; height: 56px;
  background: var(--accent);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 18px;
  letter-spacing: 0.02em;
}
.report-author-name {
  font-size: 15px; font-weight: 600; color: var(--ink);
}
.report-author-role {
  font-size: 13px; color: var(--slate); margin-top: 2px;
}

/* Related reports */
.related {
  background: var(--bg-2);
  padding: 64px 0;
  border-top: 1px solid var(--rule);
}
.related h3 {
  font-size: 13px; font-weight: 600;
  color: var(--slate);
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 24px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.related-card {
  background: #fff;
  border: 1px solid var(--rule);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: transform .3s cubic-bezier(.2,.7,.2,1),
              box-shadow .3s cubic-bezier(.2,.7,.2,1),
              border-color .3s ease;
}
.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -16px rgba(11,27,43,0.18);
  border-color: var(--accent);
}
.related-meta {
  font-size: 12px; color: var(--slate-2); font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.related-title {
  font-size: 18px; font-weight: 600;
  margin-top: 8px; line-height: 1.3;
  letter-spacing: -0.005em;
}

/* Footer (matches main site) */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.85);
  padding: 64px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer h4 {
  color: #fff; font-size: 14px; font-weight: 600;
  margin-bottom: 16px;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: rgba(255,255,255,0.8); }
.footer-bottom {
  display: flex; justify-content: space-between;
  padding-top: 24px; font-size: 13px;
  color: rgba(255,255,255,0.55);
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .report-stats { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
}
