/* Konticode site-aligned theme overrides for the standalone support widget. */
:root {
    --bg: #090c0b;
    --panel: rgba(18, 22, 20, 0.92);
    --panel-strong: linear-gradient(155deg, rgba(18, 22, 20, 0.96), rgba(26, 38, 31, 0.94));
    --ink: #f2f5f3;
    --muted: #9ca9a2;
    --line: rgba(127, 255, 158, 0.12);
    --accent: #7fff9e;
    --accent-strong: #5ce683;
    --accent-soft: rgba(127, 255, 158, 0.12);
    --success: #7fff9e;
    --shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
    --kc-text: #f2f5f3;
    --kc-muted: #9ca9a2;
    --kc-accent: #7fff9e;
    --kc-accent-2: #ffb454;
    --kc-border: #233027;
}

html,
body {
    min-height: 100%;
}

body {
    color: var(--ink);
    background:
        radial-gradient(circle at 85% 8%, #1e2b23 0%, transparent 22%),
        radial-gradient(circle at 14% 12%, rgba(127, 255, 158, 0.08), transparent 18%),
        var(--bg);
}

.site-shell {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
}

.site-mono {
    font-family: "IBM Plex Mono", monospace;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 8;
    border-bottom: 1px solid rgba(35, 48, 39, 0.7);
    background: rgba(9, 12, 11, 0.9);
    backdrop-filter: blur(12px);
}

.site-header-inner,
.site-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 80px;
}

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

.site-brand-mark {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--kc-border);
    background: #121614;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.site-brand:hover .site-brand-mark,
.site-brand:focus-visible .site-brand-mark {
    transform: scale(1.05);
    border-color: var(--accent);
    box-shadow: 0 0 18px rgba(127, 255, 158, 0.45);
}

.site-brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-brand-text,
.site-footer-mark {
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.site-nav {
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.875rem;
}

.site-cta {
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.site-brand-text,
.site-nav a,
.site-footer-nav a,
.site-footer-copy {
    color: var(--muted);
}

.site-nav,
.site-footer-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.site-footer-nav {
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.875rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    flex-wrap: wrap;
}

.site-nav a,
.site-footer-nav a {
    text-decoration: none;
    transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-footer-nav a:hover,
.site-footer-nav a:focus-visible {
    color: var(--accent);
}

.site-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    background: var(--accent);
    color: #0b0d0c;
    text-decoration: none;
    font-weight: 700;
    transition: background 160ms ease;
}

.site-cta:hover,
.site-cta:focus-visible {
    background: var(--accent-strong);
}

body::before {
    background-image:
        linear-gradient(rgba(127, 255, 158, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(127, 255, 158, 0.06) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(circle at center, black 30%, transparent 85%);
}

.shell {
    padding-top: 32px;
}

.site-main {
    min-height: calc(100vh - 161px);
}

.site-intro {
    max-width: 720px;
    margin-bottom: 28px;
}

.site-intro h1 {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2.2rem, 5vw, 4.3rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.site-intro-copy {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 58ch;
}

.kc-grid-bg {
    position: relative;
}

.kc-grid-bg::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 88% 14%, rgba(127, 255, 158, 0.08), transparent 16%),
        radial-gradient(circle at 10% 72%, rgba(255, 180, 84, 0.07), transparent 16%);
}

.kc-border-glow {
    box-shadow:
        0 0 0 1px rgba(127, 255, 158, 0.22),
        0 18px 42px rgba(0, 0, 0, 0.38);
}

.kc-fadeup {
    opacity: 0;
    transform: translateY(24px);
    animation: kcFadeUp 0.85s ease forwards;
}

.kc-delay-1 {
    animation-delay: 0.08s;
}

.kc-delay-2 {
    animation-delay: 0.18s;
}

.kc-delay-3 {
    animation-delay: 0.28s;
}

.hero,
.panel,
.modal-card {
    color: var(--ink);
    border-color: var(--kc-border);
    backdrop-filter: blur(12px);
}

.hero,
.panel {
    background:
        linear-gradient(180deg, rgba(18, 22, 20, 0.94), rgba(15, 18, 17, 0.92));
}

.hero h1,
.panel h2,
.modal-card h2 {
    color: #f2f5f3;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.panel-highlight {
    color: #f2f5f3;
    background:
        linear-gradient(155deg, rgba(18, 22, 20, 0.98), rgba(22, 33, 27, 0.96));
}

.panel-highlight .eyebrow,
.panel-highlight .panel-copy,
.panel-highlight .microcopy,
.panel-highlight .donation-card span {
    color: rgba(242, 245, 243, 0.8);
}

.panel-highlight .donation-card {
    border-color: rgba(127, 255, 158, 0.12);
    background: rgba(127, 255, 158, 0.04);
}

.hero-copy,
.panel-copy,
.microcopy,
.feature-list,
.kc-muted {
    color: var(--muted);
}

.eyebrow,
.kc-accent {
    color: var(--accent);
    font-family: "Space Grotesk", sans-serif;
}

.button {
    border-radius: 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.kc-button-primary.button,
.kc-button-primary,
.button-primary {
    color: #0b0d0c;
    background: var(--accent);
    border-color: transparent;
    box-shadow: none;
}

.kc-button-primary.button:hover,
.kc-button-primary:hover,
.kc-button-primary.button:focus-visible,
.button-primary:hover,
.button-primary:focus-visible {
    background: var(--accent-strong);
    box-shadow: none;
}

.kc-button-secondary.button,
.kc-button-secondary,
.button-secondary {
    color: var(--ink);
    background: transparent;
    border-color: var(--kc-border);
}

.kc-button-secondary.button:hover,
.kc-button-secondary:hover,
.kc-button-secondary.button:focus-visible,
.button-secondary:hover,
.button-secondary:focus-visible {
    color: var(--accent);
    background: rgba(127, 255, 158, 0.04);
    border-color: var(--accent);
}

.donation-card strong {
    color: #f2f5f3;
}

.feature-list li::marker {
    color: var(--accent);
}

.modal-backdrop {
    background:
        radial-gradient(circle at top, rgba(127, 255, 158, 0.08), transparent 22%),
        rgba(9, 12, 11, 0.72);
}

.modal-card {
    background: linear-gradient(180deg, rgba(18, 22, 20, 0.98), rgba(12, 15, 14, 0.98));
}

.icon-button,
input,
select,
textarea {
    color: var(--ink);
    border-color: var(--kc-border);
    background: rgba(16, 20, 18, 0.96);
}

.icon-button {
    background: rgba(18, 22, 20, 0.96);
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid rgba(127, 255, 158, 0.18);
    border-color: var(--accent);
}

.status.error {
    color: #ff8e86;
}

.status.loading {
    color: var(--accent);
    font-weight: 700;
}

.status.success {
    color: var(--success);
}

.site-footer {
    border-top: 1px solid var(--kc-border);
    margin-top: 24px;
}

.site-footer-inner {
    min-height: 72px;
}

.site-footer-copy {
    font-size: 0.92rem;
}

@keyframes kcFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .site-header-inner,
    .site-footer-inner {
        flex-wrap: wrap;
        padding: 16px 0;
        min-height: 0;
    }

    .site-nav,
    .site-footer-nav {
        gap: 16px;
        flex-wrap: wrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    .kc-fadeup {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 640px) {
    .site-shell {
        width: min(100% - 24px, 1280px);
    }

    .site-header-inner,
    .site-footer-inner {
        align-items: flex-start;
    }

    .site-nav {
        display: none;
    }

    .site-cta {
        width: 100%;
    }

    .site-footer-nav {
        width: 100%;
        justify-content: space-between;
        gap: 12px;
    }
}
