/* Site header, mobile menu and footer (shared by every page), plus the new look for the Guide, Privacy and Terms
   pages, which keep their content styles from assets/styles.css. */

/* header */
.skip{position:absolute;left:-999px;top:8px;z-index:100;background:#111417;color:#fff;padding:8px 14px;border-radius:8px}
.skip:focus{left:12px}
.hdr{position:relative;z-index:20;font-family:Geist,system-ui,-apple-system,'Segoe UI',sans-serif}
.hdr__in{max-width:1200px;margin:0 auto;padding:0 24px;height:76px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.hdr__logo img{height:34px;width:auto;display:block}
.hdr__links{display:flex;gap:30px;font-size:15px}
.hdr__links a{color:#3a4148;text-decoration:none}
.hdr__links a:hover,.hdr__links a[aria-current="page"]{color:#0d8f80}
.hdr__actions{display:flex;gap:8px;align-items:center}
.hbtn{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 16px;border-radius:12px;font:500 15px/1 Geist,system-ui,sans-serif;text-decoration:none;transition:transform .25s cubic-bezier(.32,.72,0,1),background .25s}
.hbtn:hover{transform:translateY(-1px)}
.hbtn--ink{background:#111417;color:#fff}.hbtn--ink:hover{color:#fff;background:#23282d}
.hbtn--soft{background:#eef0f1;color:#16191c}.hbtn--soft:hover{color:#16191c;background:#e4e7e9}
.hdr__burger{display:none;width:42px;height:42px;border:0;border-radius:12px;background:#eef0f1;cursor:pointer;position:relative}
.hdr__burger span{position:absolute;left:12px;right:12px;height:2px;border-radius:2px;background:#111417;transition:transform .3s,top .3s}
.hdr__burger span:first-child{top:16px}.hdr__burger span:last-child{top:24px}
.hdr__burger[aria-expanded="true"] span:first-child{top:20px;transform:rotate(45deg)}
.hdr__burger[aria-expanded="true"] span:last-child{top:20px;transform:rotate(-45deg)}
.smenu{position:fixed;inset:76px 0 0;z-index:19;background:rgba(250,251,251,.98);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);padding:24px 16px;display:flex;flex-direction:column;gap:24px;font-family:Geist,system-ui,sans-serif}
.smenu[hidden]{display:none}
.smenu nav{display:flex;flex-direction:column}
.smenu nav a{font-size:22px;letter-spacing:-.02em;color:#111417;text-decoration:none;padding:14px 0;border-bottom:1px solid #e6e9ec}
.smenu .hbtn{min-height:50px;font-size:16px}
body.menu-open{overflow:hidden}
@media (max-width:860px){
  .hdr__links{display:none}
  .hdr__burger{display:block}
  .hdr__in{padding:0 16px}
}
@media (max-width:420px){.hdr__login{display:none}}

/* footer */
.foot{padding:56px 0 36px;color:#6b737b;font-family:Geist,system-ui,sans-serif}
.foot__in{max-width:1200px;margin:0 auto;padding:0 24px}
.footg{display:flex;flex-wrap:wrap;gap:40px;justify-content:space-between}
.foot__brand{max-width:420px}
.foot__brand>img{height:32px;width:auto;display:block}
.foot__brand p{font-size:14px;line-height:1.6;margin:10px 0 0}
.footb{display:flex;align-items:center;gap:18px;margin-top:18px;flex-wrap:wrap}
.foot__cols{display:flex;gap:56px;flex-wrap:wrap;font-size:14px}
.footc{display:flex;flex-direction:column;gap:10px}
.foot__label{font-family:'Geist Mono',monospace;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#5f6770;padding-bottom:5px;border-bottom:1px solid #9aa2aa;margin-bottom:4px;align-self:flex-start}
.footc a,.footl a{color:#3a4148;text-decoration:none}
.footc a:hover,.footl a:hover{color:#0d8f80}
.footc address{font-style:normal;line-height:1.6}
.footl{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;margin-top:44px;padding-top:22px;border-top:1px solid #e6e9ec;font-size:13px}
.footl__links{display:flex;gap:18px}
@media (max-width:760px){.foot__in{padding:0 16px}}

/* Guide, Privacy and Terms: the new type and colours over the old content styles */
body.page{--font:Geist,system-ui,-apple-system,'Segoe UI',sans-serif;--teal:#0f9f8f;--teal-strong:#0d8f80;--ink:#111417;--text:#3a4148;--muted:#6b737b;
  font-family:var(--font);background:#fafbfb;color:var(--text);-webkit-font-smoothing:antialiased}
body.page .legal{padding-top:48px;background:transparent}
body.page .legal h1{font-weight:400;letter-spacing:-.045em;line-height:1.02;color:#111417}
body.page .legal h2{font-weight:500;letter-spacing:-.025em;color:#111417}
body.page .legal h3{font-weight:500;letter-spacing:-.015em;color:#111417}
body.page .legal__meta{font-family:'Geist Mono',monospace;font-size:13px;letter-spacing:.02em}
body.page .legal a:not(.btn):not(.hbtn){color:#0d8f80}
body.page .legal__toc,body.page .guide__toc{border-radius:16px}
body.page .legal img{border-radius:14px}
