:root {
    --bg: #e9eef5;
    --surface: #ffffff;
    --surface-muted: #f3f6fb;
    --text: #0f1b2d;
    --muted: #435063;
    --line: #dbe4ef;
    --brand: #11366a;
    --brand-strong: #0b2347;
    --accent: #1d92ff;
    --accent-soft: #eaf4ff;
    --success: #117a5d;
    --shadow-soft: 0 16px 34px rgba(15, 26, 45, 0.1);
    --shadow-strong: 0 24px 56px rgba(15, 26, 45, 0.14);
    --radius-xl: 20px;
    --radius-lg: 14px;
    --radius-md: 10px;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", "Helvetica Neue", sans-serif;
    color: var(--text);
    background: var(--bg);
}

main {
    padding: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

p,
li,
small,
label,
input,
textarea,
button,
select {
    font: inherit;
}

p {
    margin: 0 0 1rem;
    color: var(--muted);
    line-height: 1.68;
}

h1,
h2,
h3,
h4 {
    margin: 0 0 0.75rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
}

h1 {
    font-size: clamp(2.35rem, 5.2vw, 3.95rem);
}

h2 {
    font-size: clamp(1.7rem, 3vw, 2.5rem);
}

h3 {
    font-size: 1.25rem;
}

h4 {
    font-size: 1rem;
    letter-spacing: 0;
}

.site-frame {
    max-width: var(--max);
    margin: 0 auto;
    background: #ffffff;
    border-radius: calc(var(--radius-xl) + 4px);
    box-shadow: var(--shadow-strong);
    overflow: clip;
}

.consent-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 140;
    padding: 0;
    background: transparent;
}

.consent-banner-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.9rem 1rem;
    align-items: center;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(17, 54, 106, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 14px 32px rgba(15, 26, 45, 0.16);
}

.consent-copy {
    min-width: 0;
}

.consent-title {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--brand-strong);
    font-size: 0.86rem;
    font-weight: 800;
}

.consent-banner-inner p {
    margin: 0;
    max-width: 58ch;
    font-size: 0.88rem;
    line-height: 1.45;
    color: #4a5970;
}

.consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: flex-end;
    align-items: center;
}

.consent-actions form {
    margin: 0;
}

.consent-actions .cta-ghost,
.consent-actions .cta-secondary {
    min-height: 38px;
    padding: 0.65rem 0.95rem;
    border-radius: 10px;
    font-size: 0.8rem;
    white-space: nowrap;
}

.consent-actions .cta-ghost {
    background: #f6f8fb;
    border-color: rgba(17, 54, 106, 0.12);
}

.consent-actions .cta-secondary {
    background: #0d4fb3;
}

@media (max-width: 759px) {
    .consent-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }

    .consent-banner-inner {
        grid-template-columns: 1fr;
        gap: 0.7rem;
        padding: 0.85rem;
        border-radius: 14px;
    }

    .consent-banner-inner p {
        font-size: 0.84rem;
        line-height: 1.45;
    }

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

    .consent-actions > form,
    .consent-actions > a,
    .consent-actions > button {
        width: 100%;
    }

    .consent-actions .cta-ghost,
    .consent-actions .cta-secondary {
        min-height: 38px;
        width: 100%;
        padding: 0.68rem 0.8rem;
        white-space: normal;
    }
}

@media (max-width: 479px) {
    .consent-actions {
        grid-template-columns: 1fr;
    }
}

.container {
    width: min(100%, calc(var(--max) - 3rem));
    margin: 0 auto;
}

.container-980 {
    max-width: 980px;
}

.section {
    padding: 3.5rem 1rem;
}

.section + .section {
    border-top: 1px solid var(--line);
}

@media (max-width: 759px) {
    .section {
        padding: 2rem 0.75rem;
    }
}

.surface-alt {
    background: #edf2f7;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-head {
    max-width: 760px;
    margin-bottom: 1.7rem;
    display: grid;
    gap: 0.35rem;
}

.section-eyebrow {
    background: #edf3fb;
    color: var(--brand);
}

.grid {
    display: grid;
    gap: 1rem;
}

.grid-3,
.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
    padding: 1.3rem;
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: 0 14px 30px rgba(15, 26, 45, 0.12);
    border: 1px solid rgba(17, 54, 106, 0.16);
}

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

.card-strong {
    background: linear-gradient(180deg, #fff, #f8fafc);
}

.card-soft {
    background: var(--surface-muted);
}

.location-kicker {
    display: inline-flex;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: #edf3fb;
    color: var(--brand);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.cta,
.cta-secondary,
.cta-ghost,
button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.72rem 1.05rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.875rem;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.cta {
    background: #0b2347;
    color: #fff;
}

.cta-secondary {
    background: #005fcc;
    color: #fff;
}

.cta-ghost {
    background: #ffffff;
    color: #0b2347;
    border: 1px solid rgba(11, 35, 71, 0.24);
}

button {
    border: 1px solid transparent;
    background: #0b2347;
    color: #fff;
    cursor: pointer;
}

.cta:hover,
.cta-secondary:hover,
.cta-ghost:hover,
button:hover {
    transform: translateY(-1px);
}

.hero {
    padding: 1rem;
    background: #10294f;
    color: #fff;
}

.hero-shell {
    border-radius: var(--radius-xl);
    padding: 1rem;
    background: transparent;
}

.hero-grid {
    display: grid;
    gap: 1rem;
}

.hero-side {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.hero-copy p {
    color: rgba(255, 255, 255, 0.86);
    max-width: 62ch;
}

.hero-trust-list {
    display: grid;
    gap: 0.45rem;
    margin: 0.85rem 0 0;
    padding: 0;
    list-style: none;
}

.hero-trust-list li {
    position: relative;
    padding-left: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.hero-trust-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.38rem;
    height: 0.38rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
}

.hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 1rem;
}

.hero-search {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-search form {
    display: grid;
    gap: 0.75rem;
}

.hero-search label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
}

.hero-search-row {
    display: grid;
    gap: 0.75rem;
}

.hero-search input,
.form-card input,
.form-card select,
.form-card textarea,
.filter-card input,
.filter-card select,
.inline-input {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0.78rem 0.95rem;
    background: #fff;
    color: var(--text);
}

.form-card select,
.filter-card select {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--brand) 50%),
        linear-gradient(135deg, var(--brand) 50%, transparent 50%);
    background-position:
        calc(100% - 18px) calc(50% - 3px),
        calc(100% - 12px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 2.5rem;
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus,
.filter-card input:focus,
.filter-card select:focus,
.inline-input:focus,
.cta:focus,
.cta-secondary:focus,
.cta-ghost:focus,
button:focus {
    outline: 2px solid rgba(29, 146, 255, 0.35);
    outline-offset: 2px;
    border-color: rgba(17, 54, 106, 0.28);
}

.form-card {
    display: grid;
    gap: 0.75rem;
}

.form-card label {
    margin-bottom: -0.15rem;
    color: var(--brand-strong);
    font-weight: 700;
}

.page-two-col {
    display: grid;
    gap: 1rem;
}

.hero-note {
    margin: 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.78);
}

.decision-grid {
    display: grid;
    gap: 0.85rem;
    margin-top: 1rem;
}

.decision-card {
    display: grid;
    gap: 0.85rem;
    padding: 1.15rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.decision-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    margin-bottom: 0.55rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.decision-icon svg {
    width: 1.2rem;
    height: 1.2rem;
}

.decision-kicker {
    display: inline-flex;
    margin-bottom: 0.45rem;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.decision-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
}

.decision-card-strong {
    background: rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.stats-strip {
    display: grid;
    gap: 0.85rem;
    margin-top: 1rem;
}

.topbar,
.site-footer {
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.84);
}

.topbar-inner,
.site-footer-inner {
    display: grid;
    gap: 1rem;
    align-items: center;
}

.brand-lockup strong,
.brand-lockup span,
.brand-lockup small {
    display: block;
}

.brand-lockup strong {
    color: var(--brand-strong);
    font-size: 1.125rem;
    letter-spacing: -0.02em;
}

.brand-lockup small,
.brand-lockup span {
    color: var(--brand);
    line-height: 1.3;
    font-size: 0.875rem;
    font-weight: 700;
}

.nav-links,
.footer-links {
    display: flex;
    gap: 0.75rem;
}

.nav-links {
    align-items: center;
}


.nav-links a,
.footer-links a {
    padding: 0.4rem 0.68rem;
    border-radius: 999px;
    color: var(--brand);
    font-weight: 700;
    font-size: 0.875rem;
}

.footer-links {
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-left: auto;
}

.footer-links a {
    background: transparent;
    padding: 0;
    border-radius: 0;
}

.site-footer p {
    margin: 0;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 1rem;
}

.tag {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--brand);
    font-size: 0.75rem;
    font-weight: 700;
}

.box-inset {
    padding: 1.2rem;
    border-radius: var(--radius-lg);
    background: #f5f8fc;
    border: 1px solid rgba(17, 54, 106, 0.08);
}

.contact-highlight {
    padding: 1.1rem 1.15rem;
    border-radius: 18px;
}

.contact-highlight,
.contact-summary-card {
    align-content: start;
}

.box-inset strong {
    color: var(--brand-strong);
}

.contact-list,
.bullet-list,
.plain-list,
.faq-list {
    display: grid;
    gap: 0.7rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-list li,
.bullet-list li,
.plain-list li,
.faq-list li {
    color: var(--muted);
    line-height: 1.6;
}

.bullet-list li {
    position: relative;
    padding-left: 1rem;
}

.bullet-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 999px;
    background: var(--brand);
}

.crumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.crumb a {
    color: var(--brand);
    font-weight: 700;
}

.service-pillars {
    display: grid;
    gap: 1rem;
}

.service-pillar {
    padding: 1rem;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid rgba(17, 54, 106, 0.08);
    box-shadow: 0 14px 30px rgba(15, 26, 45, 0.08);
}

.inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table th,
.info-table td {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.field-error {
    display: block;
    margin: -0.35rem 0 0;
    color: #b42318;
    font-size: 0.875rem;
    font-weight: 600;
}

a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible {
    outline: 2px solid rgba(29, 146, 255, 0.4);
    outline-offset: 3px;
}

.check-row {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    color: var(--muted);
    line-height: 1.5;
}

.check-row input[type="checkbox"] {
    width: 1.05rem;
    min-width: 1.05rem;
    height: 1.05rem;
    min-height: 1.05rem;
    margin-top: 0.18rem;
    accent-color: var(--brand);
    border-radius: 4px;
}

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

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

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.directory {
    display: grid;
    gap: 0.9rem;
}

.directory-list {
    display: grid;
    gap: 0.9rem;
}

.directory-item {
    display: grid;
    gap: 0.85rem;
    padding: 1.25rem 1.4rem;
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid rgba(17, 54, 106, 0.12);
    box-shadow: 0 16px 42px rgba(15, 26, 45, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.directory-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 56px rgba(15, 26, 45, 0.1);
}

.directory-item-main h3 {
    margin: 0.35rem 0 0.15rem;
    font-size: 1.35rem;
}

.directory-item-subline {
    margin: 0;
    color: var(--brand);
    font-weight: 700;
    font-size: 0.925rem;
}

.directory-item-info {
    display: grid;
    gap: 0.65rem;
    font-size: 0.95rem;
}

.directory-item-info p {
    margin: 0;
    line-height: 1.5;
}

.directory-services-preview {
    font-size: 0.875rem;
    color: var(--muted);
    padding: 0.65rem 0.85rem;
    background: #f8fbff;
    border-radius: 10px;
}

.directory-item-actions {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.45rem;
}

.directory-item-actions .cta,
.directory-item-actions .cta-secondary,
.directory-item-actions .cta-ghost {
    min-width: 0;
    padding: 0.6rem 1.15rem;
}

.directory-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.directory-chip {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    background: #edf3fb;
    color: var(--brand);
    font-size: 0.75rem;
    font-weight: 700;
}

.directory-chip-strong {
    background: #0b2347;
    color: #fff;
}

.directory-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    background: #edf3fb;
    color: var(--brand);
    font-size: 0.75rem;
    font-weight: 700;
}

.directory-title-row,
.directory-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: space-between;
}

.directory-status {
    color: var(--brand-strong);
    font-weight: 700;
    font-size: 0.875rem;
}

.directory-note,
.directory-empty {
    margin: 0;
}

.filter-card {
    display: grid;
    gap: 0.75rem;
}

.filter-label {
    font-weight: 700;
    color: var(--brand-strong);
}

.filter-row {
    display: grid;
    gap: 0.75rem;
}

.filter-row input,
.filter-row select {
    margin: 0;
}

.fill-height {
    height: 100%;
}

.location-kicker-light {
    color: #fff;
}

.mt-1 {
    margin-top: 1rem;
}

.hero-compact {
    padding: 1rem;
}

.crumb-light {
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 1rem;
}

.crumb-light a,
.text-white {
    color: #fff;
}

@media (max-width: 759px) {
    h1 {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    h2 {
        font-size: clamp(1.55rem, 7vw, 2rem);
    }

    main {
        padding: 0.45rem;
    }

    .container {
        width: min(100%, calc(var(--max) - 1.5rem));
    }

    .topbar,
    .site-footer,
    .section,
    .hero {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .section {
        padding-top: 1.55rem;
        padding-bottom: 1.55rem;
    }

    .topbar-inner,
    .site-footer-inner {
        gap: 0.75rem;
    }

    .brand-lockup strong {
        font-size: 1rem;
    }

    .brand-lockup small,
    .brand-lockup span {
        font-size: 0.8rem;
    }

    .nav-links {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.45rem;
        width: 100%;
    }

    .nav-links a {
        justify-content: center;
        min-height: 38px;
        padding: 0.38rem 0.45rem;
        font-size: 0.75rem;
        text-align: center;
    }

    .hero-actions .cta,
    .hero-actions .cta-secondary,
    .hero-actions .cta-ghost,
    .form-card > .cta,
    .form-card > .cta-secondary,
    .form-card > .cta-ghost,
    .directory-item-actions .cta,
    .directory-item-actions .cta-secondary,
    .directory-item-actions .cta-ghost {
        width: 100%;
        min-width: 0;
    }

    .footer-links {
        width: 100%;
        gap: 0.55rem 1rem;
    }
}

@media (max-width: 479px) {
    .nav-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nav-links a {
        font-size: 0.75rem;
        padding: 0.36rem 0.4rem;
    }

    .hero,
    .section,
    .topbar,
    .site-footer {
        padding-left: 0.6rem;
        padding-right: 0.6rem;
    }

    .hero-shell {
        padding: 0.85rem;
    }

    .hero-copy p,
    .hero-trust-list li,
    p {
        line-height: 1.55;
    }

    .hero-copy h1 {
        max-width: 12ch;
    }

    .section-head {
        margin-bottom: 1.35rem;
    }
}

@media (min-width: 760px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
        align-items: start;
    }

    .page-two-col {
        grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
        align-items: start;
    }

    .topbar-inner {
        grid-template-columns: auto 1fr;
    }

    .site-footer-inner {
        grid-template-columns: minmax(220px, auto) 1fr;
    }

    .filter-row {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
    }

    .hero-actions,
    .hero-search-row,
    .decision-grid,
    .stats-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .topbar-inner,
    .site-footer-inner {
        align-items: center;
    }

    .nav-links {
        justify-content: flex-end;
    }

    .footer-links {
        justify-self: end;
        justify-content: flex-end;
        gap: 1rem;
    }

    .hero-side .decision-grid {
        grid-template-columns: 1fr;
    }

    .hero-side {
        padding-left: 0.25rem;
    }

    .directory-item {
        grid-template-columns: 1fr auto;
        gap: 1.5rem;
        align-items: center;
    }

    .directory-item-actions {
        margin-top: 0;
        flex-direction: column;
    }
}

@media (min-width: 980px) {
    .hero-actions,
    .hero-search-row,
    .decision-grid,
    .stats-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.pagination-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.25rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface-muted);
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-weight: 700;
}

.pagination-link-disabled {
    background: #dbe4ef;
    color: var(--muted);
}

.pagination-state {
    color: var(--muted);
    font-weight: 700;
}

.split-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.stack-list {
    display: grid;
    gap: 1rem;
}

.stack-item {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}

.stack-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.meta-line {
    margin: 0 0 0.45rem;
    color: var(--muted);
    font-size: 0.875rem;
    font-weight: 700;
}

.container-narrow {
    max-width: 760px;
}

.rich-copy {
    display: grid;
    gap: 0.9rem;
    margin-top: 1rem;
}

.rich-copy p {
    margin: 0;
}

.meta-stack {
    display: grid;
    gap: 0.7rem;
    margin: 1rem 0 0;
}

.meta-stack dt {
    font-weight: 700;
    color: var(--muted);
}

.meta-stack dd {
    margin: 0.2rem 0 0;
}

#back-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    box-shadow: 0 4px 16px rgba(15, 26, 45, 0.24);
    z-index: 50;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

#back-top.visible {
    opacity: 1;
    pointer-events: auto;
}

#back-top:hover {
    transform: translateY(-2px);
    background: var(--brand-strong);
}

#back-top svg {
    width: 1.1rem;
    height: 1.1rem;
}
