/* Shared by every page except the landing page and the app: guides, comparison, privacy, terms, 404.
   Same look as index.html (2026-11-28 studio redesign, after asm.com): warm paper, near-black header,
   light Hanken Grotesk headings, one blue from the logo, square corners, sentence case, no small labels. */
@font-face { font-family: "Hanken Grotesk"; src: url(/fonts/HankenGrotesk_300Light.woff2) format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url(/fonts/HankenGrotesk_400Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url(/fonts/HankenGrotesk_500Medium.woff2) format("woff2"); font-weight: 500 700; font-display: swap; }
:root {
  --paper: #f6f4f0; --sheet: #ffffff; --ink: #15171c; --ink-2: #5b5f66; --line: #e0dcd3; --line-2: #b8b3a8;
  --dark: #0f1115; --on-dark: #f4f2ee; --on-dark-2: #a3a7ae; --blue: #2c52c9; --blue-2: #2344a8; --mark: #6f97ff;
  --font: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(1.25rem, 0.8rem + 2.2vw, 2.5rem); color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 clamp(1.0625rem, 1rem + .3vw, 1.25rem)/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; } a:hover { color: var(--blue-2); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.site-head { background: var(--dark); color: var(--on-dark); }
.site-head .in { max-width: 1200px; margin: 0 auto; padding-inline: var(--gutter); min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.site-head .brand { display: flex; align-items: center; gap: .65rem; color: var(--on-dark); text-decoration: none; font: 500 1.05rem/1 var(--font); letter-spacing: -.01em; }
.site-head .brand svg { width: 26px; height: 26px; }
.site-head .login { color: var(--on-dark); text-decoration: none; font-size: .95rem; }
.site-head .login:hover { color: #fff; text-decoration: underline; }

main { max-width: 820px; margin: 0 auto; padding: 1rem var(--gutter) 6rem; }
h1, h2, h3 { margin: 0; text-wrap: balance; font-family: var(--font); }
h1 { font-size: clamp(2.6rem, 1.6rem + 4.6vw, 4.75rem); font-weight: 300; line-height: 1.02; letter-spacing: -.035em; margin-top: clamp(3rem, 2rem + 5vw, 6rem); }
h2 { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem); font-weight: 300; line-height: 1.08; letter-spacing: -.025em; margin: clamp(3.5rem, 2.5rem + 4vw, 6rem) 0 1rem; }
h3 { font-size: 1.2rem; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; }
p { margin: .7rem 0 0; max-width: 60ch; text-wrap: pretty; }
ul { padding-left: 1.2rem; } li { margin-top: .4rem; }
.lede { font-size: clamp(1.2rem, 1.05rem + .7vw, 1.5rem); line-height: 1.45; color: var(--ink-2); margin-top: 1.5rem; }
.muted, .note { color: var(--ink-2); } .note { font-size: .95rem; }

ol.steps { list-style: none; padding: 0; margin: 3rem 0 0; counter-reset: s; display: grid; gap: 3rem; }
ol.steps li { counter-increment: s; margin: 0; }
ol.steps h3 { display: flex; align-items: baseline; gap: .75rem; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.85rem); font-weight: 300; letter-spacing: -.02em; margin-top: 1.1rem; }
ol.steps h3::before { content: counter(s, decimal-leading-zero); font-size: .9rem; font-weight: 400; color: var(--ink-2); letter-spacing: 0; }
ol.steps p { color: var(--ink-2); }
ol.steps img { display: block; width: 100%; height: auto; max-height: 460px; object-fit: cover; background: var(--sheet); border-radius: 2px; }
ol.steps img.contain { object-fit: contain; }
ul.tips { color: var(--ink-2); } ul.tips b { color: var(--ink); font-weight: 500; }
ul.tips li::marker { color: var(--blue); }

.btn { display: inline-flex; align-items: center; gap: .6rem; min-height: 52px; padding: .85rem 1.5rem; margin-top: 2rem; border-radius: 2px; background: var(--ink); color: #fff; font: 500 1rem/1.2 var(--font); text-decoration: none; transition: background .2s; }
.btn::after { content: "↗"; font-size: .95em; }
.btn:hover { background: var(--blue); color: #fff; }

table { width: 100%; border-collapse: collapse; margin-top: 1.75rem; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: .9rem .75rem .9rem 0; border-bottom: 1px solid var(--line); }
tr:first-child th, tr:first-child td { border-top: 1px solid var(--line-2); }
th { font-weight: 500; font-size: 1rem; }
td:first-child { color: var(--ink-2); width: 28%; }
figure { margin: 2.5rem 0 0; } figure img { display: block; width: 100%; height: auto; background: var(--sheet); border-radius: 2px; }
figcaption { margin-top: .7rem; font-size: .95rem; color: var(--ink-2); }

footer { margin-top: 5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-2); font-size: .9rem; color: var(--ink-2); }
footer a { margin-left: .25rem; color: var(--ink); }
