/*
 * WorkSafety.io public site: "site plan" design.
 *
 * The pages read like a construction drawing: drafting-paper grid, plan-blue linework, a title block,
 * dimension lines and detail callouts. Orange marks a defect or something that needs attention, green
 * a fix that was verified; colour otherwise only for actions. IBM Plex Sans Hebrew carries headings and
 * interface, Frank Ruhl Libre the reading text.
 */

:root {
    --plan: #0d3b8c;
    --plan-deep: #0a2c69;
    --plan-2: #4a6aa8;
    --plan-wash: #eef3fb;
    --ink: #0f1c33;
    --ink-2: #44506a;
    --ink-3: #66718a;
    --paper: #fbfcfe;
    --white: #ffffff;
    --grid: #e6ecf5;
    --line: #d3dbe8;
    --line-soft: #e7ecf4;
    --mark: #e8541e;
    --mark-ink: #b33f12;
    --mark-wash: #fff2ec;
    --ok: #1d8a4c;
    --ok-ink: #17703d;
    --ok-wash: #e9f6ef;

    --sans: 'IBM Plex Sans Hebrew', 'Segoe UI', Arial, sans-serif;
    --serif: 'Frank Ruhl Libre', 'David', Georgia, serif;

    --wrap: 1240px;
    --gutter: clamp(16px, 4vw, 56px);
    --radius: 3px;
    --nav-h: 72px;
    --focus: 0 0 0 3px var(--white), 0 0 0 5px var(--plan);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--serif);
    font-size: 18px;
    line-height: 1.75;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--plan); }
a:hover { color: var(--plan-deep); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--radius); }
h1, h2, h3, h4 { font-family: var(--sans); color: var(--ink); line-height: 1.2; margin: 0; text-wrap: balance; }
p { margin: 0; }
button { font: inherit; }
.s-wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.s-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.s-skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 200; background: var(--plan); color: var(--white); padding: 10px 18px; font: 600 15px var(--sans); text-decoration: none; border-radius: var(--radius); }
.s-skip:focus { top: 12px; color: var(--white); }
.s-grid-paper {
    background-color: var(--paper);
    background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
    background-size: 32px 32px;
    background-position: center top;
}

/* ── Buttons ───────────────────────────────────────── */
.s-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 22px; border-radius: var(--radius);
    font: 600 16px/1.2 var(--sans); text-decoration: none; white-space: nowrap;
    border: 1.5px solid var(--plan); cursor: pointer;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.s-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.s-btn--primary { background: var(--plan); color: var(--white); }
.s-btn--primary:hover { background: var(--plan-deep); border-color: var(--plan-deep); color: var(--white); }
.s-btn--ghost { background: var(--white); color: var(--plan); }
.s-btn--ghost:hover { background: var(--plan-wash); color: var(--plan-deep); }
.s-btn--light { background: var(--white); color: var(--plan); border-color: var(--white); }
.s-btn--light:hover { background: var(--plan-wash); color: var(--plan-deep); }
.s-btn--sm { min-height: 40px; padding: 0 16px; font-size: 15px; }

/* ── Navigation ────────────────────────────────────── */
.s-nav { position: sticky; top: 0; z-index: 100; background: rgba(251, 252, 254, .96); border-bottom: 1.5px solid var(--plan); backdrop-filter: saturate(1.2) blur(6px); }
.s-nav__in { display: flex; align-items: center; gap: 28px; min-height: var(--nav-h); }
.s-brand { display: inline-flex; align-items: center; gap: 10px; font: 700 19px var(--sans); color: var(--plan); text-decoration: none; white-space: nowrap; }
.s-brand img { width: 36px; height: 36px; border-radius: 8px; }
.s-brand:hover { color: var(--plan-deep); }
.s-nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.s-nav__links a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; font: 500 15px var(--sans); color: var(--ink); text-decoration: none; border-radius: var(--radius); white-space: nowrap; }
.s-nav__links a:hover { background: var(--plan-wash); color: var(--plan); }
.s-nav__links a[aria-current="page"] { color: var(--plan); box-shadow: inset 0 -2px 0 var(--plan); border-radius: 0; }
.s-nav__end { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.s-lang { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.s-lang a { min-width: 40px; min-height: 36px; display: grid; place-items: center; font: 600 13px var(--sans); color: var(--ink-2); text-decoration: none; }
.s-lang a[aria-current="true"] { background: var(--plan); color: var(--white); }
.s-lang a:not([aria-current="true"]):hover { background: var(--plan-wash); color: var(--plan); }
.s-menu-btn { display: none; width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--plan); place-items: center; cursor: pointer; }
.s-menu-btn svg { width: 22px; height: 22px; }
.s-menu { display: none; border-top: 1px solid var(--line); background: var(--white); padding: 12px var(--gutter) 20px; }
.s-menu a { display: flex; align-items: center; min-height: 48px; font: 500 17px var(--sans); color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-soft); }
.s-menu a:hover { color: var(--plan); }
.s-menu__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.s-nav.is-open .s-menu { display: block; }

@media (max-width: 1080px) {
    .s-nav__links, .s-nav__end .s-btn { display: none; }
    .s-menu-btn { display: grid; }
}

/* ── Page header (inner pages) ─────────────────────── */
.s-pagehead { padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 44px); border-bottom: 1.5px solid var(--plan); }
.s-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 16px; font: 500 14px var(--sans); color: var(--ink-3); }
.s-crumbs a { color: var(--ink-2); text-decoration: none; }
.s-crumbs a:hover { color: var(--plan); text-decoration: underline; }
.s-crumbs svg { width: 14px; height: 14px; color: var(--ink-3); }
.s-pagehead h1 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 700; color: var(--plan); letter-spacing: -.015em; max-width: 22em; }
.s-pagehead__lead { margin-top: 14px; font-size: 20px; color: var(--ink-2); max-width: 40em; }

/* ── Sections ──────────────────────────────────────── */
.s-section { padding: clamp(64px, 8vw, 112px) 0; }
.s-section + .s-section { border-top: 1px solid var(--line); }
.s-split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.s-split__head { position: sticky; top: calc(var(--nav-h) + 32px); }
.s-h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; color: var(--plan); letter-spacing: -.015em; }
.s-sub { margin-top: 14px; font-size: 19px; color: var(--ink-2); max-width: 30em; }
@media (max-width: 900px) {
    .s-split { grid-template-columns: 1fr; }
    .s-split__head { position: static; }
}

/* ── Hero ──────────────────────────────────────────── */
.s-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 72px); border-bottom: 1.5px solid var(--plan); }
.s-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.s-revision { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; font: 600 15px var(--sans); color: var(--mark-ink); text-decoration: none; }
.s-revision:hover { color: var(--mark); text-decoration: underline; }
.s-delta { width: 22px; height: 20px; flex-shrink: 0; }
.s-hero h1 { font-size: clamp(36px, 4.6vw, 58px); font-weight: 700; color: var(--plan); letter-spacing: -.02em; line-height: 1.06; }
.s-hero h1 .highlight { color: inherit; }
.s-hero__lead { margin-top: 22px; font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 32em; }
.s-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.s-drawing { background: var(--white); border: 1.5px solid var(--plan); }
.s-drawing__plan { position: relative; padding: 14px; }
.s-drawing__plan svg { display: block; width: 100%; height: auto; }
.s-pin { cursor: pointer; }
.s-pin circle.s-pin__dot { transition: r .15s ease; }
.s-pin:hover circle.s-pin__dot, .s-pin.is-active circle.s-pin__dot { r: 16; }
.s-pin:focus-visible { outline: none; }
.s-pin:focus-visible circle.s-pin__ring { stroke: var(--plan); stroke-width: 3; }
.s-titleblock { display: grid; grid-template-columns: 2fr 1fr 1fr; border-top: 1.5px solid var(--plan); font-family: var(--sans); }
.s-titleblock > div { padding: 8px 12px; border-inline-start: 1px solid var(--plan); min-width: 0; }
.s-titleblock > div:first-child { border-inline-start: 0; }
.s-titleblock dt { font-size: 11px; color: var(--ink-3); letter-spacing: .02em; }
.s-titleblock dd { margin: 0; font-size: 14px; font-weight: 600; color: var(--plan); }
.s-register { border-top: 1.5px solid var(--plan); list-style: none; margin: 0; padding: 0; font-family: var(--sans); }
.s-register li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--line-soft); font-size: 15px; cursor: pointer; transition: background-color .15s ease; }
.s-register li:first-child { border-top: 0; }
.s-register li:hover, .s-register li.is-active { background: var(--plan-wash); }
.s-register__no { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--white); background: var(--mark); }
.s-register li.is-ok .s-register__no { background: var(--ok); }
.s-register__what { color: var(--ink); line-height: 1.4; }
.s-register__where { display: block; font-size: 13px; color: var(--ink-3); }
.s-state { font-size: 12.5px; font-weight: 600; padding: 3px 9px; border-radius: 2px; white-space: nowrap; color: var(--mark-ink); background: var(--mark-wash); }
.s-state--ok { color: var(--ok-ink); background: var(--ok-wash); }
.s-pin-drop { animation: s-drop .45s cubic-bezier(.2, .8, .2, 1) both; }
.s-pin-drop:nth-of-type(2) { animation-delay: .2s; }
.s-pin-drop:nth-of-type(3) { animation-delay: .4s; }
@keyframes s-drop { from { opacity: 0; transform: translateY(-10px); } }

/* Dimension lines: the system's numbers measured like a drawing. */
.s-dims { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: clamp(40px, 5vw, 64px); font-family: var(--sans); }
.s-dim { text-align: center; }
.s-dim__line { position: relative; height: 22px; display: grid; place-items: center; }
.s-dim__line::before { content: ''; position: absolute; inset-inline: 0; top: 50%; border-top: 1px solid var(--plan-2); }
.s-dim__line::after { content: ''; position: absolute; inset-inline: 0; top: calc(50% - 7px); height: 14px; border-inline: 1px solid var(--plan-2); }
.s-dim__value { position: relative; z-index: 1; padding: 0 10px; background: var(--paper); font-size: 24px; font-weight: 700; color: var(--plan); line-height: 22px; }
.s-dim__label { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); }

@media (max-width: 960px) {
    .s-hero__grid { grid-template-columns: 1fr; }
    .s-dims { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
}
@media (max-width: 480px) {
    .s-titleblock { grid-template-columns: 1fr 1fr; }
    .s-titleblock > div:first-child { grid-column: 1 / -1; border-bottom: 1px solid var(--plan); }
    .s-titleblock > div:nth-child(2) { border-inline-start: 0; }
    .s-hero__cta .s-btn { flex: 1 1 100%; }
}

/* ── Overview prose ────────────────────────────────── */
.s-overview { max-width: 46em; }
.s-overview p { font-size: 19px; color: var(--ink-2); }
.s-overview p + p { margin-top: 18px; }

/* ── Revision (the 2026 regulations) ───────────────── */
.s-rev { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 40px; align-items: end; border: 1.5px solid var(--plan); background: var(--white); padding: clamp(24px, 4vw, 40px); position: relative; }
.s-rev__tag { display: inline-flex; align-items: center; gap: 8px; font: 600 14px var(--sans); color: var(--mark-ink); margin-bottom: 12px; }
.s-rev h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; color: var(--plan); }
.s-rev p { margin-top: 12px; color: var(--ink-2); max-width: 44em; }
.s-ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; font-family: var(--sans); font-size: 15.5px; }
.s-ticks li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.s-ticks svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--ok); margin-top: 2px; }
@media (max-width: 820px) { .s-rev { grid-template-columns: 1fr; } .s-ticks { grid-template-columns: 1fr; } }

/* ── Legend (the modules, by area) ─────────────────── */
.s-legend + .s-legend { margin-top: 48px; }
.s-legend__title { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; font: 700 20px var(--sans); color: var(--plan); padding-bottom: 10px; border-bottom: 1.5px solid var(--plan); }
.s-legend__count { font: 500 14px var(--sans); color: var(--ink-3); }
.s-legend__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.s-legend__item { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px dashed var(--line); }
.s-legend__item svg { width: 24px; height: 24px; color: var(--plan); margin-top: 2px; stroke-width: 1.6; }
.s-legend__item h3 { font-size: 17px; font-weight: 600; color: var(--ink); }
.s-legend__item p { margin-top: 4px; font-size: 16px; line-height: 1.65; color: var(--ink-2); }
@media (max-width: 700px) { .s-legend__list { grid-template-columns: 1fr; } }

/* ── Reasons ───────────────────────────────────────── */
.s-reasons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.s-reasons li { padding: 24px 0; border-top: 1.5px solid var(--plan); }
.s-reasons li:nth-child(n+3) { border-top-width: 1px; border-top-color: var(--line); }
.s-reasons svg { width: 26px; height: 26px; color: var(--plan); stroke-width: 1.6; }
.s-reasons h3 { margin-top: 12px; font-size: 19px; font-weight: 600; }
.s-reasons p { margin-top: 6px; font-size: 16.5px; color: var(--ink-2); line-height: 1.65; }
@media (max-width: 640px) { .s-reasons { grid-template-columns: 1fr; } .s-reasons li:nth-child(2) { border-top-width: 1px; border-top-color: var(--line); } }

/* ── Questions ─────────────────────────────────────── */
.s-faq { border-top: 1.5px solid var(--plan); }
.s-faq details { border-bottom: 1px solid var(--line); }
.s-faq summary { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) 28px; gap: 16px; align-items: center; padding: 20px 0; font: 600 18px/1.45 var(--sans); color: var(--ink); cursor: pointer; }
.s-faq summary::-webkit-details-marker { display: none; }
.s-faq summary:hover { color: var(--plan); }
.s-faq summary .s-plus { position: relative; width: 28px; height: 28px; border: 1.5px solid var(--plan); border-radius: 50%; }
.s-faq summary .s-plus::before, .s-faq summary .s-plus::after { content: ''; position: absolute; inset: 50% 7px auto; height: 1.5px; margin-top: -.75px; background: var(--plan); transition: transform .2s ease; }
.s-faq summary .s-plus::after { transform: rotate(90deg); }
.s-faq details[open] summary .s-plus::after { transform: rotate(0deg); }
.s-faq details[open] summary { color: var(--plan); }
.s-faq__a { padding: 0 0 24px; font-size: 17px; color: var(--ink-2); max-width: 44em; }

/* ── Blueprint band (call to action) ───────────────── */
.s-blueprint {
    background-color: var(--plan);
    background-image: linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
    background-size: 32px 32px;
    color: var(--white);
    padding: clamp(56px, 7vw, 88px) 0;
}
.s-blueprint__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.s-blueprint h2 { color: var(--white); font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; }
.s-blueprint p { margin-top: 10px; font-size: 19px; color: #d6e0f2; max-width: 34em; }

/* ── Field app ─────────────────────────────────────── */
.s-app { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 6vw, 80px); align-items: center; }
.s-steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; font-family: var(--sans); }
.s-steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: center; font-size: 17px; }
.s-callout { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--plan); display: grid; place-items: center; font: 700 17px var(--sans); color: var(--plan); background: var(--white); position: relative; }
.s-callout::after { content: ''; position: absolute; inset-inline: 6px; top: 50%; border-top: 1px solid var(--plan); opacity: .0; }
.s-qr { position: relative; padding: 22px; background: var(--white); border: 1.5px solid var(--plan); text-align: center; font: 500 14px var(--sans); color: var(--ink-2); }
.s-qr #qrcode { width: 200px; height: 200px; margin: 0 auto 12px; }
.s-qr #qrcode img, .s-qr #qrcode canvas { width: 200px !important; height: 200px !important; }
@media (max-width: 760px) { .s-app { grid-template-columns: 1fr; } .s-qr { justify-self: start; } }

/* ── Contact ───────────────────────────────────────── */
.s-contact { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.s-form { background: var(--white); border: 1.5px solid var(--plan); padding: clamp(22px, 3.4vw, 36px); font-family: var(--sans); }
.s-form h3 { font-size: 22px; font-weight: 700; color: var(--plan); }
.s-form__sub { margin-top: 6px; font-size: 16px; color: var(--ink-2); }
.s-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-top: 24px; }
.s-field { display: grid; gap: 6px; }
.s-field--wide { grid-column: 1 / -1; }
.s-field label { font-size: 15px; font-weight: 600; color: var(--ink); }
.s-field label .req { color: var(--mark-ink); }
.s-field input, .s-field textarea { width: 100%; min-height: 48px; padding: 10px 14px; font: 400 16px var(--sans); color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius); transition: border-color .15s ease, background-color .15s ease; }
.s-field textarea { min-height: 132px; resize: vertical; line-height: 1.6; }
.s-field input:hover, .s-field textarea:hover { border-color: var(--plan-2); }
.s-field input:focus, .s-field textarea:focus { outline: none; border-color: var(--plan); background: var(--white); box-shadow: 0 0 0 3px rgba(13, 59, 140, .16); }
.s-field input::placeholder, .s-field textarea::placeholder { color: #8c96aa; }
.s-form .s-btn { margin-top: 24px; }
@media (max-width: 600px) { .s-fields { grid-template-columns: 1fr; } .s-form .s-btn { width: 100%; } }
.s-note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin-bottom: 24px; border: 1.5px solid; border-radius: var(--radius); font: 500 16px var(--sans); }
.s-note svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.s-note--ok { color: var(--ok-ink); background: var(--ok-wash); border-color: var(--ok); }
.s-note--err { color: var(--mark-ink); background: var(--mark-wash); border-color: var(--mark); }
.s-ways { list-style: none; margin: 24px 0 0; padding: 0; font-family: var(--sans); border-top: 1.5px solid var(--plan); }
.s-ways li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.s-ways svg { width: 22px; height: 22px; color: var(--plan); margin-top: 2px; }
.s-ways small { display: block; font-size: 13px; color: var(--ink-3); }
.s-ways a, .s-ways span { font-size: 17px; font-weight: 600; color: var(--ink); text-decoration: none; }
.s-ways a:hover { color: var(--plan); text-decoration: underline; }
@media (max-width: 860px) { .s-contact { grid-template-columns: 1fr; } }

/* ── Reading content (pages and posts from the panel) ─ */
.s-doc { display: grid; grid-template-columns: minmax(0, 1fr); padding: clamp(36px, 5vw, 64px) 0 clamp(64px, 8vw, 104px); }
.s-prose { max-width: 46em; font-size: 18px; line-height: 1.8; color: var(--ink); overflow-wrap: anywhere; }
.s-prose > * + * { margin-top: 1em; }
.s-prose h2 { margin-top: 2.2em; font-size: clamp(24px, 2.4vw, 30px); font-weight: 700; color: var(--plan); padding-bottom: 8px; border-bottom: 1.5px solid var(--plan); }
.s-prose h3 { margin-top: 1.8em; font-size: 21px; font-weight: 600; }
.s-prose h4 { margin-top: 1.5em; font-size: 18px; font-weight: 600; }
.s-prose h2:first-child, .s-prose h3:first-child, .s-prose section:first-child > h2:first-child { margin-top: 0; }
.s-prose section > * + * { margin-top: 1em; }
.s-prose section + section { margin-top: 2em; }
.s-prose p.lead, .s-prose .lead { font-size: 21px; color: var(--ink-2); }
.s-prose ul, .s-prose ol { padding-inline-start: 1.4em; }
.s-prose li + li { margin-top: .4em; }
.s-prose li::marker { color: var(--plan); }
.s-prose strong { font-weight: 700; color: var(--ink); }
.s-prose a { color: var(--plan); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.s-prose a:hover { color: var(--plan-deep); text-decoration-thickness: 2px; }
.s-prose img { margin-block: 1.6em; border: 1px solid var(--line); }
.s-prose .table-scroll { overflow-x: auto; margin-block: 1.6em; border: 1.5px solid var(--plan); }
.s-prose table { width: 100%; border-collapse: collapse; font: 400 15.5px/1.55 var(--sans); }
.s-prose .table-scroll table { margin: 0; }
.s-prose th { text-align: start; font-weight: 600; color: var(--white); background: var(--plan); padding: 10px 14px; }
.s-prose td { padding: 10px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.s-prose tbody tr:nth-child(even) td { background: #f6f8fc; }
.s-prose .policy-note, .s-prose .legal-update { padding: 16px 20px; border: 1.5px solid var(--plan-2); background: var(--plan-wash); font-size: 16.5px; }
.s-prose .policy-warning { padding: 16px 20px; border: 1.5px solid var(--mark); background: var(--mark-wash); color: var(--ink); font-size: 16.5px; }
.s-prose .policy-toc, .s-prose .related-links { padding: 18px 22px; border: 1.5px solid var(--plan); background: var(--white); font-family: var(--sans); font-size: 16px; }
.s-prose .policy-toc a, .s-prose .related-links a { text-decoration: none; }
.s-prose .policy-toc a:hover, .s-prose .related-links a:hover { text-decoration: underline; }
.s-prose .cta-box { padding: clamp(22px, 3vw, 32px); border: 1.5px solid var(--plan); background: var(--white); text-align: start; }
.s-prose .cta-box h2, .s-prose .cta-box h3 { margin-top: 0; border: 0; padding: 0; }
.s-prose .cta-btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; margin-top: 12px; background: var(--plan); color: var(--white) !important; text-decoration: none !important; font: 600 16px var(--sans); border-radius: var(--radius); }
.s-prose .cta-btn:hover { background: var(--plan-deep); }
.s-prose .faq-list { border-top: 1.5px solid var(--plan); margin-top: 1.2em; }
.s-prose details.faq-item { border-bottom: 1px solid var(--line); margin: 0; }
.s-prose details.faq-item summary { list-style: none; cursor: pointer; padding: 16px 0; font: 600 17px/1.45 var(--sans); color: var(--ink); display: flex; justify-content: space-between; gap: 16px; }
.s-prose details.faq-item summary::-webkit-details-marker { display: none; }
.s-prose details.faq-item summary::after { content: '+'; flex-shrink: 0; width: 26px; height: 26px; border: 1.5px solid var(--plan); border-radius: 50%; display: grid; place-items: center; color: var(--plan); font-weight: 500; line-height: 1; }
.s-prose details.faq-item[open] summary::after { content: '−'; }
.s-prose details.faq-item[open] summary { color: var(--plan); }
.s-prose .faq-answer { padding-bottom: 18px; color: var(--ink-2); }

/* ── Blog ──────────────────────────────────────────── */
.s-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; font-family: var(--sans); }
.s-cats a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--white); font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; }
.s-cats a:hover { border-color: var(--plan); color: var(--plan); }
.s-cats a[aria-current="page"] { background: var(--plan); border-color: var(--plan); color: var(--white); }
.s-disclaimer { display: flex; gap: 12px; align-items: flex-start; margin-top: 28px; padding: 14px 18px; border: 1px solid var(--line); background: var(--white); font: 400 14px/1.6 var(--sans); color: var(--ink-3); max-width: 60em; }
.s-disclaimer svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--ink-3); margin-top: 2px; }
.s-posts { list-style: none; margin: 0; padding: clamp(36px, 5vw, 56px) 0 clamp(64px, 8vw, 104px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.s-post { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.s-post__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border: 1.5px solid var(--plan); background: var(--plan-wash); }
.s-post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.s-post:hover .s-post__img img { transform: scale(1.03); }
.s-post__noimg { width: 100%; height: 100%; display: grid; place-items: center; color: var(--plan-2); }
.s-post__noimg svg { width: 40px; height: 40px; }
.s-post__flag { position: absolute; inset-inline-start: 10px; top: 10px; background: var(--white); color: var(--plan); border: 1px solid var(--plan); font: 600 12.5px var(--sans); padding: 2px 9px; border-radius: 2px; }
.s-post__flag--star { inset-inline-start: auto; inset-inline-end: 10px; color: var(--mark-ink); border-color: var(--mark); }
.s-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 16px; font: 500 14px var(--sans); color: var(--ink-3); }
.s-meta span { display: inline-flex; align-items: center; gap: 6px; }
.s-meta svg { width: 15px; height: 15px; }
.s-post h2 { margin-top: 8px; font-size: 21px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.s-post:hover h2 { color: var(--plan); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.s-post p { margin-top: 8px; font-size: 16.5px; line-height: 1.65; color: var(--ink-2); }
.s-post--lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.s-post--lead h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; color: var(--plan); }
.s-post--lead .s-meta { margin-top: 0; }
@media (max-width: 1000px) { .s-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .s-posts { grid-template-columns: 1fr; } .s-post--lead { grid-template-columns: 1fr; gap: 0; } .s-post--lead .s-meta { margin-top: 16px; } }

.s-article { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(32px, 5vw, 64px); align-items: start; padding: clamp(32px, 4vw, 48px) 0 clamp(64px, 8vw, 104px); }
.s-article--notoc { grid-template-columns: minmax(0, 1fr); }
.s-article__hero { margin-bottom: 32px; border: 1.5px solid var(--plan); }
.s-article__hero img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; }
.s-toc { position: sticky; top: calc(var(--nav-h) + 24px); border: 1.5px solid var(--plan); background: var(--white); font-family: var(--sans); }
.s-toc__title { padding: 10px 16px; border-bottom: 1.5px solid var(--plan); font-size: 14px; font-weight: 700; color: var(--plan); }
.s-toc ol { list-style: none; margin: 0; padding: 8px 0; counter-reset: toc; }
.s-toc li { counter-increment: toc; }
.s-toc a { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 6px; padding: 7px 16px; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); text-decoration: none; }
.s-toc a::before { content: counter(toc); font-weight: 700; color: var(--plan-2); }
.s-toc a:hover, .s-toc a.is-current { color: var(--plan); background: var(--plan-wash); }
.s-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 48px; padding-top: 20px; border-top: 1.5px solid var(--plan); font: 600 15px var(--sans); color: var(--ink-2); }
.s-share a, .s-share button { width: 44px; height: 44px; display: grid; place-items: center; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--plan); cursor: pointer; }
.s-share a:hover, .s-share button:hover { border-color: var(--plan); background: var(--plan-wash); }
.s-share svg { width: 18px; height: 18px; }
.s-share .is-copied { border-color: var(--ok); color: var(--ok); }
.s-related { margin-top: 56px; }
.s-related h2 { font-size: 24px; font-weight: 700; color: var(--plan); padding-bottom: 10px; border-bottom: 1.5px solid var(--plan); }
.s-related ul { list-style: none; margin: 0; padding: 0; }
.s-related a { display: block; padding: 18px 0; border-bottom: 1px dashed var(--line); text-decoration: none; }
.s-related a h3 { font-size: 18px; font-weight: 600; color: var(--ink); }
.s-related a p { margin-top: 4px; font-size: 16px; color: var(--ink-2); }
.s-related a:hover h3 { color: var(--plan); text-decoration: underline; }
@media (max-width: 1000px) { .s-article { grid-template-columns: minmax(0, 1fr); } .s-toc { position: static; order: -1; } }
.s-empty { padding: 80px 0 120px; font-family: var(--sans); }
.s-empty h2 { font-size: 28px; color: var(--plan); }
.s-empty p { margin-top: 10px; font-size: 18px; color: var(--ink-2); }

/* ── Footer (SITE-FOOT-02): the drawing's last sheet, a blueprint band ─────────────── */
.s-foot {
    position: relative; overflow: hidden; color: #dfe7f6; font-family: var(--sans);
    background-color: var(--plan-deep);
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, .02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .02) 1px, transparent 1px);
    background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
    padding: clamp(40px, 5vw, 64px) 0 24px;
}
.s-foot a { color: #ffffff; text-decoration: none; }
.s-foot a:focus-visible { outline: 2px solid #ffffff; outline-offset: 3px; border-radius: 2px; }

.s-foot__cta {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px;
    padding: 28px 32px; margin-bottom: clamp(36px, 4vw, 52px);
    border: 1px solid rgba(255, 255, 255, .22); border-radius: 6px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03));
}
.s-foot__cta h2 { margin: 0; font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; color: #ffffff; line-height: 1.3; }
.s-foot__cta p { margin: 6px 0 0; font-size: 15.5px; color: #c4d2ec; }
.s-foot__cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
/* The buttons of the band: raised and lit from above, sinking a little when pressed */
.s-foot__cta .s-btn--light {
    font-weight: 700; color: var(--plan); border-color: transparent; border-radius: 6px;
    background: linear-gradient(180deg, #ffffff 0%, #e9eef8 100%);
    box-shadow: inset 0 1px 0 #ffffff, inset 0 -1px 0 rgba(10, 44, 105, .12), 0 1px 2px rgba(0, 0, 0, .25), 0 8px 18px -8px rgba(0, 0, 0, .55);
    transition: transform .1s ease, box-shadow .15s ease, background .15s ease;
}
.s-foot__cta .s-btn--light:hover {
    color: var(--plan-deep); background: linear-gradient(180deg, #ffffff 0%, #f1f5fc 100%);
    box-shadow: inset 0 1px 0 #ffffff, inset 0 -1px 0 rgba(10, 44, 105, .12), 0 2px 4px rgba(0, 0, 0, .25), 0 12px 24px -8px rgba(0, 0, 0, .6);
    transform: translateY(-1px);
}
.s-foot__cta .s-btn--light:active { transform: translateY(0); background: #e3e9f5; box-shadow: inset 0 2px 4px rgba(10, 44, 105, .2), 0 0 0 1px rgba(255, 255, 255, .4); }
.s-foot__wa {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px;
    border-radius: 6px; font-weight: 700; font-size: 15px; color: #ffffff; text-shadow: 0 1px 1px rgba(0, 0, 0, .2);
    background: linear-gradient(180deg, #34d16b 0%, #1fb055 55%, #18964a 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -1px 0 rgba(0, 0, 0, .18), 0 1px 2px rgba(0, 0, 0, .3), 0 8px 18px -8px rgba(0, 0, 0, .55);
    transition: transform .1s ease, box-shadow .15s ease, background .15s ease;
}
.s-foot__wa:hover {
    background: linear-gradient(180deg, #45dc7a 0%, #25bd5e 55%, #1ba050 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -1px 0 rgba(0, 0, 0, .18), 0 2px 4px rgba(0, 0, 0, .3), 0 12px 24px -8px rgba(0, 0, 0, .6);
    transform: translateY(-1px);
}
.s-foot__wa:active { transform: translateY(0); background: linear-gradient(180deg, #1ba050, #168a44); box-shadow: inset 0 2px 4px rgba(0, 0, 0, .25); }

.s-foot__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 32px 40px; }
.s-foot__logo { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 700; }
.s-foot__logo img { border-radius: 9px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 4px 12px rgba(0, 0, 0, .3); }
.s-foot__brand p { margin: 14px 0 0; max-width: 34ch; font-size: 15px; line-height: 1.6; color: #c4d2ec; }
.s-foot__trust { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.s-foot__trust li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #dfe7f6; }
.s-foot__trust svg { flex: none; color: #8fd3a8; }

.s-foot__label {
    margin: 0 0 12px; padding-bottom: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
    color: #9fb3da; border-bottom: 1px dashed rgba(255, 255, 255, .22);
}
.s-foot__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.s-foot__col a { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; font-size: 15px; color: #e8eefa; }
.s-foot__col a:hover { color: #ffffff; text-decoration: underline; text-underline-offset: 3px; }
.s-foot__contact svg { flex: none; color: #9fb3da; }
.s-foot__social {
    display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-top: 12px;
    border-radius: 50%; color: #ffffff;
    background: linear-gradient(180deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, .08) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 0 0 1px rgba(255, 255, 255, .18), 0 6px 14px -6px rgba(0, 0, 0, .6);
    transition: transform .1s ease, background .15s ease;
}
.s-foot__social:hover { background: linear-gradient(180deg, rgba(255, 255, 255, .32) 0%, rgba(255, 255, 255, .14) 100%); transform: translateY(-1px); }
.s-foot__social:active { transform: translateY(0); box-shadow: inset 0 2px 4px rgba(0, 0, 0, .3); }

.s-foot__bottom {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px;
    margin-top: clamp(32px, 4vw, 48px); padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .16);
    font-size: 13.5px; color: #9fb3da;
}
.s-foot__legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.s-foot__legal a { color: #c4d2ec; }
.s-foot__legal a:hover { color: #ffffff; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1000px) {
    .s-foot__grid { grid-template-columns: 1fr 1fr; }
    .s-foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
    .s-foot__cta { padding: 22px 20px; }
    .s-foot__cta-actions, .s-foot__cta-actions > * { width: 100%; justify-content: center; }
    .s-foot__grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
    .s-foot__col:last-child { grid-column: 1 / -1; }
    .s-foot__bottom { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
    .s-foot__cta .s-btn--light:hover, .s-foot__wa:hover, .s-foot__social:hover { transform: none; }
}
@media print {
    .s-foot { background: none; color: #000; }
    .s-foot__cta, .s-foot__trust, .s-foot__social { display: none; }
    .s-foot a, .s-foot__label, .s-foot__bottom { color: #000; }
}

/* ── Accessibility panel ───────────────────────────── */
.s-a11y-btn { position: fixed; bottom: 20px; inset-inline-start: 20px; z-index: 120; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--white); background: var(--plan); color: var(--white); display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 14px rgba(10, 44, 105, .3); }
.s-a11y-btn:hover { background: var(--plan-deep); }
.s-a11y-btn svg { width: 26px; height: 26px; }
.s-a11y { position: fixed; bottom: 84px; inset-inline-start: 20px; z-index: 121; width: min(320px, calc(100vw - 40px)); background: var(--white); border: 1.5px solid var(--plan); box-shadow: 0 16px 40px rgba(10, 44, 105, .2); font-family: var(--sans); display: none; }
.s-a11y.active { display: block; }
.s-a11y__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1.5px solid var(--plan); }
.s-a11y__head p { font-size: 16px; font-weight: 700; color: var(--plan); }
.s-a11y__close { width: 36px; height: 36px; border: 0; background: none; font-size: 24px; line-height: 1; color: var(--ink-2); cursor: pointer; border-radius: var(--radius); }
.s-a11y__close:hover { background: var(--plan-wash); }
.s-a11y__body { padding: 8px 16px 16px; max-height: min(62vh, 520px); overflow-y: auto; }
.s-a11y__group { font-size: 12.5px; font-weight: 600; color: var(--ink-3); margin: 12px 0 4px; }
.s-a11y__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; font-size: 15px; color: var(--ink); border-bottom: 1px solid var(--line-soft); }
.acc-toggle, .acc-sm { min-width: 64px; height: 34px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink-2); font: 600 13px var(--sans); cursor: pointer; }
.acc-sm { min-width: 40px; padding: 0 8px; }
.acc-toggle:hover, .acc-sm:hover { border-color: var(--plan); color: var(--plan); }
.acc-toggle.active { background: var(--plan); border-color: var(--plan); color: var(--white); }
.s-a11y__sizes { display: flex; gap: 6px; }
.s-a11y__foot { display: grid; gap: 10px; margin-top: 14px; }
.s-a11y__foot button { min-height: 42px; border: 1.5px solid var(--mark); background: var(--white); color: var(--mark-ink); font: 600 14px var(--sans); border-radius: var(--radius); cursor: pointer; }
.s-a11y__foot button:hover { background: var(--mark-wash); }
.s-a11y__foot a { text-align: center; font-size: 14px; }
body.large-text { font-size: 1.15rem !important; }
body.large-text :is(p, li, td, th, span, a, label, input, textarea, button, h1, h2, h3, h4, summary) { font-size: inherit !important; }
body.larger-text { font-size: 1.3rem !important; }
body.larger-text :is(p, li, td, th, span, a, label, input, textarea, button, h1, h2, h3, h4, summary) { font-size: inherit !important; }
body.high-contrast { --ink: #000; --ink-2: #111; --ink-3: #222; --plan: #002266; --line: #555; }
body.grayscale { filter: grayscale(1); }
body.light-bg, body.light-bg .s-grid-paper, body.light-bg .s-blueprint { background: #fff !important; background-image: none !important; }
body.light-bg .s-blueprint, body.light-bg .s-blueprint :is(h2, p) { color: var(--ink) !important; }
body.highlight-links a { outline: 3px solid var(--mark) !important; outline-offset: 2px; }
body.readable-font, body.readable-font * { font-family: Arial, Helvetica, sans-serif !important; }
body.large-cursor, body.large-cursor * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M5 2l20 14-9 2 5 10-4 2-5-10-7 7z' fill='%23000' stroke='%23fff' stroke-width='1'/%3E%3C/svg%3E") 4 2, auto !important; }
body.stop-animations *, body.stop-animations *::before, body.stop-animations *::after { animation: none !important; transition: none !important; }
body.line-spacing { line-height: 2.2 !important; }
body.line-spacing * { line-height: inherit !important; }
#readingGuideBar { position: fixed; inset-inline: 0; height: 12px; background: rgba(13, 59, 140, .15); border-block: 2px solid rgba(13, 59, 140, .4); pointer-events: none; z-index: 99999; display: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media print {
    .s-nav, .s-a11y-btn, .s-a11y, .s-share, .s-blueprint { display: none !important; }
    body { background: #fff; }
}

/* ── The field apps page (/apps/) ──────────────────── */
.s-pwa-note { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 16px; align-items: start; margin-top: clamp(32px, 4vw, 48px); padding: 20px 24px; border: 1.5px solid var(--plan-2); background: var(--plan-wash); max-width: 56em; }
.s-pwa-note svg { width: 26px; height: 26px; color: var(--plan); }
.s-pwa-note h2 { font-size: 18px; font-weight: 700; color: var(--plan); }
.s-pwa-note p { margin-top: 4px; font-size: 16.5px; color: var(--ink-2); }
.s-pwa-note--tip { margin-top: 32px; }
.s-apps { list-style: none; margin: clamp(32px, 4vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.s-sheet { display: flex; flex-direction: column; background: var(--white); border: 1.5px solid var(--plan); }
.s-sheet__head { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: center; padding: 20px 22px; border-bottom: 1.5px solid var(--plan); background: var(--plan); color: var(--white); }
.s-sheet__head svg { width: 32px; height: 32px; stroke-width: 1.6; }
.s-sheet__head h2 { color: var(--white); font-size: 22px; font-weight: 700; }
.s-sheet__head p { font: 400 15px var(--sans); color: #d6e0f2; margin-top: 2px; }
.s-sheet__body { padding: 20px 22px 4px; flex: 1; }
.s-sheet__who { font: 400 15.5px/1.6 var(--sans); color: var(--ink-2); }
.s-sheet__who strong { color: var(--ink); font-weight: 600; }
.s-sheet__req { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; margin-top: 16px; padding: 12px 14px; border: 1.5px solid var(--mark); background: var(--mark-wash); font-family: var(--sans); }
.s-sheet__req.is-open { border-color: var(--ok); background: var(--ok-wash); }
.s-sheet__req svg { width: 20px; height: 20px; color: var(--mark-ink); margin-top: 2px; }
.s-sheet__req.is-open svg { color: var(--ok-ink); }
.s-sheet__req strong { display: block; font-size: 15px; color: var(--ink); }
.s-sheet__req span { display: block; font-size: 14px; color: var(--ink-2); line-height: 1.5; margin-top: 2px; }
.s-sheet__desc { margin-top: 16px; font-size: 16.5px; line-height: 1.65; color: var(--ink-2); }
.s-ticks--one { grid-template-columns: 1fr; margin-top: 14px; }
.s-sheet__open { margin: 20px 22px 22px; }
.s-install { padding: clamp(56px, 7vw, 88px) 0 clamp(64px, 8vw, 104px); }
.s-install__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 28px; }
.s-install__col { border: 1.5px solid var(--plan); background: var(--white); padding: 22px 24px; }
.s-install__col h3 { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 700; color: var(--plan); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.s-install__col h3 svg { width: 22px; height: 22px; }
.s-install__col .s-steps { margin-top: 18px; }
@media (max-width: 1000px) { .s-apps { grid-template-columns: 1fr; max-width: 640px; } }
@media (max-width: 760px) { .s-install__cols { grid-template-columns: 1fr; } }

/* The safety resources list, built by the resources page from the panel's safety links. */
.s-prose .sl-pub-head { border-bottom: 1.5px solid var(--plan) !important; }
.s-prose .sl-pub-head h2 { margin: 0; padding: 0; border: 0; font-size: 21px; }
.s-prose .sl-pub-card { border: 1.5px solid var(--line) !important; border-radius: 0 !important; background: var(--white); font-family: var(--sans); }
.s-prose .sl-pub-card:hover { border-color: var(--plan) !important; box-shadow: none !important; transform: none !important; background: var(--plan-wash); }
.s-prose .sl-pub-icon { border-radius: 50% !important; }
.s-prose .sl-pub-title { font-size: 16px !important; }
.s-prose .sl-pub-desc { font-size: 14.5px !important; }
.s-prose .sl-pub-badge { border-radius: 2px !important; }

/* ── Raised controls (SITE-BTN-01): every button on the site lit from above and lifted on a soft shadow, like the
      footer and the system itself; a small lift on hover and a sink when pressed. Last in the file on purpose. ── */
.s-btn {
    border-radius: 6px;
    transition: background .15s ease, color .15s ease, box-shadow .15s ease, transform .1s ease;
}
.s-btn--primary {
    border-color: transparent; color: var(--white); text-shadow: 0 1px 1px rgba(0, 0, 0, .2);
    background: linear-gradient(180deg, #2a5fbe 0%, var(--plan) 55%, var(--plan-deep) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -1px 0 rgba(0, 0, 0, .2), 0 1px 2px rgba(10, 44, 105, .3), 0 6px 16px -6px rgba(10, 44, 105, .55);
}
.s-btn--primary:hover {
    border-color: transparent; color: var(--white);
    background: linear-gradient(180deg, #366cd0 0%, #1747a0 55%, #0d3b8c 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .32), inset 0 -1px 0 rgba(0, 0, 0, .2), 0 2px 4px rgba(10, 44, 105, .3), 0 10px 22px -8px rgba(10, 44, 105, .6);
    transform: translateY(-1px);
}
.s-btn--ghost {
    border-color: transparent; color: var(--plan);
    background: linear-gradient(180deg, #ffffff 0%, #eef2f9 100%);
    box-shadow: inset 0 1px 0 #ffffff, 0 0 0 1px rgba(13, 59, 140, .28), 0 1px 2px rgba(10, 44, 105, .12), 0 6px 14px -8px rgba(10, 44, 105, .35);
}
.s-btn--ghost:hover {
    border-color: transparent; color: var(--plan-deep);
    background: linear-gradient(180deg, #ffffff 0%, #e6ecf8 100%);
    box-shadow: inset 0 1px 0 #ffffff, 0 0 0 1px rgba(13, 59, 140, .45), 0 2px 4px rgba(10, 44, 105, .14), 0 10px 20px -8px rgba(10, 44, 105, .4);
    transform: translateY(-1px);
}
.s-btn--light {
    border-color: transparent; color: var(--plan);
    background: linear-gradient(180deg, #ffffff 0%, #e9eef8 100%);
    box-shadow: inset 0 1px 0 #ffffff, inset 0 -1px 0 rgba(10, 44, 105, .12), 0 1px 2px rgba(0, 0, 0, .22), 0 8px 18px -8px rgba(0, 0, 0, .5);
}
.s-btn--light:hover { color: var(--plan-deep); background: linear-gradient(180deg, #ffffff 0%, #f1f5fc 100%); transform: translateY(-1px); }
.s-btn:active { transform: translateY(0); filter: brightness(.95); box-shadow: inset 0 2px 4px rgba(10, 44, 105, .25); }
.s-btn:focus-visible { outline: none; box-shadow: var(--focus); }

/* The language switch: a sunken track with the chosen language raised in it */
.s-lang {
    gap: 2px; padding: 3px; border: 0; border-radius: 8px;
    background: linear-gradient(180deg, #e6ebf4 0%, #eef2f8 100%);
    box-shadow: inset 0 1px 3px rgba(10, 44, 105, .18), 0 0 0 1px rgba(13, 59, 140, .12);
}
.s-lang a { min-height: 32px; border-radius: 6px; transition: background .15s ease, color .15s ease; }
.s-lang a[aria-current="true"] {
    color: var(--white); text-shadow: 0 1px 1px rgba(0, 0, 0, .2);
    background: linear-gradient(180deg, #2a5fbe 0%, var(--plan) 60%, var(--plan-deep) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 1px 2px rgba(10, 44, 105, .35), 0 3px 8px -3px rgba(10, 44, 105, .45);
}
.s-lang a:not([aria-current="true"]):hover { background: rgba(255, 255, 255, .7); color: var(--plan); }

/* The menu button on phones, the blog categories and the accessibility button */
.s-menu-btn, .s-cats a {
    border-color: transparent;
    background: linear-gradient(180deg, #ffffff 0%, #eef2f9 100%);
    box-shadow: inset 0 1px 0 #ffffff, 0 0 0 1px rgba(13, 59, 140, .2), 0 1px 2px rgba(10, 44, 105, .1), 0 4px 10px -6px rgba(10, 44, 105, .3);
    border-radius: 6px;
    transition: box-shadow .15s ease, transform .1s ease, color .15s ease;
}
.s-cats a:hover { border-color: transparent; transform: translateY(-1px); box-shadow: inset 0 1px 0 #ffffff, 0 0 0 1px rgba(13, 59, 140, .4), 0 6px 14px -6px rgba(10, 44, 105, .35); }
.s-cats a[aria-current="page"] {
    border-color: transparent; color: var(--white); text-shadow: 0 1px 1px rgba(0, 0, 0, .2);
    background: linear-gradient(180deg, #2a5fbe 0%, var(--plan) 55%, var(--plan-deep) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 1px 2px rgba(10, 44, 105, .3), 0 6px 14px -6px rgba(10, 44, 105, .5);
}
.s-menu-btn:active, .s-cats a:active { transform: translateY(0); box-shadow: inset 0 2px 4px rgba(10, 44, 105, .2); }
.s-a11y-btn {
    background: linear-gradient(180deg, #2a5fbe 0%, var(--plan) 55%, var(--plan-deep) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 0 0 2px var(--white), 0 4px 8px rgba(10, 44, 105, .25), 0 12px 24px -8px rgba(10, 44, 105, .55);
    border-color: transparent;
}

@media (prefers-reduced-motion: reduce) {
    .s-btn:hover, .s-cats a:hover { transform: none; }
}
@media print {
    .s-btn { box-shadow: none; background: none; color: #000; border: 1px solid #000; text-shadow: none; }
}
