/* Privacy Shield website — "Modernist" theme on top of Bootstrap 5.3.
   Flat, architectural, Archivo only: ink on a light ground, one red accent, zero radius, 2px rules.
   Tokens come from design-reference/modernist-styles.css. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 400 800;       /* one variable-weight file covers 400, 600 and 800 */
  font-style: normal;
  font-display: swap;
}

:root {
  --ps-bg: #f3f2f2;
  --ps-surface: #eae9e9;
  --ps-ink: #201e1d;
  --ps-ink-2: #3d3a39;        /* body copy */
  --ps-muted: #5f5b5a;        /* captions, 6:1 on the ground */
  --ps-rule: #cfcccb;         /* hairlines between rows */
  --ps-accent: #ec3013;       /* brand red: marks, fields, big type */
  --ps-accent-600: #dd2b0f;   /* red behind small white text (5:1) */
  --ps-accent-700: #ae1800;   /* red text on the ground, pressed states */
  --ps-accent-100: #fff2ef;
  --ps-pad: 48px;             /* page gutter, shrinks on small screens */
  --ps-frame: 1440px;
  --ps-font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

}

@media (max-width: 991.98px) { :root { --ps-pad: 32px; } }
@media (max-width: 575.98px) { :root { --ps-pad: 20px; } }

* { border-radius: 0 !important; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body { color: var(--ps-ink); font-family: var(--ps-font); background: var(--ps-bg); color: var(--ps-ink); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
p, li { text-wrap: pretty; }
a { text-underline-offset: 3px; }
::selection { background: #ffc4b8; color: var(--ps-ink); }
:focus-visible { outline: 2px solid var(--ps-accent); outline-offset: 2px; }
img { max-width: 100%; height: auto; }

.skip-link { position: absolute; left: 16px; top: -64px; z-index: 2000; background: var(--ps-ink); color: #fff; padding: 12px 18px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- frame: the visible grid ---------- */
.frame { max-width: var(--ps-frame); margin-inline: auto; background: var(--ps-bg); border-inline: 2px solid var(--ps-ink); min-height: 100vh; display: flex; flex-direction: column; }
@media (max-width: 1443px) { .frame { border-inline: 0; } }
.frame > main { flex: 1 0 auto; }
.rule-b { border-bottom: 2px solid var(--ps-ink); }
.pad-x { padding-inline: var(--ps-pad); }

/* ---------- header ---------- */
.site-header { border-bottom: 2px solid var(--ps-ink); background: var(--ps-bg); position: sticky; top: 0; z-index: 1030; }
.site-header .navbar { padding: 18px var(--ps-pad); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ps-ink); text-decoration: none; font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.brand:hover { color: var(--ps-ink); }
.brand svg { width: 28px; height: 28px; flex: none; }
.site-header .nav-link { color: var(--ps-ink); font-size: 14px; font-weight: 600; padding: 6px 0; border-bottom: 2px solid transparent; margin-inline: 14px; }
.site-header .nav-link:hover { border-bottom-color: var(--ps-ink); color: var(--ps-ink); }
.site-header .nav-link.active, .site-header .nav-link[aria-current="page"] { border-bottom-color: var(--ps-accent); color: var(--ps-ink); }
.navbar-toggler { border: 2px solid var(--ps-ink); padding: 6px 12px; font-size: 14px; font-weight: 600; color: var(--ps-ink); background: transparent; }
.navbar-toggler:focus { box-shadow: none; outline: 2px solid var(--ps-accent); outline-offset: 2px; }
@media (max-width: 991.98px) {
  .site-header .navbar-collapse { padding-top: 12px; }
  .site-header .nav-link { margin-inline: 0; padding: 12px 0; border-bottom: 1px solid var(--ps-rule); }
  .site-header .nav-cta { margin-top: 16px; }
}
@media (min-width: 992px) { .site-header .nav-cta { margin-left: 14px; } }

/* ---------- buttons: label flush left, arrow flush right ---------- */
.btn-ps, .btn-ps-line {
  display: inline-flex; justify-content: space-between; align-items: center; gap: 16px;
  min-width: 170px; padding: 14px 18px; font-size: 15px; font-weight: 600; line-height: 1.2;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; text-align: left; transition: background-color .12s, color .12s, border-color .12s;
}
.btn-ps { background: var(--ps-accent-600); color: #fff; border-color: var(--ps-accent-600); }
.btn-ps:hover { background: var(--ps-accent-700); border-color: var(--ps-accent-700); color: #fff; }
.btn-ps:active { background: #7c1405; border-color: #7c1405; }
.btn-ps-line { background: transparent; color: var(--ps-ink); border-color: var(--ps-ink); padding: 12px 16px; }
.btn-ps-line:hover { background: var(--ps-ink); color: #fff; }
.btn-ps.btn-lg-ps { min-width: 260px; }
.btn-ps-line.btn-lg-ps { min-width: 200px; }
.btn-ps[disabled] { opacity: .45; pointer-events: none; }
@media (max-width: 575.98px) { .btn-ps.btn-lg-ps, .btn-ps-line.btn-lg-ps { min-width: 0; width: 100%; } }

/* ---------- type helpers ---------- */
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ps-accent-700); margin: 0; }
.display-ps { font-size: clamp(2.6rem, 6.4vw, 5.25rem); line-height: .98; font-weight: 800; letter-spacing: -.03em; margin: 0; }
.display-md { font-size: clamp(2.25rem, 5vw, 4.5rem); line-height: .98; font-weight: 800; letter-spacing: -.03em; margin: 0; }
.lede { font-size: 1.25rem; line-height: 1.55; color: var(--ps-ink-2); margin: 0; }
.fine { font-size: 13px; color: var(--ps-muted); margin: 0; }
.copy { font-size: 15px; line-height: 1.55; color: var(--ps-ink-2); margin: 0; }
.num { font-size: 14px; font-weight: 800; color: var(--ps-accent-700); }

/* section heading row: "01  Heading" */
.section-head { display: grid; grid-template-columns: 120px 1fr; align-items: baseline; padding: 20px var(--ps-pad); border-bottom: 2px solid var(--ps-ink); }
.section-head h2 { margin: 0; font-size: clamp(1.75rem, 3.4vw, 2.25rem); line-height: 1.05; }
@media (max-width: 575.98px) { .section-head { grid-template-columns: 44px 1fr; } }

/* ---------- hero ---------- */
.hero-copy { padding: 72px var(--ps-pad); display: flex; flex-direction: column; gap: 28px; }
.hero-art { padding: 48px; display: flex; align-items: center; height: 100%; }
@media (min-width: 992px) { .hero-copy { border-right: 2px solid var(--ps-ink); height: 100%; } }
@media (max-width: 991.98px) { .hero-copy { padding-block: 48px; } .hero-art { padding: 0 var(--ps-pad) 48px; } }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art-inner { position: relative; width: 100%; }
.hero-art .browser { height: 500px; }
.hero-popup { position: absolute; right: -20px; top: 30px; width: 300px; border: 2px solid var(--ps-ink); box-shadow: 0 30px 60px -20px rgba(32, 30, 29, .55); background: var(--ps-bg); }
.hero-popup img { display: block; width: 100%; }
@media (max-width: 1199.98px) { .hero-art { padding: 32px; } .hero-popup { width: 250px; right: -8px; } }
@media (max-width: 575.98px) { .hero-art .browser { height: 420px; } .hero-popup { width: 200px; right: -4px; top: 56px; } }

/* ---------- browser window mock (decorative) ---------- */
.browser { border: 2px solid var(--ps-ink); background: #fff; display: flex; flex-direction: column; overflow: hidden; }
.browser-bar { display: flex; gap: 6px; align-items: center; padding: 6px 8px; border-bottom: 2px solid var(--ps-ink); background: #e2e0df; }
.browser-bar > i { width: 8px; height: 8px; border: 1.5px solid var(--ps-ink); flex: none; }
.browser-url { flex: 1; height: 16px; background: #fff; border: 1px solid var(--ps-rule); margin-left: 6px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 9px; color: #6f6b6a; padding: 1px 6px; overflow: hidden; white-space: nowrap; }
.browser-bar svg { width: 14px; height: 14px; flex: none; }
.browser-page { position: relative; flex: 1; overflow: hidden; }
.layer { position: absolute; inset: 0; }
.scrim { position: absolute; inset: 0; background: rgba(32, 30, 29, .45); }
.chip { position: absolute; left: 10px; bottom: 10px; background: var(--ps-accent-600); color: #fff; font-size: 11px; font-weight: 600; padding: 4px 8px; line-height: 1.3; }
.chip.ink { background: var(--ps-ink); }

/* the fake e-mail that is being protected */
.slip { padding: 18px 20px; display: flex; flex-direction: column; gap: 9px; background: #fff; }
.slip small { font-size: 11px; color: #6f6b6a; font-weight: 600; }
.slip b { font-size: 17px; font-weight: 800; color: var(--ps-ink); letter-spacing: -.01em; }
.slip .net { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px solid var(--ps-ink); border-bottom: 1px solid var(--ps-rule); padding: 8px 0; margin: 0; }
.slip .net span { font-size: 11px; color: var(--ps-muted); }
.slip .net strong { font-size: 22px; font-weight: 800; }
.slip i { display: block; height: 7px; background: #c9c5c4; width: 80%; }
.slip i:nth-of-type(1) { width: 94% } .slip i:nth-of-type(2) { width: 86% } .slip i:nth-of-type(3) { width: 91% } .slip i:nth-of-type(4) { width: 62% }
.slip i:nth-of-type(5), .slip i:nth-of-type(11) { height: 4px; background: transparent; }
.slip i:nth-of-type(6) { width: 88% } .slip i:nth-of-type(7) { width: 95% } .slip i:nth-of-type(8) { width: 79% } .slip i:nth-of-type(9) { width: 90% } .slip i:nth-of-type(10) { width: 55% }
.slip i:nth-of-type(12) { width: 92% } .slip i:nth-of-type(13) { width: 84% } .slip i:nth-of-type(14) { width: 70% } .slip i:nth-of-type(15) { width: 93% } .slip i:nth-of-type(16) { width: 81% } .slip i:nth-of-type(17) { width: 66% }
.blur-3 { filter: blur(3.5px); } .blur-4 { filter: blur(4px); }

/* spotlight: a clear window cut out of the blurred page, follows the pointer on hover */
.spot { --x: 68%; --y: 38%; -webkit-mask-image: radial-gradient(circle at var(--x) var(--y), #000 0 56px, transparent 58px); mask-image: radial-gradient(circle at var(--x) var(--y), #000 0 56px, transparent 58px); }
.split { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; }
.split > div { position: relative; overflow: hidden; }
.split > div:first-child { border-right: 2px solid var(--ps-ink); }

/* ---------- mode cards ---------- */
.mode-card { padding: 32px 32px 40px; display: flex; flex-direction: column; gap: 16px; height: 100%; }
.mode-card .browser { height: 220px; }
.mode-card h3 { font-size: 24px; margin: 0; display: flex; gap: 12px; align-items: baseline; }
.mode-card h3 .num { font-size: 13px; }
@media (min-width: 768px) { .mode-col + .mode-col { border-left: 2px solid var(--ps-ink); } }
@media (max-width: 767.98px) { .mode-col + .mode-col { border-top: 2px solid var(--ps-ink); } .mode-card { padding: 24px var(--ps-pad) 32px; } }
.mode-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ps-rule); font-size: 14px; }
.mode-list li { padding: 8px 0; border-bottom: 1px solid var(--ps-rule); color: var(--ps-ink-2); }

/* ---------- statement banner ---------- */
.statement { background: var(--ps-accent); color: #fff; padding: 72px var(--ps-pad); display: grid; grid-template-columns: 120px 1fr; border-bottom: 2px solid var(--ps-ink); }
.statement .num { color: #fff; }
.statement p.big { font-size: clamp(2rem, 5vw, 4rem); line-height: 1; font-weight: 800; letter-spacing: -.03em; max-width: 960px; margin: 0 0 28px; text-wrap: balance; }
.statement a { color: #fff; font-size: 19px; font-weight: 700; }
.statement a:hover { color: #fff; text-decoration-thickness: 3px; }
.statement ul { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 8px 12px; }
.statement li { border: 2px solid #fff; padding: 4px 10px; font-size: 14px; font-weight: 600; }
@media (max-width: 575.98px) { .statement { grid-template-columns: 1fr; gap: 12px; padding-block: 48px; } }

/* ---------- steps ---------- */
.step { padding: 32px; display: flex; flex-direction: column; gap: 14px; height: 100%; }
.step .big-n { font-size: 72px; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.step h3 { font-size: 20px; margin: 0; }
@media (min-width: 768px) { .step-col + .step-col { border-left: 2px solid var(--ps-ink); } .step { padding-inline: 32px; } .step-col:first-child .step { padding-left: var(--ps-pad); } }
@media (max-width: 767.98px) { .step-col + .step-col { border-top: 2px solid var(--ps-ink); } .step { padding: 24px var(--ps-pad); } }

/* popup screenshots */
.popup-fig .step { align-items: flex-start; }
.popup-fig img { width: 100%; max-width: 330px; border: 2px solid var(--ps-ink); background: var(--ps-bg); }
.popup-fig figcaption { max-width: 330px; }

/* ---------- FAQ ---------- */
.faq-intro { padding: 40px var(--ps-pad); display: flex; flex-direction: column; gap: 16px; height: 100%; }
.faq-intro h2 { font-size: 36px; line-height: 1.05; margin: 0; }
@media (min-width: 992px) { .faq-intro { border-right: 2px solid var(--ps-ink); } }
@media (max-width: 991.98px) { .faq-intro { padding-bottom: 24px; } }
.accordion-item { background: transparent; border: 0; border-bottom: 1px solid var(--ps-rule); }
.accordion-item:last-child { border-bottom: 0; }
.accordion-header { margin: 0; font-size: inherit; letter-spacing: 0; }
.accordion-button { font-size: 18px; font-weight: 600; color: var(--ps-ink); padding: 22px var(--ps-pad) 22px 32px; box-shadow: none; }

.accordion-button::after { content: "+"; font-size: 22px; font-weight: 400; line-height: 1; transform: none; }
.accordion-button:not(.collapsed)::after { content: "\2212"; color: var(--ps-accent-700); }
.accordion-button:hover { background: var(--ps-accent-100); }
.accordion-body { padding: 0 var(--ps-pad) 24px 32px; color: var(--ps-ink-2); font-size: 16px; }
.accordion-body p:last-child { margin-bottom: 0; }
@media (max-width: 575.98px) { .accordion-button { font-size: 16px; padding-left: var(--ps-pad); } .accordion-body { padding-left: var(--ps-pad); } }

/* ---------- closing call to action ---------- */
.closing { padding: 72px var(--ps-pad); }
.closing h2 { font-size: clamp(2.25rem, 5vw, 4rem); line-height: .98; letter-spacing: -.03em; margin: 0; }
.closing .side { display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 991.98px) { .closing { padding-block: 48px; } .closing .side { margin-top: 24px; } }

/* ---------- footer ---------- */
.site-footer { border-top: 2px solid var(--ps-ink); margin-top: auto; }
.footer-grid { padding: 40px var(--ps-pad); }
.footer-col { padding: 0 24px; display: flex; flex-direction: column; gap: 10px; }
.footer-col .foot-h { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 2px; }
.footer-col a { color: var(--ps-ink-2); text-decoration: none; font-size: 14px; }
.footer-col a:hover { color: var(--ps-accent-700); text-decoration: underline; }
@media (min-width: 768px) { .footer-col { border-left: 1px solid var(--ps-rule); } .footer-brand { padding-right: 24px; } }
@media (max-width: 767.98px) { .footer-col { padding: 0; margin-top: 28px; } }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand .brand { font-size: 16px; }
.footer-brand .brand svg { width: 24px; height: 24px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding: 14px var(--ps-pad); border-top: 1px solid var(--ps-rule); font-size: 13px; color: var(--ps-muted); }

/* ---------- inner page hero ---------- */
.page-hero { padding: 64px var(--ps-pad) 48px; display: flex; flex-direction: column; gap: 24px; border-bottom: 2px solid var(--ps-ink); }
.page-hero.compact { padding-bottom: 40px; }

/* ---------- support ---------- */
.search-box { display: grid; grid-template-columns: 1fr auto; border: 2px solid var(--ps-ink); max-width: 760px; background: #fff; }
.search-box label { display: flex; gap: 12px; align-items: center; padding: 0 18px; margin: 0; }
.search-box .glass { width: 14px; height: 14px; border: 2px solid var(--ps-ink); flex: none; }
.search-box input { flex: 1; width: 100%; border: 0; background: transparent; padding: 16px 0; font-size: 17px; color: var(--ps-ink); outline: none; min-width: 0; }
.search-box:focus-within { outline: 2px solid var(--ps-accent); outline-offset: 2px; }
.search-box button { background: var(--ps-accent-600); color: #fff; border: 0; padding: 16px 22px; font-weight: 600; font-size: 15px; }
.search-box button:hover { background: var(--ps-accent-700); }
.search-status { min-height: 1.4em; }
.topic { padding: 32px; display: flex; flex-direction: column; gap: 14px; height: 100%; }
.topic h2 { font-size: 24px; margin: 0; }
.topic .num { font-size: 13px; }
@media (min-width: 768px) { .topic-col + .topic-col { border-left: 2px solid var(--ps-ink); } .topic-col:first-child .topic { padding-left: var(--ps-pad); } }
@media (max-width: 767.98px) { .topic-col + .topic-col { border-top: 2px solid var(--ps-ink); } .topic { padding: 24px var(--ps-pad); } }
.article-list { display: flex; flex-direction: column; border-top: 1px solid var(--ps-rule); margin: 0; padding: 0; list-style: none; }
.article-list a { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--ps-rule); color: var(--ps-ink); text-decoration: none; font-size: 15px; }
.article-list a:hover { color: var(--ps-accent-700); }
.article-list li[hidden] { display: none; }
.qa { padding: 22px var(--ps-pad); border-bottom: 1px solid var(--ps-rule); height: 100%; }
.qa h3 { font-size: 17px; font-weight: 600; letter-spacing: 0; margin: 0 0 8px; }
.qa p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ps-ink-2); }
@media (min-width: 768px) { .qa-col:nth-child(even) .qa { border-left: 2px solid var(--ps-ink); } }

/* help articles (anchored sections on the support page) */
.guide article { padding: 32px var(--ps-pad); border-top: 1px solid var(--ps-rule); }
.guide article:first-of-type { border-top: 0; }
@media (min-width: 992px) {
  .guide { display: grid; grid-template-columns: 1fr 1fr; }
  .guide article { border-top: 1px solid var(--ps-rule); }
  .guide article:nth-child(-n+2) { border-top: 0; }
  .guide article:nth-child(even) { border-left: 2px solid var(--ps-ink); }
  .guide article[hidden] { display: none; }
}
.guide h3 { font-size: 24px; line-height: 1.1; margin: 0 0 12px; }
.guide p, .guide li { font-size: 16px; color: var(--ps-ink-2); }
.guide ol, .guide ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.guide kbd, .legal-body kbd, .accordion-body kbd, .qa kbd { background: #fff; color: var(--ps-ink); border: 2px solid var(--ps-ink); padding: 0 6px; font-size: .85em; font-weight: 600; font-family: inherit; }

.contact-copy { padding: 48px var(--ps-pad); display: flex; flex-direction: column; gap: 16px; height: 100%; }
.contact-copy h2 { font-size: 44px; line-height: 1.05; margin: 0; }
@media (min-width: 992px) { .contact-copy { border-right: 2px solid var(--ps-ink); } }
.mail-block { border-top: 2px solid var(--ps-ink); padding-top: 16px; display: flex; flex-direction: column; gap: 4px; }
.mail-block span { font-size: 12px; color: var(--ps-muted); }
.mail-block a { font-size: 20px; font-weight: 600; color: var(--ps-ink); text-decoration: none; overflow-wrap: anywhere; }
.mail-block a:hover { color: var(--ps-accent-700); text-decoration: underline; }
.tip { background: var(--ps-ink); color: #fff; padding: 18px; font-size: 14px; line-height: 1.5; }
.tip strong { color: #ff8a73; }
.contact-form { padding: 48px var(--ps-pad); display: flex; flex-direction: column; gap: 18px; }
.field label, .field legend { font-size: 13px; font-weight: 600; margin-bottom: 6px; display: block; float: none; width: auto; padding: 0; }
.field input[type="text"], .field input[type="email"], .field textarea { width: 100%; border: 2px solid var(--ps-ink); background: #fff; padding: 12px 14px; font: inherit; font-size: 15px; color: var(--ps-ink); }
.field input::placeholder, .field textarea::placeholder { color: #6f6b6a; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--ps-accent); outline-offset: 2px; }
.field textarea { min-height: 130px; resize: vertical; }
.field .invalid-msg { display: none; color: var(--ps-accent-700); font-size: 13px; margin-top: 4px; font-weight: 600; }
.field.was-invalid .invalid-msg { display: block; }
.field.was-invalid input, .field.was-invalid textarea { border-color: var(--ps-accent-700); }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); border: 2px solid var(--ps-ink); font-size: 14px; font-weight: 600; }
.seg label { margin: 0; position: relative; cursor: pointer; font-size: 14px; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; padding: 11px 12px; height: 100%; }
.seg label + label span { border-left: 2px solid var(--ps-ink); }
.seg input:checked + span { background: var(--ps-ink); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--ps-accent); outline-offset: -4px; }
.seg label:hover input:not(:checked) + span { background: var(--ps-accent-100); }
@media (max-width: 575.98px) { .seg { grid-template-columns: 1fr 1fr; } .seg label:nth-child(3) span { border-left: 0; } .seg label:nth-child(n+3) span { border-top: 2px solid var(--ps-ink); } }
.check { display: flex; gap: 10px; align-items: center; font-size: 14px; margin: 0; cursor: pointer; }
.check input { appearance: none; width: 18px; height: 18px; border: 2px solid var(--ps-ink); background: #fff; flex: none; margin: 0; display: grid; place-content: center; cursor: pointer; }
.check input:checked { background: var(--ps-ink); }
.check input:checked::after { content: ""; width: 8px; height: 8px; background: #fff; }
.form-foot { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.form-note { font-size: 13px; color: var(--ps-muted); margin: 0; }
.hp { position: absolute; left: -9999px; }

/* ---------- legal pages ---------- */
.meta-strip > div { padding: 16px var(--ps-pad); }
.meta-strip small { display: block; font-size: 12px; color: var(--ps-muted); }
.meta-strip strong { font-size: 18px; font-weight: 600; }
@media (min-width: 768px) { .meta-strip > div + div { border-left: 2px solid var(--ps-ink); padding-left: 24px; } }
@media (max-width: 767.98px) { .meta-strip > div + div { border-top: 1px solid var(--ps-rule); } }
.toc { padding: 40px 32px 40px var(--ps-pad); position: sticky; top: 88px; }
.toc h2 { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding-bottom: 12px; border-bottom: 2px solid var(--ps-ink); margin: 0; }
.toc a { display: grid; grid-template-columns: 28px 1fr; padding: 10px 0; border-bottom: 1px solid var(--ps-rule); font-size: 14px; color: var(--ps-ink); text-decoration: none; }
.toc a:hover { color: var(--ps-accent-700); }
.toc a.active { color: var(--ps-accent-700); font-weight: 600; }
@media (min-width: 992px) { .toc-col { border-right: 2px solid var(--ps-ink); } }
@media (max-width: 991.98px) { .toc { position: static; padding: 24px var(--ps-pad); border-bottom: 2px solid var(--ps-ink); } }
.legal-body { padding: 40px var(--ps-pad) 56px; display: flex; flex-direction: column; gap: 40px; max-width: 940px; }
@media (min-width: 992px) { .legal-body { padding-left: 48px; } }
.legal-body section { display: flex; flex-direction: column; gap: 14px; }
.legal-body h2 { font-size: 28px; line-height: 1.05; margin: 0; }
.legal-body h3 { font-size: 18px; margin: 8px 0 0; letter-spacing: -.01em; }
.legal-body p, .legal-body li { font-size: 16px; line-height: 1.55; color: var(--ps-ink-2); margin: 0; }
.legal-body ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.table-ps { border: 2px solid var(--ps-ink); width: 100%; border-collapse: collapse; background: transparent; }
.table-ps th { background: var(--ps-ink); color: #fff; font-weight: 600; font-size: 13px; padding: 12px 16px; text-align: left; border-left: 1px solid #3d3a39; }
.table-ps th:first-child { border-left: 0; }
.table-ps td { padding: 12px 16px; font-size: 15px; border-top: 1px solid var(--ps-rule); border-left: 1px solid var(--ps-rule); vertical-align: top; color: var(--ps-ink-2); }
.table-ps td:first-child { border-left: 0; color: var(--ps-ink); font-weight: 600; }
.table-scroll { overflow-x: auto; }
.table-scroll .table-ps { min-width: 560px; }
.plain-words { background: var(--ps-ink); color: #fff; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.plain-words .k { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #ff8a73; }
.plain-words p { font-size: 18px; line-height: 1.45; color: #fff; margin: 0; }
.contact-strip { border: 2px solid var(--ps-ink); padding: 24px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; }
.contact-strip strong { font-size: 18px; font-weight: 800; display: block; margin-bottom: 6px; }
.contact-strip p { font-size: 15px; margin: 0; }
@media (max-width: 575.98px) { .contact-strip { grid-template-columns: 1fr; } }

/* ---------- changelog ---------- */
.filters { display: grid; grid-template-columns: 3fr 9fr; border-bottom: 2px solid var(--ps-ink); font-size: 13px; font-weight: 600; }
.filters > div:first-child { padding: 12px var(--ps-pad); border-right: 2px solid var(--ps-ink); }
.filters > div:last-child { padding: 6px var(--ps-pad); display: flex; gap: 8px 8px; flex-wrap: wrap; align-items: center; }
.filters button { background: transparent; border: 0; padding: 6px 10px; font-weight: 600; font-size: 13px; color: var(--ps-ink); }
.filters button:hover { background: var(--ps-accent-100); }
.filters button[aria-pressed="true"] { color: var(--ps-accent-700); box-shadow: inset 0 -2px 0 var(--ps-accent); }
@media (max-width: 767.98px) { .filters { grid-template-columns: 1fr; } .filters > div:first-child { display: none; } .filters > div:last-child { padding-inline: calc(var(--ps-pad) - 10px); } }
.release { display: grid; grid-template-columns: 3fr 9fr; border-bottom: 2px solid var(--ps-ink); }
.release-id { padding: 32px 32px 32px var(--ps-pad); border-right: 2px solid var(--ps-ink); display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.release-id .v { font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.release-id time { font-size: 14px; color: var(--ps-muted); }
.latest { background: var(--ps-accent-600); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 8px; margin-top: 4px; }
.release-body { padding: 32px var(--ps-pad); display: flex; flex-direction: column; gap: 20px; max-width: 940px; }
.release-body h2 { font-size: 28px; line-height: 1.05; margin: 0; }
.change { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: start; }
.change[hidden] { display: none; }
.change ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 16px; line-height: 1.5; color: var(--ps-ink-2); }
.tag { justify-self: start; font-size: 12px; font-weight: 600; padding: 2px 8px; border: 2px solid var(--ps-ink); line-height: 1.4; }
.tag-new { background: var(--ps-accent-600); border-color: var(--ps-accent-600); color: #fff; }
.tag-improved { background: var(--ps-ink); color: #fff; }
.tag-fixed { background: transparent; color: var(--ps-ink); }
.calib { height: 280px; border: 2px solid var(--ps-ink); background: var(--ps-bg) linear-gradient(var(--ps-rule) 1px, transparent 1px), linear-gradient(90deg, var(--ps-rule) 1px, transparent 1px); background-size: 56px 46px; position: relative; overflow: hidden; }
.calib .bar { position: absolute; inset: 0 0 auto 0; display: flex; justify-content: space-between; gap: 12px; padding: 10px 16px; border-bottom: 2px solid var(--ps-ink); background: var(--ps-bg); font-size: 13px; }
.calib .bar span:last-child { color: var(--ps-muted); }
.calib .d { position: absolute; width: 8px; height: 8px; background: var(--ps-ink); opacity: .3; }
.calib .live { position: absolute; left: 88%; top: 56%; width: 24px; height: 24px; margin: -8px 0 0 -8px; background: var(--ps-accent); box-shadow: 0 0 0 9px rgba(236, 48, 19, .18); }
.calib .prog { position: absolute; left: 0; bottom: 0; height: 4px; width: 46%; background: var(--ps-accent); }
.calib .note { position: absolute; left: 24px; bottom: 24px; background: var(--ps-ink); color: #fff; padding: 10px 12px; font-size: 12px; max-width: 260px; line-height: 1.4; }
@media (max-width: 767.98px) {
  .release { grid-template-columns: 1fr; }
  .release-id { border-right: 0; border-bottom: 1px solid var(--ps-rule); flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; padding: 24px var(--ps-pad) 16px; }
  .release-id .v { font-size: 32px; }
  .change { grid-template-columns: 1fr; gap: 8px; }
  .calib .bar span:last-child { display: none; }
}

/* ---------- 404 ---------- */
.nf { padding: 96px var(--ps-pad); display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }

@media (min-width: 992px) { .closing .col-lg-7 { padding-right: 24px; } .closing .col-lg-5 { padding-left: 24px; } }
