/* Page-level rules for the static site (M10-T41). Design classes live in bundle.css §2.8; keep this file small. */
html {
    scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
[hidden] {
    display: none !important;
}
body {
    margin: 0;
    background: var(--bg);
}
.site {
    min-height: 100vh;
}
[id] {
    scroll-margin-top: 16px;
}
:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
/* Placeholders the client must fill before launch (company name, domain, dates). Remove the class when filled. */
.ph {
    background: color-mix(in srgb, var(--warning) 18%, transparent);
    border-radius: 4px;
    padding: 0 4px;
}
.doc-todo {
    color: var(--text-muted);
    font-style: italic;
}
/* Real form controls on top of the design's look */
input.input,
textarea.input {
    width: 100%;
    box-sizing: border-box;
    border: 0;
    font: 400 15px var(--font-ui);
}
input.input::placeholder,
textarea.input::placeholder,
.help-search input::placeholder {
    color: var(--text-faint);
}
.web-check {
    cursor: pointer;
}
.web-check .box .i {
    visibility: hidden;
}
.web-check input:checked + .box {
    background: var(--primary-fill);
    box-shadow: none;
    color: var(--on-primary);
}
.web-check input:checked + .box .i {
    visibility: visible;
}
.web-check input:focus-visible + .box {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
}
.del-form {
    display: grid;
    gap: 14px;
}
.btn-danger {
    background: var(--danger);
    color: #fff;
}
.btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
.help-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: none;
    outline: none;
    color: var(--text);
    font: 400 15px var(--font-ui);
}
.help-count {
    min-height: 20px;
    margin: 8px 0 0;
    font-size: 13px;
    color: var(--text-muted);
}
@media print {
    .site-nav,
    .doc-toc,
    .doc-tabs,
    .site-foot {
        display: none;
    }
}
