/* Premise subpages (setup guide, legal, thanks): the homepage's look in one shared file */
@font-face { font-family: "Archivo"; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url("/fonts/archivo-standard.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-weight: 100 900; font-display: swap; src: url("/fonts/geist-wght.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-weight: 100 900; font-display: swap; src: url("/fonts/geist-mono-wght.woff2") format("woff2"); }

:root {
  --abyss: #070708;
  --panel: #101113;
  --panel-2: #141518;
  --edge: rgba(255, 255, 255, .085);
  --edge-hi: rgba(255, 255, 255, .16);
  --text: #f3f3f1;
  --muted: #94969d;
  --dim: #66686f;
  --blue: #8ab4ff;
  --blue-deep: #3d6dff;
  --gold: #f2c46d;
  --ok: #7fe0b5;
  --claude: #d97757;
  --out: cubic-bezier(.23, 1, .32, 1);
  --enter: cubic-bezier(.16, 1, .3, 1);
  --display: "Archivo", "Helvetica Neue", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: min(1260px, 100% - 64px);
}
@media (max-width: 640px) { :root { --wrap: calc(100% - 32px); } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; background: var(--abyss); scrollbar-color: #2b2c31 var(--abyss); scroll-padding-top: 96px; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; background: var(--abyss); color: var(--text); font: 400 16px/1.6 "Geist", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
main { flex: 1; }
::selection { background: var(--blue); color: var(--abyss); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
[hidden] { display: none !important; }
.wrap { width: var(--wrap); margin-inline: auto; }
.u, .prose a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(238,242,248,.35); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.u:hover, .prose a:hover { text-decoration-color: var(--text); }
.skip { position: fixed; z-index: 100; left: 16px; top: -64px; padding: 12px 16px; border-radius: 12px; background: #f4f7fc; color: #070a12; font-weight: 560; transition: top .2s var(--out); }
.skip:focus { top: 12px; }
kbd { font: 500 .86em/1 var(--mono); padding: 3px 6px 2px; border-radius: 6px; background: #1b1c20; box-shadow: inset 0 0 0 1px var(--edge-hi), 0 1px 0 rgba(0,0,0,.6); white-space: nowrap; }
code { font: 450 .9em/1 var(--mono); padding: 2px 6px; border-radius: 6px; background: #17181b; box-shadow: inset 0 0 0 1px var(--edge); white-space: nowrap; }

/* ---------- header (same as the homepage, always solid) ---------- */
.bar { position: sticky; top: 0; z-index: 40; background: rgba(7, 7, 8, .8); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 1px 0 var(--edge); }
.nav { width: var(--wrap); margin: 0 auto; height: 72px; display: flex; align-items: center; gap: 36px; }
.brand { display: flex; align-items: center; gap: 11px; padding: 9px 0; font: 600 18px/1 "Geist"; letter-spacing: -.02em; }
.brand svg { width: 26px; height: 26px; }
.nav ul { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; font-size: 14.5px; color: var(--muted); }
.nav ul a { transition: color .2s var(--out); }
.nav ul a:hover, .nav ul a[aria-current] { color: var(--text); }
.nav .end { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 14.5px; }
@media (max-width: 860px) { .nav ul, .nav .end .btn.ghost { display: none; } }

.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer;
  font: 450 15.5px/1 "Geist"; letter-spacing: -.005em; white-space: nowrap; transition: transform .15s var(--out), background-color .15s, box-shadow .15s, color .15s; }
.btn.primary { background: linear-gradient(90deg, #1238c4 0%, #0a20cc 38%, #0412d2 66%, #0710e2 100%); color: #ebebf9; font-weight: 520; }
.btn.ghost { color: var(--text); background: #17181b; box-shadow: 0 0 0 .5px rgba(255,255,255,.22), 0 1px 1px rgba(0,0,0,.35), 0 2px 4px rgba(0,0,0,.3); }
.btn.sm { height: 36px; padding: 0 14px; font-size: 14px; }
@media (hover: hover) and (pointer: fine) { .btn.ghost:hover { background: #1e1f23; } }
.btn:active { transform: scale(.98); transition-duration: .08s; }

/* ---------- page head ---------- */
.ph { padding: clamp(56px, 8vw, 104px) 0 clamp(36px, 5vw, 56px); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 20px; font-size: 13.5px; color: var(--muted); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px rgba(138,180,255,.16); }
.ph h1 { margin: 0 0 18px; max-width: 15em; font: 580 clamp(38px, 5vw, 68px)/1.02 var(--display); font-stretch: 112%; letter-spacing: -.035em; text-wrap: balance; }
.ph .lead { margin: 0; max-width: 36em; color: var(--muted); font-size: clamp(16.5px, 1.3vw, 19px); line-height: 1.6; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 0; padding: 0; list-style: none; }
.facts li { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px 0 12px; border-radius: 999px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--edge); font-size: 14px; color: var(--muted); }
.facts b { color: var(--text); font-weight: 540; }
.facts svg { width: 16px; height: 16px; }

/* ---------- guide layout: contents on the left, steps on the right ---------- */
.guide { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; padding-bottom: clamp(64px, 9vw, 120px); }
.toc { display: none; }
@media (min-width: 1040px) {
  .guide { grid-template-columns: 236px minmax(0, 760px); gap: 72px; }
  .toc { display: block; position: sticky; top: 104px; align-self: start; }
  .toc p { margin: 0 0 12px; font-size: 12.5px; letter-spacing: .02em; color: var(--dim); }
  .toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
  .toc a { display: flex; align-items: center; gap: 12px; padding: 7px 10px; margin-left: -10px; border-radius: 10px; font-size: 14px; color: var(--muted); transition: color .2s, background-color .2s; }
  .toc a span { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 500 10.5px/1 "Geist"; color: var(--dim); box-shadow: inset 0 0 0 1.3px rgba(255,255,255,.14); transition: color .2s, box-shadow .2s, background-color .2s; }
  .toc a:hover { color: var(--text); background: rgba(255,255,255,.03); }
  .toc a.on { color: var(--text); }
  .toc a.on span { color: #0b0c10; background: var(--text); box-shadow: none; }
}

/* steps: a quiet timeline like "How it works" */
.steps { position: relative; margin: 0; padding: 0 0 0 56px; list-style: none; }
.steps::before { content: ""; position: absolute; left: 14px; top: 10px; bottom: 10px; width: 1px; background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.06) 85%, transparent); }
.step { position: relative; min-width: 0; padding: 0 0 clamp(48px, 6vw, 72px); }
.step:last-child { padding-bottom: 0; }
.node { position: absolute; left: -56px; top: 2px; width: 29px; height: 29px; border-radius: 50%; display: grid; place-items: center; font: 520 12px/1 "Geist"; color: var(--text); background: var(--abyss); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.22); }
.step.key .node { color: #fff; background: linear-gradient(140deg, #3d6dff, #0b1fd0); box-shadow: 0 0 0 4px rgba(61,109,255,.16), 0 6px 18px -4px rgba(61,109,255,.6); }
.step h2 { margin: 0 0 10px; font: 560 clamp(23px, 2.2vw, 30px)/1.15 var(--display); font-stretch: 108%; letter-spacing: -.025em; }
.step > p, .step li { color: #c9cace; }
.step > p { margin: 0 0 16px; max-width: 40em; }
.step .muted { color: var(--muted); }
.step ol, .step ul { margin: 0 0 18px; padding-left: 1.25em; display: grid; gap: 8px; }
.step li::marker { color: var(--dim); }
.step strong { color: var(--text); font-weight: 560; }
.step a:not(.btn):not(.toc a) { color: var(--text); text-decoration: underline; text-decoration-color: rgba(238,242,248,.35); text-underline-offset: 3px; }
.step a:not(.btn):hover { text-decoration-color: var(--text); }
.step .asks, .step .facts { padding: 0; }
@media (max-width: 640px) { .steps { padding-left: 46px; } .node { left: -46px; } .steps::before { left: 14px; } }

/* ---------- copyable things ---------- */
.copy { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border: 0; border-radius: 999px; cursor: pointer; font: 500 13px/1 "Geist"; color: var(--text); background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px var(--edge-hi); transition: background-color .2s, color .2s; }
.copy svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.copy:hover { background: rgba(255,255,255,.12); }
.copy.done { color: var(--ok); background: rgba(127,224,181,.1); box-shadow: inset 0 0 0 1px rgba(127,224,181,.3); }

/* terminal window, the same as on the homepage */
.term { margin: 6px 0 18px; border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, #131416, #0c0c0e); box-shadow: inset 0 0 0 1px var(--edge), inset 0 1px 0 rgba(255,255,255,.07), 0 40px 80px -40px rgba(0,0,0,.9); }
.term-bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 8px 0 16px; box-shadow: inset 0 -1px 0 var(--edge); font-size: 12.5px; color: var(--muted); }
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.12); }
.term-bar b { margin-left: 8px; font-weight: 500; color: var(--text); }
.term-bar .copy { margin-left: auto; height: 28px; }
.term pre { margin: 0; padding: 16px 18px 18px; overflow-x: auto; font: 450 14px/1.6 var(--mono); color: #e6e7ea; white-space: pre; }
.term pre::before { content: "$ "; color: var(--dim); }
.term.ps pre::before { content: "PS> "; }
.term.plain pre::before { content: none; }

/* the message to paste into Claude: the hero of the guide */
.say { position: relative; margin: 8px 0 20px; padding: 20px 20px 18px; border-radius: 20px; background: linear-gradient(180deg, #15161a, #0f1013); box-shadow: inset 0 0 0 1px rgba(138,180,255,.22), inset 0 1px 0 rgba(255,255,255,.07), 0 30px 70px -36px rgba(61,109,255,.55); }
.say-top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 13px; color: var(--muted); }
.say-top svg.mark { width: 18px; height: 18px; fill: var(--claude); }
.say-top .copy { margin-left: auto; }
.say p { margin: 0; font: 450 clamp(16.5px, 1.5vw, 19px)/1.5 "Geist"; color: var(--text); letter-spacing: -.005em; }
.say.small { padding: 14px 16px 14px 18px; display: flex; align-items: center; gap: 14px; margin: 0; box-shadow: inset 0 0 0 1px var(--edge-hi), inset 0 1px 0 rgba(255,255,255,.06); }
.say.small p { flex: 1; font-size: 15.5px; }
.says { display: grid; gap: 10px; margin: 6px 0 20px; }

/* OS switch */
.tabs { display: inline-flex; gap: 4px; padding: 4px; margin: 4px 0 14px; border-radius: 999px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--edge); }
.tabs button { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border: 0; border-radius: 999px; cursor: pointer; background: transparent; color: var(--muted); font: 500 14px/1 "Geist"; transition: color .2s, background-color .2s; }
.tabs button svg { width: 15px; height: 15px; fill: currentColor; }
.tabs button[aria-selected="true"] { color: var(--text); background: #222328; box-shadow: inset 0 0 0 1px var(--edge-hi); }
.tabs button:hover { color: var(--text); }

/* small cards and notes */
.note { display: flex; gap: 12px; margin: 0 0 16px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.025); box-shadow: inset 0 0 0 1px var(--edge); font-size: 14.5px; color: var(--muted); }
.note svg { flex: none; width: 18px; height: 18px; margin-top: 2px; fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.note b { color: var(--text); font-weight: 540; }
.asks { display: grid; gap: 10px; margin: 6px 0 18px; padding: 0; list-style: none; }
.asks li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px; border-radius: 18px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--edge), inset 0 1px 0 rgba(255,255,255,.04); color: var(--muted); font-size: 15px; }
.asks li b { display: block; margin-bottom: 2px; color: var(--text); font-weight: 540; font-size: 15.5px; }
.asks .ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: #1a1b1f; box-shadow: inset 0 0 0 1px var(--edge-hi); }
.asks .ic svg { width: 17px; height: 17px; fill: none; stroke: var(--text); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.asks .ic svg.fill { fill: var(--text); stroke: none; }
.files { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; margin: 6px 0 18px; }
.files div { padding: 16px; border-radius: 16px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--edge); font-size: 14.5px; color: var(--muted); }
.files b { display: block; margin-bottom: 4px; color: var(--text); font-weight: 540; }

/* troubleshooting, like the homepage FAQ */
.faq { margin: 4px 0 0; }
.faq details { border-bottom: 1px solid var(--edge); }
.faq details:first-child { border-top: 1px solid var(--edge); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 18px 0; font: 520 16.5px/1.4 "Geist"; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { margin-left: auto; flex: none; width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--edge-hi); position: relative; transition: background-color .2s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.6px; margin: -.8px 0 0 -5px; border-radius: 1px; background: var(--text); }
.faq summary i::after { transform: rotate(90deg); transition: transform .3s var(--out); }
.faq details[open] summary i { background: rgba(138,180,255,.12); }
.faq details[open] summary i::after { transform: rotate(0deg); }
.faq details p { margin: -4px 0 18px; color: var(--muted); max-width: 40em; }

/* ---------- plain text pages (Impressum, privacy, licence, thanks) ---------- */
.prose { padding-bottom: clamp(64px, 9vw, 120px); color: #c9cace; }
.prose > * { max-width: 720px; }
.prose h2 { margin: 40px 0 10px; font: 560 22px/1.25 var(--display); font-stretch: 108%; letter-spacing: -.02em; color: var(--text); }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 1.25em; display: grid; gap: 6px; }
.prose li::marker { color: var(--dim); }
.prose strong { color: var(--text); font-weight: 560; }
.prose .draft { padding: 12px 16px; border-radius: 14px; background: rgba(242,196,109,.08); box-shadow: inset 0 0 0 1px rgba(242,196,109,.25); color: var(--gold); font-size: 14.5px; }
.prose .card { margin: 0 0 14px; padding: 20px; border-radius: 20px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--edge); }

/* ---------- footer ---------- */
footer { padding: 30px 0 50px; box-shadow: inset 0 1px 0 var(--edge); font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
footer .brand { color: var(--text); margin-right: auto; font-size: 16px; padding: 10px 0; }
footer .brand svg { width: 22px; height: 22px; }
footer .wrap > a:not(.brand) { padding: 12px 0; transition: color .2s; }
footer a:hover { color: var(--text); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
.todo { color: var(--gold); background: rgba(242,196,109,.08); box-shadow: inset 0 0 0 1px rgba(242,196,109,.25); border-radius: 6px; padding: 0 5px; }
.prose .btn.primary { color: #ebebf9; margin-top: 10px; }
.dlbox { margin-top: 28px; max-width: 36em; }
.dlbox p { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.dlwait { margin: 24px 0 0; color: var(--dim); font-size: 14px; }
