/* Shared look for the tab pages: stark white on true black */
*{margin:0;padding:0;box-sizing:border-box}
:root{
  --bg:#000;
  --fg:#fff;
  --mid:#9a9a9a;
  --dim:#8a8a8a;
  --line:#262626;
  --ok:#9be29b;
  --warn:#ffcf5a;
  --err:#ff6b5a;
}
html{font-size:16px}
/* text scale: the same as a laptop up to 1440p, a touch larger on very wide screens */
@media(min-width:2500px){html{font-size:17px}}
@media(min-width:3200px){html{font-size:20px}}
body{background:var(--bg);color:var(--fg);font-family:'IBM Plex Mono',monospace;font-weight:300;
  -webkit-font-smoothing:antialiased;line-height:1.6;min-height:100vh}
a{color:var(--fg)}
.wrap{max-width:65rem;margin:0 auto;padding:0 16px}
@media(min-width:700px){.wrap{padding:0 32px}}

/* top navigation */
.nav{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;padding:1.6rem 0;
  font-size:.7rem;letter-spacing:.3em;text-transform:uppercase}
.nav .home{font-family:'Syne',sans-serif;font-weight:500;letter-spacing:.25em;text-decoration:none;color:var(--fg)}
.nav ul{display:flex;gap:1.8rem;list-style:none;flex-wrap:wrap}
.nav a{color:#bdbdbd;text-decoration:none;transition:color .4s}
.nav ul a{font-size:.82rem;letter-spacing:.22em;padding:.35rem 0}
@media(max-width:640px){.nav ul{gap:.9rem 1.1rem}.nav ul a{font-size:.74rem}}
.nav a:hover,.nav a[aria-current="page"]{color:var(--fg)}

h1{font-family:'Syne',sans-serif;font-weight:500;text-transform:uppercase;letter-spacing:-.01em;
  font-size:clamp(2rem,6vw,3.6rem);line-height:1.05;margin:3rem 0 1rem}
h2{font-family:'Syne',sans-serif;font-weight:500;text-transform:uppercase;letter-spacing:.2em;font-size:.85rem;margin:0 0 1rem}
.lede{color:var(--mid);max-width:60ch;font-size:.9rem}
.kicker{font-size:.7rem;letter-spacing:.35em;text-transform:uppercase;color:var(--dim)}
section{margin:4rem 0}
.card{border:1px solid var(--line);padding:1.4rem}
.grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.small{font-size:.75rem;color:var(--mid)}
.muted{color:var(--dim)}

button,.btn{background:var(--fg);color:var(--bg);border:1px solid var(--fg);font:inherit;font-size:.7rem;
  letter-spacing:.25em;text-transform:uppercase;padding:.75rem 1.1rem;cursor:pointer;text-decoration:none;display:inline-block}
button.ghost,.btn.ghost{background:transparent;color:var(--fg);border-color:var(--line)}
button.ghost:hover,.btn.ghost:hover{border-color:var(--fg)}
button:disabled{opacity:.4;cursor:default}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:1px solid var(--fg);outline-offset:3px}

input,select{background:transparent;border:1px solid var(--line);color:var(--fg);font:inherit;font-size:.9rem;padding:.7rem .8rem;border-radius:0;width:100%}
input:focus,select:focus{border-color:var(--fg);outline:none}
select option{background:#000}
label{display:block;font-size:.7rem;letter-spacing:.25em;text-transform:uppercase;color:var(--mid);margin-bottom:.5rem}

footer.site{border-top:1px solid var(--line);margin-top:5rem;padding:2rem 0 3rem;font-size:.7rem;letter-spacing:.25em;
  text-transform:uppercase;color:var(--dim);display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap}
footer.site a{color:var(--dim);text-decoration:none}
footer.site a:hover{color:var(--fg)}
[hidden]{display:none!important}
@media (prefers-reduced-motion: reduce){*{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Security dropdown: the three tools live under Security */
.nav li.has-sub{position:relative}
.nav li.has-sub .sub{position:absolute;top:100%;right:0;display:flex;flex-direction:column;gap:.55rem;padding:.9rem 1.1rem;margin-top:.3rem;
  background:#000;border:1px solid var(--line);opacity:0;visibility:hidden;transition:opacity .25s,visibility .25s;z-index:20;white-space:nowrap;list-style:none}
.nav li.has-sub:hover .sub,.nav li.has-sub:focus-within .sub{opacity:1;visibility:visible}
.nav li.has-sub .sub a{font-size:.74rem}

/* bigger tap targets for the nav on phones */
@media(max-width:640px){.nav ul a,.nav .home,footer.site a{display:inline-block;padding:.6rem 0}}

/* the quiet ridge-line banner behind a page's heading (see /assets/hero.js) */
/* the full-width ridge banner is 100vw, which is wider than the page when a scrollbar is showing: never scroll sideways because of it */
html,body{max-width:100%;overflow-x:clip}
/* no page scrollbar: scrolling still works with the wheel, trackpad, touch and keys */
html{scrollbar-width:none;-ms-overflow-style:none}
html::-webkit-scrollbar,body::-webkit-scrollbar{display:none;width:0;height:0}

.hero-wrap{position:relative;z-index:0;padding-bottom:4.5rem}
.hero-wrap .ridge{position:absolute;left:50%;top:0;transform:translateX(-50%);width:100vw;height:100%;z-index:-1;pointer-events:none;opacity:.45;
  -webkit-mask-image:linear-gradient(to bottom,transparent,#000 35%,#000 70%,transparent);mask-image:linear-gradient(to bottom,transparent,#000 35%,#000 70%,transparent)}
/* tools that live under Security, shown a little further in under the About menu */
.nav li.has-sub .sub .deep a{padding-left:1rem;color:var(--dim)}
.nav li.has-sub .sub .deep a:hover{color:var(--fg)}
