/* ==========================================================================
   Kreditkortguiden – design tokens
   Lugn nordisk fintech: navy/charcoal, off-white, dämpad teal, kalla grå linjer.
   ========================================================================== */
:root {
    --navy-950: #0d1526;
    --navy-900: #14213d;
    --navy-800: #1d2d4f;
    --navy-700: #2a3d66;
    --ink: #1c2230;
    --ink-muted: #4b5563;
    --ink-subtle: #6b7280;
    --paper: #f8f7f4;
    --paper-2: #f1efea;
    --surface: #ffffff;
    --line: #d9dee5;
    --line-strong: #b9c2cc;
    --teal-50: #eef6f5;
    --teal-100: #d5e9e6;
    --teal-600: #2a7f79;
    --teal-700: #236b66;
    --teal-800: #1c5651;
    --gold-50: #fbf6ea;
    --gold-200: #ecd9a6;
    --gold-400: #c9a227;
    --gold-800: #7a5a12;
    --amber-50: #fbf6ea;
    --amber-200: #ecd9a6;
    --amber-800: #7a5a12;
    --rose-50: #fbf0f0;
    --rose-200: #efc9c9;
    --rose-800: #8a2e2e;

    --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    --radius: 12px;
    --radius-lg: 16px;
    --shadow-card: 0 1px 2px rgba(20, 33, 61, .04), 0 8px 24px rgba(20, 33, 61, .06);
    --shadow-lift: 0 8px 28px rgba(20, 33, 61, .12);
    --measure: 70ch;
}

* { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    overflow-x: clip;
    max-width: 100%;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    overflow-x: clip;
    max-width: 100%;
    overflow-wrap: break-word;
    background:
        radial-gradient(1200px 480px at 10% -10%, rgba(201, 162, 39, .08), transparent 55%),
        radial-gradient(900px 420px at 100% 0%, rgba(42, 127, 121, .08), transparent 50%),
        var(--paper);
    color: var(--ink);
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.65;
    font-feature-settings: "kern", "liga", "tnum";
}

@supports not (overflow-x: clip) {
    html, body { overflow-x: hidden; }
}

a { color: var(--teal-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-800); }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { color: var(--navy-900); line-height: 1.2; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(1.75rem, 4vw + .5rem, 2.6rem); font-weight: 800; }
h2 { font-size: clamp(1.35rem, 2vw + .6rem, 1.7rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 650; }
p { margin: 0; }

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

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; left: 8px; top: -80px; z-index: 100;
    background: var(--navy-900); color: #fff; padding: .5rem .75rem; border-radius: 8px;
}
.skip-link:focus { top: 8px; }

.wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1rem;
}
@media (min-width: 640px) { .wrap { padding: 0 1.5rem; } }

.nowrap { white-space: nowrap; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
    position: relative;
    z-index: 20;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 64px;
}
.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    min-width: 0;
    flex: 0 1 auto;
}
.brand-logo {
    display: block;
    height: 44px;
    width: auto;
    max-width: 100%;
}
@media (max-width: 899px) {
    /* Leave room for the Meny button so the lockup can shrink instead of overflowing. */
    .brand { max-width: calc(100% - 7.25rem); }
}

.nav-toggle {
    display: inline-flex; align-items: center; gap: .5rem;
    border: 1px solid var(--line); background: var(--surface); color: var(--navy-900);
    font: inherit; font-size: .9rem; font-weight: 600; padding: .45rem .8rem; border-radius: 8px; cursor: pointer;
}
.nav-toggle-bars { display: inline-block; width: 16px; height: 2px; background: var(--navy-900); box-shadow: 0 -5px 0 var(--navy-900), 0 5px 0 var(--navy-900); }

.main-navigation {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-card);
    padding: .5rem 1rem 1rem;
}
.main-navigation.is-open { display: flex; }
.main-navigation a {
    color: var(--navy-900); text-decoration: none; font-weight: 600; font-size: 1rem;
    padding: .75rem .25rem; border-bottom: 1px solid var(--line);
}
.main-navigation a:last-child { border-bottom: 0; }
.main-navigation a.is-active { color: var(--teal-700); }

@media (min-width: 900px) {
    .nav-toggle { display: none; }
    .header-inner { align-items: center; }
    .main-navigation {
        display: flex; position: static; flex-direction: row; align-items: center; flex-wrap: wrap;
        justify-content: flex-end; gap: .1rem; max-width: 820px;
        background: transparent; border: 0; box-shadow: none; padding: 0;
    }
    .main-navigation a {
        font-size: .93rem; font-weight: 500; color: var(--ink-muted);
        padding: .5rem .8rem; border: 0; border-radius: 8px;
    }
    .main-navigation a:hover { background: var(--paper-2); color: var(--navy-900); }
    .main-navigation a.is-active { background: var(--teal-50); color: var(--teal-800); }
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.site-main { padding: 1.5rem 1rem 3rem; }
@media (min-width: 640px) { .site-main { padding: 2.25rem 1.5rem 4rem; } }

.lc-block { margin-top: 2.25rem; }
.lc-block + .lc-block { margin-top: 2.5rem; }

.article-header { max-width: 78ch; }
.article-header h1 { margin-top: .5rem; }
.lead {
    margin-top: 1rem;
    font-size: 1.12rem;
    line-height: 1.6;
    color: var(--ink-muted);
}
.hero { padding: 1rem 0 .5rem; max-width: 80ch; }
.hero--split { max-width: none; display: grid; gap: 1.75rem; align-items: center; }
.hero-media {
    margin: 0; border-radius: 20px; overflow: hidden;
    box-shadow: var(--shadow-lift); border: 1px solid var(--line);
    aspect-ratio: 16 / 10; background: var(--navy-900);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 900px) {
    .hero--split { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 2.5rem; }
}
.hero-kicker {
    font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-700);
}
.page-media {
    margin: .85rem 0 1.25rem; border-radius: 18px; overflow: hidden;
    border: 1px solid var(--line); box-shadow: var(--shadow-card);
    aspect-ratio: 16 / 7; max-width: 52rem; background: var(--paper-2);
}
.page-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.hero-points { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .5rem; color: var(--ink-muted); font-size: .95rem; }
.hero-points li { padding-left: 1.4rem; position: relative; }
.hero-points li::before {
    content: ""; position: absolute; left: 0; top: .55em; width: .6rem; height: .6rem; border-radius: 50%;
    background: var(--teal-600);
}

.updated-stamp {
    display: flex; flex-wrap: wrap; align-items: center; gap: .45rem;
    margin-top: 1.1rem; font-size: .85rem; color: var(--ink-subtle);
}
.updated-dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--teal-600); display: inline-block; }

.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; font-size: .85rem; color: var(--ink-subtle); }
.breadcrumbs li + li::before { content: "/"; margin-right: .35rem; color: var(--line-strong); }
.breadcrumbs a { color: var(--ink-muted); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--navy-900); font-weight: 500; }

/* --------------------------------------------------------------------------
   Article body (Markdown)
   -------------------------------------------------------------------------- */
.article-body { max-width: var(--measure); font-size: 1.04rem; line-height: 1.72; }
.article-body > p, .article-body > ul, .article-body > ol, .article-body > blockquote, .article-body > table { margin-top: 1.1em; }
.article-body h2 { margin-top: 2.4em; padding-top: .2em; }
.article-body h3 { margin-top: 1.8em; }
.article-body h4 { margin-top: 1.4em; font-size: 1.02rem; }
.article-body h2 + p, .article-body h3 + p, .article-body h4 + p { margin-top: .7em; }
.article-body ul, .article-body ol { padding-left: 1.4em; }
.article-body li { margin-top: .4em; }
.article-body li::marker { color: var(--teal-600); }
.article-body strong { color: var(--navy-900); font-weight: 650; }
.article-body blockquote {
    margin-left: 0; margin-right: 0; padding: .25em 0 .25em 1em;
    border-left: 3px solid var(--teal-600); color: var(--ink-muted); font-style: italic;
}
.article-body hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.article-body table {
    width: 100%; max-width: 100%; border-collapse: collapse; font-size: .95rem;
    display: block; overflow-x: auto; -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain; position: relative; contain: paint;
}
.article-body table.compare-table {
    display: table; max-width: none; overflow: visible; contain: none; position: static;
}
.article-body thead th {
    text-align: left; font-weight: 650; color: var(--navy-900); background: var(--paper-2);
    border-bottom: 1px solid var(--line-strong); padding: .6em .75em; white-space: nowrap;
}
.article-body tbody td { border-bottom: 1px solid var(--line); padding: .6em .75em; vertical-align: top; }
.article-body code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; background: var(--paper-2); padding: .1em .35em; border-radius: 4px; }
.article-body .lc-block { max-width: none; }
.article-body .offer-list, .article-body .comparison, .article-body .debt-help, .article-body .faq { max-width: none; }

/* Markdig custom containers: ::: tips / ::: varning / ::: myt / ::: info */
.article-body .tips, .article-body .varning, .article-body .myt, .article-body .info, .article-body .fakta {
    margin-top: 1.6em; padding: 1rem 1.15rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
    font-size: .98rem;
}
.article-body .tips { border-color: var(--teal-100); background: var(--teal-50); }
.article-body .varning { border-color: var(--amber-200); background: var(--amber-50); }
.article-body .myt { border-color: var(--rose-200); background: var(--rose-50); }
.article-body .fakta { border-left: 4px solid var(--navy-900); }
.article-body .tips > :first-child, .article-body .varning > :first-child, .article-body .myt > :first-child, .article-body .info > :first-child, .article-body .fakta > :first-child { margin-top: 0; }
.article-body .tips p + p, .article-body .varning p + p, .article-body .myt p + p, .article-body .info p + p, .article-body .fakta p + p { margin-top: .6em; }

/* Bredare artikelkropp för hubbar/pelare på stora skärmar, men behåll läsbar textbredd */
@media (min-width: 1024px) {
    .hub .article-body, .pillar .article-body, .home .article-body { max-width: none; }
    .hub .article-body > *:not(.lc-block), .pillar .article-body > *:not(.lc-block), .home .article-body > *:not(.lc-block) { max-width: var(--measure); }
}

/* --------------------------------------------------------------------------
   Buttons, badges
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
    font: inherit; font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer;
    padding: .7rem 1.2rem; border-radius: 10px; border: 1px solid transparent; transition: background .15s, color .15s;
}
.btn--primary { background: var(--navy-900); color: #fff; }
.btn--primary:hover { background: var(--navy-800); color: #fff; }
.btn--outline { background: transparent; color: var(--navy-900); border-color: var(--navy-900); }
.btn--outline:hover { background: var(--navy-900); color: #fff; }
.btn--sm { padding: .4rem .8rem; font-size: .82rem; border-radius: 8px; }

.badge {
    display: inline-block; padding: .15rem .6rem; border-radius: 999px;
    font-size: .72rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase;
}
.badge--teal { background: var(--teal-50); color: var(--teal-800); }
.badge--muted { background: var(--paper-2); color: var(--ink-muted); border: 1px solid var(--line); }
.badge--warn { background: var(--amber-50); color: var(--amber-800); border: 1px solid var(--amber-200); }
.badge--risk { background: var(--rose-50); color: var(--rose-800); border: 1px solid var(--rose-200); }
.badge--debit { background: var(--navy-900); color: #fff; }
.ad-mark {
    font-size: .65rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, .55); border-radius: 4px; padding: .08rem .35rem;
}
.offer-badges { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .35rem; }
.fact-note { display: block; margin-top: .2rem; font-size: .78rem; font-weight: 500; color: var(--ink-muted); }
.offer-more { margin-top: .7rem; font-size: .9rem; }
.high-cost {
    border: 1px solid var(--rose-200); background: var(--rose-50); border-radius: var(--radius);
    padding: 1rem 1.25rem; font-size: .95rem; line-height: 1.55; max-width: 80ch;
}
.high-cost-title { font-weight: 800; color: var(--rose-800); font-size: 1.05rem; margin-bottom: .35rem; }
.high-cost-flag {
    margin-top: 1rem; padding: .7rem .9rem; border-radius: 10px;
    background: var(--rose-50); color: var(--rose-800); font-size: .88rem;
}
.filter-selects { display: grid; gap: .75rem; margin-top: 1rem; }
@media (min-width: 800px) { .filter-selects { grid-template-columns: repeat(4, 1fr); } }
.filter-selects label { display: grid; gap: .3rem; font-size: .85rem; font-weight: 650; color: var(--navy-900); }
.filter-selects select {
    font: inherit; padding: .55rem .7rem; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--paper); color: var(--ink);
}

/* --------------------------------------------------------------------------
   Compliance blocks
   -------------------------------------------------------------------------- */
.disclosure { margin-top: .9rem; font-size: .8rem; line-height: 1.5; color: var(--ink-subtle); max-width: 80ch; }
.disclosure-label { font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-muted); }

.warning-box {
    border: 1px solid var(--amber-200); background: var(--amber-50); border-radius: var(--radius);
    padding: 1rem 1.25rem; font-size: .95rem; line-height: 1.55; max-width: 80ch;
}
.warning-title { font-weight: 800; color: var(--amber-800); font-size: 1.05rem; margin-bottom: .35rem; }

.placeholder-notice {
    margin-top: .9rem; padding: .7rem 1rem; border: 1px dashed var(--line-strong); background: var(--paper-2);
    border-radius: 10px; font-size: .82rem; color: var(--ink-muted); max-width: 80ch;
}

.debt-help { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius-lg); padding: 1.25rem; }
.debt-help > p { margin-top: .5rem; color: var(--ink-muted); font-size: .95rem; }
.debt-help-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .75rem; }
.debt-help-list li { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: .85rem 1rem; }
.debt-help-list a { font-weight: 600; }
.debt-help-list p { margin-top: .25rem; font-size: .85rem; color: var(--ink-muted); }
@media (min-width: 640px) { .debt-help-list { grid-template-columns: 1fr 1fr; } .debt-help { padding: 1.5rem; } }

/* --------------------------------------------------------------------------
   Offer cards
   -------------------------------------------------------------------------- */
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem; }
.section-meta { font-size: .8rem; color: var(--ink-subtle); }
.section-intro { margin-top: .5rem; color: var(--ink-muted); max-width: 80ch; }

.offer-grid { display: grid; gap: 1.25rem; margin-top: 1.25rem; }
.offer-card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 1.25rem; box-shadow: var(--shadow-card);
    transition: box-shadow .18s, border-color .18s, transform .18s;
}
.offer-card:hover { box-shadow: var(--shadow-lift); border-color: var(--teal-100); }
@media (min-width: 640px) { .offer-card { padding: 1.5rem; } }
.offer-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: .75rem; }
.offer-identity { display: flex; align-items: flex-start; gap: .85rem; min-width: min(100%, 18rem); }
.lender-logo {
    width: 56px; height: 56px; flex: none; object-fit: contain;
    background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 6px;
    box-shadow: 0 1px 2px rgba(20, 33, 61, .04);
}
.offer-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.offer-rank {
    display: inline-flex; align-items: center; justify-content: center; width: 1.5rem; height: 1.5rem;
    border-radius: 50%; background: var(--navy-900); color: #fff; font-size: .75rem; font-weight: 700;
}
.offer-tagline { margin-top: .3rem; font-size: .93rem; color: var(--ink-muted); }

.offer-facts {
    display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1rem; margin: 1.25rem 0 0;
}
@media (min-width: 720px) { .offer-facts { grid-template-columns: repeat(4, 1fr); } }
.offer-facts dt { font-size: .72rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-subtle); }
.offer-facts dd { margin: .15rem 0 0; font-size: .93rem; font-weight: 600; color: var(--navy-900); }

.offer-pros-cons { display: grid; gap: 1rem; margin-top: 1.25rem; }
@media (min-width: 640px) { .offer-pros-cons { grid-template-columns: 1fr 1fr; } }
.offer-pros-title, .offer-cons-title { font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.offer-pros-title { color: var(--teal-800); }
.offer-cons-title { color: var(--rose-800); }
.offer-pros, .offer-cons { list-style: none; padding: 0; margin: .4rem 0 0; font-size: .92rem; display: grid; gap: .3rem; }
.offer-pros li, .offer-cons li { position: relative; padding-left: 1.1rem; }
.offer-pros li::before, .offer-cons li::before { content: ""; position: absolute; left: 0; top: .55em; width: .45rem; height: .45rem; border-radius: 50%; }
.offer-pros li::before { background: var(--teal-600); }
.offer-cons li::before { background: rgba(138, 46, 46, .7); }

.offer-example {
    margin-top: 1.25rem; padding: .7rem .9rem; border-radius: 10px; background: var(--paper-2);
    font-size: .82rem; line-height: 1.55; color: var(--ink-muted);
}
.offer-example strong { color: var(--ink); }
.offer-unverified {
    margin-top: 1.1rem;
    font-size: .9rem;
    color: var(--ink-muted);
}
.offer-footer { display: flex; flex-direction: column; gap: .75rem; margin-top: 1.25rem; }
@media (min-width: 720px) { .offer-footer { flex-direction: row; align-items: center; justify-content: space-between; } }
.offer-meta { font-size: .8rem; color: var(--ink-subtle); }
.offer-legal { margin-top: .75rem; font-size: .72rem; color: var(--ink-subtle); }

/* --------------------------------------------------------------------------
   Comparison table
   -------------------------------------------------------------------------- */
.table-scroll {
    margin-top: 1rem;
    max-width: 100%;
    position: relative;
    contain: paint;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-card);
}
.compare-table { width: 100%; min-width: 920px; border-collapse: collapse; font-size: .9rem; display: table; }
.table-lender {
    display: flex; align-items: center; gap: .7rem; color: inherit; text-decoration: none;
}
.table-lender .lender-logo { width: 40px; height: 40px; border-radius: 10px; padding: 4px; }
.table-lender-name { display: block; }
.table-lender:hover .table-lender-name { text-decoration: underline; }
.compare-table caption { text-align: left; padding: .75rem 1rem; font-size: .78rem; color: var(--ink-subtle); caption-side: top; }
.compare-table thead th {
    text-align: left; background: var(--paper-2); font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
    color: var(--ink-muted); padding: .7rem 1rem;
}
.compare-table tbody th, .compare-table tbody td { padding: .8rem 1rem; border-top: 1px solid var(--line); vertical-align: top; }
.compare-table tbody th { text-align: left; font-weight: 650; color: var(--navy-900); }
.compare-table tbody th a { color: inherit; text-decoration: none; }
.compare-table tbody th a:hover { text-decoration: underline; }
.table-sub { display: block; font-size: .78rem; font-weight: 400; color: var(--ink-subtle); }

/* --------------------------------------------------------------------------
   Cost callout
   -------------------------------------------------------------------------- */
.cost-callout { border: 1px solid var(--teal-100); background: var(--teal-50); border-radius: var(--radius-lg); padding: 1.25rem; max-width: 80ch; }
.cost-title { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-800); }
.cost-callout > p { margin-top: .6rem; font-size: .95rem; }
.cost-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin: 1rem 0 0; }
@media (min-width: 640px) { .cost-grid { grid-template-columns: repeat(4, 1fr); } }
.cost-grid div { background: rgba(255, 255, 255, .8); border-radius: 10px; padding: .7rem .8rem; }
.cost-grid dt { font-size: .72rem; color: var(--ink-subtle); }
.cost-grid dd { margin: .1rem 0 0; font-weight: 700; color: var(--navy-900); }
.cost-note { margin-top: .8rem; font-size: .8rem; line-height: 1.5; color: var(--ink-muted); }

/* --------------------------------------------------------------------------
   FAQ accordion
   -------------------------------------------------------------------------- */
.faq-list { margin-top: 1rem; display: grid; gap: .6rem; max-width: 80ch; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.faq-item summary {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: .9rem 1.1rem; cursor: pointer; font-weight: 600; color: var(--navy-900); list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; width: 1rem; height: 1rem; flex: none; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--teal-700); left: 0; top: 50%; width: 100%; height: 2px; transform: translateY(-50%); }
.faq-icon::after { transform: translateY(-50%) rotate(90deg); transition: transform .15s; }
.faq-item[open] .faq-icon::after { transform: translateY(-50%) rotate(0); }
.faq-answer { padding: 0 1.1rem 1rem; font-size: .97rem; color: var(--ink); }
.faq-answer > p + p { margin-top: .6em; }

/* --------------------------------------------------------------------------
   Cards and grids
   -------------------------------------------------------------------------- */
.card-grid { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 1rem; }
@media (min-width: 640px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .card-grid--wide { grid-template-columns: repeat(3, 1fr); } }
.link-card a {
    display: flex; flex-direction: column; gap: .35rem; height: 100%;
    padding: 0 0 1.1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
    text-decoration: none; color: inherit; overflow: hidden;
    transition: border-color .15s, box-shadow .15s, transform .15s;
}
.link-card a:hover { border-color: var(--teal-600); box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.link-card-kicker, .link-card-title, .link-card-text { padding-left: 1.2rem; padding-right: 1.2rem; }
.link-card-kicker { padding-top: 1rem; }
.link-card-media {
    width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block;
    background: var(--paper-2); margin: 0;
}
.link-card-kicker { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-700); }
.link-card-title { font-weight: 700; color: var(--navy-900); line-height: 1.3; }
.link-card-text { font-size: .9rem; color: var(--ink-muted); }

.hub-card {
    padding: 0 1.35rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-card);
    overflow: hidden; transition: box-shadow .18s, transform .18s;
}
.hub-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.hub-card-media { display: block; margin: 0 -1.35rem 1rem; }
.hub-card-media img {
    width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: var(--paper-2);
}
.hub-card h3 { padding-top: .15rem; }
.hub-card h3 a { color: var(--navy-900); text-decoration: none; font-size: 1.25rem; }
.hub-card h3 a:hover { text-decoration: underline; }
.hub-card > p { margin-top: .5rem; color: var(--ink-muted); font-size: .95rem; }
.hub-card-links { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.hub-card-links a {
    display: inline-block; padding: .35rem .7rem; border-radius: 999px; font-size: .85rem; text-decoration: none;
    background: var(--teal-50); color: var(--teal-800); border: 1px solid var(--teal-100);
}
.hub-card-links a:hover { background: var(--teal-100); }
@media (min-width: 900px) { .hub-grid .card-grid--wide { grid-template-columns: 1fr 1fr; } }

/* --------------------------------------------------------------------------
   Filter form (/jamfor)
   -------------------------------------------------------------------------- */
.filter-form { margin-top: 1.75rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.filter-title { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); }
.filter-options { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.filter-chip {
    display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .8rem; border-radius: 999px;
    border: 1px solid var(--line-strong); background: var(--paper); font-size: .9rem; cursor: pointer;
}
.filter-chip input { accent-color: var(--teal-600); margin: 0; }
.filter-chip.is-active { background: var(--teal-50); border-color: var(--teal-600); color: var(--teal-800); }
.filter-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.empty-state { padding: 1.25rem; border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.empty-state p { margin-top: .5rem; color: var(--ink-muted); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { margin-top: 3rem; background: var(--navy-900); color: #d5dbe6; font-size: .9rem; }
.site-footer a { color: #e6eaf2; }
.site-footer a:hover { color: #fff; }
.footer-warning { background: var(--navy-950); border-bottom: 1px solid rgba(255, 255, 255, .08); padding: 1.1rem 0; }
.footer-warning-title { font-weight: 800; color: #fff; font-size: 1rem; }
.footer-warning p + p { margin-top: .3rem; max-width: 80ch; color: #c3cad8; font-size: .88rem; }
.footer-grid { display: grid; gap: 2rem; padding: 2.5rem 1rem; }
@media (min-width: 640px) { .footer-grid { padding: 2.5rem 1.5rem; } }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-about p { margin-top: 1rem; color: #c3cad8; line-height: 1.6; }
.footer-disclosure { font-size: .8rem; color: #a7b0c2; }
.footer-disclosure strong { color: #d5dbe6; }
.site-footer h2 { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #a7b0c2; }
.site-footer h2 + ul { margin-top: .6rem; }
.site-footer ul + h2 { margin-top: 1.5rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.site-footer ul a { text-decoration: none; }
.site-footer ul a:hover { text-decoration: underline; }
.footer-sub { padding-left: .9rem; font-size: .85rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 1.25rem 1rem 1.5rem; display: grid; gap: .5rem; font-size: .78rem; color: #a7b0c2; }
@media (min-width: 640px) { .footer-bottom { padding: 1.25rem 1.5rem 1.5rem; } }

/* --------------------------------------------------------------------------
   Cookie banner
   -------------------------------------------------------------------------- */
.cookie-banner {
    position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 50;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(20, 33, 61, .18); padding: 1rem 1.1rem;
    display: none; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap;
    font-size: .9rem;
}
.cookie-banner.is-visible { display: flex; }
@media (min-width: 720px) { .cookie-banner { left: auto; max-width: 560px; } }
.cookie-actions { display: flex; gap: .5rem; }
.cookie-actions button {
    font: inherit; font-weight: 600; font-size: .88rem; padding: .55rem .95rem; border-radius: 8px; cursor: pointer;
    border: 1px solid var(--navy-900); background: var(--navy-900); color: #fff;
}
.cookie-actions button.secondary { background: transparent; color: var(--navy-900); }
