:root {
    color-scheme: light;
    --color-cyan: #22d3ee;
    --color-tech-blue: #38bdf8;
    --color-emerald: #34d399;

    --color-deep-blue: #0f172a;
    --color-slate: #334155;

    --bg-main: #f8fafc;
    --bg-section: #eef6ff;
    --bg-card: #ffffff;

    --color-border: #cfe0f6;
    --color-muted: #64748b;
    --color-danger: #dc2626;
    --color-success: #059669;
    --color-danger-text: #991b1b;
    --color-success-text: #065f46;
    --color-link: #0369a1;
    --color-kicker: #0e7490;
    --surface-overlay: rgba(255, 255, 255, 0.92);
    --surface-overlay-soft: rgba(255, 255, 255, 0.82);
    --surface-overlay-strong: rgba(255, 255, 255, 0.96);
    --surface-muted: rgba(238, 246, 255, 0.9);
    --input-bg: #ffffff;
    --input-placeholder: #94a3b8;
    --focus-ring: 0 0 0 3px rgba(56, 189, 248, 0.2);
    --footer-bg: rgba(255, 255, 255, 0.72);
    --footer-border: rgba(15, 23, 42, 0.08);
    --footer-text: var(--color-slate);

    --gradient-brand: linear-gradient(135deg, var(--color-cyan), var(--color-tech-blue), var(--color-emerald));
    --gradient-soft: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(56, 189, 248, 0.16), rgba(52, 211, 153, 0.14));

    --shadow-sm: 0 8px 20px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 20px 56px rgba(15, 23, 42, 0.12);
    --shadow-lg: 0 28px 70px rgba(15, 23, 42, 0.16);

    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 26px;
    --radius-pill: 999px;

    --container: min(1180px, calc(100vw - 2rem));
    --motion: 220ms cubic-bezier(.4, 0, .2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg-main);
    color: var(--color-deep-blue);
    font-family: "Manrope", "Sora", "Avenir Next", "Helvetica Neue", sans-serif;
    line-height: 1.55;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
svg,
video,
iframe {
    max-width: 100%;
}

h1,
h2,
h3,
h4,
p {
    margin: 0;
}

ul,
ol {
    margin: 0;
    padding-left: 1.15rem;
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.app-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 8% 10%, rgba(34, 211, 238, 0.22), transparent 34%),
        radial-gradient(circle at 90% 12%, rgba(56, 189, 248, 0.18), transparent 32%),
        radial-gradient(circle at 30% 90%, rgba(52, 211, 153, 0.18), transparent 40%),
        linear-gradient(180deg, #f9fcff, var(--bg-main) 60%);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    transition: backdrop-filter var(--motion), border-color var(--motion), background-color var(--motion), box-shadow var(--motion);
}

.site-header.is-scrolled {
    background: var(--surface-overlay);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--footer-border);
    box-shadow: var(--shadow-sm);
}

.nav-bar {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    flex-shrink: 0;
}

.brand-badge {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-family: "Sora", "Manrope", sans-serif;
    font-weight: 800;
    color: #f8fafc;
    letter-spacing: 0.03em;
    background: var(--gradient-brand);
    box-shadow: 0 10px 24px rgba(34, 211, 238, 0.3);
}

.brand-logo {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(56, 189, 248, 0.28);
}

.brand-label {
    font-family: "Sora", "Manrope", sans-serif;
    font-weight: 700;
    color: var(--color-deep-blue);
}

.nav-toggle {
    width: 44px;
    height: 44px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--surface-overlay);
    display: inline-grid;
    gap: 5px;
    place-content: center;
    padding: 0;
    cursor: pointer;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--color-deep-blue);
    transition: transform var(--motion), opacity var(--motion);
}

body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
    position: absolute;
    top: calc(100% - 6px);
    left: 1rem;
    right: 1rem;
    display: grid;
    gap: 0.45rem;
    padding: 0.8rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    background: var(--surface-overlay-strong);
    box-shadow: var(--shadow-md);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height var(--motion), opacity var(--motion);
}

body.nav-open .site-nav {
    max-height: 460px;
    opacity: 1;
    pointer-events: auto;
}

.site-nav a {
    padding: 0.45rem 0.65rem;
    border-radius: 10px;
    font-weight: 600;
    color: var(--color-slate);
    transition: background var(--motion), color var(--motion);
}

.site-nav a:hover,
.site-nav a:focus-visible {
    background: rgba(34, 211, 238, 0.14);
    color: var(--color-link);
    outline: none;
}

.nav-actions {
    display: none;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

.welcome-message {
    font-size: 0.86rem;
    color: var(--color-muted);
    font-weight: 700;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.72rem 1.12rem;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform var(--motion), box-shadow var(--motion), filter var(--motion), background var(--motion), color var(--motion), border-color var(--motion);
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-1px);
    outline: none;
}

.btn-primary {
    background: var(--gradient-brand);
    color: #f8fafc;
    box-shadow: 0 12px 24px rgba(56, 189, 248, 0.3);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    box-shadow: 0 16px 30px rgba(56, 189, 248, 0.38);
}

.btn-ghost {
    background: var(--surface-overlay-soft);
    color: var(--color-slate);
    border-color: var(--color-border);
}

.site-main {
    flex: 1;
    padding: 2.2rem 0 2.8rem;
}

.content-stack {
    display: grid;
    gap: 1.2rem;
}

.card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gradient-soft);
    opacity: 0.55;
    pointer-events: none;
}

.section-block,
.legal-card,
.success-card,
.auth-card,
.checklist-shell,
.page-hero,
.pricing-card {
    padding: clamp(1rem, 3vw, 2rem);
}

.section-headline {
    display: grid;
    gap: 0.55rem;
    margin-bottom: 1rem;
}

.section-headline h1,
.section-headline h2,
.title-xl,
.auth-title,
.card-title {
    font-family: "Sora", "Manrope", sans-serif;
    letter-spacing: -0.02em;
}

.card-title {
    font-size: clamp(1.7rem, 3.4vw, 2.5rem);
    margin-bottom: 0.35rem;
}

.card-subtitle {
    font-size: 1rem;
}

.title-xl {
    font-size: clamp(2rem, 4.6vw, 3.6rem);
    line-height: 1.06;
}

.kicker {
    width: fit-content;
    padding: 0.34rem 0.7rem;
    border-radius: var(--radius-pill);
    font-size: 0.74rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--color-kicker);
    background: rgba(34, 211, 238, 0.14);
    border: 1px solid rgba(34, 211, 238, 0.35);
}

.text-gradient {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lead,
.card-subtitle,
.auth-subtitle,
.note-text,
.meta-text {
    color: var(--color-slate);
}

.lead {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    max-width: 72ch;
}

.button-row {
    margin-top: 1.15rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.72rem;
}

.mt-md {
    margin-top: 1.2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.9rem;
}

.stats-grid--compact {
    margin-top: 1rem;
}

.stat-card {
    padding: 0.95rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    background: var(--surface-overlay);
    display: grid;
    gap: 0.2rem;
    z-index: 1;
}

.stat-card .stat-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-muted);
}

.stat-card .stat-value,
.stat-value {
    font-family: "Sora", "Manrope", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-deep-blue);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.85rem;
}

.feature-card {
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    background: var(--bg-card);
    padding: 1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.feature-card h3,
.process-line h3,
.pricing-card h3,
.info-pair strong {
    font-family: "Sora", "Manrope", sans-serif;
    margin-bottom: 0.35rem;
}

.feature-card p {
    color: var(--color-slate);
    font-size: 0.92rem;
}

.process-line {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.8rem;
}

.process-line article {
    padding: 0.95rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    background: var(--surface-overlay);
}

.process-line span {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    font-size: 0.82rem;
    font-weight: 800;
    color: #f8fafc;
    background: var(--gradient-brand);
    margin-bottom: 0.7rem;
}

.process-line p {
    color: var(--color-slate);
    font-size: 0.9rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.pricing-card {
    z-index: 1;
}

.pricing-card--featured {
    border-color: rgba(56, 189, 248, 0.6);
    box-shadow: var(--shadow-md);
}

.pricing-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.7rem;
}

.price {
    margin: 0.9rem 0 0.95rem;
    font-size: 1.7rem;
    font-family: "Sora", "Manrope", sans-serif;
    font-weight: 700;
}

.price small {
    font-size: 0.85rem;
    color: var(--color-muted);
}

.pill-row {
    margin-top: 0.55rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.62rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--color-border);
    background: rgba(238, 246, 255, 0.7);
    color: var(--color-slate);
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pill--featured {
    color: #0369a1;
    border-color: rgba(56, 189, 248, 0.45);
    background: rgba(56, 189, 248, 0.14);
}

.pill--pending {
    color: #475569;
}

.pill--processing {
    color: #0369a1;
    border-color: rgba(56, 189, 248, 0.5);
    background: rgba(56, 189, 248, 0.14);
}

.pill--success {
    color: #047857;
    border-color: rgba(52, 211, 153, 0.55);
    background: rgba(52, 211, 153, 0.16);
}

.pill--failed {
    color: #b91c1c;
    border-color: rgba(220, 38, 38, 0.35);
    background: rgba(220, 38, 38, 0.08);
}

.pill--skipped {
    color: #475569;
    border-color: rgba(148, 163, 184, 0.5);
    background: rgba(148, 163, 184, 0.15);
}

.info-note {
    margin-top: 0.9rem;
    padding: 0.75rem 0.9rem;
    border-radius: 14px;
    border: 1px dashed rgba(56, 189, 248, 0.42);
    background: rgba(238, 246, 255, 0.9);
    color: var(--color-slate);
    font-size: 0.9rem;
}

.status-chip {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0.42rem 0.8rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.75);
    color: var(--color-muted);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-chip[data-state="pending"] {
    color: #0369a1;
    border-color: rgba(56, 189, 248, 0.45);
}

.status-chip[data-state="success"] {
    color: #047857;
    border-color: rgba(52, 211, 153, 0.55);
}

.status-chip[data-state="error"] {
    color: #b91c1c;
    border-color: rgba(220, 38, 38, 0.35);
}

.two-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--bg-card);
    position: relative;
    z-index: 1;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.pricing-table th {
    text-align: left;
    white-space: nowrap;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.78rem 0.82rem;
    color: var(--color-muted);
    background: var(--surface-muted);
    border-bottom: 1px solid var(--color-border);
}

.pricing-table td {
    padding: 0.78rem 0.82rem;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-deep-blue);
    vertical-align: top;
}

.pricing-table tr:last-child td {
    border-bottom: 0;
}

.pricing-table tr:hover td {
    background: var(--surface-muted);
}

.bullet-list {
    display: grid;
    gap: 0.48rem;
    list-style: none;
    padding: 0;
}

.bullet-list li {
    position: relative;
    padding-left: 0.92rem;
    color: var(--color-slate);
    font-size: 0.92rem;
}

.bullet-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gradient-brand);
}

.nxupload-live {
    max-height: 440px;
    overflow: auto;
    padding-right: 0.4rem;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.info-pair {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--surface-overlay);
    padding: 0.8rem;
    display: grid;
    gap: 0.22rem;
}

.info-pair span {
    color: var(--color-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.auth-shell {
    max-width: 560px;
    margin: 0 auto;
}

.auth-card {
    z-index: 1;
}

.auth-title {
    font-size: clamp(1.6rem, 3.5vw, 2.3rem);
    margin-bottom: 0.55rem;
}

.auth-form {
    margin-top: 1rem;
    display: grid;
    gap: 0.7rem;
}

.auth-form label {
    display: grid;
    gap: 0.35rem;
    font-weight: 700;
    color: var(--color-slate);
    font-size: 0.9rem;
}

.auth-submit {
    margin-top: 0.4rem;
}

.auth-switch {
    margin-top: 1rem;
    color: var(--color-slate);
    font-size: 0.9rem;
}

.inline-link {
    color: var(--color-link);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 700;
}

.alert {
    margin-top: 0.9rem;
    padding: 0.74rem 0.84rem;
    border-radius: 12px;
    border: 1px solid transparent;
    font-size: 0.9rem;
}

.alert-danger {
    background: rgba(220, 38, 38, 0.08);
    border-color: rgba(220, 38, 38, 0.25);
    color: var(--color-danger-text);
}

.alert-success {
    background: rgba(5, 150, 105, 0.08);
    border-color: rgba(5, 150, 105, 0.25);
    color: var(--color-success-text);
}

.checklist-shell {
    z-index: 1;
}

.page-header {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.checklist-form {
    display: grid;
    gap: 1rem;
}

.form-section {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 0.9rem;
    background: var(--surface-overlay);
    display: grid;
    gap: 0.72rem;
}

.form-section h2 {
    margin: 0;
    font-size: 1.02rem;
    font-family: "Sora", "Manrope", sans-serif;
}

.form-row {
    display: grid;
    gap: 0.38rem;
}

.form-row label,
.form-row legend {
    font-weight: 700;
    color: var(--color-slate);
    font-size: 0.9rem;
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.7rem;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.45rem;
}

.checkbox-grid label,
.checkbox-grid li,
.checkbox-grid div,
.checkbox-grid span {
    font-size: 0.9rem;
    color: var(--color-slate);
}

fieldset.form-row {
    margin: 0;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 0.8rem;
}

input,
textarea,
select,
button {
    font: inherit;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
input[type="number"],
input[type="file"],
textarea,
select {
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--input-bg);
    color: var(--color-deep-blue);
    padding: 0.66rem 0.72rem;
    transition: border-color var(--motion), box-shadow var(--motion);
}

input::placeholder,
textarea::placeholder {
    color: var(--input-placeholder);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: rgba(56, 189, 248, 0.8);
    box-shadow: var(--focus-ring);
}

input[type="checkbox"] {
    accent-color: #38bdf8;
    margin-right: 0.4rem;
}

.form-footer {
    margin-top: 0.2rem;
}

.button-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.success-card h1 {
    font-family: "Sora", "Manrope", sans-serif;
    margin-bottom: 0.7rem;
}

.success-card p + p {
    margin-top: 0.65rem;
}

.legal-prose {
    margin-top: 1rem;
    color: var(--color-slate);
    font-size: 0.93rem;
    line-height: 1.65;
}

.legal-prose a {
    color: var(--color-link);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-prose h2 {
    margin-top: 1.35rem;
    margin-bottom: 0.4rem;
    font-family: "Sora", "Manrope", sans-serif;
    font-size: 1.06rem;
    color: var(--color-deep-blue);
}

.legal-prose p + p,
.legal-prose p + ul,
.legal-prose p + ol,
.legal-prose ul + p,
.legal-prose ol + p {
    margin-top: 0.55rem;
}

.legal-prose li + li {
    margin-top: 0.32rem;
}

.video-frame {
    margin-top: 0.7rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: #000;
}

.video-frame iframe {
    width: 100%;
    min-height: 300px;
    border: 0;
    display: block;
}

.chat-page {
    display: grid;
    gap: 0.7rem;
}

.chat-page--embedded {
    margin-top: 0.3rem;
}

.chat-page h1 {
    font-size: 1.05rem;
    font-family: "Sora", "Manrope", sans-serif;
}

.chat-box {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--bg-card);
    min-height: 280px;
    max-height: 380px;
    overflow: auto;
    padding: 0.6rem;
}

.chat-messages {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.45rem;
}

.chat-messages li {
    border-radius: 12px;
    background: var(--bg-section);
    padding: 0.56rem 0.64rem;
    border: 1px solid rgba(56, 189, 248, 0.22);
}

.chat-message {
    transition: transform var(--motion), box-shadow var(--motion), opacity var(--motion);
}

.chat-message--self {
    border-color: rgba(52, 211, 153, 0.3);
    background: rgba(52, 211, 153, 0.11);
}

.chat-message--other {
    border-color: rgba(56, 189, 248, 0.28);
    background: rgba(56, 189, 248, 0.1);
}

.chat-message--enter {
    opacity: 0;
    transform: translateY(8px);
}

.chat-message--show {
    opacity: 1;
    transform: translateY(0);
}

.chat-message-meta {
    display: flex;
    gap: 0.45rem;
    align-items: center;
    margin-bottom: 0.2rem;
}

.chat-time {
    color: var(--color-muted);
    font-size: 0.75rem;
}

.chat-user {
    color: var(--color-link);
    font-size: 0.78rem;
    font-weight: 700;
}

.chat-text {
    margin: 0;
    color: var(--color-deep-blue);
    font-size: 0.9rem;
}

.chat-messages--loading {
    opacity: 0.8;
}

.chat-input {
    display: grid;
    gap: 0.55rem;
}

.chat-input label {
    display: grid;
    gap: 0.4rem;
    font-weight: 700;
    color: var(--color-slate);
}

#send-btn {
    justify-self: start;
    border: 0;
    border-radius: var(--radius-pill);
    padding: 0.62rem 1.05rem;
    background: var(--gradient-brand);
    color: #f8fafc;
    font-weight: 700;
    cursor: pointer;
}

#send-btn.is-loading {
    opacity: 0.8;
}

#send-btn.is-error {
    background: linear-gradient(135deg, #ef4444, #f97316);
}

.chat-placeholder {
    border: 1px dashed var(--color-border);
    border-radius: var(--radius-md);
    padding: 0.9rem;
    background: var(--surface-overlay-soft);
    display: grid;
    gap: 0.6rem;
}

.spacer-32 {
    margin-top: 0.9rem;
}

.site-footer {
    border-top: 1px solid var(--footer-border);
    background: var(--footer-bg);
    backdrop-filter: blur(8px);
}

.footer-row {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0.8rem 0;
}

.footer-row p {
    color: var(--footer-text);
    font-size: 0.88rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.footer-links a {
    font-weight: 700;
    color: var(--color-link);
    font-size: 0.86rem;
}

.cookie-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 90;
    transition: transform var(--motion), opacity var(--motion);
}

.cookie-banner--hidden {
    opacity: 0;
    transform: translateY(14px);
}

.cookie-banner__inner {
    border-radius: 18px;
    border: 1px solid var(--color-border);
    background: var(--surface-overlay-strong);
    box-shadow: var(--shadow-lg);
    padding: 0.95rem;
    display: grid;
    gap: 0.85rem;
}

.cookie-banner__text strong {
    display: block;
    margin-bottom: 0.24rem;
    font-family: "Sora", "Manrope", sans-serif;
}

.cookie-banner__text p {
    color: var(--color-slate);
    font-size: 0.9rem;
}

.cookie-banner__text a {
    color: var(--color-link);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner__actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 460ms ease, transform 460ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 768px) {
    .site-main {
        padding-top: 2.6rem;
    }

    .site-nav {
        position: static;
        max-height: none;
        opacity: 1;
        pointer-events: auto;
        overflow: visible;
        background: transparent;
        box-shadow: none;
        border: 0;
        padding: 0;
        display: flex;
        align-items: center;
        gap: 0.15rem;
    }

    .site-nav a {
        padding: 0.46rem 0.66rem;
    }

    .nav-toggle {
        display: none;
    }

    .nav-actions {
        display: inline-flex;
    }

    .two-col {
        grid-template-columns: 1.2fr 0.8fr;
    }

    .section-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cookie-banner {
        left: auto;
        right: 1rem;
        width: min(620px, calc(100vw - 2rem));
    }
}

@media (min-width: 1100px) {
    .site-main {
        padding-top: 3rem;
    }

    .content-stack {
        gap: 1.35rem;
    }

    .stats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition-duration: 1ms !important;
        scroll-behavior: auto !important;
    }
}
