/*
 * Creator Link Hub — design system (no build step)
 * Optional font: place inter.woff2 in /assets/fonts/ and uncomment @font-face below.
 */
/*
@font-face {
    font-family: "InterVar";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("/assets/fonts/inter.woff2") format("woff2");
}
*/

:root {
    --font: "InterVar", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif;
    --max: 1120px;
    --max-narrow: 480px;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    --transition: 0.2s ease;
    color-scheme: dark;
    --bg0: #07060d;
    --bg1: #0e0c16;
    --bg2: #151222;
    --surface: rgba(255, 255, 255, 0.04);
    --surface2: rgba(255, 255, 255, 0.07);
    --border: rgba(255, 255, 255, 0.1);
    --text: #f4f2ff;
    --muted: #a39ec4;
    --accent: #8b5cf6;
    --accent2: #ec4899;
    --accent3: #22d3ee;
    --danger: #f87171;
    --ok: #4ade80;
    --gradient: linear-gradient(120deg, #8b5cf6 0%, #ec4899 45%, #22d3ee 100%);
    --glow: rgba(139, 92, 246, 0.45);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg0);
    background-image:
        radial-gradient(ellipse 120% 80% at 50% -20%, var(--glow), transparent 55%),
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(236, 72, 153, 0.12), transparent 50%),
        radial-gradient(ellipse 50% 30% at 0% 20%, rgba(34, 211, 238, 0.1), transparent 45%);
    min-height: 100vh;
}

a {
    color: var(--accent3);
    text-decoration: none;
    transition: color var(--transition), opacity var(--transition);
}

a:hover {
    color: var(--accent2);
}

img,
svg {
    max-width: 100%;
    height: auto;
}

.wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.wrap-narrow {
    max-width: var(--max-narrow);
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
    background: color-mix(in srgb, var(--bg1) 82%, transparent);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    padding: 0.65rem 0;
}

.logo {
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: -0.03em;
    color: var(--text);
    text-decoration: none;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo:hover {
    opacity: 0.9;
}

.nav-toggle {
    display: none;
    margin-left: auto;
    background: var(--surface2);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: var(--radius-sm);
    padding: 0.45rem 0.65rem;
    cursor: pointer;
    font: inherit;
}

.nav-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    flex: 1;
    justify-content: flex-end;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
    align-items: center;
}

.nav a {
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 500;
}

.nav a:hover {
    color: var(--text);
}

.nav-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.lang {
    display: flex;
    gap: 0.35rem;
    font-size: 0.75rem;
    border-left: 1px solid var(--border);
    padding-left: 0.75rem;
    margin-left: 0.25rem;
}

.lang a {
    color: var(--muted);
    padding: 0.2rem 0.35rem;
    border-radius: 6px;
}

.lang a:hover {
    color: var(--text);
    background: var(--surface);
}

@media (max-width: 860px) {
    .nav-toggle {
        display: inline-flex;
    }

    .nav-wrap {
        flex-basis: 100%;
        flex-direction: column;
        align-items: stretch;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.35s ease, opacity 0.25s ease;
    }

    .site-header.nav-open .nav-wrap {
        max-height: 420px;
        opacity: 1;
        padding-bottom: 0.75rem;
    }

    .nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .lang {
        border-left: none;
        padding-left: 0;
        margin-left: 0;
    }
}

/* ---------- Main ---------- */
.main {
    padding: 2rem 0 4.5rem;
}

/* ---------- Typography utilities ---------- */
.eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent3);
    margin-bottom: 0.65rem;
}

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

.section {
    padding: 3.5rem 0;
}

.section-tight {
    padding: 2rem 0;
}

.section-head {
    max-width: 720px;
    margin: 0 auto 2.25rem;
    text-align: center;
}

.section-head h2 {
    margin: 0 0 0.65rem;
    font-size: clamp(1.5rem, 3.5vw, 2.1rem);
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.section-head p {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

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

/* ---------- Hero ---------- */
.hero-split {
    display: grid;
    gap: 2.5rem;
    align-items: center;
    padding: 2rem 0 3rem;
}

@media (min-width: 900px) {
    .hero-split {
        grid-template-columns: 1fr 1fr;
        padding: 3rem 0 4rem;
    }
}

.hero-copy h1 {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 5vw, 2.85rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.hero-copy .lead {
    font-size: 1.15rem;
    color: var(--muted);
    margin: 0 0 1.5rem;
    max-width: 34ch;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
    animation: clh-float 5s ease-in-out infinite;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 1.2rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    border: none;
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.35);
}

.btn-primary:hover {
    box-shadow: 0 12px 40px rgba(236, 72, 153, 0.35);
    color: #fff;
}

.btn-outline {
    background: var(--surface);
    border-color: var(--border);
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--text);
}

.btn-ghost {
    background: transparent;
    border-color: transparent;
    color: var(--muted);
}

.btn-ghost:hover {
    color: var(--text);
}

.btn-danger {
    background: transparent;
    color: var(--danger);
    border-color: color-mix(in srgb, var(--danger) 55%, transparent);
}

.btn-sm {
    padding: 0.45rem 0.9rem;
    font-size: 0.85rem;
}

/* ---------- Cards & grids ---------- */
.grid-2,
.grid-3,
.grid-4 {
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.glow-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.35rem 1.4rem;
    overflow: hidden;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.glow-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.5), rgba(236, 72, 153, 0.25), rgba(34, 211, 238, 0.35));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transition);
}

.glow-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
}

.glow-card:hover::before {
    opacity: 1;
}

.glow-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
}

.glow-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.card-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface2);
    margin-bottom: 0.85rem;
    color: var(--accent3);
}

.card-icon svg {
    width: 22px;
    height: 22px;
}

/* Legacy .card for auth/account */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.35rem;
}

.card-accent {
    border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 15%, transparent);
}

/* ---------- Trust strip / marquee ---------- */
.trust-strip {
    border-block: 1px solid var(--border);
    background: color-mix(in srgb, var(--bg2) 90%, transparent);
    padding: 0.85rem 0;
    overflow: hidden;
}

.trust-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem 2rem;
    font-size: 0.82rem;
    color: var(--muted);
    font-weight: 600;
}

.marquee {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 3rem;
    margin-top: 1.25rem;
}

.marquee-track {
    display: flex;
    gap: 3rem;
    flex-shrink: 0;
    animation: clh-marquee 28s linear infinite;
}

.marquee span {
    white-space: nowrap;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0.65;
}

/* ---------- Two-column USP ---------- */
.split-2 {
    display: grid;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 800px) {
    .split-2 {
        grid-template-columns: 1fr 1fr;
    }
}

.split-2 p {
    color: var(--muted);
    margin: 0 0 1rem;
}

/* ---------- Comparison table ---------- */
.compare-wrap {
    overflow-x: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--surface);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
    font-size: 0.88rem;
}

.compare-table th,
.compare-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

.compare-table th {
    background: var(--surface2);
    font-weight: 700;
}

.compare-table tr:last-child td {
    border-bottom: none;
}

.compare-table .highlight {
    background: color-mix(in srgb, var(--accent) 12%, transparent);
    font-weight: 600;
}

.compare-table .ok {
    color: var(--ok);
}

.compare-table .no {
    color: var(--muted);
    opacity: 0.55;
}

/* ---------- Steps ---------- */
.steps {
    display: grid;
    gap: 1rem;
}

@media (min-width: 720px) {
    .steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

.step-num {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
    background: var(--gradient);
    color: #fff;
    margin-bottom: 0.75rem;
}

/* ---------- Monetize band ---------- */
.monetize-band {
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 22%, var(--bg2)), color-mix(in srgb, var(--accent2) 15%, var(--bg2)));
    border: 1px solid var(--border);
}

.monetize-band h3 {
    margin: 0 0 0.5rem;
    font-size: 1.35rem;
}

.monetize-band p {
    margin: 0;
    color: var(--muted);
}

.monetize-math {
    margin-top: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 720px) {
    .testimonial-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
}

.testimonial q {
    display: block;
    color: var(--muted);
    font-style: italic;
    margin: 0 0 1rem;
    font-size: 0.92rem;
}

.testimonial cite {
    font-size: 0.85rem;
    font-style: normal;
    color: var(--text);
    font-weight: 600;
}

.testimonial-disclaimer {
    text-align: center;
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 1rem;
}

/* ---------- Final CTA ---------- */
.cta-final {
    text-align: center;
    padding: 3rem 1.5rem;
    border-radius: calc(var(--radius) + 6px);
    background: var(--gradient);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-final::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.2), transparent 45%);
    pointer-events: none;
}

.cta-final h2,
.cta-final p {
    position: relative;
    z-index: 1;
}

.cta-final h2 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.cta-final p {
    margin: 0 0 1.25rem;
    opacity: 0.95;
}

.cta-final .hero-cta {
    justify-content: center;
    position: relative;
    z-index: 1;
}

.cta-final .btn-outline {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

.cta-final .btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* ---------- Pricing page ---------- */
.pricing-toggle {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.pricing-toggle button {
    font: inherit;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--muted);
    cursor: pointer;
}

.pricing-toggle button.is-active {
    background: var(--gradient);
    color: #fff;
    border-color: transparent;
}

.pricing-toggle button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.pricing-grid {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 860px) {
    .pricing-grid {
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    }
}

.pricing-card {
    position: relative;
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    border: 1px solid var(--border);
    background: var(--surface);
}

.pricing-card.featured {
    border-color: color-mix(in srgb, var(--accent) 50%, var(--border));
    box-shadow: 0 0 60px rgba(139, 92, 246, 0.2);
}

.pricing-badge {
    position: absolute;
    top: -11px;
    right: 1.25rem;
    background: var(--gradient);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
}

.pricing-card h2 {
    margin: 0 0 0.35rem;
    font-size: 1.35rem;
}

.pricing-price {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0.5rem 0;
}

.pricing-price small {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--muted);
}

.pricing-features {
    list-style: none;
    margin: 1.25rem 0 0;
    padding: 0;
}

.pricing-features li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.55rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.pricing-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--ok);
    font-weight: 800;
}

.pricing-hint {
    text-align: center;
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 2rem;
}

/* ---------- FAQ ---------- */
.faq-groups {
    max-width: 800px;
    margin: 0 auto;
}

.faq-group {
    margin-bottom: 2rem;
}

.faq-group h2 {
    font-size: 1.1rem;
    margin: 0 0 0.75rem;
    color: var(--accent3);
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 0.5rem;
    background: var(--surface);
    overflow: hidden;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    padding: 0.85rem 1rem;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    float: right;
    color: var(--muted);
    font-weight: 700;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    margin: 0;
    padding: 0 1rem 0.85rem;
    color: var(--muted);
    font-size: 0.92rem;
}

/* ---------- Phone mockup ---------- */
.phone-mock {
    width: min(280px, 100%);
    aspect-ratio: 9 / 18.5;
    border-radius: 36px;
    border: 3px solid var(--border);
    background: linear-gradient(180deg, var(--bg2), #0a0912);
    box-shadow: var(--shadow), 0 0 0 1px color-mix(in srgb, var(--accent) 25%, transparent);
    padding: 10px;
    position: relative;
}

.phone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 22px;
    background: #000;
    border-radius: 0 0 14px 14px;
    z-index: 2;
}

.phone-screen {
    border-radius: 28px;
    overflow: hidden;
    height: 100%;
    background: linear-gradient(160deg, #1a1530, #0d0b18);
    display: flex;
    flex-direction: column;
}

.phone-header {
    padding: 2.2rem 1rem 0.75rem;
    text-align: center;
    font-size: 0.72rem;
    color: var(--muted);
}

.phone-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    margin: 0 auto 0.4rem;
    background: var(--gradient);
}

.phone-name {
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--text);
}

.phone-links {
    padding: 0 0.75rem 0.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.phone-link {
    display: block;
    padding: 0.55rem 0.65rem;
    border-radius: 10px;
    background: var(--surface2);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 0.78rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    font-family: inherit;
}

.phone-link:hover {
    border-color: var(--accent);
}

.phone-stats {
    font-size: 0.65rem;
    color: var(--muted);
    text-align: center;
    padding-bottom: 0.5rem;
}

/* ---------- Forms (auth/account) ---------- */
.narrow {
    max-width: 440px;
    margin: 0 auto;
}

.stack-form label {
    display: block;
    margin-bottom: 1rem;
    font-size: 0.88rem;
    color: var(--muted);
}

.stack-form input,
.stack-form select,
.stack-form textarea {
    display: block;
    width: 100%;
    margin-top: 0.35rem;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font: inherit;
    background: var(--bg2);
    color: var(--text);
}

.stack-form input:focus,
.stack-form select:focus,
.stack-form textarea:focus {
    outline: 2px solid color-mix(in srgb, var(--accent) 55%, transparent);
    outline-offset: 2px;
}

.stack-form .plan-picker-fieldset {
    border: none;
    padding: 0;
    margin: 0 0 0.25rem;
}

.plan-picker-legend {
    padding: 0;
    margin-bottom: 0.5rem;
    font-size: 0.88rem;
    color: var(--muted);
}

.plan-picker {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

@media (max-width: 520px) {
    .plan-picker {
        grid-template-columns: 1fr;
    }
}

.plan-option {
    position: relative;
    display: block;
    cursor: pointer;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.75rem 0.85rem;
    background: var(--bg2);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.plan-option:hover {
    border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
}

.plan-option.is-selected {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 40%, transparent);
}

.plan-option:focus-within {
    outline: 2px solid color-mix(in srgb, var(--accent) 55%, transparent);
    outline-offset: 2px;
}

.plan-option-body {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.plan-option-title {
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
}

.plan-option-desc {
    font-size: 0.8rem;
    color: var(--muted);
    line-height: 1.35;
}

.plan-fields[hidden] {
    display: none !important;
}

.plan-cloud-note {
    margin: 0 0 0.5rem;
    font-size: 0.88rem;
}

.captcha-block {
    margin-bottom: 1rem;
}

.captcha-block > label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.88rem;
    color: var(--muted);
}

.captcha-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.captcha-img {
    display: block;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--surface2);
}

.captcha-input {
    max-width: 12rem;
}

.inline-form {
    margin: 1.25rem 0;
}

.kv {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.35rem 1rem;
}

.kv dt {
    color: var(--muted);
    font-size: 0.88rem;
}

.kv dd {
    margin: 0;
}

.license-key {
    word-break: break-all;
    font-size: 0.82rem;
}

.msg {
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
}

.msg-error {
    background: color-mix(in srgb, var(--danger) 12%, var(--bg2));
    color: var(--danger);
    border: 1px solid color-mix(in srgb, var(--danger) 35%, transparent);
}

.msg-ok {
    background: color-mix(in srgb, var(--ok) 12%, var(--bg2));
    color: var(--ok);
    border: 1px solid color-mix(in srgb, var(--ok) 35%, transparent);
}

.msg-warn {
    background: color-mix(in srgb, #fbbf24 12%, var(--bg2));
    color: #fbbf24;
    border: 1px solid color-mix(in srgb, #fbbf24 35%, transparent);
}

.hint {
    font-size: 0.82rem;
    color: var(--muted);
}

.badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    background: var(--surface2);
    border: 1px solid var(--border);
    color: var(--accent3);
}

/* ---------- Footer ---------- */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 1.5rem 0;
    font-size: 0.82rem;
    color: var(--muted);
    background: color-mix(in srgb, var(--bg1) 95%, transparent);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
}

.footer-inner nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-inner a {
    color: var(--muted);
}

.footer-inner a:hover {
    color: var(--text);
}

/* ---------- Legal ---------- */
.legal {
    max-width: 720px;
    margin: 0 auto;
}

.legal h1 {
    font-size: 1.65rem;
}

.legal p {
    color: var(--muted);
}

/* Impressum — Karten im Seitenlook */
.legal-imprint {
    max-width: 760px;
}

.legal-imprint-head {
    margin-bottom: 2rem;
}

.legal-imprint-lead {
    margin: 0.75rem 0 0;
    font-size: 1rem;
    line-height: 1.55;
    color: var(--muted);
}

.legal-imprint-blocks {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.legal-imprint-block {
    padding: 1.2rem 1.35rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}

.legal-imprint-block h2 {
    margin: 0 0 0.65rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.02em;
}

.legal-imprint-block .legal-block-body {
    margin: 0;
    font-size: 0.93rem;
    line-height: 1.65;
    color: var(--muted);
}

.legal-imprint-block .legal-block-body + .legal-block-body {
    margin-top: 0.85rem;
}

.legal-imprint-block .legal-block-body-tight {
    margin-top: 0.65rem;
    font-size: 0.88rem;
}

.legal-imprint-block .legal-mail,
.legal-imprint-block .legal-external-link {
    color: var(--accent3);
    font-weight: 500;
    word-break: break-all;
}

.legal-imprint-block .legal-mail:hover,
.legal-imprint-block .legal-external-link:hover {
    color: var(--accent2);
}

hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 2rem 0;
}

/* ---------- Hero simple (pricing/faq titles) ---------- */
.hero {
    text-align: center;
    margin-bottom: 2rem;
}

.hero h1 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.65rem, 4vw, 2.1rem);
    letter-spacing: -0.03em;
}

.lead {
    font-size: 1.05rem;
    color: var(--muted);
    margin: 0;
}

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