/* ==========================================================================
   The Financial Darwin Awards
   Brand tokens first, everything else references them.
   ========================================================================== */

:root {
    /* palette */
    --fda-blue: #64B0CF;
    --fda-blue-deep: #3C86A8;
    --fda-blue-tint: #DCEEF6;
    --fda-green: #4C7355;
    --fda-green-mid: #2A4A34;
    --fda-green-deep: #1D3327;
    --fda-cream: #F3F0E1;
    --fda-bill: #E4E1C0;
    --fda-paper: #FFFFFF;
    --fda-ink: #111111;
    --fda-ink-soft: #333333;
    --fda-muted: #63635B;
    --fda-line: #DAD5C0;
    --fda-line-dark: #33493C;
    --fda-red: #FF3B30;
    --fda-red-deep: #C82A21;
    --fda-twine: #C9A97A;
    --fda-yellow: #FFD60A;
    --fda-yellow-bg: #FFFCE8;

    /* type */
    --fda-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    --fda-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;

    /* metrics */
    --fda-wrap: 1200px;
    --fda-text: 850px;
    --fda-r: 12px;
    --fda-r-lg: 18px;
    --fda-shadow: 0 10px 30px rgba(17, 17, 17, 0.10);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body.fda-body {
    margin: 0;
    background: var(--fda-paper);
    color: var(--fda-ink-soft);
    font-family: var(--fda-font);
    font-size: 17px;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--fda-ink); }

h1, h2, h3, h4 { color: var(--fda-ink); margin: 0; line-height: 1.12; letter-spacing: -0.4px; }

p { margin: 0 0 14px; }

:focus-visible {
    outline: 3px solid var(--fda-red);
    outline-offset: 2px;
}

.fda-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;
}

.fda-skip {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 300;
    background: var(--fda-ink);
    color: #fff;
    padding: 10px 16px;
    font-weight: 700;
    text-decoration: none;
}

.fda-skip:focus { left: 8px; top: 8px; }

/* ==========================================================================
   Layout helpers
   ========================================================================== */

.fda-wrap {
    width: 100%;
    max-width: var(--fda-wrap);
    margin: 0 auto;
    padding: 0 28px;
}

.fda-text { max-width: var(--fda-text); }

.fda-sec { padding: 84px 0; }

.fda-sec-white { background: var(--fda-paper); }
.fda-sec-cream { background: var(--fda-cream); }

.fda-headwrap { margin-bottom: 34px; }

.fda-headwrap-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    max-width: none;
}

/* ==========================================================================
   Type scale
   ========================================================================== */

.fda-h1 {
    font-size: clamp(2.1rem, 4.4vw, 3.4rem);
    font-weight: 900;
    letter-spacing: -1.4px;
    margin: 0 0 18px;
}

.fda-h1-sm { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }

.fda-h1-span { color: var(--fda-ink); }

.fda-h2 {
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    font-weight: 900;
    letter-spacing: -0.8px;
    margin: 0 0 14px;
}

.fda-h2-light, .fda-h2-light .fda-h2 { color: var(--fda-paper); }

.fda-lede {
    font-size: 1.06rem;
    line-height: 1.5;
    color: var(--fda-ink-soft);
    margin: 0 0 22px;
}

.fda-lede-light { color: rgba(255, 255, 255, 0.86); }

.fda-pill {
    display: inline-block;
    margin-bottom: 16px;
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(17, 17, 17, 0.86);
    color: #fff;
    font-family: var(--fda-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.fda-pill-dark { background: var(--fda-ink); }

.fda-pill-light {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: var(--fda-paper);
}

.fda-num {
    display: block;
    font-family: var(--fda-mono);
    font-weight: 700;
    font-size: clamp(2rem, 4.4vw, 3.1rem);
    line-height: 1;
    color: var(--fda-red);
}

.fda-num-label {
    display: block;
    margin-top: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.fda-accent { color: var(--fda-red); }

.fda-link {
    display: inline-block;
    font-weight: 700;
    color: var(--fda-ink);
    text-decoration: none;
    border-bottom: 2px solid var(--fda-red);
    padding-bottom: 1px;
}

.fda-link:hover { color: var(--fda-red-deep); }

/* ==========================================================================
   Buttons and forms
   ========================================================================== */

.fda-btn {
    display: inline-block;
    padding: 13px 24px;
    border: 0;
    border-radius: 10px;
    background: var(--fda-ink);
    color: #fff;
    font-family: var(--fda-font);
    font-size: 0.96rem;
    font-weight: 800;
    letter-spacing: 0.2px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.16s ease, background 0.16s ease;
}

.fda-btn:hover { transform: translateY(-2px); }
.fda-btn-dark:hover { background: #000; }
.fda-btn-red { background: var(--fda-red); }
.fda-btn-red:hover { background: var(--fda-red-deep); }
.fda-btn-sm { padding: 9px 16px; font-size: 0.85rem; }
.fda-btn-block { display: block; width: 100%; margin-top: 18px; }

.fda-btn-ghost {
    background: transparent;
    color: var(--fda-ink);
    border: 2px solid var(--fda-ink);
}

.fda-btn-ghost:hover { background: var(--fda-ink); color: #fff; }

.fda-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 520px;
}

.fda-input {
    flex: 1 1 240px;
    min-width: 0;
    padding: 13px 16px;
    border: 2px solid var(--fda-ink);
    border-radius: 10px;
    background: var(--fda-paper);
    font-family: var(--fda-font);
    font-size: 0.98rem;
    color: var(--fda-ink);
}

.fda-input::placeholder { color: #6E6E66; }

.fda-form-note {
    flex: 1 1 100%;
    margin: 2px 0 0;
    font-size: 0.82rem;
    color: rgba(17, 17, 17, 0.76);
}

.fda-form-light .fda-form-note { color: rgba(255, 255, 255, 0.62); }
.fda-form-light .fda-input { border-color: var(--fda-paper); }

.fda-form-success,
.fda-form-error {
    flex: 1 1 100%;
    display: none;
    margin: 4px 0 0;
    font-size: 0.9rem;
    font-weight: 700;
}

.fda-form-success { color: var(--fda-green); }
.fda-form-error { color: var(--fda-red); }
.fda-form-light .fda-form-success { color: #A9E4BC; }

.fda-form.success .fda-form-success { display: block; }
.fda-form.error .fda-form-error { display: block; }
.fda-form.success .fda-form-note,
.fda-form.error .fda-form-note { display: none; }

/* ==========================================================================
   Ticker bar
   ========================================================================== */

.fda-ticker {
    background: var(--fda-ink);
    color: #fff;
    padding: 7px 0;
    overflow: hidden;
}

.fda-ticker-track {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    max-width: var(--fda-wrap);
    margin: 0 auto;
    padding: 0 28px;
    font-family: var(--fda-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.fda-tick { white-space: nowrap; }
.fda-down { color: var(--fda-red); }
.fda-up { color: #34C759; }

/* ==========================================================================
   Header
   ========================================================================== */

.fda-head {
    background: var(--fda-ink);
    position: relative;
    z-index: 60;
}

.fda-head-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 78px;
}

.fda-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--fda-paper);
}

.fda-brand-mark { width: 38px; height: 38px; flex: 0 0 auto; }

.fda-brand-text {
    font-weight: 900;
    font-size: 1.14rem;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.fda-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.fda-navlink {
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.94rem;
    font-weight: 600;
    text-decoration: none;
}

.fda-navlink:hover { color: var(--fda-paper); }

.fda-burger {
    display: none;
    width: 44px; height: 44px;
    padding: 10px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.fda-burger span {
    display: block;
    height: 2px;
    margin: 4px 0;
    background: var(--fda-paper);
    transition: transform 0.18s ease, opacity 0.18s ease;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.fda-hero {
    background: var(--fda-blue);
    padding: 76px 0 80px;
    overflow: hidden;
}

.fda-hero-short { padding: 70px 0 66px; }

.fda-hero-in {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 48px;
    align-items: start;
}

.fda-hero-in-narrow { grid-template-columns: minmax(0, 1fr); }

.fda-hero-text {
    max-width: var(--fda-text);
    padding-bottom: 0;
}

.fda-hero-short .fda-hero-text { padding-bottom: 0; }

.fda-hero .fda-lede { color: rgba(17, 17, 17, 0.78); font-size: 1.1rem; }

.fda-hero-visual {
    position: relative;
    align-self: center;
}

.fda-hero-photo {
    position: relative;
    margin: 0;
    border-radius: var(--fda-r-lg);
    overflow: hidden;
    box-shadow: 0 18px 44px rgba(17, 17, 17, 0.20);
}

.fda-hero-photo img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    object-position: center 32%;
}

.fda-hero-tag {
    position: absolute;
    left: 20px;
    bottom: 20px;
    padding: 14px 18px;
    background: var(--fda-ink);
    border-radius: var(--fda-r);
    box-shadow: var(--fda-shadow);
}

.fda-hero-tag-label {
    display: block;
    font-family: var(--fda-mono);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.66);
}

.fda-hero-tag-num {
    display: block;
    margin-top: 4px;
    font-family: var(--fda-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--fda-red);
}

/* ==========================================================================
   Ledger band
   ========================================================================== */

.fda-ledger {
    position: relative;
    background-color: var(--fda-green-deep);
    background-image: linear-gradient(rgba(29, 51, 39, 0.9), rgba(29, 51, 39, 0.94)), url("../images/cash-texture.jpg");
    background-size: cover;
    background-position: center;
}

.fda-ledger .fda-h2 { color: var(--fda-paper); }

.fda-ledger-short { padding: 66px 0; }

.fda-ledger-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin-top: 34px;
    border: 2px solid var(--fda-line-dark);
    border-radius: var(--fda-r);
    overflow: hidden;
    background: rgba(0, 0, 0, 0.18);
}

.fda-ledger-cell {
    padding: 30px 20px;
    text-align: center;
    border-right: 1px solid var(--fda-line-dark);
}

.fda-ledger-cell:last-child { border-right: 0; }

/* ==========================================================================
   Cards
   ========================================================================== */

.fda-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.fda-card {
    background: var(--fda-paper);
    border: 1px solid var(--fda-line);
    border-radius: var(--fda-r);
    padding: 26px;
}

.fda-card p { margin: 0; font-size: 0.98rem; line-height: 1.5; color: var(--fda-muted); }

.fda-card-h {
    font-size: 1.08rem;
    font-weight: 800;
    margin: 0 0 8px;
    letter-spacing: -0.2px;
}

.fda-card-flag { border-top: 4px solid var(--fda-twine); }

.fda-card-icon {
    display: block;
    font-size: 1.7rem;
    line-height: 1;
    margin-bottom: 12px;
}

.fda-card-quiet {
    background: var(--fda-ink);
    border-color: var(--fda-ink);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.fda-card-quiet-text {
    font-size: 1rem !important;
    color: rgba(255, 255, 255, 0.82) !important;
    margin-bottom: 16px !important;
}

.fda-card-quiet .fda-link { color: var(--fda-paper); align-self: flex-start; }

.fda-card-empty { grid-column: 1 / -1; }

.fda-card-post { padding: 0; transition: transform 0.16s ease, box-shadow 0.16s ease; }

.fda-card-post:hover { transform: translateY(-3px); box-shadow: var(--fda-shadow); }

.fda-card-link {
    display: block;
    padding: 26px 26px 26px;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.fda-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--fda-mono);
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--fda-muted);
    margin-bottom: 12px;
}

.fda-card-dot { color: var(--fda-red-deep); }

.fda-card-title {
    font-size: 1.16rem;
    font-weight: 800;
    line-height: 1.24;
    margin: 0 0 10px;
}

.fda-card-excerpt { margin-bottom: 14px !important; }

.fda-card-more {
    display: inline-block;
    font-size: 0.86rem;
    font-weight: 800;
    color: var(--fda-red-deep);
}

/* ==========================================================================
   Red flag checker
   ========================================================================== */

.fda-checker {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: 24px;
    align-items: start;
}

.fda-checker-list {
    display: grid;
    gap: 8px;
}

.fda-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    background: var(--fda-cream);
    border: 1px solid var(--fda-line);
    border-radius: 10px;
    font-size: 0.98rem;
    line-height: 1.4;
    color: var(--fda-ink-soft);
    cursor: pointer;
    transition: background 0.14s ease, border-color 0.14s ease;
}

.fda-check:hover { border-color: var(--fda-ink); }

.fda-check input {
    width: 20px; height: 20px;
    margin: 0;
    flex: 0 0 auto;
    accent-color: var(--fda-red);
    cursor: pointer;
}

.fda-check.is-on {
    background: var(--fda-yellow-bg);
    border-color: var(--fda-yellow);
}

.fda-checker-score {
    padding: 30px 26px;
    background: var(--fda-ink);
    border-radius: var(--fda-r);
    text-align: center;
    color: var(--fda-paper);
}

.fda-checker-count {
    display: block;
    font-family: var(--fda-mono);
    font-weight: 700;
    font-size: 3.6rem;
    line-height: 1;
    color: var(--fda-red);
}

.fda-checker-of {
    display: block;
    margin-top: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
}

.fda-checker-verdict {
    margin: 16px 0 0;
    font-size: 1rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.9);
    min-height: 3em;
}

/* ==========================================================================
   Archive
   ========================================================================== */

.fda-archive {
    border-top: 2px solid var(--fda-ink);
}

.fda-arch-row {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 44px;
    gap: 18px;
    align-items: start;
    padding: 26px 0;
    border-bottom: 1px solid var(--fda-line);
}

.fda-arch-num {
    font-family: var(--fda-mono);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--fda-red-deep);
    padding-top: 3px;
}

.fda-arch-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--fda-mono);
    font-size: 0.74rem;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--fda-muted);
    margin-bottom: 8px;
}

.fda-arch-title {
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.24;
    margin: 0 0 8px;
}

.fda-arch-title a { text-decoration: none; }
.fda-arch-title a:hover { color: var(--fda-red-deep); }

.fda-arch-excerpt {
    margin: 0;
    max-width: var(--fda-text);
    font-size: 0.98rem;
    line-height: 1.5;
    color: var(--fda-muted);
}

.fda-arch-go {
    justify-self: end;
    width: 44px; height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--fda-ink);
    border-radius: 50%;
    text-decoration: none;
    font-weight: 800;
    transition: background 0.14s ease, color 0.14s ease;
}

.fda-arch-go:hover { background: var(--fda-ink); color: #fff; }

/* ==========================================================================
   About page split
   ========================================================================== */

.fda-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.fda-split p { font-size: 1.02rem; line-height: 1.55; }

.fda-principles { display: grid; gap: 14px; }

.fda-principle {
    padding: 24px 26px;
    background: var(--fda-cream);
    border-left: 4px solid var(--fda-green);
    border-radius: 0 var(--fda-r) var(--fda-r) 0;
}

.fda-principle p { margin: 0; font-size: 0.98rem; line-height: 1.5; color: var(--fda-muted); }

.fda-principle-num {
    display: block;
    font-family: var(--fda-mono);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.4px;
    color: var(--fda-green);
    margin-bottom: 8px;
}

/* ==========================================================================
   Article
   ========================================================================== */

.fda-article {
    max-width: calc(var(--fda-text) + 60px);
    margin: 0 auto;
    padding: 0 30px 70px;
}

.fda-article-head { padding: 56px 0 0; }

.fda-article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-family: var(--fda-mono);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--fda-red-deep);
    margin-bottom: 16px;
}

.fda-article-tag { color: var(--fda-muted); text-decoration: none; }
.fda-article-tag:hover { color: var(--fda-ink); }

.fda-article-title {
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: -1.2px;
    line-height: 1.08;
    margin: 0 0 16px;
}

.fda-article-title-span { color: var(--fda-ink); }

.fda-article-excerpt {
    font-size: 1.14rem;
    line-height: 1.5;
    color: var(--fda-muted);
    margin: 0 0 8px;
    padding-bottom: 22px;
    border-bottom: 3px solid var(--fda-ink);
}

.fda-article-image {
    margin: 26px 0 30px;
    border-radius: var(--fda-r);
    overflow: hidden;
}

.fda-article-image img {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
}

.fda-article-image figcaption {
    padding: 10px 2px 0;
    font-size: 0.84rem;
    color: var(--fda-muted);
    font-style: italic;
}

.fda-article-body { padding-top: 0; }

.fda-article-foot {
    margin-top: 44px;
    padding-top: 24px;
    border-top: 3px solid var(--fda-ink);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.fda-article-tags { display: flex; gap: 8px; flex-wrap: wrap; }

.fda-tagchip {
    padding: 6px 12px;
    border: 1px solid var(--fda-line);
    border-radius: 100px;
    font-family: var(--fda-mono);
    font-size: 0.74rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    text-decoration: none;
    color: var(--fda-muted);
}

.fda-tagchip:hover { border-color: var(--fda-ink); color: var(--fda-ink); }

/* Ghost content typography */

.gh-content {
    font-size: 18px;
    line-height: 1.68;
    color: var(--fda-ink-soft);
}

.gh-content > * { max-width: var(--fda-text); margin-left: auto; margin-right: auto; }

.gh-content p { margin: 0 0 20px; }

.gh-content a { color: var(--fda-ink); text-decoration: underline; text-decoration-color: var(--fda-red); text-underline-offset: 2px; }

.gh-content h2 {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    margin: 40px 0 14px;
}

.gh-content h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 32px 0 10px;
}

.gh-content strong { color: var(--fda-ink); font-weight: 700; }
.gh-content em { color: var(--fda-ink); }

.gh-content ul, .gh-content ol { padding-left: 22px; margin: 0 0 20px; }
.gh-content li { margin-bottom: 8px; }
.gh-content ul li::marker { color: var(--fda-red-deep); }

.gh-content blockquote {
    margin: 28px 0;
    padding: 20px 26px;
    background: var(--fda-yellow-bg);
    border-left: 4px solid var(--fda-yellow);
    border-radius: 0 var(--fda-r) var(--fda-r) 0;
    font-size: 1.04rem;
    color: var(--fda-ink-soft);
}

.gh-content blockquote p:last-child { margin-bottom: 0; }

.gh-content hr {
    margin: 40px auto;
    border: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--fda-line), transparent);
}

.gh-content figure { margin: 30px auto; }
.gh-content img { border-radius: var(--fda-r); }

.gh-content figcaption {
    padding-top: 10px;
    font-size: 0.84rem;
    color: var(--fda-muted);
    text-align: center;
}

.gh-content pre {
    padding: 18px 20px;
    background: var(--fda-ink);
    color: #F2F2EE;
    border-radius: var(--fda-r);
    overflow-x: auto;
    font-family: var(--fda-mono);
    font-size: 0.9rem;
}

.gh-content code {
    font-family: var(--fda-mono);
    font-size: 0.9em;
    background: var(--fda-cream);
    padding: 2px 5px;
    border-radius: 4px;
}

.gh-content pre code { background: none; padding: 0; color: inherit; }

/* Data tables only. Tables with role="presentation" are email layout tables
   pasted through an HTML card, so they keep their own inline spacing. */
.gh-content table:not([role="presentation"]) { width: 100%; border-collapse: collapse; font-size: 0.96rem; }
.gh-content table:not([role="presentation"]) th,
.gh-content table:not([role="presentation"]) td { padding: 10px 12px; border-bottom: 1px solid var(--fda-line); text-align: left; }
.gh-content table[role="presentation"] { border-collapse: separate; }

/* Ghost card widths */

.gh-content .kg-width-wide { max-width: 1040px; }
.gh-content .kg-width-full { max-width: 100%; }

.gh-content .kg-card { margin-top: 30px; margin-bottom: 30px; }

.gh-content .kg-callout-card {
    border-radius: var(--fda-r);
    padding: 20px 24px;
}

.gh-content .kg-toggle-card { border-radius: var(--fda-r); }

.gh-content .kg-button-card a.kg-btn {
    background: var(--fda-red);
    color: #fff;
    border-radius: 10px;
    font-weight: 800;
}

.gh-content .kg-bookmark-card a.kg-bookmark-container {
    border-radius: var(--fda-r);
    border: 1px solid var(--fda-line);
    box-shadow: none;
}

/* ==========================================================================
   Pagination
   ========================================================================== */

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 42px;
    font-family: var(--fda-mono);
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--fda-muted);
}

.pagination a {
    font-weight: 700;
    text-decoration: none;
    color: var(--fda-ink);
    border-bottom: 2px solid var(--fda-red);
}

/* ==========================================================================
   CTA band
   ========================================================================== */

.fda-sec-cta {
    background: var(--fda-ink);
    color: var(--fda-paper);
}

.fda-cta {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 40px;
    align-items: start;
}

.fda-cta-text { max-width: var(--fda-text); }
.fda-cta .fda-h2 { color: var(--fda-paper); }

/* ==========================================================================
   Footer
   ========================================================================== */

.fda-foot {
    background: var(--fda-cream);
    border-top: 4px solid var(--fda-ink);
    padding: 52px 0 30px;
}

.fda-foot-in {
    display: flex;
    justify-content: space-between;
    gap: 36px;
    flex-wrap: wrap;
}

.fda-foot-brand { max-width: 420px; }

.fda-brand-mark { width: 38px; height: 38px; }

.fda-foot-word {
    display: block;
    margin-top: 12px;
    font-weight: 900;
    font-size: 1.14rem;
    letter-spacing: -0.5px;
    color: var(--fda-ink);
}

.fda-foot-line {
    margin: 10px 0 0;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--fda-muted);
}

.fda-foot-nav {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 10px 40px;
    align-content: start;
}

.fda-foot-nav a {
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--fda-ink);
    text-decoration: none;
}

.fda-foot-nav a:hover { color: var(--fda-red-deep); }

.fda-foot-small {
    margin-top: 34px;
    padding-top: 18px;
    border-top: 1px solid var(--fda-line);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.fda-foot-small p { margin: 0; font-size: 0.8rem; color: var(--fda-muted); }
.fda-foot-small a { color: var(--fda-muted); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
    .fda-tick:nth-child(n+7) { display: none; }
    .fda-hero-in { gap: 32px; }
    .fda-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fda-ledger-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fda-ledger-cell:nth-child(2) { border-right: 0; }
    .fda-ledger-cell:nth-child(1), .fda-ledger-cell:nth-child(2) { border-bottom: 1px solid var(--fda-line-dark); }
    .fda-checker { grid-template-columns: minmax(0, 1fr); }
    .fda-split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .fda-cta { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

@media (max-width: 860px) {
    .fda-tick:nth-child(n+5) { display: none; }
    .fda-burger { display: block; }

    .fda-nav {
        display: none;
        position: absolute;
        left: 0; right: 0;
        top: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--fda-ink);
        border-top: 1px solid #2A2A2A;
        padding: 8px 28px 22px;
    }

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

    .fda-navlink {
        padding: 14px 0;
        border-bottom: 1px solid #262626;
        font-size: 1rem;
    }

    .fda-nav .fda-btn { margin-top: 16px; }

    .fda-hero { padding: 54px 0 58px; }
    .fda-hero-in { grid-template-columns: minmax(0, 1fr); }
    .fda-hero-text { padding-bottom: 12px; }
    .fda-hero-photo img { max-height: 400px; }
    .fda-hero-tag { left: 16px; bottom: 16px; }
}

@media (max-width: 620px) {
    body.fda-body { font-size: 16px; }
    .fda-wrap { padding: 0 20px; }
    .fda-ticker-track { padding: 0 20px; gap: 12px; font-size: 0.64rem; }
    .fda-tick:nth-child(n+4) { display: none; }
    .fda-sec { padding: 58px 0; }
    .fda-grid-3 { grid-template-columns: minmax(0, 1fr); }
    .fda-ledger-grid { grid-template-columns: minmax(0, 1fr); }
    .fda-ledger-cell { border-right: 0; border-bottom: 1px solid var(--fda-line-dark); }
    .fda-ledger-cell:last-child { border-bottom: 0; }
    .fda-brand-text { font-size: 1rem; }
    .fda-form { max-width: none; }
    .fda-input, .fda-btn { flex: 1 1 100%; }
    .fda-article { padding: 0 20px 54px; }
    .fda-article-head { padding-top: 38px; }
    .fda-article-image { margin: 20px 0 20px; }
    .fda-article-image img { max-height: 300px; }
    .gh-content { font-size: 17px; }
    .fda-arch-row { grid-template-columns: 34px minmax(0, 1fr); }
    .fda-arch-go { display: none; }
    .fda-checker-count { font-size: 2.8rem; }
    .fda-foot-nav { grid-template-columns: repeat(2, auto); gap: 10px 24px; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
}
