/* SenseSend portal styles (layered on top of MudBlazor). */

html, body {
    font-family: 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif;
}

/* ---- Login ---- */
.login-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: linear-gradient(135deg, #0D47A1 0%, #1565C0 100%);
}

.login-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: #555;
}

.login-input {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid #c4c4c4;
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box;
}

.login-input:focus {
    outline: none;
    border-color: #1565C0;
    box-shadow: 0 0 0 2px rgba(21, 101, 192, 0.2);
}

.login-button {
    width: 100%;
    padding: 0.7rem;
    background: #1565C0;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
}

.login-button:hover { background: #0D47A1; }

/* "Password Forge" helper link on password-create pages (Passordsmie, X2 standard). */
.login-link {
    font-size: 0.85rem;
    color: #1565C0;
    text-decoration: none;
}

.login-link:hover { text-decoration: underline; }

/* Inline link-styled button (e.g. "resend" inside an alert sentence). */
.login-link-button {
    background: none;
    border: none;
    padding: 0;
    color: #1565C0;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

/* ---- Logout menu item (form button styled like a MudMenu item) ---- */
.logout-menu-item {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.5rem 1rem;
    background: none;
    border: none;
    font: inherit;
    cursor: pointer;
    color: inherit;
    text-align: left;
}

.logout-menu-item:hover { background: rgba(0,0,0,0.06); }

/* ---- Status bar ---- */
.main-content-with-statusbar {
    padding-bottom: 32px;
}

.app-statusbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 28px;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 1rem;
    font-size: 0.75rem;
    background: var(--mud-palette-appbar-background, #0D47A1);
    color: #fff;
    z-index: 1300;
}

.statusbar-item { display: inline-flex; align-items: center; }
.statusbar-spacer { flex: 1 1 auto; }
.statusbar-detail { opacity: 0.85; }
.statusbar-env { text-transform: uppercase; opacity: 0.8; letter-spacing: 0.05em; }

/* ---- Cards / detail ---- */
.metric-card { transition: box-shadow 0.15s ease-in-out; }
.metric-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.15); }

.check-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1.5rem;
}

.check-row { display: flex; align-items: center; gap: 0.6rem; }
.check-label { min-width: 72px; font-weight: 500; }
.check-extra { font-size: 0.8rem; }

.detail-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.25rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.detail-label { font-size: 0.85rem; }
.detail-value { font-size: 0.9rem; text-align: right; word-break: break-all; }

.record-pre {
    background: rgba(0,0,0,0.05);
    padding: 0.6rem;
    border-radius: 6px;
    font-size: 0.78rem;
    white-space: pre-wrap;
    word-break: break-all;
    margin: 0.25rem 0 0.75rem;
}

/* DNS-record card in the DMARC setup wizard (Mailjet-style field rows with copy buttons). */
.record-card {
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 8px;
    padding: 12px;
}
.record-field-value {
    flex: 1;
    background: rgba(0,0,0,0.05);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.82rem;
    overflow-wrap: anywhere;
}

/* Settings list: long values must not widen the table — the detail page has the full text. */
.setting-value {
    display: inline-block;
    max-width: 340px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
}

.mono-input textarea { font-family: 'Cascadia Code', Consolas, monospace; font-size: 0.85rem; }

.email-body-frame {
    width: 100%;
    min-height: 520px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 6px;
    background: #fff;
}

/* On phones only, MudTable/MudDataGrid stack each row into label/value pairs — turn
   each record into a clearly separated card. Gated by an explicit media query so it
   can NEVER affect the normal table layout on wider screens (regardless of how/when
   MudBlazor toggles its .mud-*-table responsive class). */
@media (max-width: 599.98px) {
    /* Let the cards float on the page background: drop the table/grid "paper"
       background + elevation so only the row-cards carry colour and shadow. */
    .mud-xs-table, .mud-sm-table, .mud-md-table {
        background-color: transparent !important;
        box-shadow: none !important;
    }

    .mud-xs-table .mud-table-body .mud-table-row,
    .mud-sm-table .mud-table-body .mud-table-row,
    .mud-md-table .mud-table-body .mud-table-row {
        display: block;
        margin: 12px 2px;
        padding: 6px 14px 10px;
        border: 1px solid var(--mud-palette-lines-default);
        border-radius: 12px;
        /* surface + a faint light overlay: lifts the card off the background in dark
           mode (the overlay shows on dark, is invisible on light). */
        background-color: var(--mud-palette-surface);
        background-image: linear-gradient(rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.06));
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.28), 0 1px 3px rgba(0, 0, 0, 0.16);
    }

    .mud-xs-table .mud-table-body .mud-table-cell,
    .mud-sm-table .mud-table-body .mud-table-cell,
    .mud-md-table .mud-table-body .mud-table-cell {
        border-bottom: none !important;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    /* First stacked cell = card header: icon + title, full width, with a divider. */
    .mud-xs-table .mud-table-body .mud-table-cell:first-child,
    .mud-sm-table .mud-table-body .mud-table-cell:first-child,
    .mud-md-table .mud-table-body .mud-table-cell:first-child {
        justify-content: flex-start;
        gap: 8px;
        font-weight: 700;
        font-size: 1.12rem;
        padding: 8px 0 10px;
        margin-bottom: 6px;
        border-bottom: 1px solid var(--mud-palette-lines-default);
    }

    /* Bigger leading icon in the card header. */
    .mud-xs-table .mud-table-body .mud-table-cell:first-child .mud-icon-root,
    .mud-sm-table .mud-table-body .mud-table-cell:first-child .mud-icon-root,
    .mud-md-table .mud-table-body .mud-table-cell:first-child .mud-icon-root {
        width: 1.5rem !important;
        height: 1.5rem !important;
        font-size: 1.5rem !important;
    }

    /* The header cell shows its value as a title — drop the "label:" prefix. */
    .mud-xs-table .mud-table-body .mud-table-cell:first-child::before,
    .mud-sm-table .mud-table-body .mud-table-cell:first-child::before,
    .mud-md-table .mud-table-body .mud-table-cell:first-child::before {
        content: none !important;
    }
}

/* Page header: title (+chips) on the left, action buttons on the right on wide
   screens; on phones the actions drop to their own full-width line(s) below the
   title — use vertical space, not horizontal. Replaces the cramped
   "d-flex align-center + MudSpacer + buttons" header pattern. */
.ss-header { display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; }
.ss-header-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.ss-header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
@media (max-width: 599.98px) {
    .ss-header-actions {
        margin-left: 0;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
    .ss-header-actions > .mud-button-root,
    .ss-header-actions > .mud-input-control,
    .ss-header-actions > .mud-select { width: 100%; }
}

/* Lists whose rows navigate on click: show they're clickable. */
.ss-clickable .mud-table-body .mud-table-row { cursor: pointer; }
.ss-clickable .mud-table-body .mud-table-row:hover .ss-row-go { color: var(--mud-palette-primary); }

.blazor-error-boundary {
    background: #b32121;
    padding: 1rem;
    color: white;
}
.blazor-error-boundary::after { content: "An error has occurred."; }

/* ============================================================
   Public marketing site (light, self-contained design)
   ============================================================ */
.mkt {
    background: #ffffff;
    color: #1b2330;
    font-family: 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
}
.mkt a { text-decoration: none; color: inherit; }
.mkt h1, .mkt h2, .mkt h3 { line-height: 1.2; color: #0f1830; margin: 0 0 .5rem; }
.mkt h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; letter-spacing: -0.02em; }
/* The heading is auto-focused on navigation; hide the resulting outline (it's not interactive). */
.mkt h1:focus, .mkt h1:focus-visible { outline: none; }
.mkt h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); font-weight: 700; }
.mkt h3 { font-size: 1.15rem; font-weight: 600; }
.mkt p { margin: 0 0 1rem; }

.mkt-container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.mkt-narrow { max-width: 820px; }
.mkt-center { text-align: center; }
.mkt-muted { color: #5a6675; font-size: 1.05rem; }

/* Campaign banner */
.mkt-campaign-banner {
    background: linear-gradient(90deg, #00897B, #00acc1);
    color: #fff; text-align: center; font-weight: 600; font-size: .92rem;
    padding: 8px 16px;
}

/* Header */
.mkt-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,0.9); backdrop-filter: blur(8px);
    border-bottom: 1px solid #eaedf2;
}
.mkt-nav { display: flex; align-items: center; gap: 24px; height: 68px; }
.mkt-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.2rem; color: #0d47a1; }
.mkt-links { display: flex; gap: 22px; margin-left: 12px; }
.mkt-links a { color: #44505f; font-weight: 500; font-size: .95rem; }
.mkt-links a:hover { color: #0d47a1; }
.mkt-actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.mkt-lang { display: flex; gap: 6px; font-size: .85rem; color: #99a3b0; }
.mkt-lang a.active { color: #0d47a1; font-weight: 700; }
.mkt-signin { font-weight: 600; color: #44505f; }
.mkt-signin:hover { color: #0d47a1; }

/* Buttons */
.mkt-btn {
    display: inline-block; padding: 11px 22px; border-radius: 8px;
    font-weight: 600; font-size: .98rem; cursor: pointer; transition: all .15s ease; border: 1px solid transparent;
}
.mkt-btn-primary { background: #1565c0; color: #fff; box-shadow: 0 4px 14px rgba(21,101,192,.3); }
.mkt-btn-primary:hover { background: #0d47a1; }
.mkt-btn-ghost { background: #fff; color: #0d47a1; border-color: #c9d6e8; }
.mkt-btn-ghost:hover { border-color: #0d47a1; }
.mkt-cta.mkt-btn, .mkt-cta { background:#1565c0; color:#fff; padding:9px 18px; border-radius:8px; font-weight:600; }
.mkt-cta:hover { background:#0d47a1; }
.mkt-btn-lg { padding: 14px 30px; font-size: 1.05rem; }
.mkt-btn-block { display: block; text-align: center; width: 100%; box-sizing: border-box; margin-top: auto; }
/* Anchor buttons live inside .mkt, where `.mkt a { color: inherit }` (line ~178) would
   otherwise win over the button colour and render dark text. Re-assert with higher specificity. */
.mkt a.mkt-btn-primary, .mkt a.mkt-cta { color: #fff; }
.mkt a.mkt-btn-ghost { color: #0d47a1; }
.mkt-price-vat { font-size: .78rem; color: #6b7a90; margin: -10px 0 8px; }
.mkt-footer-by { margin-top: 10px; font-size: .88rem; }
.mkt-footer-by a { text-decoration: underline; }

/* Hero */
.mkt-hero { background: linear-gradient(160deg, #f4f8ff 0%, #eaf1fb 55%, #ffffff 100%); padding: 72px 0 64px; }
.mkt-hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.mkt-eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #1565c0; margin-bottom: 14px; }
.mkt-lead { font-size: 1.18rem; color: #3c4858; max-width: 38ch; }
.mkt-hero-cta { display: flex; gap: 14px; margin: 26px 0 14px; flex-wrap: wrap; }
.mkt-hero-note { font-size: .85rem; color: #7a8694; }

/* Hero scorecard mock */
.mkt-hero-card { display: flex; justify-content: center; }
.mkt-scorecard { width: 100%; max-width: 360px; background: #fff; border: 1px solid #e6ebf2; border-radius: 16px; box-shadow: 0 24px 60px rgba(16,40,80,.14); padding: 20px 22px; }
.mkt-scorecard-head { display: flex; justify-content: space-between; align-items: center; font-weight: 700; margin-bottom: 12px; }
.mkt-scorecard ul { list-style: none; margin: 0; padding: 0; }
.mkt-scorecard li { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid #f1f4f8; font-size: .95rem; }
.mkt-scorecard-foot { margin-top: 14px; font-size: .82rem; color: #5a6675; }
.mkt-num { font-weight: 700; color: #0f1830; }
.mkt-tech-link { color: #1565c0; font-weight: 600; }
.mkt-tech-link:hover { text-decoration: underline; }

.mkt-deflist dt { font-weight: 700; color: #0f1830; margin-top: 20px; }
.mkt-deflist dt span { font-weight: 400; color: #7a8694; font-size: .9rem; }
.mkt-deflist dd { margin: 6px 0 0; color: #5a6675; }
.mkt-check-list { list-style: none; padding: 0; margin: 8px 0 0; }
.mkt-check-list li { padding: 8px 0 8px 28px; position: relative; color: #3c4858; }
.mkt-check-list li::before { content: "✓"; position: absolute; left: 0; color: #1e7e34; font-weight: 700; }
.mkt-badge { font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.mkt-badge-warn { background: #fff3e0; color: #e65100; }
.mkt-pill { font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 6px; }
.mkt-pill.ok { background: #e6f4ea; color: #1e7e34; }
.mkt-pill.bad { background: #fde8e8; color: #c62828; }
.mkt-pill.warn { background: #fff3e0; color: #e65100; }

/* Strip */
.mkt-strip { border-top: 1px solid #eef1f5; border-bottom: 1px solid #eef1f5; background: #fbfcfe; }
.mkt-strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 26px 24px; }
.mkt-strip-grid div { display: flex; flex-direction: column; }
.mkt-strip-grid strong { color: #0d47a1; font-size: 1.02rem; }
.mkt-strip-grid span { color: #5a6675; font-size: .85rem; }

/* Sections */
.mkt-section { padding: 72px 0; }
.mkt-alt { background: #f7f9fc; }
.mkt-section-head { max-width: 720px; margin: 0 auto 44px; }

/* Feature grid */
.mkt-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mkt-feature { background: #fff; border: 1px solid #e9edf3; border-radius: 14px; padding: 26px; transition: box-shadow .15s, transform .15s; }
.mkt-feature:hover { box-shadow: 0 14px 34px rgba(16,40,80,.10); transform: translateY(-2px); }
.mkt-feature-icon { width: 46px; height: 46px; border-radius: 11px; background: #e8f1fd; color: #1565c0; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.mkt-feature p { color: #5a6675; margin: 0; font-size: .96rem; }

/* Steps */
.mkt-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.mkt-step { text-align: center; padding: 8px; }
.mkt-step-num { width: 44px; height: 44px; border-radius: 50%; background: #1565c0; color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.mkt-step p { color: #5a6675; font-size: .92rem; }

/* Pricing */
.mkt-pricing { align-items: stretch; }
.mkt-price-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #e6ebf2; border-radius: 16px; padding: 30px 26px; position: relative; }
.mkt-price-card.featured { border-color: #1565c0; box-shadow: 0 20px 50px rgba(21,101,192,.18); }
.mkt-price-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: #1565c0; color: #fff; font-size: .72rem; font-weight: 700; padding: 5px 14px; border-radius: 999px; }
.mkt-price { display: flex; align-items: baseline; gap: 6px; margin: 6px 0 4px; }
.mkt-price-amount { font-size: 2rem; font-weight: 800; color: #0f1830; }
.mkt-price-per { color: #7a8694; font-size: .95rem; }
.mkt-price-tagline { color: #5a6675; font-size: .95rem; min-height: 42px; }
.mkt-price-features { list-style: none; padding: 0; margin: 14px 0 24px; }
.mkt-price-features li { display: flex; align-items: flex-start; gap: 8px; padding: 7px 0; font-size: .94rem; color: #3c4858; }
.mkt-price-features .mud-icon-root { color: #1e7e34; }

/* CTA band */
.mkt-cta-band { background: linear-gradient(135deg, #0d47a1, #1565c0); color: #fff; padding: 64px 0; text-align: center; }
.mkt-cta-band h2 { color: #fff; }
.mkt-cta-band p { color: #d8e6fb; max-width: 50ch; margin: 0 auto 26px; }

/* Footer */
.mkt-footer { background: #0f1830; color: #aeb9c9; padding: 52px 0 26px; }
.mkt-footer h4 { color: #fff; font-size: .95rem; margin: 0 0 14px; }
.mkt-footer a { display: block; color: #aeb9c9; padding: 4px 0; font-size: .92rem; }
.mkt-footer a:hover { color: #fff; }
.mkt-brand-footer { color: #fff; margin-bottom: 12px; }
.mkt-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid #233049; }
.mkt-footer-grid p { color: #8d99ab; font-size: .92rem; max-width: 38ch; }
.mkt-footer-bottom { display: flex; justify-content: space-between; padding-top: 22px; font-size: .82rem; color: #8d99ab; gap: 16px; flex-wrap: wrap; }

/* Form */
.mkt-form { background: #fff; border: 1px solid #e6ebf2; border-radius: 14px; padding: 26px; margin-top: 20px; }
.mkt-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mkt-form-row { display: flex; flex-direction: column; margin-bottom: 16px; }
.mkt-form-row label { font-size: .85rem; font-weight: 600; color: #44505f; margin-bottom: 6px; }
.mkt-form input, .mkt-form select, .mkt-form textarea {
    padding: 10px 12px; border: 1px solid #cdd6e2; border-radius: 8px; font-size: 1rem; font-family: inherit; background: #fff; color: #1b2330;
}
.mkt-form input:focus, .mkt-form select:focus, .mkt-form textarea:focus { outline: none; border-color: #1565c0; box-shadow: 0 0 0 2px rgba(21,101,192,.18); }

/* Responsive */
@media (max-width: 900px) {
    .mkt-hero-inner { grid-template-columns: 1fr; }
    .mkt-grid-3, .mkt-steps { grid-template-columns: 1fr; }
    .mkt-strip-grid { grid-template-columns: 1fr 1fr; }
    .mkt-footer-grid { grid-template-columns: 1fr; }
    .mkt-form-grid { grid-template-columns: 1fr; }
    .mkt-links { display: none; }
}

/* ============================================================
   Public marketing site — DARK (follows prefers-color-scheme ONLY;
   no toggle by design, Ken 2026-08-03). Light rules above are the
   base; this block overrides the palette. Mud components on public
   follow via X2MudProviders Mode=System.
   ============================================================ */
@media (prefers-color-scheme: dark) {
    .mkt { background: #12161f; color: #dbe2ea; }
    .mkt h1, .mkt h2, .mkt h3 { color: #eef2f7; }
    .mkt-muted { color: #93a0b1; }

    .mkt-header { background: rgba(18,22,31,0.88); border-bottom-color: #232c3b; }
    .mkt-brand { color: #7fb2ff; }
    .mkt-links a { color: #a9b6c6; }
    .mkt-links a:hover { color: #cfe0ff; }
    .mkt-signin { color: #a9b6c6; }
    .mkt-signin:hover { color: #cfe0ff; }
    .mkt-lang { color: #7d8899; }
    .mkt-lang a.active { color: #7fb2ff; }

    .mkt-btn-ghost { background: transparent; color: #7fb2ff; border-color: #34435c; }
    .mkt-btn-ghost:hover { border-color: #7fb2ff; }
    .mkt a.mkt-btn-ghost { color: #7fb2ff; }
    .mkt-price-vat { color: #8b97a7; }

    .mkt-hero { background: linear-gradient(160deg, #151c2b 0%, #131826 55%, #12161f 100%); }
    .mkt-eyebrow { color: #7fb2ff; }
    .mkt-lead { color: #aab6c5; }
    .mkt-hero-note { color: #8b97a7; }
    .mkt-scorecard { background: #1a2130; border-color: #2a3446; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
    .mkt-scorecard li { border-bottom-color: #242e40; }
    .mkt-scorecard-foot { color: #93a0b1; }
    .mkt-num, .mkt-deflist dt { color: #eef2f7; }
    .mkt-tech-link { color: #7fb2ff; }
    .mkt-deflist dt span { color: #8b97a7; }
    .mkt-deflist dd { color: #93a0b1; }
    .mkt-check-list li { color: #b6c1cf; }
    .mkt-check-list li::before { color: #7bd88a; }

    .mkt-badge-warn, .mkt-pill.warn { background: rgba(230,81,0,.22); color: #ffb46e; }
    .mkt-pill.ok { background: rgba(46,125,50,.24); color: #7bd88a; }
    .mkt-pill.bad { background: rgba(198,40,40,.26); color: #ff9d9d; }

    .mkt-strip { background: #141a26; border-top-color: #232c3b; border-bottom-color: #232c3b; }
    .mkt-strip-grid strong { color: #7fb2ff; }
    .mkt-strip-grid span { color: #93a0b1; }

    .mkt-alt { background: #151b26; }
    .mkt-feature { background: #1a2130; border-color: #26303f; }
    .mkt-feature:hover { box-shadow: 0 14px 34px rgba(0,0,0,.4); }
    .mkt-feature-icon { background: #1c2c47; color: #7fb2ff; }
    .mkt-feature p, .mkt-step p { color: #93a0b1; }

    .mkt-price-card { background: #1a2130; border-color: #2a3446; }
    .mkt-price-card.featured { border-color: #3b82f6; box-shadow: 0 20px 50px rgba(59,130,246,.22); }
    .mkt-price-amount { color: #eef2f7; }
    .mkt-price-per, .mkt-price-tagline { color: #93a0b1; }
    .mkt-price-features li { color: #b6c1cf; }

    /* CTA-band and footer are already dark-toned — they stay. */

    .mkt-form { background: #1a2130; border-color: #2a3446; }
    .mkt-form-row label { color: #a9b6c6; }
    .mkt-form input, .mkt-form select, .mkt-form textarea { background: #121722; color: #dbe2ea; border-color: #34435c; }
    .mkt-form input:focus, .mkt-form select:focus, .mkt-form textarea:focus { border-color: #7fb2ff; box-shadow: 0 0 0 2px rgba(127,178,255,.22); }

    .mkt-legal p, .mkt-legal li { color: #a9b6c6; }
    .mkt-legal .mkt-legal-updated { color: #8b97a7; }
    .mkt-legal .mkt-legal-draft { background: rgba(255,213,145,.12); border-color: #6d5626; color: #e8c886; }
}

/* ---- Cookie consent banner ---- */
.mkt-cookie {
    position: fixed;
    left: 16px; right: 16px; bottom: 16px;
    z-index: 1300;
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    background: #0f2238;
    color: #e6edf5;
    padding: 14px 18px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,.28);
    flex-wrap: wrap;
}
.mkt-cookie-text { flex: 1 1 320px; font-size: .9rem; line-height: 1.4; }
.mkt-cookie-text a { color: #7fb2ff; text-decoration: underline; margin-left: 6px; }
.mkt-cookie-btn { white-space: nowrap; }

/* ---- Legal / long-form content pages ---- */
.mkt-legal { max-width: 760px; margin: 0 auto; padding: 56px 0; }
.mkt-legal h1 { font-size: 2rem; margin-bottom: 6px; }
.mkt-legal h2 { font-size: 1.2rem; margin: 30px 0 8px; }
.mkt-legal p, .mkt-legal li { color: #41506a; line-height: 1.65; }
.mkt-legal ul { padding-left: 20px; margin: 8px 0; }
.mkt-legal .mkt-legal-updated { color: #8d99ab; font-size: .85rem; margin-bottom: 18px; }
.mkt-legal .mkt-legal-draft { background: #fff7e6; border: 1px solid #ffd591; color: #8a5a00; padding: 10px 14px; border-radius: 8px; font-size: .85rem; margin-bottom: 24px; }
