/* Virya EPC shell: Virya Lotus Intel on ivory, navy ink, saffron and ember accents. Status colors only for status. */
:root {
  --ivory: #FBF6EC; --paper: #FFFDF8; --sand: #EDE3CF; --line: rgba(20, 23, 58, .12);
  --ink: #14173A; --ink-soft: #4A4F6E; --faint: #7A7E98;
  --saffron: #F2A93B; --ember: #E4572E; --ember-deep: #C8431F;
  --ok: #1F7A4D; --warn: #B7791F; --bad: #B42318;
  --radius: 14px; --wrap: 1180px;
  --font: "Virya Lotus Intel", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.55; }
a { color: var(--ember-deep); }
a:hover { color: var(--ember); }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header */
.site-head { background: var(--paper); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 18px; min-height: 64px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 17px; white-space: nowrap; }
.brand img { width: 28px; height: 26px; }
.brand small { font-weight: 500; color: var(--faint); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.site-nav { display: flex; flex-wrap: wrap; gap: 2px 4px; margin-left: auto; }
.site-nav a { color: var(--ink-soft); text-decoration: none; padding: 6px 10px; border-radius: 8px; font-size: 15px; white-space: nowrap; }
.site-nav a:hover { background: var(--sand); color: var(--ink); }
.site-nav a[aria-current="page"] { background: var(--ink); color: var(--paper); }

/* page */
main { padding: 32px 0 56px; }
.eyebrow { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ember-deep); font-weight: 600; margin: 0 0 6px; }
h1 { font-size: clamp(28px, 4vw, 42px); line-height: 1.12; margin: 0 0 12px; }
h2 { font-size: 22px; margin: 32px 0 12px; }
.lede { font-size: 18px; color: var(--ink-soft); max-width: 62ch; margin: 0 0 24px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.module-card { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); }
.module-card:hover { border-color: var(--saffron); color: var(--ink); }
.module-card h3 { margin: 0; font-size: 18px; }
.module-card p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.module-card .soon { font-size: 13px; color: var(--faint); }

/* figures, badges, source chips */
.figures { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); margin: 12px 0 20px; }
.figure { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.figure .label { font-size: 13px; color: var(--faint); }
.figure .value { font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; }
.figure .note { font-size: 13px; color: var(--ink-soft); }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; border-radius: 999px; padding: 3px 10px; border: 1px solid; white-space: nowrap; }
.badge--illustrative { color: var(--warn); border-color: rgba(183, 121, 31, .45); background: rgba(242, 169, 59, .12); }
.badge--concept { color: var(--ink-soft); border-color: var(--line); background: var(--sand); }
.badge--ai { color: #3B3F9E; border-color: rgba(59, 63, 158, .35); background: rgba(96, 104, 220, .1); }
.source { display: inline-flex; gap: 6px; align-items: baseline; font-size: 13px; color: var(--ink-soft); }
.source a { color: inherit; }
.null { color: var(--faint); font-style: italic; }

/* tables scroll inside their card, never the page */
.table-card { overflow-x: auto; padding: 0; }
table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
th { font-size: 13px; color: var(--faint); font-weight: 600; white-space: nowrap; }
td.num, th.num { text-align: right; white-space: nowrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 600; font-size: 15px; border-radius: 999px; padding: 9px 18px; border: 1.5px solid var(--ink); background: var(--ink); color: var(--paper); cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--ember-deep); border-color: var(--ember-deep); color: var(--paper); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--sand); color: var(--ink); border-color: var(--ink); }
.signin { border-style: dashed; }
.signin p { margin: 0 0 10px; }

/* footer */
.site-foot { border-top: 1px solid var(--line); background: var(--paper); padding: 22px 0 30px; font-size: 14px; color: var(--ink-soft); }
.site-foot .method { max-width: 80ch; margin: 0 0 12px; }
.site-foot .row { display: flex; flex-wrap: wrap; gap: 8px 18px; }

@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .site-nav { margin-left: 0; }
  .site-nav a { padding: 5px 8px; font-size: 14px; }
  main { padding-top: 22px; }
}
