/* TRKHub — one stylesheet for the whole site.
   The palette is the app's: lemon for the brand, ink for type, a blue-leaning neutral for everything else. */
:root {
  --lemon: #FFD21A;
  --lemon-deep: #B98B00;
  --ink: #17223B;
  --ink-2: #3C4864;
  --muted: #6B7689;
  --canvas: #F6F7FB;
  --surface: #FFFFFF;
  --hair: #E2E6EE;
  --ready: #137443;
  --alert: #BD302D;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #EDF1F7;
    --ink-2: #C3CBDA;
    --muted: #8A95A8;
    --canvas: #0B1220;
    --surface: #131B2B;
    --hair: #263143;
    --lemon-deep: #FFD21A;
    --ready: #4BC48A;
    --alert: #F0857F;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 16px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 0 22px 80px; }

header.site {
  border-bottom: 1px solid var(--hair);
  background: var(--surface);
  padding: 18px 0;
  margin-bottom: 40px;
}
header.site .wrap { padding-bottom: 0; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 18px; letter-spacing: -.3px; }
.brand .mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(180deg, #FFE45C, #FFC91E);
  display: grid; place-items: center; font-size: 14px; font-weight: 900; color: #17223B;
}
nav.site { margin-inline-start: auto; display: flex; gap: 18px; }
nav.site a { color: var(--muted); text-decoration: none; font-size: 14.5px; font-weight: 500; }
nav.site a:hover { color: var(--ink); }

h1 { font-size: clamp(30px, 5vw, 42px); line-height: 1.2; margin: 0 0 14px; letter-spacing: -.5px; text-wrap: balance; }
h2 { font-size: 21px; margin: 40px 0 10px; letter-spacing: -.2px; }
h3 { font-size: 16.5px; margin: 26px 0 6px; }
p { margin: 0 0 15px; max-width: 65ch; }
.lede { font-size: 18.5px; color: var(--ink-2); max-width: 60ch; }
.stamp { color: var(--muted); font-size: 13.5px; }
ul { padding-inline-start: 22px; max-width: 65ch; }
li { margin-bottom: 8px; }
a { color: var(--lemon-deep); }

.panel {
  background: var(--surface); border: 1px solid var(--hair);
  border-radius: 14px; padding: 20px 22px; margin: 22px 0;
}
.panel h3 { margin-top: 0; }
.panel.quiet { background: transparent; }

.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 26px 0 8px; }
.grid .panel { margin: 0; }
.grid h3 { font-size: 15.5px; }
.grid p { font-size: 14.5px; color: var(--ink-2); margin: 0; }

.cta {
  display: inline-block; background: var(--lemon); color: #17223B;
  font-weight: 800; text-decoration: none; padding: 12px 22px; border-radius: 11px;
}
.note { border-inline-start: 3px solid var(--ready); padding: 2px 0 2px 16px; margin: 22px 0; color: var(--ink-2); }
:dir(rtl) .note { padding: 2px 16px 2px 0; }

footer.site {
  border-top: 1px solid var(--hair); margin-top: 60px; padding-top: 22px;
  color: var(--muted); font-size: 14px;
}
footer.site a { color: var(--muted); }
