:root {
    --bg: #f6f8f5;
    --surface: #ffffff;
    --surface-2: #edf1eb;
    --ink: #14181d;
    --ink-2: #41474f;
    --ink-3: #5f646b;
    --line: #e4e6e1;
    --accent: #1d5c3f;
    --accent-strong: #154730;
    --accent-soft: #e8f1ec;
    --on-accent: #ffffff;
    --gold: #b08742;
    --shadow: rgba(20, 24, 29, 0.08);
    --line-strong: #8a8f86;
    --measure: 680px;
    --wide: 1120px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #111412;
        --surface: #1a1f1c;
        --surface-2: #151916;
        --ink: #ecefea;
        --ink-2: #c3c8c1;
        --ink-3: #9aa39c;
        --line: #2b322d;
        --accent: #5fb48a;
        --accent-strong: #7cc8a1;
        --accent-soft: #18271f;
        --on-accent: #0f1a14;
        --gold: #c9a35e;
        --shadow: rgba(0, 0, 0, 0.4);
        --line-strong: #6b746d;
    }
}

/* -------------------------------------------------
   3. Font Faces
   ------------------------------------------------- */
@font-face {
    font-family: "Public Sans";
    src: url("/assets/fonts/public-sans-latin-wght-normal.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Source Serif 4";
    src: url("/assets/fonts/source-serif-4-latin-wght-normal.woff2") format("woff2");
    font-weight: 200 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Source Serif 4";
    src: url("/assets/fonts/source-serif-4-latin-wght-italic.woff2") format("woff2");
    font-weight: 200 900;
    font-style: italic;
    font-display: swap;
}

/* -------------------------------------------------
   4. Global Resets & Base Styles
   ------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-padding-top: 80px;
}
body {
    margin: 0;
    min-height: 100vh;
    font-family: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--ink-2);
    background: var(--bg);
    font-feature-settings: "tnum" 0;
}

/* -------------------------------------------------
   5. Utility Classes
   ------------------------------------------------- */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* -------------------------------------------------
   6. Skip Link
   ------------------------------------------------- */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.skip-link:focus {
    left: 1rem;
    top: 1rem;
    width: auto;
    height: auto;
    background: var(--accent);
    color: var(--on-accent);
    padding: 8px 16px;
    border-radius: 999px;
    z-index: 1000;
    outline: none;
}

/* -------------------------------------------------
   7. Layout – Header & Footer
   ------------------------------------------------- */
.top-bar {
    position: sticky;
    top: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    z-index: 10;
}
.top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--wide);
    height: 64px;
    margin: 0 auto;
    padding: 0 20px;
}
@media (max-width: 420px) {
    .top-inner {
        height: 56px;
        padding: 0 16px;
    }
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--ink);
    font-weight: 650;
    font-size: 18px;
    font-family: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}
@media (max-width: 420px) {
    .brand-name {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
        border: 0;
    }
}
.top-nav {
    display: flex;
    gap: 8px;
    align-items: center;
}
@media (max-width: 420px) {
    .top-nav {
        gap: 4px;
    }
}
.nav-item,
.nav-about,
.nav-enterprise,
.nav-cases {
    font-size: 15px;
    font-weight: 500;
    color: var(--ink-2);
    padding: 10px 12px;
    min-height: 40px;
    border: none;
    background: transparent;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    font-family: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
@media (max-width: 420px) {
    .nav-item,
    .nav-about,
    .nav-enterprise,
    .nav-cases {
        font-size: 14px;
        padding: 8px 10px;
        min-height: 40px;
    }
}
.nav-item:hover,
.nav-about:hover,
.nav-enterprise:hover,
.nav-cases:hover,
.nav-item:focus-visible,
.nav-about:focus-visible,
.nav-enterprise:focus-visible,
.nav-cases:focus-visible {
    background: var(--surface-2);
    color: var(--ink);
}
.nav-about[aria-expanded="true"],
.nav-enterprise[aria-expanded="true"] {
    background: var(--surface-2);
    color: var(--ink);
}
.nav-cases {
    border: 1px solid var(--line);
    color: var(--ink);
}

/* -------------------------------------------------
   8. About Panel
   ------------------------------------------------- */
.about-panel {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 1px 2px var(--shadow), 0 8px 24px var(--shadow);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    z-index: 9;
}
.about-panel[hidden] {
    display: none;
}
.about-panel:not([hidden]) {
    display: block;
}
@media (max-width: 420px) {
    .about-panel {
        max-height: calc(100vh - 56px);
    }
}
.about-inner {
    max-width: var(--measure);
    margin: 0 auto;
    padding: 8px 20px 24px;
}
.about-item {
    border-top: 1px solid var(--line);
}
.about-item:first-child {
    border-top: none;
}
.about-sum {
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
    padding: 16px 0;
    cursor: pointer;
    list-style: none;
}
.about-sum::-webkit-details-marker {
    display: none;
}
.about-sum::before {
    content: "+";
    display: inline-block;
    width: 1.5rem;
    transition: transform 0.15s;
}
details[open] .about-sum::before {
    content: "−";
}
.about-body {
    font-size: 16px;
    color: var(--ink-2);
    padding: 0 0 20px;
}
.about-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}
.about-nav a {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 15px;
    color: var(--ink-2);
    text-decoration: none;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
}
.about-nav a:hover,
.about-nav a:focus-visible {
    background: var(--surface-2);
    color: var(--ink);
}

/* -------------------------------------------------
   9. Main Content Wrapper
   ------------------------------------------------- */
.wrap {
    max-width: var(--measure);
    margin: 0 auto;
    padding: 48px 20px 64px;
}
@media (min-width: 600px) {
    .wrap {
        padding: 64px 24px 96px;
    }
}
.page-home .hero {
    max-width: var(--measure);
    margin: 0 auto;
    padding: 48px 20px 64px;
}
@media (min-width: 600px) {
    .page-home .hero {
        padding: 64px 24px 96px;
        min-height: calc(100vh - 64px);
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}
.page-about .longform,
.page-new .wrap,
.page-carried .wrap,
.page-archived .wrap {
    /* Specific styles for different page types */
}

/* -------------------------------------------------
   10. Hero / Home Page
   ------------------------------------------------- */
.hero .lead {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 32px;
}
@media (min-width: 600px) {
    .hero .lead {
        padding: 28px;
    }
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
}
.card-title {
    font-size: 21px;
    font-weight: 600;
    color: var(--ink);
    margin-top: 12px;
}
.card-proof {
    font-size: 15px;
    color: var(--ink-3);
    margin: 4px 0 12px;
}
.card-text {
    font-size: 16px;
    color: var(--ink-2);
    margin-top: 8px;
}
.lead-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

/* -------------------------------------------------
   11. Buttons (shared)
   ------------------------------------------------- */
.btn,
.plan-btn,
.cta-btn,
.notify-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    font-family: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.btn:hover,
.plan-btn:hover,
.cta-btn:hover,
.notify-btn:hover {
    border-color: var(--ink-3);
}
.btn-primary,
.plan-btn:first-of-type,
.cta-btn,
.notify-btn {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--on-accent);
}
.btn-primary:hover,
.plan-btn:first-of-type:hover,
.cta-btn:hover,
.notify-btn:hover {
    background: var(--accent-strong);
    border-color: var(--accent-strong);
}
.btn:focus-visible,
.plan-btn:focus-visible,
.cta-btn:focus-visible,
.notify-btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* -------------------------------------------------
   12. Question Box
   ------------------------------------------------- */
.ask-title {
    font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
    font-weight: 600;
    font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem);
    line-height: 1.15;
    letter-spacing: -0.015em;
    margin: 0 0 20px;
    text-align: center;
    color: var(--ink);
}
.ask-sub {
    font-size: 19px;
    line-height: 1.55;
    color: var(--ink-2);
    text-align: center;
    max-width: 34em;
    margin: 0 auto 24px;
}
@media (max-width: 420px) {
    .ask-sub {
        font-size: 16px;
    }
}
.ask-box {
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: 20px;
    padding: 16px 16px 12px;
    box-shadow: 0 1px 2px var(--shadow), 0 8px 24px var(--shadow);
    transition: border-color 0.15s;
}
.ask-box:focus-within {
    border-color: var(--accent);
}
.ask-input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: var(--ink);
    font-size: 18px;
    line-height: 1.5;
    min-height: 3em;
    resize: none;
    padding: 0;
    font-family: inherit;
}
.ask-input::placeholder {
    color: var(--ink-3);
}
.ask-input:focus {
    outline: none;
}
.ask-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}
.ask-hint {
    font-size: 14px;
    color: var(--ink-3);
    flex: 1;
}
.ask-send {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 999px;
    background: var(--accent);
    color: var(--on-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: opacity 0.15s;
}
.ask-send[disabled] {
    opacity: 0.35;
    cursor: not-allowed;
}
.ask-arrow {
    width: 20px;
    height: 20px;
}

/* -------------------------------------------------
   13. Facts List
   ------------------------------------------------- */
.facts {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}
.facts li {
    font-size: 13px;
    color: var(--ink-2);
    background: var(--surface-2);
    padding: 6px 12px;
    border-radius: 999px;
    font-variant-numeric: tabular-nums;
}

/* -------------------------------------------------
   14. Live Line
   ------------------------------------------------- */
.live-line {
    font-size: 15px;
    color: var(--ink-3);
    margin: 16px 0 0;
    text-align: center;
}
.live-line a {
    color: var(--ink-2);
    text-underline-offset: 3px;
}

/* -------------------------------------------------
   15. Page Titles & Headings
   ------------------------------------------------- */
.page-title {
    font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
    font-weight: 600;
    font-size: 2rem;
    line-height: 1.12;
    letter-spacing: -0.01em;
    margin: 0 0 0.5em;
    color: var(--ink);
}
@media (min-width: 600px) {
    .page-title {
        font-size: 2.625rem;
    }
}
.page-lede {
    font-size: 19px;
    color: var(--ink-2);
    margin-bottom: 32px;
    line-height: 1.55;
}

/* -------------------------------------------------
   16. Long-form Content
   ------------------------------------------------- */
.longform {
    max-width: var(--measure);
    margin: 0 auto;
    padding: 48px 20px 64px;
}
@media (min-width: 600px) {
    .longform {
        padding: 64px 24px 96px;
    }
}
.about-section {
    margin-top: 48px;
}
.about-section h2 {
    font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
    font-weight: 600;
    font-size: 1.625rem;
    line-height: 1.25;
    color: var(--ink);
    margin: 0 0 16px;
}
.prose {
    font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
    font-size: 19px;
    line-height: 1.7;
    color: var(--ink-2);
    max-width: 680px;
}
.prose p {
    margin: 0 0 16px;
}
.prose ul,
.prose ol {
    margin: 0 0 16px;
    padding-left: 24px;
}
.prose li {
    margin-bottom: 8px;
}
.prose a {
    color: var(--accent);
    text-underline-offset: 3px;
}

/* -------------------------------------------------
   17. Back Story Body (About Panel)
   ------------------------------------------------- */
#about-where-we-sit .about-body,
#about-founding-ideals .about-body,
#about-story .about-body {
    font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
    font-size: 19px;
    line-height: 1.7;
    color: var(--ink-2);
}

/* -------------------------------------------------
   18. /work/ Page
   ------------------------------------------------- */
.work-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.work {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px;
}
@media (min-width: 600px) {
    .work {
        padding: 28px;
    }
}
.work[data-hidden="true"] {
    border-style: dashed;
}
.work-date {
    font-size: 14px;
    color: var(--ink-3);
    font-variant-numeric: tabular-nums;
    margin: 0;
}
.work-title {
    font-size: 21px;
    font-weight: 600;
    color: var(--ink);
    margin: 4px 0 12px;
}
.work-what,
.work-how {
    font-size: 17px;
    color: var(--ink-2);
    line-height: 1.6;
    margin: 0;
}
.work-how {
    margin-top: 12px;
}
.work-link {
    margin-top: 16px;
}
.work-link a {
    color: var(--accent);
    font-weight: 500;
    text-underline-offset: 3px;
}

/* -------------------------------------------------
   19. /live/ Page
   ------------------------------------------------- */
.live-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.live-list li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 12px;
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
}
.lv-label {
    font-weight: 500;
    color: var(--ink);
    flex: 0 0 auto;
}
.live-list li > [data-live-field] {
    font-variant-numeric: tabular-nums;
    color: var(--ink-2);
}
.live-list li > [data-live-asof] {
    font-size: 14px;
    color: var(--ink-3);
}
.lv-src {
    font-size: 13px;
    color: var(--ink-3);
    width: 100%;
}
.live-note {
    font-size: 14px;
    color: var(--ink-3);
    margin-top: 20px;
}

/* -------------------------------------------------
   20. Pricing / Plans
   ------------------------------------------------- */
.plans {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    width: min(var(--wide), calc(100vw - 48px));
    margin-left: 50%;
    transform: translateX(-50%);
}
@media (max-width: 900px) {
    .plans {
        flex-direction: column;
        width: 100%;
        margin-left: 0;
        transform: none;
    }
}
.plan {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px;
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
}
@media (min-width: 600px) {
    .plan {
        padding: 28px;
    }
}
.plan-name {
    font-size: 21px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
}
.plan-price {
    font-size: 33px;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
    margin: 8px 0;
}
.plan-alt {
    font-size: 15px;
    color: var(--ink-3);
    margin-bottom: 16px;
}
.plan-points {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}
.plan-points li {
    margin-bottom: 8px;
    font-size: 15px;
    color: var(--ink-2);
}
.plan-btn {
    margin-top: auto;
}

/* -------------------------------------------------
   21. Notify Card (Connectors page)
   ------------------------------------------------- */
.notify {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px;
    margin-top: 24px;
}
.notify-title {
    font-size: 21px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
}
.notify-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 4px;
}
.notify-input,
.notify-select {
    width: 100%;
    height: 44px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: var(--surface);
    color: var(--ink);
    font-size: 17px;
    padding: 0 12px;
    font-family: inherit;
}
.notify-input::placeholder,
.notify-select::placeholder {
    color: var(--ink-3);
}
.notify-msg {
    font-size: 15px;
    color: var(--ink-2);
    margin-top: 8px;
}

/* -------------------------------------------------
   22. Spam Trap
   ------------------------------------------------- */
.hp {
    display: none;
}

/* -------------------------------------------------
   23. Article / Carried & Archived Content
   ------------------------------------------------- */
.article,
.article-body {
    max-width: var(--measure);
}
.article-body {
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink-2);
}
.section {
    /* Generic section styling */
}
.aeo-q {
    font-size: 1.3125rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
}
.kv {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 12px;
    margin: 12px 0;
}
.kv dt {
    font-weight: 600;
    color: var(--ink);
}
.kv dd {
    margin: 0;
    color: var(--ink-2);
}
.article-cta {
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px;
    margin-top: 24px;
}
.article-cta-text {
    font-size: 17px;
    color: var(--ink-2);
    line-height: 1.6;
    margin: 0 0 16px;
}

/* -------------------------------------------------
   24. Tables & Scrollable Wrappers
   ------------------------------------------------- */
.tbl-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 24px 0;
}
.tbl {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}
.tbl th,
.tbl td {
    border: 1px solid var(--line);
    padding: 10px 12px;
    text-align: left;
}
.tbl th {
    background: var(--surface-2);
    font-weight: 600;
    color: var(--ink);
}
.tbl td {
    color: var(--ink-2);
}
.tbl-scroll .tbl {
    white-space: nowrap;
}

/* -------------------------------------------------
   25. Specimen Table
   ------------------------------------------------- */
.specimen {
    margin: 24px 0 0;
}
.spec-cap {
    font-size: 15px;
    color: var(--ink-3);
    margin-bottom: 12px;
}
.spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    font-variant-numeric: tabular-nums;
}
.spec-table th,
.spec-table td {
    border: 1px solid var(--line);
    padding: 10px 12px;
    text-align: left;
}
.spec-table th {
    background: var(--surface-2);
    font-weight: 600;
    color: var(--ink);
}
.spec-table td {
    color: var(--ink-2);
}
.spec-hit::before {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 8px;
    content: "";
    background: var(--accent);
    border-radius: 50%;
}
.spec-miss::before {
    display: inline-block;
    width: 4px;
    height: 4px;
    margin-right: 8px;
    content: "";
    border: 2px solid var(--gold);
    border-radius: 50%;
}
.spec-date {
    font-size: 13px;
    color: var(--ink-3);
}
.spec-note {
    font-size: 14px;
    color: var(--ink-3);
    margin-top: 12px;
}

/* -------------------------------------------------
   26. Info / Carried Page Elements
   ------------------------------------------------- */
.info-body {
    max-width: var(--measure);
    margin: 0 auto;
}
.info-title {
    font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
    font-weight: 600;
    font-size: 2rem;
    line-height: 1.12;
    letter-spacing: -0.01em;
    margin: 0 0 0.5em;
    color: var(--ink);
}
.tm-note {
    font-size: 13px;
    color: var(--ink-3);
    margin-top: 32px;
}
.hotfix-stats {
    font-size: 15px;
    color: var(--ink-2);
    margin: 16px 0;
}

/* -------------------------------------------------
   27. Archive Banner
   ------------------------------------------------- */
.archive-banner {
    display: flex;
    gap: 12px;
    background: var(--surface-2);
    border-left: 4px solid var(--gold);
    border-radius: 0 12px 12px 0;
    padding: 16px 20px;
    font-size: 15px;
    color: var(--ink-2);
    margin-bottom: 32px;
}

/* -------------------------------------------------
   28. Case Study List
   ------------------------------------------------- */
.case-study-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.case-study-list li {
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
}
.case-study-list a {
    font-size: 17px;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
}
.case-study-list a:hover,
.case-study-list a:focus-visible {
    color: var(--accent);
}

/* -------------------------------------------------
   29. Pricing FAQ
   ------------------------------------------------- */
.pricing-more {
    margin-top: 64px;
}
.faq dt {
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
    margin-top: 24px;
}
.faq dd {
    font-size: 17px;
    color: var(--ink-2);
    margin: 8px 0 0;
}

/* -------------------------------------------------
   30. Security Sections
   ------------------------------------------------- */
.sec {
    margin-top: 48px;
}
.sec h2 {
    font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
    font-weight: 600;
    font-size: 1.625rem;
    line-height: 1.25;
    color: var(--ink);
    margin: 0 0 16px;
}

/* -------------------------------------------------
   31. Docs Section
   ------------------------------------------------- */
.doc-group {
    margin-top: 48px;
}
.doc-group h2 {
    font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
    font-weight: 600;
    font-size: 1.625rem;
    line-height: 1.25;
    color: var(--ink);
    margin: 0 0 16px;
}
.doc-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px 24px;
}
@media (min-width: 600px) {
    .doc-list {
        grid-template-columns: max-content 1fr;
    }
}
.doc-list dt code {
    font-family: monospace;
    background: var(--surface-2);
    border-radius: 6px;
    padding: 2px 6px;
    font-size: 0.9em;
}
.doc-list dd {
    margin: 0;
    color: var(--ink-2);
}

/* -------------------------------------------------
   32. Footer
   ------------------------------------------------- */
.foot {
    border-top: 1px solid var(--line);
    margin-top: 64px;
    background: var(--surface-2);
}
.foot-inner {
    max-width: var(--wide);
    margin: 0 auto;
    padding: 32px 20px 40px;
}
.foot-groups {
    display: grid;
    gap: 24px;
    margin-bottom: 32px;
}
@media (min-width: 900px) {
    .foot-groups {
        grid-template-columns: repeat(3, 1fr);
    }
}
.foot-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.foot-head {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 4px;
}
.foot-group a {
    font-size: 14px;
    color: var(--ink-2);
    text-decoration: none;
}
.foot-group a:hover,
.foot-group a:focus-visible {
    text-decoration: underline;
}
.disclosure {
    font-size: 15px;
    font-weight: 500;
    color: var(--ink-2);
    margin: 0 0 12px;
}
.foot-notes {
    font-size: 13px;
    color: var(--ink-3);
    line-height: 1.55;
    max-width: 70ch;
    margin: 0 0 20px;
}
.foot-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 20px;
    font-size: 14px;
    color: var(--ink-3);
}
.foot-line a {
    color: var(--ink-3);
    text-decoration: none;
}
.foot-line a:hover,
.foot-line a:focus-visible {
    text-decoration: underline;
}

/* -------------------------------------------------
   33. Last Updated
   ------------------------------------------------- */
.last-updated {
    font-size: 13px;
    color: var(--ink-3);
    margin-top: 48px;
}

/* -------------------------------------------------
   34. General Elements
   ------------------------------------------------- */
a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}
a:hover,
a:focus-visible {
    color: var(--accent-strong);
}
code {
    font-size: 0.9em;
    font-family: monospace;
    background: var(--surface-2);
    border-radius: 6px;
    padding: 2px 6px;
    color: var(--ink);
}
img,
video,
iframe {
    max-width: 100%;
    height: auto;
}
video {
    width: 100%;
    border-radius: 12px;
}
.lesson-video,
.report-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    border: none;
}

/* -------------------------------------------------
   35. Reduced Motion
   ------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* -------------------------------------------------
   36. Tabular Numbers for Specific Contexts
   ------------------------------------------------- */
.facts li,
.live-list li > [data-live-field],
.plan-price,
.spec-table,
.work-date,
.tbl {
    font-variant-numeric: tabular-nums;
}

/* End of assets/site.css ------------------------------------------------- */
