/* Shared styles for the guide, about and privacy pages. The tool page keeps its own styles. */
:root{
  --bg:#0b0b0c; --card:#131314; --raised:#1b1b1d; --line:rgba(237,237,237,.08); --line-2:rgba(237,237,237,.14);
  --text:#ededed; --text-2:#a1a1a6; --text-3:#85858b;
  --accent:#f5a524; --accent-ink:#1a1204; --accent-soft:rgba(245,165,36,.10); --accent-line:rgba(245,165,36,.36);
  --ease:cubic-bezier(0.22,1,0.36,1);
}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--text);font-family:"Geist",system-ui,-apple-system,sans-serif;font-size:16px;line-height:26px;-webkit-font-smoothing:antialiased}
a{color:inherit}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:4px}
.skip{position:absolute;left:16px;top:-64px;background:var(--text);color:var(--bg);padding:8px 12px;border-radius:8px;z-index:20;transition:transform .2s var(--ease);text-decoration:none;font-size:13px}
.skip:focus{transform:translateY(80px)}
.wrap{width:100%;max-width:1160px;margin:0 auto;padding-left:32px;padding-right:32px}
.mono{font-family:"Geist Mono",ui-monospace,monospace;font-variant-numeric:tabular-nums}

/* navigation, shared with the tool page */
.nav{display:flex;align-items:center;justify-content:space-between;height:64px}
.logo{display:flex;align-items:center;gap:10px;font-size:17px;line-height:1;font-weight:500;text-decoration:none}
.mark{position:relative;width:20px;height:16px;border:1.5px solid var(--text);border-radius:3px}
.mark::after{content:"";position:absolute;left:-1.5px;bottom:-1.5px;width:8px;height:6px;background:var(--accent);border-radius:1.5px}
.nav ul{display:flex;gap:24px;list-style:none;margin:0;padding:0;font-size:13px;line-height:20px}
.nav ul a{color:var(--text-2);text-decoration:none;transition:color .15s var(--ease)}
.nav ul a:hover,.nav ul a[aria-current]{color:var(--text)}

/* article */
.article{max-width:720px;padding-top:56px;padding-bottom:96px}
.crumbs{font-size:13px;line-height:20px;color:var(--text-3);margin-bottom:20px}
.crumbs a{color:var(--text-2);text-decoration:none}
.crumbs a:hover{color:var(--text)}
.article h1{font-size:44px;line-height:48px;font-weight:500;letter-spacing:-.025em;margin:0;text-wrap:balance}
.article .lede{font-size:19px;line-height:30px;color:var(--text-2);margin:20px 0 0;text-wrap:pretty}
.article .meta{font-size:13px;line-height:20px;color:var(--text-3);margin-top:20px}
.prose{margin-top:40px;border-top:1px solid var(--line);padding-top:8px}
.prose h2{font-size:24px;line-height:32px;font-weight:500;letter-spacing:-.015em;margin:40px 0 0;text-wrap:balance}
.prose h3{font-size:18px;line-height:26px;font-weight:500;margin:28px 0 0}
.prose p,.prose ul,.prose ol{margin:16px 0 0;color:#d4d4d8;text-wrap:pretty}
.prose ul,.prose ol{padding-left:22px}
.prose li{margin-top:8px}
.prose li::marker{color:var(--text-3)}
.prose strong{font-weight:500;color:var(--text)}
.prose a{color:var(--text);text-decoration:underline;text-decoration-color:var(--accent-line);text-underline-offset:3px;transition:text-decoration-color .15s var(--ease)}
.prose a:hover{text-decoration-color:var(--accent)}
.prose code,.prose kbd{font-family:"Geist Mono",ui-monospace,monospace;font-size:14px;background:var(--raised);border:1px solid var(--line);border-radius:4px;padding:1px 6px}
.prose table{width:100%;border-collapse:collapse;margin-top:20px;font-size:14px;line-height:20px}
.prose th{text-align:left;font-weight:400;color:var(--text-3);padding:0 16px 8px 0}
.prose td{padding:10px 16px 10px 0;border-top:1px solid var(--line);vertical-align:top}
.prose td.num,.prose th.num{text-align:right;font-family:"Geist Mono",ui-monospace,monospace;font-variant-numeric:tabular-nums;white-space:nowrap}
.prose td:last-child,.prose th:last-child{padding-right:0}
.note{margin-top:24px;padding:16px 20px;border:1px solid var(--line);border-radius:12px;background:var(--card);color:var(--text-2);font-size:15px;line-height:24px}
.note strong{color:var(--text);font-weight:500}

/* call to action at the end of a guide */
.cta{margin-top:56px;padding:24px;border:1px solid var(--line);border-radius:16px;background:var(--card);display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
.cta b{display:block;font-weight:500;font-size:17px;line-height:24px}
.cta span{color:var(--text-2);font-size:14px;line-height:20px}
.btn{display:inline-flex;align-items:center;justify-content:center;height:44px;padding:0 20px;border-radius:10px;background:var(--text);color:#0b0b0c;font-weight:500;font-size:15px;text-decoration:none;transition:background-color .15s var(--ease),transform .15s var(--ease)}
.btn:hover{background:#fff}
.btn:active{transform:scale(.98)}

/* list of guides */
.guides{list-style:none;padding:0;margin:40px 0 0;border-top:1px solid var(--line)}
.guides li{border-bottom:1px solid var(--line)}
.guides a{display:block;padding:20px 0;text-decoration:none}
.guides a b{display:block;font-weight:500;font-size:18px;line-height:26px;transition:color .15s var(--ease)}
.guides a span{display:block;color:var(--text-2);font-size:15px;line-height:22px;margin-top:4px}
.guides a:hover b{color:var(--accent)}
.more{margin-top:56px}
.more h2{font-size:15px;line-height:22px;font-weight:500;margin:0;color:var(--text-2)}
.more .guides{margin-top:12px}

footer{border-top:1px solid var(--line);padding:32px 0;color:var(--text-3);font-size:13px;line-height:20px}
footer .wrap{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
footer nav{display:flex;gap:20px;flex-wrap:wrap}
footer a{color:var(--text-2);text-decoration:none;transition:color .15s var(--ease)}
footer a:hover{color:var(--text)}

@media (max-width:900px){
  .wrap{padding-left:20px;padding-right:20px}
  .nav ul{gap:16px}
  .article{padding-top:32px;padding-bottom:64px}
  .article h1{font-size:34px;line-height:40px;letter-spacing:-.02em}
  .article .lede{font-size:17px;line-height:27px}
}
@media (max-width:420px){ .nav ul li.wide{display:none} }
