/* Keep Anchored — the umbrella site.
   Identity taken from the organisation mark: ground #111113, ink #fafafa. The
   page is dark-first on purpose — the mark was drawn for a dark ground and the
   products it points to are engineering tools, not consumer pages. A light theme
   is defined for viewers who force one, derived from the same tokens so nothing
   is left readable-in-one-theme-only. */

:root{
  --mark-ground:#111113;
  --mark-ink:#fafafa;

  /* dark-first: bare :root is the dark palette the design commits to */
  --bg:#111113;
  --bg-raised:#17171a;
  --bg-sunken:#0d0d0f;
  --line:#26262b;
  --line-soft:#1e1e22;
  --ink:#f4f4f5;
  --ink-2:#c4c4cc;
  --muted:#8a8a93;
  --accent:#c9a24a;          /* a brass line-marker; the one warm note on graphite */
  --accent-ink:#111113;
  --accent-soft:#26210f;
  --live:#5fb88f;            /* semantic: a thing that is running */
  --live-soft:#12241c;
  --radius:10px;
  --maxw:960px;
}

@media (prefers-color-scheme: light){
  :root:not([data-theme="dark"]){
    --bg:#f7f7f5;
    --bg-raised:#ffffff;
    --bg-sunken:#eeeeeb;
    --line:#e0e0da;
    --line-soft:#eaeae5;
    --ink:#18181b;
    --ink-2:#3a3a40;
    --muted:#6a6a72;
    --accent:#8a6a1f;
    --accent-ink:#ffffff;
    --accent-soft:#f1e8d2;
    --live:#2e6b54;
    --live-soft:#dcebe4;
  }
}
:root[data-theme="light"]{
  --bg:#f7f7f5;
  --bg-raised:#ffffff;
  --bg-sunken:#eeeeeb;
  --line:#e0e0da;
  --line-soft:#eaeae5;
  --ink:#18181b;
  --ink-2:#3a3a40;
  --muted:#6a6a72;
  --accent:#8a6a1f;
  --accent-ink:#ffffff;
  --accent-soft:#f1e8d2;
  --live:#2e6b54;
  --live-soft:#dcebe4;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:17px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
a{color:var(--accent);text-decoration:none;text-underline-offset:3px}
a:hover{text-decoration:underline}
a:focus-visible,.button:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:3px}
code{
  font-family:"IBM Plex Mono",ui-monospace,monospace;
  font-size:.86em;
  background:var(--bg-sunken);
  border:1px solid var(--line-soft);
  padding:.05em .38em;
  border-radius:4px;
  color:var(--ink-2);
}
h1,h2,h3{font-family:Fraunces,Georgia,serif;font-weight:600;letter-spacing:-.01em;text-wrap:balance;margin:0}

/* header */
.top{
  max-width:var(--maxw);margin:0 auto;padding:22px 24px;
  display:flex;align-items:center;justify-content:space-between;gap:16px;
}
.brand{
  display:flex;align-items:center;gap:11px;
  color:var(--ink);font-family:Fraunces,Georgia,serif;font-weight:600;font-size:19px;letter-spacing:-.01em;
}
.brand:hover{text-decoration:none}
.mark{border-radius:9px;flex:none;display:block}
.top-contact{font-family:"IBM Plex Mono",monospace;font-size:13px;color:var(--muted)}

main{max-width:var(--maxw);margin:0 auto;padding:0 24px}
section{padding:clamp(48px,8vw,88px) 0;border-top:1px solid var(--line-soft)}
section:first-child{border-top:none}

/* hero */
.hero{padding-top:clamp(40px,7vw,72px)}
.eyebrow{
  font-family:"IBM Plex Mono",monospace;font-size:12px;letter-spacing:.16em;text-transform:uppercase;
  color:var(--accent);margin:0 0 22px;font-weight:500;
}
.hero h1{
  font-size:clamp(30px,5.4vw,52px);line-height:1.06;margin:0 0 26px;
  font-optical-sizing:auto;
}
.lede{font-size:clamp(17px,2.2vw,21px);color:var(--ink-2);max-width:64ch;margin:0 0 34px}
.hero-cta{display:flex;flex-wrap:wrap;gap:12px}
.button{
  display:inline-block;padding:12px 20px;border-radius:8px;font-weight:600;font-size:15px;
  background:var(--accent);color:var(--accent-ink);border:1px solid var(--accent);
}
.button:hover{text-decoration:none;filter:brightness(1.06)}
.button.ghost{background:transparent;color:var(--ink);border-color:var(--line)}
.button.ghost:hover{border-color:var(--muted);filter:none}

/* section headings */
section h2{font-size:clamp(23px,3.2vw,31px);margin:0 0 12px}
.section-lede{color:var(--ink-2);max-width:60ch;margin:0 0 34px}

/* proof cards */
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:16px}
.card{
  background:var(--bg-raised);border:1px solid var(--line);border-radius:var(--radius);
  padding:22px 22px 20px;display:flex;flex-direction:column;gap:12px;
}
.card.live{border-color:color-mix(in srgb,var(--live) 45%,var(--line))}
.card-head{display:flex;align-items:center;gap:8px}
.tag{
  font-family:"IBM Plex Mono",monospace;font-size:11px;letter-spacing:.06em;text-transform:uppercase;
  color:var(--muted);border:1px solid var(--line);border-radius:20px;padding:3px 10px;font-weight:500;
}
.card.live .tag{color:var(--live);border-color:color-mix(in srgb,var(--live) 45%,var(--line));background:var(--live-soft)}
.card h3{font-size:20px}
.card h3 a{color:var(--ink)}
.card p{margin:0;color:var(--ink-2);font-size:15.5px;line-height:1.55}
.card-link{margin-top:auto!important;font-family:"IBM Plex Mono",monospace;font-size:13px}
.card-link.muted{color:var(--muted)}

/* doors */
.door-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:1px;background:var(--line-soft);border:1px solid var(--line-soft);border-radius:var(--radius);overflow:hidden}
.door-list li{background:var(--bg-raised);padding:18px 20px;display:flex;flex-direction:column;gap:6px}
.door-k{font-family:"IBM Plex Mono",monospace;font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--accent);font-weight:500}
.door-v{color:var(--ink-2);font-size:14.5px;line-height:1.5}

/* header CTA + small/big/reassure variants */
.button.small{padding:8px 14px;font-size:13.5px}
.button.big{font-size:16px;padding:15px 26px}
.reassure{margin:20px 0 0;font-size:14px;color:var(--muted);max-width:60ch}

/* pain list */
.pain-list{list-style:none;margin:0 0 20px;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px}
.pain-list li{
  background:var(--bg-raised);border:1px solid var(--line);border-radius:var(--radius);
  padding:18px 20px;color:var(--ink-2);font-size:15px;line-height:1.55;
}
.pain-k{display:block;font-family:"IBM Plex Mono",monospace;font-size:12px;letter-spacing:.06em;
  text-transform:uppercase;color:var(--accent);margin-bottom:7px;font-weight:500}
.pain-foot{color:var(--ink-2);max-width:60ch;margin:0;font-size:15.5px}

/* how: numbered steps — a real sequence, so numbers earn their place */
.steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.steps li{
  display:grid;grid-template-columns:56px 1fr;align-items:start;gap:4px 8px;
  background:var(--bg-raised);border:1px solid var(--line-soft);padding:20px 22px;
}
.steps li:first-child{border-top-left-radius:var(--radius);border-top-right-radius:var(--radius)}
.steps li:last-child{border-bottom-left-radius:var(--radius);border-bottom-right-radius:var(--radius)}
.step-n{
  font-family:Fraunces,serif;font-size:26px;font-weight:600;color:var(--accent);
  line-height:1;grid-row:span 1;
}
.steps h3{font-size:18px;margin:0 0 5px}
.steps p{margin:0;color:var(--ink-2);font-size:15px;line-height:1.55}

/* CTA band — the one loud moment on the page */
.cta-band{
  text-align:center;background:var(--bg-raised);border:1px solid var(--line);
  border-radius:14px;padding:clamp(36px,6vw,56px) clamp(22px,5vw,48px);
  display:flex;flex-direction:column;align-items:center;gap:16px;
}
.cta-band h2{font-size:clamp(24px,3.6vw,34px);margin:0}
.cta-band > p{color:var(--ink-2);max-width:56ch;margin:0;font-size:16.5px}
.cta-band .button.big{margin-top:6px}
.cta-fine{font-size:13.5px!important;color:var(--muted)!important;max-width:52ch}

/* who */
.who-body{max-width:66ch;display:flex;flex-direction:column;gap:16px}
.who-body p{margin:0;color:var(--ink-2)}
.who-body strong{color:var(--ink)}
.who-body em{color:var(--ink);font-style:italic}
.profiles{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:10px 22px;font-family:"IBM Plex Mono",monospace;font-size:14px}

/* footer */
.foot{
  max-width:var(--maxw);margin:0 auto;padding:40px 24px 56px;
  border-top:1px solid var(--line-soft);margin-top:24px;
  display:flex;flex-direction:column;gap:8px;
}
.foot-mark{margin-bottom:6px}
.foot p{margin:0;color:var(--muted);font-size:14px}
.foot-contact{font-family:"IBM Plex Mono",monospace}

@media (max-width:560px){
  .top-contact{display:none}
  body{font-size:16px}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
