/* agenticfinancereport.com — built from design_handoff_agentic_finance_site (high fidelity) */

@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/SpaceGrotesk-400.woff2) format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/SpaceGrotesk-500.woff2) format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/SpaceGrotesk-600.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/Inter-400.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/Inter-500.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/Inter-600.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/JetBrainsMono-400.woff2) format('woff2'); }
@font-face { font-family: 'Michroma'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/Michroma-400.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/JetBrainsMono-500.woff2) format('woff2'); }

:root {
  --navy-top: #23225E;
  --navy-mid: #131440;
  --navy-base: #090B20;
  --ink-dark: #F4F0E8;
  --white: #FFFFFF;
  --cream: #FBF9F4;
  --ink: #17131F;
  --body: #3A3546;
  --muted: #6A6478;
  --blue: #386AFF;
  --blue-hover: #5580FF;
  --blue-deep: #1E44C7;
  --blue-light: #8FB4FF;
  --grad: linear-gradient(90deg, #386AFF, #55A5F6, #7A5CFF, #8FB4FF);
  --grad-v: linear-gradient(180deg, #386AFF, #55A5F6, #7A5CFF, #8FB4FF);
  --display: 'Space Grotesk', system-ui, sans-serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
}

html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; text-wrap: pretty; }
* { box-sizing: border-box; }
img { max-width: 100%; display: block; }
a { color: var(--blue-deep); text-decoration: none; }
a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

.page { min-height: 100vh; overflow-x: clip; }
html, body { overflow-x: clip; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- shared type ---------- */
.label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; }
.label-11 { font-size: 11px; }
.h2 { font-family: var(--display); font-weight: 500; font-size: clamp(30px, 3.8vw, 46px); line-height: 1.1; letter-spacing: -0.028em; margin: 0; max-width: 22em; }
.accent { color: var(--blue-deep); }
.grad-rule { height: 1px; background: var(--grad); max-width: 120px; margin-bottom: 40px; }
.grid-tex { position: absolute; inset: 0; opacity: 0.4; background-image: linear-gradient(rgba(143,180,255,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(143,180,255,0.07) 1px, transparent 1px); background-size: 64px 64px; pointer-events: none; }
.dark { position: relative; color: var(--ink-dark); overflow: hidden; }
.dark > .wrap { position: relative; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; height: 56px; padding: 0 30px; background: var(--blue); color: #FFFFFF; font-size: 16px; font-weight: 500; border-radius: 2px; text-decoration: none; transition: background-color .15s ease; }
.btn:hover { background: var(--blue-hover); color: #FFFFFF; text-decoration: none; }
.link-dark { display: inline-flex; align-items: center; height: 56px; color: var(--blue-light); font-size: 16px; text-decoration: none; border-bottom: 1px solid rgba(143,180,255,0.4); }
.link-dark:hover { color: var(--ink-dark); text-decoration: none; }

/* ---------- mode toggle ---------- */
.mode { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border: 1px solid rgba(244,240,232,0.22); border-radius: 999px; background: rgba(244,240,232,0.04); }
.mode button { display: inline-flex; align-items: center; gap: 9px; height: 36px; padding: 0 16px; border-radius: 999px; font-family: var(--display); font-size: 15px; font-weight: 500; cursor: pointer; white-space: nowrap; border: 1px solid transparent; background: transparent; color: rgba(244,240,232,0.55); }
.mode button[aria-pressed="true"] { border-color: rgba(244,240,232,0.45); background: rgba(244,240,232,0.10); color: var(--ink-dark); }
.mode button:not([aria-pressed="true"]):hover { color: var(--ink-dark); }
.mode .dot { width: 9px; height: 9px; border-radius: 999px; border: 1.5px solid currentColor; display: block; }
.mode .prompt { font-family: var(--mono); font-size: 12px; letter-spacing: 0; }

/* ---------- 1. header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(9,11,32,0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(244,240,232,0.14); }
.site-header .wrap { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header-cta { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; background: var(--blue); color: #FFFFFF; font-size: 14px; font-weight: 500; border-radius: 2px; text-decoration: none; white-space: nowrap; transition: background-color .15s ease; }
.header-cta:hover { background: var(--blue-deep); color: #FFFFFF; text-decoration: none; }

/* ---------- 2. hero ---------- */
.hero { background: radial-gradient(120% 90% at 78% 8%, #23225E 0%, #131440 42%, #090B20 100%); }
.hero .grid-tex { opacity: 0.5; }
.hero .wrap { padding-top: 96px; }
.hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 64px; align-items: start; }
.hero-grid > div { min-width: 0; }
.hero .eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue-light); }
.hero h1 { font-family: var(--display); font-weight: 500; font-size: clamp(56px, 8vw, 104px); line-height: 0.96; letter-spacing: -0.035em; margin: 22px 0 0; }
.hero .sub { font-size: 19px; line-height: 1.55; color: rgba(244,240,232,0.82); max-width: 33em; margin: 28px 0 0; }
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin: 40px 0 0; }
.hero .note { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(244,240,232,0.55); margin: 28px 0 0; line-height: 1.6; }
.cover-col { display: flex; justify-content: center; padding-bottom: 8px; }
.cover { display: block; width: 100%; max-width: 380px; aspect-ratio: 210 / 297; border: 1px solid rgba(244,240,232,0.22); box-shadow: 0 40px 80px -40px rgba(0,0,0,0.8); background: linear-gradient(150deg, #1B1C52 0%, #0C0E28 100%); }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover:hover { text-decoration: none; }
.byline { margin: 80px 0 0; border-top: 1px solid rgba(244,240,232,0.14); padding: 32px 0 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 32px 56px; }
.byline .label { margin-bottom: 12px; color: rgba(244,240,232,0.55); }
.byline .label.lead { color: var(--blue-light); }
.byline .names { font-family: var(--display); font-size: 17px; color: var(--ink-dark); line-height: 1.5; }
.byline .names.guest { color: rgba(244,240,232,0.8); }
.byline .launch { font-size: 16px; color: rgba(244,240,232,0.8); line-height: 1.5; }

/* ---------- 3. argument ---------- */
.argument { background: var(--white); padding: 120px 0; }
.argument .h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.06; letter-spacing: -0.03em; max-width: 20em; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 56px; margin-top: 56px; align-items: start; }
.argument .lead-p { font-size: 18px; line-height: 1.65; color: var(--body); margin: 0; }
.pull { margin: 0; padding: 4px 0 4px 28px; border-left: 3px solid transparent; border-image: var(--grad-v) 1; }
.pull .label { color: var(--muted); margin-bottom: 14px; }
.pull p { font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.42; letter-spacing: -0.015em; color: var(--ink); margin: 0; }
.pull strong { font-weight: 600; }

/* ---------- 4. preconditions ---------- */
.preconditions { background: var(--cream); padding: 112px 0; border-top: 1px solid rgba(23,19,31,0.08); }
.preconditions .h2 { margin-bottom: 56px; }
.five { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.five li { border: 1px solid rgba(23,19,31,0.14); padding: 32px 28px 36px; }
.five .n { font-family: var(--mono); font-size: 30px; color: var(--blue-deep); letter-spacing: -0.02em; }
.five p { font-size: 17px; line-height: 1.5; color: var(--ink); margin: 20px 0 0; }

/* ---------- 5. stack ---------- */
.stack { background: linear-gradient(180deg, #090B20 0%, #14153C 100%); padding: 120px 0; }
.stack .h2 .hl { color: var(--blue-light); }
.layers { display: flex; flex-direction: column; gap: 10px; margin: 56px 0 0; padding: 0; list-style: none; }
.layer { border: 1px solid rgba(244,240,232,0.16); background: rgba(244,240,232,0.05); padding: 26px 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px 32px; align-items: center; }
.layer.base { background: rgba(244,240,232,0.08); }
.layer.pending { border: 1px dashed rgba(143,180,255,0.6); background: transparent; }
.layer .label { color: rgba(244,240,232,0.6); margin-bottom: 8px; }
.layer.pending .label { color: var(--blue-light); }
.layer .what { font-family: var(--display); font-size: 20px; letter-spacing: -0.02em; }
.layer .owner { font-size: 16px; color: rgba(244,240,232,0.8); }
.layer .owner a { color: rgba(244,240,232,0.8); }
.layer .owner a:hover { color: var(--ink-dark); }
.tag { justify-self: start; }
.tag span { font-family: var(--mono); font-size: 10px; line-height: 1.5; letter-spacing: 0.14em; text-transform: uppercase; padding: 7px 12px; display: inline-block; color: var(--navy-base); background: var(--blue-light); }
.layer.pending .tag span { color: var(--ink-dark); background: transparent; border: 1px solid rgba(143,180,255,0.6); }
.stack .caption { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(244,240,232,0.55); margin-top: 24px; line-height: 1.6; }

/* ---------- 6. findings ---------- */
.findings { background: var(--white); padding: 120px 0; }
.findings .h2 { margin-bottom: 56px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 28px; }
.card { border: 1px solid rgba(23,19,31,0.14); padding: 32px 28px; display: flex; flex-direction: column; gap: 16px; }
.card .fig { font-family: var(--display); font-weight: 500; font-size: 44px; line-height: 1; letter-spacing: -0.035em; color: var(--blue-deep); }
.card .claim { font-size: 16px; line-height: 1.55; color: var(--ink); margin: 0; }
.card .caveat { font-size: 14px; line-height: 1.5; color: var(--muted); margin: auto 0 0; padding-top: 12px; border-top: 1px solid rgba(23,19,31,0.1); }
.card .src { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.card.type { background: var(--cream); }
.card.type .fig { font-size: 28px; line-height: 1.12; letter-spacing: -0.028em; color: var(--ink); }
.card.type .claim { color: var(--body); }

/* ---------- 7. chapters ---------- */
.chapters { background: var(--white); padding: 120px 0; }
.chapters .h2 { margin-bottom: 56px; }
.toc { border-top: 1px solid rgba(23,19,31,0.14); margin: 0; padding: 0; list-style: none; }
.toc li { display: grid; grid-template-columns: 110px minmax(0, 1fr) minmax(0, 220px); gap: 24px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid rgba(23,19,31,0.1); }
.toc li.guest { background: var(--cream); }
.toc .num { font-family: var(--mono); font-size: 20px; color: var(--blue-deep); }
.toc .fw { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.toc .chip { justify-self: start; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); border: 1px solid rgba(23,19,31,0.3); padding: 5px 8px; }
.toc .title { font-family: var(--display); font-size: 21px; letter-spacing: -0.02em; color: var(--ink); }
.toc .by { font-size: 15px; color: var(--muted); }
@media (max-width: 640px) {
  .toc li { grid-template-columns: 72px minmax(0, 1fr); gap: 6px 16px; }
  .toc .by { grid-column: 2; }
}

/* ---------- 8. contributors ---------- */
.contributors { background: var(--cream); padding: 112px 0; border-top: 1px solid rgba(23,19,31,0.08); }
.contributors .group-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue-deep); margin: 0; font-weight: 400; }
.contributors .group-label.guests { color: var(--muted); margin-top: 72px; }
.co-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 20px; margin-top: 24px; }
.co { border: 1px solid rgba(23,19,31,0.14); padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; background: var(--white); }
.co .logo { height: 34px; display: flex; align-items: center; }
.co .logo img { height: 100%; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.co .logo img.h32 { height: 32px; }
.co .logo img.h28 { height: 28px; }
.co .logo img.h20 { height: 20px; }
.co .logo img.h22 { height: 22px; }
.co p { font-size: 15px; line-height: 1.5; color: var(--body); margin: 0; flex: 1; }
.co .links, .gc .links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.mono-link { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.guest-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 24px; margin-top: 24px; }
.gc { border: 1px dashed rgba(23,19,31,0.28); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.gc .logo-row { height: 30px; display: flex; align-items: center; gap: 14px; }
.gc .logo-row img { height: 100%; width: auto; }
.gc .logo-row img.bs { height: 21px; }
.gc .logo-row .x { font-family: var(--display); font-size: 18px; color: var(--muted); }
.gc .logo-row .gleif { font-family: var(--display); font-weight: 600; font-size: 19px; color: var(--ink); letter-spacing: 0.02em; }
.gc p { font-size: 15px; line-height: 1.5; color: var(--body); margin: 0; flex: 1; }
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 32px; align-items: center; margin-top: 72px; padding-top: 40px; border-top: 1px solid rgba(23,19,31,0.14); }
.person { display: flex; align-items: center; gap: 24px; }
.person img { width: 96px; height: 96px; flex: none; border: 1px solid rgba(23,19,31,0.2); object-fit: cover; }
.person .label { color: var(--blue-deep); margin-bottom: 8px; }
.person .name { font-family: var(--display); font-weight: 500; font-size: 24px; letter-spacing: -0.02em; color: var(--ink); }
.person .role { font-size: 15px; color: var(--muted); margin-top: 4px; }
.person .mono-link { display: inline-block; margin-top: 8px; }
.foreword { display: flex; align-items: center; gap: 20px; border-left: 3px solid transparent; border-image: linear-gradient(180deg, #386AFF, #7A5CFF) 1; padding-left: 24px; }
.foreword img { width: 64px; height: 64px; flex: none; border: 1px solid rgba(23,19,31,0.2); object-fit: cover; }
.foreword .label { color: var(--muted); margin-bottom: 10px; }
.foreword .name { font-family: var(--display); font-size: 20px; letter-spacing: -0.02em; color: var(--ink); }
.foreword .role { font-size: 15px; color: var(--muted); margin-top: 4px; }

/* ---------- 9. closing ---------- */
.closing { background: radial-gradient(110% 120% at 20% 0%, #23225E 0%, #121339 45%, #090B20 100%); padding: 128px 0; }
.closing h2 { font-family: var(--display); font-weight: 500; font-size: clamp(42px, 6vw, 76px); line-height: 1.02; letter-spacing: -0.035em; margin: 0; }
.closing p { font-size: 20px; line-height: 1.55; color: rgba(244,240,232,0.82); max-width: 32em; margin: 28px 0 0; }
.closing .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin: 48px 0 0; }
.closing .gate { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(244,240,232,0.6); }

/* ---------- 10. cite ---------- */
.cite { background: var(--white); padding: 96px 0; }
.cite .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 56px; align-items: start; }
.cite .label { font-size: 11px; color: var(--muted); margin: 0 0 20px; font-weight: 400; }
.cite-box { border: 1px solid rgba(23,19,31,0.14); background: var(--cream); padding: 24px; }
.cite-box p { font-family: var(--mono); font-size: 13px; line-height: 1.7; color: var(--ink); margin: 0; }
.copy { margin-top: 20px; height: 44px; padding: 0 18px; background: transparent; border: 1px solid rgba(23,19,31,0.3); color: var(--ink); font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; border-radius: 2px; }
.copy:hover { background: var(--ink); color: var(--cream); }
.share p { font-size: 17px; line-height: 1.6; color: var(--ink); margin: 0 0 24px; }
.share .stack-links { display: flex; flex-direction: column; gap: 14px; border-top: 1px solid rgba(23,19,31,0.12); padding-top: 24px; }
.share .stack-links a { font-size: 16px; }

/* ---------- disclaimer ---------- */
.disclaimer { background: var(--cream); border-top: 1px solid rgba(23,19,31,0.08); padding: 0; }
.disclaimer details { padding: 40px 0; }
.disclaimer summary { cursor: pointer; font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); list-style: none; display: flex; align-items: center; gap: 12px; min-height: 44px; }
.disclaimer summary::-webkit-details-marker { display: none; }
.disclaimer summary::before { content: '+'; font-size: 16px; color: var(--blue-deep); width: 14px; }
.disclaimer details[open] summary::before { content: '−'; }
.disclaimer .body { margin-top: 24px; column-width: 30em; column-gap: 56px; }
.disclaimer h2 { font-family: var(--display); font-weight: 500; font-size: 24px; letter-spacing: -0.02em; margin: 0 0 16px; column-span: all; }
.disclaimer .body p { font-size: 14px; line-height: 1.65; color: var(--body); margin: 0 0 14px; break-inside: avoid; }

/* ---------- 11. footer ---------- */
.site-footer { background: var(--navy-base); color: rgba(244,240,232,0.7); padding: 64px 0 72px; }
.site-footer .grad-line { height: 1px; background: var(--grad); opacity: 0.7; margin-bottom: 40px; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 40px 56px; }
.foot-grid .domain { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(244,240,232,0.55); margin-top: 10px; }
.foot-grid .wide { grid-column: span 2; min-width: 0; }
@media (max-width: 700px) { .foot-grid .wide { grid-column: auto; } }
.site-footer p { font-size: 14px; line-height: 1.65; color: rgba(244,240,232,0.7); margin: 0; }
.site-footer .dl { display: inline-block; margin-top: 16px; color: var(--blue-light); font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.site-footer .dl:hover { color: var(--ink-dark); }
.site-footer .copyright { font-size: 13px; line-height: 1.65; color: rgba(244,240,232,0.5); margin: 48px 0 0; padding-top: 24px; border-top: 1px solid rgba(244,240,232,0.14); }

@media (max-width: 480px) {
  .wrap { padding: 0 20px; }
  .site-header .wrap { gap: 12px; }
  .mode button { padding: 0 12px; gap: 7px; }
  .header-cta { padding: 0 14px; }
  .hero-grid, .two-col, .cite .wrap { grid-template-columns: minmax(0, 1fr); }
  .byline, .foot-grid, .people, .guest-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- agent view (full report in Markdown) ---------- */
.agent-view { background: var(--cream); padding: 72px 0 96px; min-height: calc(100vh - 68px); }
.agent-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 32px 56px; align-items: end; }
.agent-head .label { color: var(--blue-deep); font-size: 11px; }
.agent-head h1 { font-family: var(--display); font-weight: 500; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.06; letter-spacing: -0.03em; margin: 16px 0 0; }
.agent-head p { font-size: 17px; line-height: 1.6; color: var(--body); margin: 20px 0 0; max-width: 36em; }
.agent-head code { font-family: var(--mono); font-size: 14px; background: rgba(23,19,31,0.06); padding: 1px 5px; }
.agent-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: flex-start; }
.agent-actions .copy { margin-top: 0; height: 56px; }
.agent-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 40px 0 0; padding: 12px 16px; border: 1px solid rgba(23,19,31,0.14); border-bottom: 0; background: var(--white); font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.agent-meta a { margin-left: auto; }
.md-view, .agent-head code, .cite-box p { font-variant-ligatures: none; font-feature-settings: "liga" 0, "calt" 0; }
.md-view { margin: 0; padding: 28px 32px; background: var(--white); border: 1px solid rgba(23,19,31,0.14); font-family: var(--mono); font-size: 13px; line-height: 1.7; color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; tab-size: 2; }
@media (max-width: 480px) { .md-view { padding: 20px 16px; font-size: 12px; } .agent-meta a { margin-left: 0; } }

/* very narrow screens (<360px): toggle keeps its glyphs, labels stay for screen readers */
@media (max-width: 359px) {
  .wrap { padding: 0 16px; }
  .mode button { padding: 0 11px; }
  .mode button > span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .header-cta { padding: 0 12px; font-size: 13px; }
}

/* ---------- pre-launch: report held back ---------- */
.btn.soon, .btn.soon:hover { background: rgba(244,240,232,0.08); color: var(--ink-dark); border: 1px solid rgba(244,240,232,0.28); cursor: default; }
.header-cta.soon, .header-cta.soon:hover { background: transparent; border: 1px solid rgba(143,180,255,0.5); color: var(--blue-light); cursor: default; }
.soon-note { font-size: 16px; line-height: 1.6; color: var(--muted); }
.agent-soon { margin-top: 40px; padding: 32px; border: 1px dashed rgba(23,19,31,0.28); background: var(--white); max-width: 46em; }
.agent-soon .label { color: var(--blue-deep); font-size: 11px; }
.agent-soon p { font-size: 17px; line-height: 1.6; color: var(--body); margin: 14px 0 0; }
.agent-soon code { font-family: var(--mono); font-size: 14px; background: rgba(23,19,31,0.06); padding: 1px 5px; font-variant-ligatures: none; }

/* ---------- hero: launch venue ---------- */
.byline .venue { display: inline-flex; align-items: center; gap: 14px; color: rgba(244,240,232,0.8); font-size: 15px; line-height: 1.4; text-decoration: none; }
.byline .venue img { height: 36px; width: auto; }
.byline .venue:hover { color: var(--ink-dark); text-decoration: none; }

/* ---------- Launched at CV Summit (in CV Summit's own design: cvsummit.ch) ---------- */
.cvs { --cvs-navy: #161D37; --cvs-plum: #42304E; --cvs-pink: #ED2E6E; --cvs-orange: #FF703E; --cvs-mich: 'Michroma', var(--display); }
.cvs-hero { position: relative; color: #FFFFFF; padding: 72px 0 80px; background: linear-gradient(90deg, rgba(22,29,55,0.25) 0%, rgba(22,29,55,0) 45%, rgba(22,29,55,0.7) 100%), linear-gradient(160deg, #8E1E5A 0%, #5A2458 38%, #2A2447 70%, #161D37 100%); }
.cvs-top { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }
.cvs-logo { height: 60px; width: auto; }
.cvs-when { font-family: var(--cvs-mich); font-size: clamp(18px, 2.4vw, 26px); line-height: 1.2; padding-left: 28px; border-left: 1px solid rgba(255,255,255,0.35); }
.cvs-when span { display: block; font-family: var(--sans); font-size: 14px; color: rgba(255,255,255,0.8); margin-top: 6px; }
.cvs-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-top: 56px; }
.cvs-hero h2 { font-family: var(--cvs-mich); font-weight: 400; font-size: clamp(30px, 5vw, 60px); line-height: 1.12; letter-spacing: 0; margin: 14px 0 0; }
.cvs-tag { font-family: var(--cvs-mich); font-size: clamp(15px, 1.7vw, 19px); line-height: 1.45; color: rgba(255,255,255,0.9); margin: 18px 0 0; max-width: 30em; }
.cvs-pill { display: inline-block; margin-top: 28px; padding: 12px 24px; border-radius: 999px; background: linear-gradient(90deg, var(--cvs-pink), var(--cvs-orange)); font-family: var(--cvs-mich); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: #FFFFFF; }
.cvs-body { position: relative; padding: 72px 0 80px; color: var(--cvs-navy); background: radial-gradient(60% 50% at 0% 0%, rgba(237,46,110,0.10), transparent 70%), radial-gradient(50% 45% at 100% 20%, rgba(255,112,62,0.10), transparent 70%), #FBF9F8; }
.cvs-body h3 { font-family: var(--cvs-mich); font-weight: 400; font-size: 24px; line-height: 1.3; margin: 0; color: var(--cvs-navy); }
.cvs-intro { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 32px 56px; align-items: start; }
.cvs-intro p { font-size: 17px; line-height: 1.65; margin: 16px 0 0; color: #2B3150; }
.cvs-box { background: var(--cvs-navy); color: #FFFFFF; border-radius: 14px; padding: 26px 28px; }
.cvs-box .k, .cvs-tracks .k, .cvs-partner .k, .cvs-ft .k { font-family: var(--cvs-mich); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.cvs-box p { color: rgba(255,255,255,0.88); margin: 12px 0 0; font-size: 16px; line-height: 1.6; }
.cvs-figs { list-style: none; margin: 48px 0 0; padding: 28px 32px; border-radius: 14px; background: linear-gradient(90deg, var(--cvs-pink), var(--cvs-orange)); color: #FFFFFF; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); gap: 20px 32px; }
.cvs-figs b { display: block; font-family: var(--cvs-mich); font-weight: 400; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; }
.cvs-figs span { display: block; margin-top: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.9); }
.cvs-tracks-h { margin-top: 56px !important; font-size: 18px !important; text-transform: uppercase; letter-spacing: 0.04em; }
.cvs-tracks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; margin-top: 20px; }
.cvs-tracks > div { background: #FFFFFF; border-radius: 14px; padding: 22px 24px; box-shadow: 0 1px 0 rgba(22,29,55,0.06); border: 1px solid rgba(22,29,55,0.08); }
.cvs-tracks .k { color: var(--cvs-navy); }
.cvs-tracks p { font-size: 15px; line-height: 1.55; color: #2B3150; margin: 10px 0 0; }
.cvs-foot { color: #FFFFFF; padding: 48px 0 44px; background: linear-gradient(100deg, #161D37 0%, #2A2447 45%, #7A2358 80%, #B42A63 100%); }
.cvs-partners { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 48px; }
.cvs-partner { display: flex; align-items: center; gap: 16px; }
.cvs-partner img { height: 56px; width: auto; }
.cvs-partner .k { color: #FFFFFF; }
.cvs-partner .v { font-size: 15px; color: rgba(255,255,255,0.85); margin-top: 6px; }
.cvs-partner a, .cvs-site { color: #FFFFFF; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,0.5); }
.cvs-partner a:hover, .cvs-site:hover { color: #FFFFFF; text-decoration-color: #FFFFFF; }
.cvs-site { margin-left: auto; font-family: var(--cvs-mich); font-size: 18px; text-decoration: none; }
.cvs-ft { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px 40px; align-items: center; margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.2); }
.cvs-ft-mark .k { color: rgba(255,255,255,0.8); }
.cvs-ft-mark img { height: 38px; width: auto; margin-top: 12px; }
.cvs-ft p { font-size: 13px; line-height: 1.6; color: rgba(255,255,255,0.75); margin: 0; max-width: 46em; }
.cvs-source { font-size: 12px; line-height: 1.6; color: rgba(255,255,255,0.6); margin: 24px 0 0; }
@media (max-width: 640px) {
  .cvs-when { padding-left: 0; border-left: 0; }
  .cvs-site { margin-left: 0; }
  .cvs-ft { grid-template-columns: minmax(0, 1fr); }
}

/* phones (<420px): tighter header so toggle + CTA fit side by side */
@media (max-width: 419px) {
  .site-header .wrap { padding: 0 14px; gap: 8px; }
  .mode { gap: 2px; padding: 3px; }
  .mode button { padding: 0 10px; gap: 6px; font-size: 14px; }
  .header-cta { padding: 0 11px; font-size: 13px; }
}

/* ---------- imprint and privacy pages ---------- */
.legal-header .wrap { justify-content: flex-start; }
.legal-home { color: var(--ink-dark); font-family: var(--display); font-size: 15px; }
.legal-home:hover { color: var(--blue-light); text-decoration: none; }
.legal { background: var(--white); padding: 72px 0 96px; min-height: calc(100vh - 68px); }
.legal .wrap { max-width: 760px; }
.legal .label { color: var(--blue-deep); font-size: 11px; }
.legal h1 { font-family: var(--display); font-weight: 500; font-size: clamp(34px, 4.6vw, 48px); letter-spacing: -0.03em; margin: 14px 0 32px; }
.legal h2 { font-family: var(--display); font-weight: 500; font-size: 20px; letter-spacing: -0.015em; margin: 36px 0 10px; }
.legal p { font-size: 16px; line-height: 1.65; color: var(--body); margin: 0 0 12px; }
.legal code { font-family: var(--mono); font-size: 14px; background: rgba(23,19,31,0.06); padding: 1px 5px; }
.legal-date { color: var(--muted) !important; font-size: 14px !important; }
.legal-foot { margin-top: 48px !important; padding-top: 20px; border-top: 1px solid rgba(23,19,31,0.12); font-size: 14px !important; }
.disclaimer .applies { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0 0 18px; column-span: all; }
.site-footer .legal-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; }
.site-footer .legal-links a { color: var(--blue-light); font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.site-footer .legal-links a:hover { color: var(--ink-dark); }
.site-footer .copyright + .copyright { margin-top: 10px; padding-top: 0; border-top: 0; }
