/* Shared by the releases page and the articles: same palette, fonts, nav and footer as the landing. */
@font-face{font-family:"Roboto Slab";src:url(/assets/fonts/roboto-slab.woff2) format("woff2");font-weight:100 900;font-display:swap}
@font-face{font-family:"Roboto";src:url(/assets/fonts/roboto.woff2) format("woff2");font-weight:100 900;font-display:swap}

:root{
  --ink:#00102e;
  --amber:#fcbe36;
  --mist:#f4f6fa;
  --steel:#6d7685;
  --line:#dde3ee;
  --bg:#ffffff;
  --bg-alt:#f4f6fa;
  --text:#00102e;
  --text-2:#6d7685;
  --head:#00102e;
  --card:#ffffff;
  --ink-2:#9fb0cb;
  --ink-line:rgba(159,176,203,.22);
  --shell:#0a1f45;
  --shell-bar:#12305f;
}
:root[data-theme="dark"]{
  --bg:#00102e;
  --bg-alt:#071a3d;
  --text:#e8edf5;
  --text-2:#9fb0cb;
  --head:#e8edf5;
  --card:#071a3d;
  --line:#1d2f52;
  --ink-line:#1d2f52;
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --bg:#00102e;
    --bg-alt:#071a3d;
    --text:#e8edf5;
    --text-2:#9fb0cb;
    --head:#e8edf5;
    --card:#071a3d;
    --line:#1d2f52;
    --ink-line:#1d2f52;
  }
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  font:17px/1.6 "Roboto",system-ui,sans-serif;
  color:var(--text);
  background:var(--bg);
}
h1,h2,h3{font-family:"Roboto Slab",serif;color:var(--head);margin:0}
a{color:inherit}
a:focus-visible,button:focus-visible,[role="tab"]:focus-visible{
  outline:2px solid var(--text);
  outline-offset:3px;
  border-radius:2px;
}
img{max-width:100%;height:auto}
.wrap{max-width:1000px;margin:0 auto;padding:0 24px}

/* dark ink surfaces */
.ink{background:var(--ink);color:#e8edf5}
.ink h1,.ink h2,.ink h3{color:#fff}
.ink a{color:inherit}
.ink a:focus-visible,.ink button:focus-visible,.ink [role="tab"]:focus-visible{outline-color:var(--amber)}
.install [role="tab"]:focus-visible{outline-offset:-3px}

/* nav */
nav.ink .wrap{
  display:flex;align-items:center;justify-content:space-between;
  padding:20px 24px;flex-wrap:wrap;gap:8px 24px;
}
.brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:#fff;font-weight:600}
.mark{width:28px;height:28px;flex:none}
nav .links{display:flex;gap:26px;flex-wrap:wrap}
nav .links a{color:#e8edf5;text-decoration:none;font-size:15px}
nav .links a:hover{color:var(--amber)}


/* footer */
footer.ink{padding:64px 0 48px}
footer .wrap{display:flex;justify-content:space-between;gap:40px;flex-wrap:wrap}
footer .fbrand{max-width:280px}
footer .fbrand .brand{margin-bottom:12px}
footer .fbrand p{color:var(--ink-2);font-size:14.5px;margin:0}
footer .cols{display:flex;gap:56px;flex-wrap:wrap}
footer .col h3{font:600 14px "Roboto",sans-serif;color:#fff;margin:0 0 12px}
footer .col ul{list-style:none;margin:0;padding:0}
footer .col a{color:var(--ink-2);text-decoration:none;font-size:14.5px;line-height:2}
footer .col a:hover{color:var(--amber)}
nav .links a[aria-current="page"]{color:var(--amber)}

/* pages */
/* 1. Page title band */
header.top.ink { padding: 56px 0 64px; }
header.top h1 { color: #fff; font-size: clamp(34px, 5vw, 48px); font-weight: 700; }
header.top h1::after { content: ""; display: block; width: 40px; height: 3px; background: var(--amber); margin-top: 18px; }
header.top p { color: var(--ink-2); font-size: 18px; max-width: 60ch; margin-top: 14px; }
@media (max-width: 599px) {
  header.top.ink { padding: 40px 0 48px; }
}

/* 2. Releases */
.rel { margin: 48px auto 80px; }
.entry { display: grid; grid-template-columns: 120px 1fr; padding: 36px 0; border-bottom: 1px solid var(--line); }
.entry:first-child { border-top: 1px solid var(--line); }
.side .ver { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 17px; font-weight: 700; color: var(--text); }
.entry.current .ver { background: var(--amber); color: var(--ink); padding: 2px 10px; border-radius: 999px; display: inline-block; }
.side .date { font-size: 14px; color: var(--text-2); margin-top: 4px; }
.body h2 { font-size: 24px; font-weight: 700; margin: 0 0 10px; }
.body p { color: var(--text); }
.body h3 { font-size: 15px; font-weight: 650; color: var(--text); margin: 18px 0 6px; }
ul.pts { padding-left: 20px; list-style: none; }
ul.pts li { font-size: 15.5px; color: var(--text-2); margin-bottom: 6px; position: relative; padding-left: 14px; }
ul.pts li::before { content: ""; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--amber); }
.rel code, article.col code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.88em; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; overflow-wrap: anywhere; }
p.more a { font-size: 15px; font-weight: 600; color: var(--text); text-decoration: none; }
p.more a::after { content: " →"; }
p.more a:hover { text-decoration: underline; }
.older { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.older h3 { font-size: 18px; }
.grid-old { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.grid-old a { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 15px; font-weight: 700; color: var(--text); text-decoration: none; }
.grid-old a span { font-family: Roboto, sans-serif; font-size: 13px; font-weight: 400; color: var(--text-2); }
.grid-old a:hover { border-color: var(--text-2); }
@media (max-width: 699px) {
  .entry { grid-template-columns: 1fr; padding: 28px 0; }
  .side { display: flex; align-items: baseline; gap: 10px; }
}

/* 3. Articles index */
.list { margin: 48px auto 80px; max-width: 760px; }
a.post { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 28px 30px; text-decoration: none; color: var(--text); margin-bottom: 20px; transition: transform 0.18s ease, box-shadow 0.18s ease; }
a.post:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0, 16, 46, 0.14); }
.meta { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-2); }
.dot { width: 4px; height: 4px; border-radius: 50%; background: var(--amber); flex: none; }
a.post h2 { font-size: 24px; margin: 10px 0 8px; }
a.post p { color: var(--text-2); margin: 0; }
.go { font-size: 15px; font-weight: 600; margin-top: 14px; }

/* 4. Article page */
article.col { max-width: 720px; margin: 0 auto; padding: 48px 0 88px; }
.crumb a { font-size: 14px; color: var(--text-2); text-decoration: none; }
.crumb a::before { content: "← "; }
article.col h1 { color: var(--head); font-size: clamp(32px, 4.6vw, 44px); line-height: 1.15; margin: 14px 0 12px; }
.standfirst { font-size: 20px; line-height: 1.5; color: var(--text); margin: 26px 0 30px; border-left: 3px solid var(--amber); padding-left: 18px; }
article.col h2 { font-size: 26px; margin: 48px 0 14px; }
article.col p { margin: 0 0 18px; }
.shell { margin: 26px 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--shell); }
.shell-bar { font-size: 13px; font-weight: 600; color: var(--ink-2); padding: 9px 16px; background: var(--shell-bar); }
.shell pre { margin: 0; padding: 16px 18px; overflow-x: auto; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13.5px; line-height: 1.65; color: #e8edf5; }
.shell .k { color: #8fd3ff; }
.shell .c { color: var(--ink-2); }
.shell .p { color: var(--amber); }
.shell .bad { color: #ff8a8a; }
.shell code { background: none; border: none; padding: 0; font-size: inherit; border-radius: 0; }
p.cap { font-size: 14.5px; color: var(--text-2); margin: 10px 0 0; }
.tbl-wrap { margin-top: 26px; overflow-x: auto; }
.tbl-wrap table { border-collapse: collapse; width: 100%; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; table-layout: fixed; }
.tbl-wrap th { font-family: Roboto, sans-serif; font-size: 13.5px; font-weight: 650; color: var(--text-2); text-align: left; }
.tbl-wrap th, .tbl-wrap td { padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; vertical-align: top; }
.tbl-wrap td.was { color: var(--text-2); text-decoration: line-through; }
.tbl-wrap td.job { font-family: Roboto, sans-serif; font-size: 14px; color: var(--text); }
.after { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; font-size: 15.5px; margin-top: 40px; }
.shell p.cap{color:var(--ink-2);margin:0;padding:0 18px 14px}
.shell p.cap code{background:rgba(159,176,203,.14);border-color:transparent;color:#e8edf5}
