/* MOTION/LAB doc pages (/guides, /help, /publish) — the approved home's language in a quiet reading layout:
   graphite ground with a dot lattice, Mona Sans + Martian Mono, lime used sparingly, pill rails, ticking boxes. */
:root { --g0: #0b0c0e; --g1: #111214; --g2: #18191c; --g3: #222327; --line: rgba(255,255,255,.09); --line2: rgba(255,255,255,.16); --soft: rgba(255,255,255,.66); --faint: rgba(255,255,255,.44); --lime: #d4ff3a; --ink: #111214; --warn: #ffc25c; --ease: cubic-bezier(.16, 1, .3, 1);
  --font: "Mona Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; --mono: "Martian Mono", ui-monospace, "SFMono-Regular", Menlo, monospace; }
* { box-sizing: border-box; }
html { background: var(--g1); -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; min-height: 100svh; color: #fff; background: radial-gradient(rgba(255,255,255,.075) 1px, transparent 1.4px) 0 0 / 26px 26px, var(--g1); font-family: var(--font); font-size: 16px; line-height: 1.5; font-weight: 430; letter-spacing: -.012em; -webkit-font-smoothing: antialiased; }
:where(h1, h2, h3, p, ul, ol, dl, dd, figure) { margin: 0; padding: 0; }
:where(ul, ol) { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 10px; }
.mono { font-family: var(--mono); font-size: 11px; line-height: 1.5; letter-spacing: 0; font-weight: 400; }
.skip { position: absolute; left: 12px; top: 12px; z-index: 50; padding: 10px 16px; border-radius: 20px; background: var(--lime); color: var(--ink); transform: translateY(-80px); }
.skip:focus { transform: none; }
/* header */
.dh { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px clamp(14px, 3vw, 36px); background: linear-gradient(var(--g1) 55%, transparent); }
.dh__brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 560; letter-spacing: -.02em; }
.dh__brand svg { width: 42px; height: 22px; } .dh__brand .slash { stroke: var(--lime); }
.dh__nav { display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line2); overflow-x: auto; scrollbar-width: none; max-width: calc(100vw - 190px); }
.dh__nav::-webkit-scrollbar { display: none; }
.dh__nav a { height: 36px; padding: 0 15px; border-radius: 999px; display: inline-flex; align-items: center; white-space: nowrap; font-size: 14.5px; color: rgba(255,255,255,.72); transition: background .2s, color .2s; }
.dh__nav a:hover { color: #fff; }
.dh__nav a[aria-current="page"] { background: var(--lime); color: var(--ink); }
/* page */
.dp { max-width: 940px; margin: 0 auto; padding: clamp(28px, 6vw, 72px) clamp(16px, 4vw, 36px) 120px; }
.dp__eyebrow { display: flex; align-items: center; gap: 8px; color: var(--soft); text-transform: uppercase; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); display: inline-block; flex: none; }
.dp h1 { margin-top: 14px; font-size: clamp(38px, 7vw, 76px); line-height: .98; letter-spacing: -.045em; font-weight: 560; text-wrap: balance; }
.dp__lead { margin-top: 18px; max-width: 60ch; color: var(--soft); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.45; }
.dp__meta { margin-top: 14px; color: var(--faint); text-transform: lowercase; }
.dp h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.05; letter-spacing: -.035em; font-weight: 560; }
.dp section { margin-top: clamp(40px, 6vw, 72px); }
/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 26px; }
.chip { height: 40px; padding: 0 16px 0 12px; border-radius: 20px; display: inline-flex; align-items: center; gap: 9px; box-shadow: inset 0 0 0 1px var(--line2); color: rgba(255,255,255,.8); font-size: 15px; transition: background .2s, color .2s, box-shadow .2s; }
.chip:hover { background: #fff; color: var(--ink); box-shadow: none; }
.chip .cb { width: 15px; height: 15px; border-radius: 5px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); display: block; transition: background .2s; }
.chip:hover .cb { box-shadow: inset 0 0 0 1.5px rgba(17,18,20,.4); }
/* cards + steps */
.card { margin-top: 22px; padding: clamp(18px, 3vw, 28px); border-radius: 24px; background: rgba(17,18,20,.86); box-shadow: inset 0 0 0 1px var(--line); }
.card__h { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.card__line { margin-top: 6px; color: var(--soft); }
.steps { margin-top: 20px; display: grid; gap: 10px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-left: 48px; min-height: 32px; color: rgba(255,255,255,.88); }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -1px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 11px; background: var(--lime); color: var(--ink); }
.notes { margin-top: 18px; display: grid; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.notes li { position: relative; padding-left: 18px; color: var(--soft); font-size: 14.5px; line-height: 1.5; }
.notes li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--faint); }
.src { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--faint); }
.src a { text-decoration: underline; text-underline-offset: 3px; } .src a:hover { color: var(--lime); }
.callout { margin-top: 22px; padding: 16px 18px; border-radius: 18px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line2); color: var(--soft); font-size: 15px; }
.callout b { color: #fff; font-weight: 520; }
/* buttons */
.pillbtn { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 16px; font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; box-shadow: inset 0 0 0 1px var(--line2); color: #fff; transition: background .2s, color .2s; }
.pillbtn:hover { background: #fff; color: var(--ink); }
.pillbtn--lime { background: var(--lime); color: var(--ink); box-shadow: none; } .pillbtn--lime:hover { background: #fff; }
.pillbtn.is-done { background: var(--lime); color: var(--ink); box-shadow: none; }
/* fix list (/help) */
.fix { margin-top: 12px; border-radius: 20px; background: rgba(17,18,20,.86); box-shadow: inset 0 0 0 1px var(--line); overflow: clip; }
.fix summary { list-style: none; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 16px 18px; cursor: pointer; }
.fix summary::-webkit-details-marker { display: none; }
.fix summary b { font-size: 17px; font-weight: 540; letter-spacing: -.02em; }
.fix summary .mono { color: var(--faint); }
.fix__pm { width: 14px; height: 14px; position: relative; } .fix__pm::before, .fix__pm::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; border-radius: 1px; background: var(--soft); transition: rotate .3s var(--ease); } .fix__pm::after { rotate: 90deg; }
.fix[open] .fix__pm::after { rotate: 0deg; }
.fix__b { padding: 0 18px 18px; display: grid; gap: 12px; }
.fix__b p { color: var(--soft); }
.fix__prompt { position: relative; padding: 14px 16px; border-radius: 14px; background: var(--g0); box-shadow: inset 0 0 0 1px var(--line); font-family: var(--mono); font-size: 12.5px; line-height: 1.6; color: rgba(255,255,255,.88); white-space: pre-wrap; overflow-wrap: anywhere; }
.fix__a { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
/* done-for-you form */
.form { display: grid; gap: 10px; margin-top: 18px; }
.form label { display: grid; gap: 5px; }
.form label > span { color: var(--faint); text-transform: uppercase; }
.form input, .form select, .form textarea { width: 100%; min-height: 46px; padding: 12px 14px; border: 0; border-radius: 14px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line2); color: #fff; font: inherit; font-size: 15.5px; letter-spacing: -.01em; }
.form textarea { min-height: 110px; resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: rgba(255,255,255,.3); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--lime); }
.form select option { background: var(--g2); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form__msg { min-height: 20px; color: var(--lime); }
.price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price b { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.04em; font-weight: 560; }
/* diagram */
.diag { margin-top: 20px; padding: 18px; border-radius: 18px; background: var(--g0); box-shadow: inset 0 0 0 1px var(--line); overflow-x: auto; }
.diag svg { display: block; width: 100%; min-width: 560px; height: auto; }
/* footer */
.df { padding: 28px clamp(14px, 3vw, 36px) 40px; color: var(--faint); display: flex; gap: 8px 22px; flex-wrap: wrap; justify-content: center; border-top: 1px solid var(--line); }
.df a:hover { color: var(--lime); }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } .dh__brand span { display: none; } .dh__nav { max-width: calc(100vw - 92px); } .steps li { padding-left: 42px; } .fix summary { grid-template-columns: 1fr auto; } .fix summary .mono { display: none; } }
@media (prefers-reduced-motion: reduce) { * { transition-duration: 0s !important; animation: none !important; } }
/* admin dashboard + account */
.adm-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.adm-stat { display: grid; gap: 4px; padding: 18px 20px; border-radius: 22px; background: rgba(17,18,20,.86); box-shadow: inset 0 0 0 1px var(--line); }
.adm-stat b { font-size: clamp(36px, 5vw, 56px); line-height: 1; letter-spacing: -.045em; font-weight: 560; }
.adm-stat .mono { color: var(--lime); text-transform: uppercase; } .adm-stat small { color: var(--faint); font-size: 13px; }
.adm-bars { display: flex; align-items: flex-end; gap: 4px; height: 52px; margin-top: 18px; }
.adm-bars i { flex: 1; min-width: 4px; border-radius: 3px; background: rgba(255,255,255,.12); } .adm-bars i.on { background: var(--lime); }
.adm-note { margin-top: 14px; color: var(--faint); }
.adm-t { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 14.5px; }
.adm-t th { text-align: left; font-family: var(--mono); font-size: 10.5px; font-weight: 400; text-transform: uppercase; color: var(--faint); padding: 8px 10px 8px 0; white-space: nowrap; }
.adm-t td { padding: 10px 10px 10px 0; border-top: 1px solid var(--line); vertical-align: top; } .adm-t small { color: var(--faint); font-size: 12px; display: inline; }
.adm-q { height: 38px; width: min(260px, 100%); padding: 0 14px; border: 0; border-radius: 19px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line2); color: #fff; font: inherit; font-size: 14px; }
.adm-q:focus { outline: none; box-shadow: inset 0 0 0 2px var(--lime); }
