/* SpotSnags · public site and workspace
   Visual world: Avenir Next · warm paper · graphite · orange-red. */
:root {
  color-scheme: light;
  --paper: #f7f7f5;
  --white: #fff;
  --ink: #242321;
  --muted: #5e5b58;
  --soft: #77726d;
  --line: #d9d6d2;
  --line-strong: #bcb7b2;
  --orange: #a33319;
  --orange-deep: #852510;
  --bright: #e98463;
  --wash: #fae9e2;
  --quiet: #efeeeb;
  --stone: #e7e4e0;
  --amber: #7a4b07;
  --amber-wash: #fff0dc;
  --green: #2c6a3e;
  --green-wash: #e5f0e6;
  --blue: #2c5282;
  --blue-wash: #e6edf6;
  --content: 1240px;
  --gut: clamp(16px, 4.2vw, 56px);
  --radius: 8px;
  --shadow: 0 1px 2px rgb(52 40 30 / 6%), 0 8px 24px rgb(52 40 30 / 8%);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  accent-color: var(--orange);
  caret-color: var(--orange);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
[hidden] { display: none !important; }
::selection { background: var(--wash); color: var(--ink); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
h1, h2, h3, h4, p, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; }
h1, h2, h3 { line-height: 1.14; text-wrap: balance; }
h1, h2 { letter-spacing: -.03em; }
p { line-height: 1.56; text-wrap: pretty; }
a { color: inherit; text-underline-offset: .19em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
code, .mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .9em; }
.sr-only, .visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; inset: 6px auto auto 10px; z-index: 60; padding: 10px 14px; border-radius: 6px; background: var(--white); font-weight: 700; text-decoration: none; transform: translateY(-160%); box-shadow: var(--shadow); }
.skip:focus { transform: none; }

/* ───────── Buttons, fields, notes ───────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 16px; border: 1px solid transparent; border-radius: 7px; text-align: center; text-decoration: none; font-weight: 700; font-size: 14.5px; line-height: 1.2; transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s cubic-bezier(.2, .8, .2, 1); }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-deep); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #3f3b37; color: #fff; }
.btn-secondary { background: #fff; border-color: var(--line-strong); color: var(--ink); }
.btn-secondary:hover { border-color: var(--orange); color: var(--orange); background: var(--wash); }
.btn-danger { background: #fff; border-color: #c9a59a; color: var(--orange-deep); }
.btn-danger:hover { background: var(--wash); }
.btn-text { min-height: 36px; padding: 6px 2px; color: var(--orange); text-decoration: underline; text-underline-offset: .2em; background: none; font-weight: 700; }
.btn-text:hover { color: var(--orange-deep); }
.btn-sm { min-height: 36px; padding: 7px 12px; font-size: 13.5px; border-radius: 6px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; }
.btn .ico { width: 17px; height: 17px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.actions.end { justify-content: flex-end; }
.link-button { min-height: 36px; padding: 6px 2px; border: 0; background: none; color: var(--orange); font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
.link-button:hover { color: var(--orange-deep); }
.link-button.danger { color: var(--orange-deep); }

.field { display: grid; gap: 6px; min-width: 0; }
.field > label, .label { font-weight: 700; font-size: 14px; }
.field .hint { color: var(--muted); font-size: 13px; line-height: 1.45; }
.input, .textarea, .select { width: 100%; min-height: 46px; padding: 10px 13px; border: 1px solid #a59d96; border-radius: 7px; background: #fff; font-size: 15px; }
.textarea { min-height: 150px; line-height: 1.6; resize: vertical; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13.5px; }
.input:focus-visible, .textarea:focus-visible, .select:focus-visible { outline: 3px solid var(--orange); outline-offset: 1px; border-color: var(--orange); }
.field.has-error .input, .field.has-error .textarea { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange); }
.ferr, .field-error { display: flex; gap: 7px; align-items: flex-start; padding: 10px 12px; border: 1px solid #efc7b8; border-radius: 8px; background: var(--wash); color: var(--orange-deep); font-size: 13.5px; font-weight: 650; line-height: 1.45; }
.field .ferr { padding: 0; border: 0; background: none; }
.ferr .ico, .field-error .ico { width: 16px; height: 16px; margin-top: 1px; flex: 0 0 auto; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; flex: 0 0 auto; }
.passrow { display: flex; gap: 8px; }
.passrow .input { flex: 1; min-width: 0; }
.code-input { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 20px; letter-spacing: .24em; text-align: center; }
.radio-cards { display: grid; gap: 8px; }
.radio-cards label { display: flex; gap: 11px; align-items: flex-start; padding: 13px 14px; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; cursor: pointer; font-size: 14px; }
.radio-cards label:has(input:checked) { border-color: var(--orange); background: var(--wash); }
.radio-cards input { margin: 3px 0 0; width: 17px; height: 17px; }
.radio-cards strong { display: block; }
.radio-cards span { color: var(--muted); font-size: 13px; }

.note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius); background: var(--quiet); border: 1px solid #e0ddd8; font-size: 14px; line-height: 1.5; }
.note > .ico { margin-top: 1px; color: var(--muted); width: 18px; height: 18px; flex: 0 0 auto; }
.note strong { display: block; margin-bottom: 2px; }
.note p + p { margin-top: 4px; }
.note .actions { margin-top: 10px; }
.note.warn { background: var(--amber-wash); border-color: #f0d7b0; }
.note.warn > .ico { color: var(--amber); }
.note.err { background: var(--wash); border-color: #efc7b8; }
.note.err > .ico { color: var(--orange); }
.note.ok { background: var(--green-wash); border-color: #c6dcc9; }
.note.ok > .ico { color: var(--green); }
.note.info { background: var(--blue-wash); border-color: #cbd8e8; }
.note.info > .ico { color: var(--blue); }

.pill { display: inline-flex; align-items: center; justify-self: start; align-self: start; gap: 5px; padding: 3px 8px; border-radius: 5px; font-size: 12px; font-weight: 700; line-height: 1.25; white-space: nowrap; background: var(--stone); color: #463c35; }
.pill.crit { background: #f7d9cd; color: #7f2410; }
.pill.serious { background: var(--amber-wash); color: var(--amber); border: 1px solid #efd2a4; }
.pill.ok { background: var(--green-wash); color: var(--green); }
.pill.info { background: var(--blue-wash); color: var(--blue); }
.pill.line { background: transparent; border: 1px solid var(--line-strong); color: var(--muted); }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 5px; background: var(--stone); font-size: 12px; font-weight: 700; white-space: nowrap; }
.badge.ok { background: var(--green-wash); color: var(--green); }
.badge.hot { background: var(--amber-wash); color: var(--amber); }

/* ───────── Shared blocks ───────── */
.wrap { width: min(calc(100% - 2 * var(--gut)), var(--content)); margin-inline: auto; }
.mark { display: inline-block; width: 26px; height: 26px; flex: 0 0 auto; border-radius: 6px; background: var(--orange); position: relative; }
.mark::before { content: ""; position: absolute; inset: 24%; border: 1.6px solid #fff; border-radius: 2px; }
.mark::after { content: ""; position: absolute; inset: 42% 35% 33% 36%; border: solid #fff; border-width: 0 0 1.6px 1.6px; transform: rotate(-45deg); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 20px; letter-spacing: -.035em; font-weight: 700; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-sm { font-size: 17px; gap: 8px; }
.mark-sm { width: 22px; height: 22px; border-radius: 5px; }
.ico { width: 18px; height: 18px; flex: 0 0 auto; }
.ico-sm { width: 15px; height: 15px; }
.surface { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.pad { padding: clamp(18px, 2.4vw, 28px); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; display: grid; gap: 12px; align-content: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; display: grid; gap: 12px; align-content: start; }
.panel > h2 { font-size: 17px; display: flex; align-items: center; gap: 9px; justify-content: space-between; flex-wrap: wrap; }
.panel > p { color: var(--muted); font-size: 14px; }
.stack { display: grid; gap: 14px; min-width: 0; }
.stack-lg { display: grid; gap: 26px; min-width: 0; }
.stack > *, .stack-lg > *, .panel > *, .two > *, .hero > *, .grid2 > *, .grid3 > * { min-width: 0; }
.muted { color: var(--muted); }
.fine { color: var(--muted); font-size: 13px; line-height: 1.5; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; color: var(--muted); }
.meta b { color: var(--ink); font-weight: 650; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.lede-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.signed-in { margin-top: 9px; font-size: 14px; color: var(--muted); }
.signed-in b { color: var(--ink); }
.status-head { display: flex; justify-content: space-between; align-items: start; gap: 14px; flex-wrap: wrap; }
.status-head h2 { font-size: clamp(1.15rem, 1.8vw, 1.45rem); letter-spacing: -.02em; }
.status-head .badge, .status-head .pill { margin-top: 2px; }
.plain-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.plain-list li { display: grid; gap: 3px; padding-top: 9px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.plain-list li:first-child { padding-top: 0; border-top: 0; }
.plain-list b { display: block; color: var(--ink); overflow-wrap: anywhere; }
.plain-list .link-button + .link-button { margin-left: 14px; }
.finding { min-width: 0; }
.finding h3 { overflow-wrap: anywhere; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 22px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { font-weight: 600; overflow-wrap: anywhere; }
.kvlist { list-style: none; display: grid; gap: 7px; font-size: 14px; color: #3d3935; }
.kvlist li { position: relative; padding-left: 16px; line-height: 1.48; }
.kvlist li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); }
.kvlist b { color: var(--ink); font-weight: 700; }
.mt-6 { margin-top: 6px; }
.mt-10 { margin-top: 10px; }
.mt-14 { margin-top: 14px; }
.mt-18 { margin-top: 18px; }
.mt-22 { margin-top: 22px; }
.mt-24 { margin-top: 24px; }
.mt-28 { margin-top: 28px; }
.mt-34 { margin-top: 34px; }
.mt-40 { margin-top: 40px; }
.grow { flex: 1; }
.measure { max-width: 62ch; }
.h-18 { font-size: 18px; }
.h-20 { font-size: 20px; }
.h-22 { font-size: 22px; }
.h-24 { font-size: 24px; }
.h-sub { font-size: 18px; margin-top: 6px; }
.section-gap { margin: 36px 0 12px; }
.actions.between { justify-content: space-between; }
.wrap.narrow { max-width: 820px; }
.cta-strip { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.hero-foot { display: grid; gap: 22px; max-width: var(--content); }
.steps-mini.lg { font-size: 15px; }
.center-page { max-width: 660px; margin-inline: auto; display: grid; gap: 16px; justify-items: start; padding-block: 30px; }

.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12.5px; color: var(--muted); font-weight: 650; padding: 9px 12px; border-bottom: 1px solid var(--line-strong); }
.table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.45; }
.table tr:last-child td { border-bottom: 0; }
.table .row-bad td { background: #fdf3ef; }
.table .row-dim td { color: var(--soft); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: #fff; }

.diff { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; font: 13px/1.65 ui-monospace, "SF Mono", Menlo, monospace; }
.diff-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 14px; background: var(--quiet); border-bottom: 1px solid var(--line); font-family: "Avenir Next", "Segoe UI", sans-serif; font-size: 13px; font-weight: 650; }
.diff pre { margin: 0; padding: 10px 0; overflow-x: auto; }
.diff .ln { display: block; padding: 0 14px; white-space: pre; }
.diff .del { background: #fbe4dc; color: #7f2410; }
.diff .add { background: #e2efe3; color: #1e5530; }
.codebox { padding: 10px 12px; border-radius: 8px; background: var(--quiet); font: 13px/1.6 ui-monospace, monospace; overflow-x: auto; white-space: pre; }

.progress { position: relative; height: 6px; border-radius: 99px; background: var(--stone); overflow: hidden; }
.progress::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 36%; border-radius: inherit; background: var(--orange); animation: indet 1.4s ease-in-out infinite alternate; }
progress.progress { appearance: none; width: 100%; border: 0; }
progress.progress::-webkit-progress-bar { background: var(--stone); border-radius: 99px; }
progress.progress::-webkit-progress-value { background: var(--orange); border-radius: 99px; }
progress.progress::-moz-progress-bar { background: var(--orange); border-radius: 99px; }
@keyframes indet { from { transform: translateX(0%); } to { transform: translateX(178%); } }
@media (prefers-reduced-motion: reduce) {
  .progress::before { animation: none; width: 100%; opacity: .35; }
  .btn, .toast, dialog.modal[open] { transition: none; animation: none; }
}

.timeline { list-style: none; display: grid; gap: 0; }
.timeline li { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding-bottom: 18px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 13px; top: 26px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .tl-dot { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--stone); color: var(--muted); }
.timeline .done .tl-dot { background: var(--ink); color: #fff; }
.timeline .now .tl-dot { background: var(--orange); color: #fff; box-shadow: 0 0 0 5px var(--wash); }
.timeline .tl-dot svg { width: 14px; height: 14px; }
.timeline strong { display: block; font-size: 14.5px; }
.timeline span { color: var(--muted); font-size: 13px; }

.checklist { list-style: none; display: grid; gap: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; font-size: 13.5px; }
.checklist li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: start; padding: 11px 14px; border-top: 1px solid var(--line); }
.checklist li:first-child { border-top: 0; }
.checklist .ico { width: 17px; height: 17px; margin-top: 2px; }
.checklist .ck-ok .ico { color: var(--green); }
.checklist .ck-wait .ico { color: var(--amber); }
.checklist .ck-no .ico { color: var(--orange); }
.checklist strong { display: block; font-size: 14px; }
.checklist span.sub { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.sample-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 11px 14px; border-radius: 10px; background: var(--quiet); border: 1px solid var(--line); font-size: 13px; color: #3d3935; }
.sample-bar strong { color: var(--ink); }

dialog.modal { width: min(500px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 14px; background: #fff; color: var(--ink); box-shadow: 0 30px 70px rgb(30 20 10 / 30%); }
dialog.modal::backdrop { background: rgb(30 27 24 / 50%); }
dialog.modal[open] { animation: pop .22s cubic-bezier(.2, .8, .2, 1); }
@keyframes pop { from { transform: translateY(8px) scale(.985); opacity: .5; } }
.modal-body { padding: 24px; display: grid; gap: 14px; }
.modal-body h2 { font-size: 22px; }
.modal-foot { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; padding: 14px 24px; border-top: 1px solid var(--line); background: var(--paper); border-radius: 0 0 14px 14px; }

.toast { position: fixed; z-index: 60; left: 50%; bottom: 32px; transform: translateX(-50%); display: flex; gap: 10px; align-items: center; padding: 11px 16px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 12px 30px rgb(0 0 0 / 25%); }
.toast svg { color: #9fd3a9; }

/* ───────── Site shell ───────── */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 5; }
.site-nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 72px; }
.site-links { display: flex; gap: clamp(14px, 2vw, 26px); font-size: 14.5px; font-weight: 650; }
.site-links a { text-decoration: none; white-space: nowrap; }
.site-links a:hover, .site-links a[aria-current="page"] { color: var(--orange); }
.site-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: .45em; text-decoration-thickness: 2px; }
.site-links a:focus-visible, .footer-inner nav a:focus-visible { border-radius: 3px; }
.footer-inner nav a:hover { color: var(--orange); }
.nav-actions { display: flex; align-items: center; gap: 16px; font-size: 14.5px; font-weight: 650; }
.nav-actions > a:not(.btn) { text-decoration: none; }
.acct { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 13.5px; }
.avatar { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #3b4a3f; color: #fff; font-size: 12px; font-weight: 700; flex: 0 0 auto; }
.avatar.b { background: #4a3f63; }
.menu-btn { display: none; }
.mobile-nav { display: grid; gap: 6px; padding: 14px var(--gut) 18px; border-top: 1px solid var(--line); background: #fff; }
.mobile-nav a { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 8px 12px; border-radius: 8px; text-decoration: none; font-weight: 650; font-size: 15px; }
.mobile-nav a[aria-current="page"] { background: var(--wash); color: var(--orange-deep); }
.site-main { padding-block: clamp(28px, 4vw, 56px) clamp(56px, 7vw, 96px); }
.site-footer { background: #fff; border-top: 1px solid var(--line); font-size: 13.5px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; min-height: 84px; padding-block: 14px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 650; }
.footer-inner nav a { text-decoration: none; }
.footer-inner nav .soon { color: var(--soft); font-weight: 500; }

.page-head { display: grid; gap: 10px; margin-bottom: clamp(22px, 3vw, 34px); max-width: 760px; }
.page-head.tight { margin-bottom: 0; }
.page-head h1 { font-size: clamp(30px, 3.4vw, 44px); }
.page-head p { color: var(--muted); font-size: clamp(15px, 1.2vw, 17px); }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 12px; flex-wrap: wrap; }
.crumbs a { font-weight: 650; }

/* ───────── Marketing ───────── */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 6vw, 84px); }
.hero h1 { font-size: clamp(40px, 4.6vw, 66px); letter-spacing: -.04em; line-height: 1.02; }
.hero-lede { margin: 20px 0 26px; max-width: 44ch; font-size: clamp(16px, 1.3vw, 19px); color: var(--muted); }
.urlform { display: grid; gap: 10px; padding: 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.urlrow { display: flex; gap: 8px; }
.urlrow .input { flex: 1; min-width: 0; font-size: 16px; }
.hero-alt { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 18px; font-size: 14px; }
.hero-alt a { font-weight: 700; color: var(--orange); }
.shot { border-radius: 14px; border: 1px solid #d5cdc6; background: #efedea; padding: 14px; }
.shot-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 13px; font-weight: 700; }
.band { background: #fff; border-block: 1px solid var(--line); padding-block: clamp(48px, 7vw, 96px); }
.band h2, .sec h2 { font-size: clamp(28px, 3.2vw, 42px); max-width: 20ch; }
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 40px); margin-top: 34px; list-style: none; }
.cols3 > li { border-top: 2px solid var(--ink); padding-top: 18px; }
.cols3 h3 { font-size: 19px; margin-bottom: 8px; }
.cols3 p { color: var(--muted); font-size: 15px; }
.dark-band { background: #282624; color: #fff; padding-block: clamp(48px, 7vw, 96px); }
.dark-band :focus-visible { outline-color: var(--bright); }
.dark-band h2 { font-size: clamp(28px, 3.2vw, 42px); }
.dark-band p { color: #e3ded9; }
.dark-band .btn-secondary { background: transparent; color: #fff; border-color: #8b827a; }
.dark-band .btn-secondary:hover { background: #3a3633; color: #fff; }

/* ───────── Home FAQ ───────── */
.sec { padding-block: clamp(48px, 7vw, 96px); }
.anchor-sec { scroll-margin-top: 20px; }
.anchor-sec h2[tabindex="-1"] { width: fit-content; }
.anchor-sec h2[tabindex="-1"]:focus { outline: none; }
.anchor-sec h2[tabindex="-1"]:focus-visible { outline: 3px solid var(--orange); outline-offset: 6px; border-radius: 4px; }
.faq { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq-intro { display: grid; gap: 14px; }
.faq-intro h2 { font-size: clamp(28px, 3.2vw, 42px); max-width: 14ch; }
.faq-intro p { color: var(--muted); font-size: clamp(15px, 1.2vw, 17px); max-width: 34ch; }
.faq-list { border-top: 2px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding: 16px 4px; cursor: pointer; font-size: 17.5px; font-weight: 700; line-height: 1.35; letter-spacing: -.01em; border-radius: 4px; }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary:hover { color: var(--orange); }
.faq-item > summary:focus-visible { outline-offset: 2px; }
.faq-sign { position: relative; flex: 0 0 auto; width: 30px; height: 30px; border: 1px solid var(--line-strong); border-radius: 50%; background: #fff; transition: background-color .18s ease, border-color .18s ease; }
.faq-sign::before, .faq-sign::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 1px; background: currentColor; transition: transform .2s cubic-bezier(.2, .8, .2, 1); }
.faq-sign::after { transform: rotate(90deg); }
.faq-item[open] > summary .faq-sign { background: var(--ink); border-color: var(--ink); color: #fff; }
.faq-item[open] > summary .faq-sign::after { transform: rotate(0deg); }
.faq-a { padding: 0 54px 22px 4px; }
.faq-a p { color: var(--muted); font-size: 16px; max-width: 65ch; }
@media (prefers-reduced-motion: reduce) { .faq-sign, .faq-sign::before, .faq-sign::after { transition: none; } }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.steps-mini { list-style: none; display: grid; gap: 8px; counter-reset: s; }
.steps-mini li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: 13px; }
.steps-mini li::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--stone); font-size: 11px; font-weight: 700; }
.note-list { display: grid; gap: 12px; }

/* ───────── Scan and results ───────── */
.two { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(20px, 3vw, 40px); align-items: start; }
.aside-sticky { position: sticky; top: 96px; display: grid; gap: 14px; }
.taskcard { display: grid; gap: 18px; }
.task-url { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 8px; background: var(--quiet); font-size: 14px; overflow-wrap: anywhere; }
.task-url .ico { color: var(--muted); flex: 0 0 auto; }
.task-url span { min-width: 0; overflow-wrap: anywhere; }
.coverage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.coverage > div { padding: 16px 18px; border-right: 1px solid var(--line); }
.coverage > div:last-child { border-right: 0; }
.coverage h3 { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 8px; }
.coverage ul { list-style: none; display: grid; gap: 5px; font-size: 13.5px; color: var(--muted); }
.coverage ul li::before { content: "–  "; color: var(--line-strong); }
.issue { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.issue + .issue { margin-top: 10px; }
.issue.hot { border-color: #efc7b8; background: #fdf3ef; }
.issue-plain { display: grid; gap: 4px; padding: 14px 16px; }
.issue-title { font-size: 16px; }
.issue > summary { list-style: none; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: start; padding: 16px 18px; cursor: pointer; }
.issue > summary::-webkit-details-marker { display: none; }
.issue > summary h3 { font-size: 16px; margin-bottom: 3px; }
.issue > summary p { color: var(--muted); font-size: 14px; }
.issue > summary .chev { margin-top: 4px; width: 9px; height: 9px; border: solid var(--muted); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s; }
.issue[open] > summary .chev { transform: rotate(-135deg); margin-top: 8px; }
.issue-body { padding: 0 18px 18px; display: grid; gap: 14px; font-size: 14px; }
.issue-body .codebox { padding: 10px 12px; border-radius: 8px; background: var(--quiet); font: 13px/1.6 ui-monospace, monospace; overflow-x: auto; white-space: pre; }
.big-number { font-size: clamp(34px, 3.4vw, 46px); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.result-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.result-main { display: grid; gap: 16px; min-width: 0; }
.result-side { display: grid; gap: 14px; align-content: start; }

/* ───────── Share ───────── */
.share-shell { background: #f1efec; }
.share-card { max-width: 820px; margin: 0 auto; }
.share-divider { padding-top: 12px; border-top: 1px solid var(--line); }

/* ───────── Workspace ───────── */
.wb { display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: calc(100vh - 165px); }
.wb-side { border-right: 1px solid var(--line); background: #fbfaf8; padding: 22px 14px; display: grid; align-content: start; gap: 18px; }
.store-switch { display: grid; gap: 3px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.store-switch small { color: var(--muted); font-size: 12px; }
.store-switch strong { font-size: 15px; }
.store-switch span { font-size: 12.5px; color: var(--muted); }
.wb-nav { display: grid; gap: 2px; }
.wb-nav a { display: flex; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 8px; text-decoration: none; font-weight: 650; font-size: 14px; color: #3d3935; }
.wb-nav a:hover { background: var(--quiet); }
.wb-nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.wb-nav a .ico { width: 17px; height: 17px; }
.wb-plan { padding: 12px; border-radius: 10px; background: var(--quiet); font-size: 12.5px; color: var(--muted); line-height: 1.5; overflow-wrap: anywhere; }
.wb-plan b { color: var(--ink); display: block; font-size: 13px; }
.wb-main { padding: clamp(20px, 3vw, 36px) clamp(16px, 3vw, 44px) 64px; min-width: 0; }
.wb-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.wb-head h1 { font-size: clamp(26px, 2.6vw, 34px); }
.wb-head p { color: var(--muted); margin-top: 6px; font-size: 15px; max-width: 62ch; }
.wb-tabs { display: none; }
.usage { display: grid; gap: 6px; }
.usage-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.usage-row b { font-variant-numeric: tabular-nums; }
.meter { height: 6px; border-radius: 99px; background: var(--stone); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: inherit; background: var(--ink); }
.list { list-style: none; display: grid; }
.list > li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.list > li:first-child { border-top: 0; }
.list .src { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--quiet); }
.list strong { display: block; }
.list span.sub { color: var(--muted); font-size: 13px; }
.empty { display: grid; justify-items: start; gap: 10px; padding: 28px; border: 1px dashed var(--line-strong); border-radius: 12px; background: #fbfaf8; }
.empty h2, .empty h3 { font-size: 18px; }
.empty p { color: var(--muted); font-size: 14.5px; max-width: 56ch; }
.datecard { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 12px; background: #282624; color: #fff; }
.datecard .cal { display: grid; place-items: center; width: 58px; height: 62px; border-radius: 9px; background: #fff; color: var(--ink); line-height: 1; text-align: center; flex: 0 0 auto; }
.datecard .cal small { display: block; font-size: 11px; font-weight: 700; color: var(--orange); letter-spacing: .06em; margin-bottom: 3px; }
.datecard .cal b { font-size: 26px; }
.datecard p { color: #e3ded9; font-size: 14px; }
.datecard strong { font-size: 17px; display: block; color: #fff; }
.urlcheck { list-style: none; display: grid; gap: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; font-size: 13.5px; }
.urlcheck li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 12px; border-top: 1px solid var(--line); }
.urlcheck li:first-child { border-top: 0; }
.urlcheck .n { color: var(--soft); font-variant-numeric: tabular-nums; font-size: 12px; text-align: right; }
.urlcheck code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; }
.urlcheck .bad { background: #fdf3ef; }
.urlcheck .dim { background: #faf9f7; color: var(--soft); }
.filter-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.filter-row button, .filter-row a { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 10px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; font-size: 12.5px; font-weight: 650; text-decoration: none; color: #3d3935; }
.filter-row button[aria-pressed="true"], .filter-row a[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ───────── Auth ───────── */
.auth-wrap { max-width: 480px; margin-inline: auto; display: grid; gap: 18px; }
.auth-wrap .panel { padding: 22px; }
.auth-ctx { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; background: var(--quiet); border: 1px solid var(--line); font-size: 13.5px; }
.auth-ctx > .ico { color: var(--orange); margin-top: 2px; }
.auth-ctx strong { display: block; font-size: 14px; }
.auth-ctx span { color: var(--muted); }
.auth-alt { font-size: 14px; color: var(--muted); }
.auth-alt a { font-weight: 700; }
.dev-inbox-note { padding: 11px 13px; border: 1px dashed var(--line-strong); border-radius: 9px; font-size: 13px; color: var(--muted); background: #fbfaf8; }

/* ───────── Responsive ───────── */
@media (max-width: 980px) {
  .hero, .two, .grid3, .result-grid { grid-template-columns: minmax(0, 1fr); }
  .aside-sticky { position: static; }
  .cols3 { grid-template-columns: minmax(0, 1fr); }
  .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .faq-intro h2 { max-width: none; }
  .wb { grid-template-columns: minmax(0, 1fr); }
  .wb-side { display: none; }
  .wb-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 10px var(--gut); border-bottom: 1px solid var(--line); background: #fbfaf8; }
  .wb-tabs a { flex: 0 0 auto; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 13px; font-weight: 650; text-decoration: none; color: var(--ink); }
  .wb-tabs a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
  .site-links { gap: 18px; }
}
@media (max-width: 820px) {
  .site-links, .nav-actions .hide-sm { display: none; }
  .menu-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 8px; background: #fff; flex: 0 0 auto; }
  .menu-btn .ico { width: 20px; height: 20px; }
  .site-nav { min-height: 62px; gap: 10px; }
  .nav-actions { gap: 8px; }
  .nav-actions .btn-sm { padding: 6px 10px; font-size: 12.5px; min-height: 36px; white-space: nowrap; }
  .acct { padding: 4px; }
}
@media (max-width: 720px) {
  .grid2, .coverage, .result-side { grid-template-columns: minmax(0, 1fr); }
  .coverage > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .coverage > div:last-child { border-bottom: 0; }
  .brand { font-size: 17px; gap: 7px; }
  .brand .mark { width: 22px; height: 22px; }
  .hero h1 { font-size: 36px; }
  .urlrow { flex-direction: column; }
  .urlrow .btn { width: 100%; }
  .issue > summary { grid-template-columns: minmax(0, 1fr) auto; }
  .issue > summary .pill { grid-column: 1 / -1; justify-self: start; }
  .page-head h1 { font-size: 28px; }
  .actions .btn { flex: 1 1 auto; }
  .datecard { align-items: flex-start; }
  .sample-bar { flex-wrap: wrap; }
  .kv { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .kv dd { margin-bottom: 8px; }
  .table-wrap .table { min-width: 520px; }
  .footer-inner { display: grid; }
  .faq-intro h2 { font-size: 30px; }
  .faq-intro p { max-width: none; font-size: 15.5px; }
  .faq-item > summary { font-size: 16.5px; gap: 14px; min-height: 60px; padding-block: 14px; }
  .faq-a { padding-right: 4px; }
  .faq-a p { font-size: 15.5px; }
  .wb-main { padding-inline: 16px; }
  .btn { white-space: normal; }
  .checklist li { grid-template-columns: auto 1fr; }
  .checklist li .pill { grid-column: 2; justify-self: start; }
}
@media (max-width: 420px) {
  .actions .btn { flex: 1 1 100%; }
  .wb-tabs { padding-inline: 12px; }
}

/* ───────── Trust pages (MVP-02 privacy, terms, support) ───────── */
.footer-inner nav a[aria-current="page"] {
  color: var(--orange);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .28em;
}
.pill.preview { background: var(--amber-wash); color: var(--amber); border: 1px dashed #d9b174; }
.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  align-items: center;
  margin-top: 6px;
  padding: 14px 0;
  border-block: 1px solid var(--line);
  font-size: 14px;
}
.doc-meta-item { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.doc-meta-item dt { color: var(--muted); font-weight: 650; }
.doc-meta-item dd { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 650; color: var(--ink); }
.draft-date {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border: 1px dashed var(--line-strong);
  border-radius: 6px;
  background: #fff;
  font-weight: 650;
}
.trust-layout {
  display: grid;
  grid-template-columns: minmax(0, 68ch) minmax(248px, 320px);
  justify-content: space-between;
  gap: clamp(28px, 4.5vw, 64px);
  align-items: start;
}
.trust-prose { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.trust-prose.support-flow { gap: 16px; }
.trust-prose > * { min-width: 0; }
.policy-sec {
  padding-block: 26px;
  border-top: 1px solid var(--line);
  scroll-margin-block-start: 24px;
}
.policy-sec:first-of-type { padding-top: 0; border-top: 0; }
.policy-sec h2,
.support-sec h2,
.contact-panel h2 {
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -.018em;
  width: fit-content;
}
.policy-sec h2[tabindex="-1"]:focus,
.support-sec h2[tabindex="-1"]:focus,
.contact-panel h2[tabindex="-1"]:focus,
h1[tabindex="-1"]:focus { outline: none; }
.policy-sec h2[tabindex="-1"]:focus-visible,
.support-sec h2[tabindex="-1"]:focus-visible,
.contact-panel h2[tabindex="-1"]:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 5px;
  border-radius: 4px;
}
.policy-sec p {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.62;
  max-width: 68ch;
  color: var(--ink);
}
.policy-sec p + p { margin-top: 12px; }
.inline-link {
  color: var(--orange);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.inline-action {
  display: inline;
  padding: 2px 3px;
  margin: -2px -3px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--orange);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .2em;
  overflow-wrap: anywhere;
}
@media (hover: hover) {
  .inline-link:hover, .inline-action:hover { color: var(--orange-deep); background: var(--wash); }
}
.support-sec {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(18px, 2.4vw, 24px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
  scroll-margin-block-start: 24px;
}
.support-sec > * { min-width: 0; }
.support-sec p { font-size: 15.5px; line-height: 1.6; max-width: 65ch; color: var(--ink); }
.contact-panel {
  border-color: var(--line-strong);
  padding: clamp(20px, 2.6vw, 28px);
  gap: 14px;
  min-width: 0;
  scroll-margin-block-start: 24px;
}
.contact-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.contact-panel > p { font-size: 15.5px; line-height: 1.6; max-width: 65ch; color: var(--ink); }
.contact-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  min-width: 0;
}
.contact-box > * { min-width: 0; }
.contact-box-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; min-width: 0; }
.contact-box-label { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.seg {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border-radius: 9px;
  background: var(--stone);
  border: 1px solid var(--line);
}
.seg button {
  min-height: 40px;
  padding: 7px 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  font-size: 14px;
  font-weight: 650;
  color: var(--ink);
  transition: background-color .15s ease, color .15s ease;
}
.seg button[aria-pressed="true"] {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 2px rgb(36 35 33 / 12%);
}
@media (prefers-reduced-motion: reduce) { .seg button { transition: none; } }
.mail-draft {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  padding: 14px 16px;
  border: 1px dashed #d9b174;
  border-radius: 9px;
  background: #fff;
  font-size: 13.5px;
  min-width: 0;
}
.mail-draft > * { min-width: 0; }
.mail-draft-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.mail-draft ul { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 5px; color: var(--muted); }
.mail-draft ul li { position: relative; padding-inline-start: 14px; line-height: 1.48; overflow-wrap: break-word; }
.mail-draft ul li::before { content: ""; position: absolute; inset-inline-start: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }
.trust-rail {
  position: sticky;
  top: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
}
.rail-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
}
.rail-card h2 { font-size: 15px; letter-spacing: -.01em; }
.toc-list { list-style: none; display: grid; gap: 2px; }
.toc-list a {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 8px;
  margin-inline: -8px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition: background-color .15s ease, color .15s ease;
}
@media (hover: hover) {
  .toc-list a:hover { background: var(--quiet); color: var(--orange); }
}
.related-list { list-style: none; display: grid; gap: 2px; }
.related-list a {
  display: grid;
  gap: 2px;
  min-height: 44px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  color: var(--ink);
}
.related-list li:first-child a { border-top: 0; padding-top: 2px; }
.related-list li:last-child a { padding-bottom: 2px; }
@media (hover: hover) {
  .related-list a:hover { color: var(--orange); }
}
.related-list small { color: var(--muted); font-weight: 500; font-size: 12.5px; line-height: 1.4; }
.toc-mobile { display: none; margin-bottom: 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.toc-mobile > summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.toc-mobile > summary::-webkit-details-marker { display: none; }
.toc-mobile > summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border: solid var(--muted);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translateY(-2px);
}
.toc-mobile[open] > summary::after { transform: rotate(-135deg) translateY(-1px); }
.toc-mobile .toc-list { padding: 0 14px 12px; }
.trust-rail .note { border-radius: 10px; }
@media (max-width: 980px) {
  .trust-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .trust-rail { position: static; }
  .trust-rail .rail-toc { display: none; }
  .toc-mobile { display: block; }
}
@media (max-width: 720px) {
  .doc-meta { gap: 8px 18px; }
  .policy-sec { padding-block: 22px; }
  .policy-sec h2, .support-sec h2, .contact-panel h2 { font-size: 19px; }
  .policy-sec p, .support-sec p, .contact-panel > p { font-size: 15.5px; }
  .contact-panel { padding: 16px; }
  .contact-box { padding: 12px; }
  .mail-draft { padding: 12px; }
  .seg { grid-template-columns: minmax(0, 1fr); }
}