/* Jexium v2 - site.css (minimal, quiet-modern) */

:root{
  --bg: #ffffff;
  --ink: #0f172a;        /* deep slate */
  --muted: #475569;      /* slate */
  --faint: #94a3b8;      /* light slate */
  --rule: #e2e8f0;       /* light rule */
  --card: #f8fafc;       /* very light */
  --link: #0f172a;
  --max: 980px;
  --radius: 14px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a{
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover{ text-decoration-thickness: 2px; }

.container{
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.skip{
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip:focus{
  left: 16px;
  top: 12px;
  width: auto;
  height: auto;
  padding: 8px 10px;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 10px;
  z-index: 9999;
}

.site-header{
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.9);
  border-bottom: 1px solid var(--rule);
  z-index: 50;
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}
.brand{
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-decoration: none;
}
.brand small{
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0;
}

.nav{
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav a{
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 10px;
}
.nav a:hover{
  color: var(--ink);
  background: var(--card);
}
.nav a[aria-current="page"]{
  color: var(--ink);
  background: var(--card);
}

main{ padding: 48px 0 56px; }

.kicker{
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}
h1{
  font-size: clamp(32px, 3.2vw, 46px);
  line-height: 1.12;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.lede{
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 22px;
  max-width: 72ch;
}

.rule{
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 28px 0;
}

.section{
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 26px 0;
}
.section h2{
  font-size: 20px;
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.01em;
}
.section p{
  margin: 0;
  color: var(--muted);
  max-width: 78ch;
}
.section ul{
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
  max-width: 78ch;
}
.section li{ margin: 6px 0; }

.callout{
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 18px 18px;
  margin: 34px 0 0;
}
.callout p{ margin: 0; color: var(--muted); }
.callout strong{ color: var(--ink); }

.footer{
  border-top: 1px solid var(--rule);
  padding: 22px 0 34px;
  color: var(--muted);
  font-size: 14px;
}
.footer-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.footer a{ color: var(--muted); }
.footer a:hover{ color: var(--ink); }

@media (min-width: 860px){
  .section{
    grid-template-columns: 230px 1fr;
    gap: 26px;
    align-items: start;
  }
  .section h2{ margin-top: 2px; }
}
