
@import url('/lib/inter.css');
/* Vitreous Labs tokens. Pantone references, contrast checked, chart colours
   validated by script. One file, imported by the site and by the tool, so a
   colour changes in one place. */
:root{
  /* paper and ink */
  --paper:#F4F5F0;        /* Pantone 11-0601 Bright White */
  --ink:#005871;          /* Pantone 19-4340 Lyons Blue, 7.28:1, AAA body */
  --muted:#4E6B76;        /* derived from Lyons Blue, 5.20:1, AA body */
  --faint:#6B8792;        /* derived, 3.48:1, UI and large text only */

  /* accents */
  --accent:#0061A3;       /* Pantone 18-4244 Directoire Blue, 5.92:1, links */
  --green:#009B74;        /* Pantone 17-5936 Simply Green, 3.23:1, UI only */
  --alert:#9B1B30;        /* Pantone 19-1557 Chili Pepper, 7.39:1, AAA */

  /* surfaces only. Both fail the chart chroma floor and must never carry data */
  --sea:#54AFBC;          /* Pantone 15-4713 Sea Jet */
  --nile:#A7C796;         /* Pantone 14-0121 Nile Green */
  --wash:#EAEEEB;
  --hair:#DCE4E2;
  --grid:#E6EBE8;

  /* data. These three pass all six checks together. */
  --d-up:#9B1B30;         /* discharging, energy out, paid */
  --d-dn:#0061A3;         /* charging, energy in, pays */
  --d-3:#009B74;          /* third categorical slot */
  --d-idle:#7C8A93;

  /* Sequential, one hue, light to dark, ending at Directoire Blue rather than
     at navy. Validated by script, not by eye: adjacent separation at least 24
     normally and 17 under protanopia and deuteranopia, and every mark also
     carries an ink outline so identity never rests on fill alone. */
  --s1:#E6F1F9; --s2:#C4DFF2; --s3:#9BC8E7; --s4:#71ADD6;
  --s5:#4A90C4; --s6:#2374B2; --s7:#0061A3;

  --surface:var(--paper);
  color-scheme:light;
}
/* No dark scheme. The brand guide is explicit: charts and decks sit on a white
   ground. color-scheme:light above stops the browser substituting its own dark
   surfaces for form controls and scrollbars when the operating system is dark. */

/* Aliases, so the tool's existing CSS and markup keep working unchanged while
   the values underneath become the Pantone set. */
:root{
  --directoire:var(--accent);
  --current:var(--sea);
  --filament:var(--green);
  --chili:var(--alert);
  --taupe:var(--muted);
}

*{box-sizing:border-box}
body{margin:0;font:400 16px/1.6 Inter,'Söhne','Helvetica Neue',Arial,sans-serif;color:var(--ink);background:var(--paper);
 -webkit-font-smoothing:antialiased}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}
.wrap{max-width:62rem;margin:0 auto;padding:0 28px}
.wrap.narrow>*{max-width:44rem}          /* wrap stays centred, text stays left */
.narrow:not(.wrap){max-width:44rem}
header.site{border-bottom:1px solid var(--hair);position:sticky;top:0;background:rgba(255,255,255,.92);
 backdrop-filter:saturate(180%) blur(8px);z-index:50}
header.site .wrap{display:flex;align-items:center;gap:22px;height:58px}
.brand{font-weight:600;font-size:15px;letter-spacing:-.01em;color:var(--ink);
 display:inline-flex;align-items:center;gap:9px;white-space:nowrap}
.brand img{flex:none;display:block}
.brand .bs{color:var(--muted);font-weight:400}
.brand:hover{text-decoration:none}
.brand:hover .bn{text-decoration:underline}
nav{margin-left:auto;display:flex;gap:20px;font-size:14px}
nav a{color:var(--muted)} nav a.on,nav a:hover{color:var(--ink)}
.btn{display:inline-block;background:var(--ink);color:#fff;padding:9px 17px;border-radius:8px;font-size:14px;font-weight:600}
.btn:hover{text-decoration:none;background:#0F204A}
.btn.ghost{background:#fff;color:var(--ink);border:1px solid var(--hair)}
nav .sm{display:none}
@media (max-width:720px){nav .lg{display:none}nav .sm{display:inline}}
h1{font-size:40px;line-height:1.14;letter-spacing:-.02em;font-weight:600;margin:0 0 16px}
h2{font-size:23px;line-height:1.25;font-weight:600;margin:44px 0 12px;letter-spacing:-.01em}
h3{font-size:17px;font-weight:600;margin:28px 0 8px}
p{margin:0 0 16px}
.lede{font-size:19px;line-height:1.55;color:var(--muted);margin-bottom:28px}
.kicker{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);font-weight:600;margin-bottom:12px}
.hero{padding:76px 28px 56px}
.figs{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:1px;background:var(--hair);
 border:1px solid var(--hair);border-radius:12px;overflow:hidden;margin:36px 0}
.fig{background:#fff;padding:20px 22px}
.fig b{display:block;font-size:29px;line-height:1.05;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.fig span{display:block;font-size:13px;color:var(--muted);margin-top:7px;line-height:1.4}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(268px,1fr));gap:18px;margin:26px 0 8px}
.card{border:1px solid var(--hair);border-radius:12px;padding:22px;background:#fff}
.card h3{margin:0 0 8px;font-size:16px;line-height:1.35}
.card p{font-size:14.5px;color:var(--muted);margin:0 0 12px}
.card a{font-size:14px;font-weight:600}
table{border-collapse:collapse;width:100%;font-size:14.5px;margin:20px 0}
th,td{text-align:left;padding:9px 10px;border-bottom:1px solid var(--hair)}
th{font-size:12px;letter-spacing:.05em;text-transform:uppercase;color:var(--muted);font-weight:600}
td.num,th.num{text-align:right;font-variant-numeric:tabular-nums}
.note{font-size:13.5px;color:var(--muted);line-height:1.55}
blockquote{margin:24px 0;padding:0 0 0 18px;border-left:3px solid var(--green);color:var(--muted);font-size:17px}
footer.site{border-top:1px solid var(--hair);margin-top:72px;padding:34px 0 56px;font-size:13px;color:var(--muted)}
footer.site a{color:var(--muted);text-decoration:underline}
p.buildline{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);opacity:.65}
.tiers{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px;margin:28px 0}
.tier{border:1px solid var(--hair);border-radius:12px;padding:24px}
.tier.mid{border-color:var(--ink);box-shadow:0 1px 0 var(--ink)}
.tier h3{margin:0 0 4px}
.tier ul{margin:14px 0 20px;padding-left:18px;font-size:14.5px;color:var(--muted)}
.tier li{margin:6px 0}
input[type=text]{font:inherit;font-size:15px;padding:10px 12px;border:1px solid var(--hair);border-radius:8px;width:100%;color:var(--ink)}
@media (max-width:720px){
 .brand .bs{display:none}
 h1{font-size:30px}h2{font-size:20px;margin-top:34px}.lede{font-size:17px}
 .hero{padding:44px 18px 32px}.wrap{padding:0 18px}
 header.site .wrap{gap:10px;height:54px}
 nav{gap:16px;font-size:13.5px;white-space:nowrap}
 .figs{grid-template-columns:1fr}
 .fig b{font-size:26px}
 table{font-size:13.5px}th,td{padding:8px 6px}
}
@media (max-width:520px){
  nav{gap:10px;font-size:12.5px}
  .brand{font-size:13.5px;gap:7px}
  .brand img{width:20px;height:21px}
  header.site .wrap{gap:8px;padding:0 14px}
}
@media (max-width:400px){ nav{gap:8px;font-size:12px} .brand .bn{display:none} }
