:root {
    --bg: #f6f9fb;
    --surface: #ffffff;
    --surface-soft: #edf7f5;
    --surface-blue: #edf4fb;
    --ink: #152126;
    --body: #33454c;
    --muted: #66787f;
    --line: #d7e2e7;
    --blue: #225ca8;
    --blue-dark: #173f75;
    --teal: #0f766e;
    --teal-dark: #0b5c56;
    --amber: #916516;
    --danger: #9b332d;
    --shadow: 0 18px 42px rgba(21, 33, 38, 0.08);
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--blue);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--teal);
}

img,
svg {
    max-width: 100%;
    height: auto;
}

button,
input,
textarea {
    font: inherit;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    z-index: 1000;
    padding: 0.75rem 1rem;
    background: var(--ink);
    color: #ffffff;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
}

.wrap {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.top-banner {
    background: #10191d;
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 750;
    text-align: center;
}

.top-banner .wrap {
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.nav-row {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--ink);
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
}

.brand:hover {
    color: var(--ink);
}

.brand-mark {
    width: 36px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--blue), var(--teal));
    color: #ffffff;
    font-weight: 900;
}

.brand-text strong {
    color: var(--teal);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
    font-weight: 700;
}

.nav-links a {
    padding: 0.35rem 0;
    color: var(--body);
    text-decoration: none;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
    color: var(--teal);
    border-bottom-color: var(--teal);
}

.menu-button {
    display: none;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--ink);
    min-height: 42px;
    padding: 0.55rem 0.75rem;
    font-weight: 800;
    cursor: pointer;
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
}

.menu-lines {
    position: relative;
}

.menu-lines::before,
.menu-lines::after {
    content: "";
    position: absolute;
    left: 0;
}

.menu-lines::before {
    top: -6px;
}

.menu-lines::after {
    top: 6px;
}

main {
    min-height: 64vh;
}

.hero {
    padding: clamp(3.25rem, 7vw, 6.25rem) 0;
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(135deg, rgba(34, 92, 168, 0.1), rgba(15, 118, 110, 0.1)),
        var(--bg);
}

.section {
    padding: clamp(2.75rem, 5vw, 5rem) 0;
}

.section-tight {
    padding: clamp(2.25rem, 4vw, 3.75rem) 0;
}

.section-white {
    background: var(--surface);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.article {
    width: min(780px, calc(100% - 32px));
    margin: 0 auto;
}

.article-wide {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.grid-2,
.grid-3,
.grid-4 {
    display: grid;
    gap: 1.25rem;
}

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.align-start {
    align-items: start;
}

h1,
h2,
h3,
h4 {
    margin: 0 0 0.75rem;
    line-height: 1.15;
    letter-spacing: 0;
}

h1 {
    max-width: 940px;
    font-size: clamp(2.35rem, 5vw, 4.35rem);
}

h2 {
    font-size: clamp(1.75rem, 3vw, 2.55rem);
}

h3 {
    font-size: 1.23rem;
}

h4 {
    font-size: 1rem;
}

p {
    margin: 0 0 1rem;
    color: var(--body);
}

.lead {
    max-width: 780px;
    color: var(--body);
    font-size: clamp(1.08rem, 2vw, 1.25rem);
}

.eyebrow {
    margin: 0 0 0.7rem;
    color: var(--teal);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.small {
    font-size: 0.92rem;
}

.mini {
    font-size: 0.82rem;
}

.muted {
    color: var(--muted);
}

.panel,
.card,
.notice,
.toc,
.contact-form,
.faq-item,
.stat {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.panel,
.card,
.notice,
.toc,
.contact-form,
.faq-item,
.stat {
    padding: 1.25rem;
}

.panel.strong {
    border-color: rgba(15, 118, 110, 0.28);
    box-shadow: var(--shadow);
}

.notice {
    background: var(--surface-soft);
    border-color: rgba(15, 118, 110, 0.24);
}

.notice.warning {
    background: #fff8eb;
    border-color: rgba(145, 101, 22, 0.35);
}

.notice.danger {
    background: #fff2f0;
    border-color: rgba(155, 51, 45, 0.28);
}

.card {
    height: 100%;
}

.card h3,
.panel h3,
.faq-item h3 {
    margin-top: 0;
}

.card-link {
    display: inline-flex;
    margin-top: 0.35rem;
    font-weight: 800;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.72rem 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--ink);
    font-weight: 850;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
}

.button:hover {
    border-color: var(--teal);
    color: var(--teal);
}

.button.primary {
    background: var(--teal);
    border-color: var(--teal);
    color: #ffffff;
}

.button.primary:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: #ffffff;
}

.kicker-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 1.2rem 0 0;
    padding: 0;
    list-style: none;
}

.kicker-list li {
    padding: 0.36rem 0.72rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--body);
    font-size: 0.9rem;
    font-weight: 650;
}

.check-list,
.plain-list {
    margin: 0.75rem 0 0;
    padding-left: 1.2rem;
    color: var(--body);
}

.check-list li,
.plain-list li {
    margin-bottom: 0.45rem;
}

.step-list {
    counter-reset: steps;
    display: grid;
    gap: 0.9rem;
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
}

.step-list li {
    counter-increment: steps;
    position: relative;
    padding: 1rem 1rem 1rem 3.35rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--body);
}

.step-list li::before {
    content: counter(steps);
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 1.55rem;
    height: 1.55rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--surface-soft);
    color: var(--teal);
    font-size: 0.84rem;
    font-weight: 900;
}

.toc ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem 1rem;
    margin: 0.35rem 0 0;
    padding-left: 1.1rem;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

table {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
    font-size: 0.94rem;
}

th,
td {
    padding: 0.85rem 0.95rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

th {
    background: var(--surface-blue);
    color: var(--ink);
    font-size: 0.82rem;
    font-weight: 850;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

tr:last-child td {
    border-bottom: 0;
}

.stat strong {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--ink);
    font-size: 1.55rem;
    line-height: 1;
}

.business-list {
    display: grid;
    gap: 0.85rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.business-list li {
    padding: 0.85rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--body);
}

.faq-list {
    display: grid;
    gap: 0.9rem;
    margin-top: 1.2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.field {
    margin-bottom: 1rem;
}

label {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--ink);
    font-weight: 800;
}

input,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    color: var(--ink);
    padding: 0.78rem 0.85rem;
}

textarea {
    min-height: 170px;
    resize: vertical;
}

input:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
    outline: 3px solid rgba(15, 118, 110, 0.2);
    outline-offset: 2px;
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-status {
    margin-bottom: 1rem;
}

.site-footer {
    margin-top: 4rem;
    background: #10191d;
    color: #eaf2f4;
}

.site-footer p,
.site-footer a,
.site-footer li {
    color: #c9d6da;
}

.site-footer a:hover {
    color: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(150px, 0.8fr) minmax(150px, 0.8fr) minmax(220px, 1.3fr);
    gap: 2rem;
    padding: 3rem 0;
}

.footer-brand {
    color: #ffffff;
}

.footer-brand:hover {
    color: #ffffff;
}

.footer-title {
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-list {
    margin: 0.75rem 0 0;
    padding: 0;
    list-style: none;
}

.footer-list li {
    margin-bottom: 0.5rem;
}

.footer-disclaimer {
    color: #ffffff;
    font-weight: 800;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding: 1rem 0 1.5rem;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.82rem;
}

@media (max-width: 980px) {
    .grid-2,
    .grid-3,
    .grid-4,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .menu-button {
        display: inline-flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 16px;
        right: 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.7rem;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: var(--surface);
        box-shadow: var(--shadow);
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-links a {
        padding: 0.75rem;
        border-bottom: 0;
        border-radius: var(--radius);
    }

    .nav-links a:hover,
    .nav-links a[aria-current="page"] {
        background: var(--surface-soft);
    }

    .toc ul,
    .form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .wrap,
    .article,
    .article-wide {
        width: min(100% - 24px, 1120px);
    }

    .button {
        width: 100%;
    }

    table {
        min-width: 640px;
    }

    .brand-text {
        white-space: normal;
    }
}

/* === Compliance refactor additions === */

/* Two-letter brand mark sized to fit "OE" comfortably */
.brand-mark {
    width: 44px;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

/* Articles list — visual signal of editorial library */
.articles-list .article-card {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.article-card .article-meta {
    color: var(--muted);
    font-size: 0.85rem;
    margin: 0 0 0.25rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.article-card h3 {
    margin: 0;
    line-height: 1.3;
}

.article-card .card-link {
    margin-top: auto;
}

/* Strong "no service" block — used on home, about, contact, footer, articles */
.section-no-service {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.no-service-block {
    border: 2px solid var(--danger);
    background: #fff7f5;
    border-radius: var(--radius);
    padding: 1.5rem 1.5rem;
    color: var(--ink);
}

.no-service-block.prominent {
    padding: 2rem 2rem;
    box-shadow: var(--shadow);
    background: linear-gradient(180deg, #fff7f5 0%, #ffffff 100%);
}

.no-service-block .eyebrow {
    color: var(--danger);
}

.no-service-block h2 {
    margin: 0.25rem 0 0.85rem 0;
    color: var(--danger);
    line-height: 1.25;
}

.no-service-block p {
    margin: 0.5rem 0;
}

.no-service-block .small {
    color: var(--muted);
    font-size: 0.9rem;
}

.no-service-list {
    list-style: none;
    margin: 0.5rem 0 0.85rem 0;
    padding: 0;
    display: grid;
    gap: 0.4rem;
}

.no-service-list li {
    position: relative;
    padding-left: 1.5rem;
    font-weight: 600;
    color: var(--ink);
}

.no-service-list li::before {
    content: "✕";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--danger);
    font-weight: 900;
}

/* Footer no-service block — slightly tighter spacing */
.site-footer .no-service-block {
    margin: 1.5rem 0 0 0;
}

/* Contact page — email link styling */
.contact-email-line {
    font-size: 1.05rem;
    margin: 0.85rem 0;
}

.contact-email {
    font-weight: 800;
    word-break: break-all;
}


/* No-service footnote (domain-override paragraph after list) */
.no-service-footnote {
    margin: 0.85rem 0 0 0;
    padding: 0.85rem 1rem;
    border-left: 3px solid var(--danger);
    background: #fff7f5;
    font-size: 0.95rem;
    color: #2a2a2a;
    line-height: 1.55;
}

.no-service-block.prominent .no-service-footnote {
    background: #fff;
    border-left-color: var(--danger);
}

/* Editorial-only positioning section on homepage */
.section-editorial-only {
    padding: 1.25rem 0 0.5rem 0;
}

.section-editorial-only .panel.strong h2 {
    margin-top: 0.25rem;
}

/* Top banner v3 — multi-line emphasis */
.top-banner strong {
    display: inline;
    font-weight: 800;
}

.top-banner-sub {
    display: block;
    margin-top: 0.15rem;
    opacity: 0.92;
    font-weight: 500;
}

/* Domain-override banner (above-the-fold strip on homepage) */
.domain-override-banner {
    background: #fff7f5;
    border-top: 2px solid var(--danger);
    border-bottom: 2px solid var(--danger);
    padding: 1rem 0;
    margin: 0 0 0 0;
}

.domain-override-text {
    margin: 0;
    text-align: center;
    color: #2a2a2a;
    font-size: 1.02rem;
    line-height: 1.55;
}

.domain-override-text strong {
    color: var(--danger);
    display: inline-block;
    margin-right: 0.4rem;
}
