/* DMCA Guards — design system
   Ink navy for authority, cobalt for actions, case-status colours
   (found / sent / removed) used only where they mean a status. */
:root {
  --ink: #13203B;
  --ink-soft: #3A4D74;
  --text: #1E2A44;
  --muted: #55627E;
  --paper: #F4F6FA;
  --white: #FFFFFF;
  --line: #D8DEE9;
  --line-soft: #E7EBF2;
  --cobalt: #2747D6;
  --cobalt-dark: #1C36AA;
  --cobalt-bg: #E8EDFC;
  --removed: #0E7C66;
  --removed-bg: #E2F3EE;
  --sent: #8A5A0F;
  --sent-bg: #FBEFD9;
  --found: #B42318;
  --found-bg: #FDECEA;
  --radius-s: 6px;
  --radius-m: 10px;
  --radius-l: 16px;
  --wrap: 1160px;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--cobalt); text-underline-offset: 3px; }
a:hover { color: var(--cobalt-dark); }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.25rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); font-weight: 750; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; border-radius: var(--radius-s); }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 600 1rem/1 var(--sans);
  padding: 15px 22px; border-radius: var(--radius-s);
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--cobalt); color: #fff; }
.btn-primary:hover { background: var(--cobalt-dark); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--cobalt-bg); color: var(--ink); }
.btn-sm { padding: 10px 16px; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line-soft); background: rgba(255,255,255,.96); position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(1.4) blur(6px); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.01em; }
.brand b { font-weight: 800; }
.brand-mark { width: 32px; height: 32px; flex-shrink: 0; }
.site-nav .legacy-ul a, .btn { white-space: nowrap; }
.brand-light { color: #fff; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav .legacy-ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
.site-nav .legacy-ul a { color: var(--text); text-decoration: none; font-weight: 500; font-size: .98rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav .legacy-ul a:hover, .site-nav .legacy-ul a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--cobalt); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 22px; height: 2px; background: var(--ink); position: relative; transition: transform .2s; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -7px; } .bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1120px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px 16px 20px; gap: 12px; }
  .site-nav.open { display: flex; }
  .site-nav .legacy-ul { flex-direction: column; gap: 0; }
  .site-nav .legacy-ul a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line-soft); }
  .site-nav .legacy-ul a[aria-current="page"] { border-bottom-color: var(--line-soft); color: var(--cobalt); }
}

/* Sections */
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-paper { background: var(--paper); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
@media (max-width: 700px) { .section { padding: 60px 0; } }

/* Home hero */
.hero { padding: 72px 0 80px; background: linear-gradient(180deg, var(--paper) 0%, #fff 100%); border-bottom: 1px solid var(--line-soft); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { max-width: 13ch; }
.hero .lead { margin-bottom: 28px; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 8px; color: var(--muted); font-size: .98rem; }
.hero-points li { padding-left: 26px; position: relative; }
.hero-points li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 7px; border-left: 2px solid var(--removed); border-bottom: 2px solid var(--removed); transform: rotate(-45deg); }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } .hero { padding: 48px 0 56px; } }

/* Case ledger — the signature element */
.ledger { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: 0 1px 0 var(--line-soft), 0 24px 48px -28px rgba(19,32,59,.35); overflow: hidden; }
.ledger-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); background: var(--ink); color: #fff; }
.ledger-head strong { font-size: 1rem; }
.ledger-head span { font-size: .85rem; color: #B9C4DC; }
.ledger-rows { list-style: none; margin: 0; padding: 0; }
.ledger-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 14px 22px; border-bottom: 1px solid var(--line-soft); align-items: center; }
.ledger-row:last-child { border-bottom: 0; }
.ledger-url { font-family: var(--mono); font-size: .86rem; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ledger-where { grid-column: 1; font-size: .82rem; color: var(--muted); }
.ledger-row .status { grid-row: 1 / span 2; grid-column: 2; }
.ledger-foot { display: flex; justify-content: space-between; gap: 12px; padding: 14px 22px; background: var(--paper); font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); }
.ledger-foot b { color: var(--removed); font-weight: 700; }

.status { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; white-space: nowrap; transition: background-color .35s, color .35s; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-found { color: var(--found); background: var(--found-bg); }
.status-sent { color: var(--sent); background: var(--sent-bg); }
.status-removed { color: var(--removed); background: var(--removed-bg); }

/* Trust strip */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts > div { padding: 26px 24px; border-right: 1px solid var(--line); }
.facts > div:last-child { border-right: 0; }
.facts strong { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 4px; }
.facts span { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr 1fr; } .facts > div:nth-child(2) { border-right: 0; } .facts > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } .facts > div { border-right: 0; border-bottom: 1px solid var(--line); } .facts > div:last-child { border-bottom: 0; } }

/* Service rows (not cards) */
.rows { border-top: 1px solid var(--line); }
.row-item { display: grid; grid-template-columns: 280px 1fr auto; gap: 24px 40px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: start; }
.row-item h3 { margin: 0; }
.row-item p { margin: 0; color: var(--muted); max-width: 62ch; }
.row-item .row-link { font-weight: 600; white-space: nowrap; }
@media (max-width: 860px) { .row-item { grid-template-columns: 1fr; gap: 8px; } }

/* Steps — a real sequence */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-m); background: #fff; }
.steps li { counter-increment: step; padding: 28px 24px; border-right: 1px solid var(--line); }
.steps li:last-child { border-right: 0; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; margin-bottom: 16px; }
.steps h3 { font-size: 1.1rem; margin-bottom: .4em; }
.steps p { margin: 0; color: var(--muted); font-size: .97rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .steps li:nth-child(2) { border-right: 0; } .steps li:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .steps li { border-right: 0; border-bottom: 1px solid var(--line); } .steps li:last-child { border-bottom: 0; } }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.split-wide { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
@media (max-width: 860px) { .split, .split-wide { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.checklist li { padding-left: 28px; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 3px; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--removed); border-bottom: 2px solid var(--removed); transform: rotate(-45deg); }
.crosslist li::before { border: 0; width: 12px; height: 2px; background: var(--muted); transform: none; top: .8em; }

/* Platform list */
.platforms { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.platforms li { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 14px; font-size: .93rem; color: var(--ink); }

/* Panel */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 28px; }
.panel-paper { background: var(--paper); border-color: var(--line-soft); }
.panel h3:first-child { margin-top: 0; }

/* Interior page hero */
.page-hero { background: var(--paper); border-bottom: 1px solid var(--line-soft); padding: 40px 0 56px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); max-width: 22ch; }
.page-hero .lead { margin-bottom: 24px; }
.crumbs ol { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { border: 1px solid var(--line); border-radius: var(--radius-m); padding: 30px 28px; display: flex; flex-direction: column; background: #fff; }
.plan-featured { border: 2px solid var(--ink); position: relative; }
.plan-flag { position: absolute; top: -13px; left: 26px; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.plan h3 { margin-bottom: 4px; }
.plan-price { font-size: 2.6rem; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; line-height: 1.1; margin: 14px 0 2px; }
.plan-period { color: var(--muted); font-size: .92rem; margin-bottom: 16px; }
.plan .summary { color: var(--muted); font-size: .98rem; }
.plan .checklist { font-size: .97rem; flex: 1; margin-bottom: 24px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* Tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius-m); margin: 0 0 1.6em; }
table { width: 100%; border-collapse: collapse; font-size: .96rem; background: #fff; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
thead th { background: var(--paper); color: var(--ink); font-weight: 700; border-bottom: 1px solid var(--line); }
tbody tr:last-child td { border-bottom: 0; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 600; color: var(--ink); font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink-soft); border-bottom: 2px solid var(--ink-soft); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-a { padding: 0 0 20px; color: var(--muted); max-width: 72ch; }
.faq-a p { margin: 0; }

/* CTA band */
.cta-band { background: var(--ink); color: #D5DCEB; padding: 72px 0; }
.cta-band h2 { color: #fff; max-width: 22ch; }
.cta-band p { max-width: 56ch; font-size: 1.1rem; }
.cta-band .btn-row { margin-top: 28px; }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: #51638A; }
.cta-band .btn-ghost:hover { border-color: #fff; color: #fff; }

/* Long-form prose (guide, legal pages) */
.prose-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 64px; }
.prose { max-width: 72ch; }
.prose h2 { margin-top: 2.2em; padding-top: .2em; scroll-margin-top: 90px; }
.prose h3 { margin-top: 1.8em; scroll-margin-top: 90px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.6em 0; padding: 18px 22px; background: var(--cobalt-bg); border-left: 4px solid var(--cobalt); border-radius: 0 var(--radius-s) var(--radius-s) 0; color: var(--ink); }
.prose blockquote p:last-child { margin: 0; }
.prose pre { background: var(--ink); color: #E3E8F3; padding: 20px; border-radius: var(--radius-m); overflow-x: auto; font-family: var(--mono); font-size: .86rem; line-height: 1.55; }
.prose code { font-family: var(--mono); font-size: .9em; }
.prose :not(pre) > code { background: var(--paper); padding: 2px 6px; border-radius: 4px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose table { margin: 0; }
.toc { position: sticky; top: 92px; align-self: start; font-size: .93rem; border-left: 2px solid var(--line); padding-left: 18px; }
.toc h2 { font-size: .95rem; margin-bottom: 12px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--cobalt); }
@media (max-width: 1000px) { .prose-layout { grid-template-columns: minmax(0, 1fr); } .toc { display: none; } }

.byline { display: flex; align-items: center; gap: 14px; margin-top: 8px; font-size: .95rem; color: var(--muted); }
.byline .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; }
.byline a { color: var(--ink); font-weight: 600; }

.note { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-m); padding: 18px 22px; font-size: .96rem; color: var(--muted); }
.note strong { color: var(--ink); }

/* Forms */
.form { display: grid; gap: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; font-size: .97rem; }
.field .hint { display: block; color: var(--muted); font-size: .88rem; font-weight: 400; margin-top: 2px; }
.field input[type=text], .field input[type=email], .field input[type=url], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  padding: 12px 14px; border: 1px solid #BFC8D8; border-radius: var(--radius-s); background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }
.field textarea.mono { font-family: var(--mono); font-size: .9rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--cobalt-bg); border-color: var(--cobalt); }
.field fieldset { border: 0; padding: 0; margin: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .96rem; margin-bottom: 10px; }
.check input { margin-top: 5px; width: 18px; height: 18px; flex: none; accent-color: var(--cobalt); }
.hp { position: absolute; left: -9999px; }
.alert { padding: 16px 20px; border-radius: var(--radius-s); margin-bottom: 24px; }
.alert-error { background: var(--found-bg); color: #7A1810; border: 1px solid #F3C1BB; }
.alert-ok { background: var(--removed-bg); color: #0A5444; border: 1px solid #B5E0D3; }
.alert ul { margin: 6px 0 0; padding-left: 1.2em; }
.field-error input, .field-error textarea, .field-error select { border-color: var(--found); }

/* Footer */
.site-footer { background: #0F1A31; color: #AEB9D0; padding: 64px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-about p { max-width: 36ch; margin-top: 16px; }
.footer-h { color: #fff; font-size: .98rem; margin-bottom: 14px; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: #D5DCEB; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-base { border-top: 1px solid #24314F; padding: 22px 24px 28px; font-size: .87rem; }
.footer-base p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }

/* 404 */
.notfound { padding: 120px 0; }
.notfound .ledger-url { white-space: normal; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---------- Badge & protection system ---------- */
.badge-preview svg, .style-swatch svg { display: block; max-width: 100%; height: auto; }
.embed { border: 1px solid var(--line); border-radius: var(--radius-m); padding: 18px; background: #fff; display: grid; gap: 12px; }
.embed-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.embed textarea { width: 100%; font-family: var(--mono); font-size: .82rem; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--paper); color: var(--ink); resize: none; }
.embed .btn { justify-self: start; }
.style-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.style-opt { display: grid; gap: 8px; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 14px; cursor: pointer; font-size: .92rem; color: var(--muted); background: #fff; }
.style-opt input { position: absolute; opacity: 0; }
.style-opt:has(input:checked) { border: 2px solid var(--cobalt); padding: 13px; color: var(--ink); }
.style-opt:has(input:focus-visible) { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.style-opt .style-swatch { min-height: 44px; display: flex; align-items: center; }
@media (max-width: 480px) { .style-grid { grid-template-columns: 1fr; } }

.record { margin: 0; }
.record > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; padding: 14px 22px; border-bottom: 1px solid var(--line-soft); }
.record > div:last-child { border-bottom: 0; }
.record dt { color: var(--muted); font-size: .92rem; }
.record dd { margin: 0; color: var(--ink); word-break: break-word; }
@media (max-width: 520px) { .record > div { grid-template-columns: 1fr; gap: 2px; } }

.process { list-style: none; counter-reset: p; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius-m); background: #fff; }
.process li { counter-increment: p; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; }
.process li:nth-child(3n) { border-right: 0; }
.process li:nth-last-child(-n+3) { border-bottom: 0; }
.process li::before { content: counter(p); display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--ink); color: var(--ink); font-weight: 700; margin-bottom: 12px; }
.process li.done::before { content: "✓"; background: var(--removed); border-color: var(--removed); color: #fff; }
.process h3 { font-size: 1.05rem; margin-bottom: .3em; }
.process p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) {
  .process { grid-template-columns: minmax(0, 1fr); }
  .process li { border-right: 0; border-bottom: 1px solid var(--line); }
  .process li:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .process li:last-child { border-bottom: 0; }
}
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.linklike { background: none; border: 0; padding: 0; color: var(--cobalt); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.danger { margin-top: 56px; border-top: 1px solid var(--line); padding-top: 20px; }
.danger summary { cursor: pointer; color: var(--found); font-weight: 600; }

/* ---------- Free tools ---------- */
.region-tag { display: inline-block; margin: 0 0 14px; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .88rem; color: var(--ink-soft); font-weight: 600; }
.tool-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.tool-list a { display: block; height: 100%; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-m); background: #fff; text-decoration: none; color: var(--text); }
.tool-list a:hover { border-color: var(--ink); }
.tool-list strong { display: block; color: var(--ink); margin-bottom: 4px; }
.tool-list span { display: block; color: var(--muted); font-size: .94rem; line-height: 1.5; }
.tool-list .tool-region { margin-top: 10px; font-size: .82rem; font-weight: 600; color: var(--ink-soft); }
.tool-app { display: grid; gap: 20px; }
.tool-output { border-top: 1px solid var(--line); padding-top: 24px; }
.tool-output textarea, .tool-app textarea[readonly] { width: 100%; font-family: var(--mono); font-size: .86rem; line-height: 1.55; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--paper); color: var(--ink); margin-bottom: 12px; }
.tool-app [data-results] { display: grid; gap: 12px; }
.tool-app [data-results]:empty { display: none; }
.term-result { margin: 0; padding: 18px 20px; border-radius: var(--radius-m); border: 1px solid; }
.term-result strong { display: block; font-size: 1.3rem; margin-bottom: 2px; }
.term-pd { background: var(--removed-bg); border-color: #B5E0D3; color: #0A5444; }
.term-protected { background: var(--found-bg); border-color: #F3C1BB; color: #7A1810; }
.term-mid { background: var(--sent-bg); border-color: #EBD3A6; color: #6A4509; }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.radio-row .check { margin: 0; }
.host-card { border: 1px solid var(--line); border-radius: var(--radius-m); background: #fff; overflow: hidden; }
.tool-group + .tool-group { margin-top: 56px; }

/* ---------- Case tracker ---------- */
.case-summary { border: 1px solid var(--line); border-radius: var(--radius-l); padding: 24px; background: #fff; }
.case-progress { height: 10px; background: var(--line-soft); border-radius: 999px; overflow: hidden; }
.case-progress-bar { height: 100%; background: var(--removed); border-radius: 999px; }
.case-big { margin: 16px 0 12px; font-size: 1.15rem; color: var(--ink); }
.case-big strong { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; }
.case-counts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: .95rem; color: var(--muted); }
.timeline { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--line); display: grid; gap: 16px; }
.timeline li { position: relative; display: grid; gap: 2px; font-size: .95rem; }
.timeline li::before { content: ""; position: absolute; left: -25px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.timeline time { font-size: .82rem; color: var(--muted); }
.timeline code { color: var(--muted); word-break: break-all; }
.status-new { color: var(--ink-soft); background: var(--cobalt-bg); }

/* ---------- Mega menu ---------- */
.site-nav .menu { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.header-row { position: relative; }
.has-menu { position: static; }
.menu-btn, .menu-link { font: 500 .98rem/1 var(--sans); color: var(--text); background: none; border: 0; padding: 10px 12px; border-radius: var(--radius-s); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.menu-btn::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
.menu-btn[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }
.menu-btn:hover, .menu-link:hover, .menu-btn[aria-expanded="true"] { background: var(--paper); color: var(--ink); }
.menu-btn[data-active], .menu-link[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--cobalt); border-radius: 0; }
.mega { display: none; position: absolute; top: calc(100% - 4px); right: 24px; z-index: 60; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: 0 24px 48px -24px rgba(19,32,59,.35); padding: 22px; gap: 28px; width: max-content; max-width: min(860px, calc(100vw - 48px)); }
.menu-btn[aria-expanded="true"] + .mega { display: flex; }
.mega h2 { font-size: .82rem; font-weight: 700; color: var(--muted); margin: 0 0 10px; letter-spacing: 0; }
.mega-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega-col + .mega-col { border-left: 1px solid var(--line-soft); padding-left: 28px; }
.mega-col .mega-plain + h2 { margin-top: 18px; }
.mega-wide ul { grid-template-columns: repeat(2, minmax(220px, 280px)); gap: 4px 12px; }
.mega-narrow .mega-wide ul { grid-template-columns: repeat(2, minmax(220px, 260px)); }
.mega a { display: block; text-decoration: none; color: var(--text); padding: 8px 10px; border-radius: var(--radius-s); font-size: .95rem; }
.mega a:hover { background: var(--paper); color: var(--ink); }
.mega a strong { display: block; color: var(--ink); font-weight: 600; }
.mega a span { display: block; color: var(--muted); font-size: .86rem; line-height: 1.4; margin-top: 2px; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
@media (min-width: 1121px) { .site-nav { gap: 16px; } }
@media (max-width: 1120px) {
  .site-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
  .menu-btn, .menu-link { width: 100%; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .menu-btn[data-active], .menu-link[aria-current="page"] { box-shadow: none; color: var(--cobalt); }
  .mega { position: static; box-shadow: none; border: 0; border-radius: 0; padding: 8px 0 16px; width: auto; max-width: none; flex-direction: column; gap: 16px; }
  .mega-col + .mega-col { border-left: 0; padding-left: 0; }
  .mega-wide ul, .mega-narrow .mega-wide ul { grid-template-columns: 1fr; }
  .mega a span { display: none; }
  .nav-actions { flex-direction: column; align-items: stretch; padding-top: 12px; }
  .nav-actions .menu-link { border: 0; justify-content: center; }
  .site-nav { max-height: calc(100vh - 68px); overflow-y: auto; }
}

/* ---------- Keep going (related content) ---------- */
.keep-going { padding: 64px 0; border-top: 1px solid var(--line); background: #fff; }
.keep-going h2 { font-size: 1.5rem; margin-bottom: 28px; }
.kg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.kg-grid h3 { font-size: .92rem; color: var(--muted); font-weight: 700; margin-bottom: 12px; }
.kg-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.kg-grid a { font-weight: 600; color: var(--ink); text-decoration: none; }
.kg-grid a:hover { color: var(--cobalt); text-decoration: underline; }
.kg-grid li span { display: block; color: var(--muted); font-size: .9rem; line-height: 1.45; margin-top: 2px; }

/* ---------- Footer v2 ---------- */
.footer-top { display: grid; grid-template-columns: minmax(240px, 1fr) 3fr; gap: 48px; padding-bottom: 48px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer-base { display: flex; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; }
@media (max-width: 1000px) { .footer-top { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
.kg-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.kg-list a { font-weight: 600; }
.sitemap-grid { row-gap: 48px; }
.sitemap-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sitemap-grid a { font-weight: 600; color: var(--ink); }
.site-footer .btn-light, .site-footer .btn-light:hover { color: var(--ink); text-decoration: none; }

/* ---------- Plagiarism checker ---------- */
.seg { display: flex; flex-wrap: wrap; gap: 6px; border: 0; padding: 4px; margin: 0; background: var(--paper); border-radius: var(--radius-m); }
.seg label { flex: 1 1 auto; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; text-align: center; padding: 10px 14px; border-radius: var(--radius-s); font-weight: 600; font-size: .95rem; color: var(--muted); cursor: pointer; }
.seg input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(19,32,59,.12), 0 0 0 1px var(--line); }
.seg input:focus-visible + span { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.plag-form [data-mode] { display: none; }
.plag-form:has(input[name=mode][value=web]:checked) [data-mode=web],
.plag-form:has(input[name=mode][value=url]:checked) [data-mode=url],
.plag-form:has(input[name=mode][value=texts]:checked) [data-mode=texts] { display: block; }
.plag-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; font-size: .88rem; color: var(--muted); }
.plag-results { display: grid; gap: 18px; scroll-margin-top: 90px; }
.plag-results h3 { margin: 12px 0 0; }
.plag-score { display: flex; align-items: center; gap: 22px; padding: 22px 24px; border-radius: var(--radius-l); border: 1px solid; }
.plag-num { font-size: 3.2rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; min-width: 3ch; }
.plag-score strong { display: block; font-size: 1.2rem; }
.plag-score span { font-size: .95rem; }
.plag-text { border: 1px solid var(--line); border-radius: var(--radius-m); padding: 20px 22px; background: #fff; line-height: 1.75; max-height: 520px; overflow-y: auto; }
.plag-text mark { padding: 1px 2px; border-radius: 3px; color: inherit; }
.src-0 { background: #FDE2DE; } .src-1 { background: #FBEBC8; } .src-2 { background: #DCEBFB; }
.src-3 { background: #E5DEF8; } .src-4 { background: #D8F0E8; } .src-5 { background: #F6DDEA; }
.src-dot { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-weight: 700; font-size: .85rem; color: var(--ink); }
