* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --bg: #0F172A;
    --bg-soft: #1E293B;
    --text: #F1F5F9;
    --muted: #94A3B8;
    --muted-dark: #64748B;
    --cyan: #06B6D4;
    --emerald: #10B981;
    --gold: #e8a832;
    --gold-light: #f0be50;
    --navy: #0F172A;
}
html { scroll-behavior: smooth; }
body {
    min-height: 100vh;
    padding-top: 96px;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    display: flex;
    flex-direction: column;
}
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 0%, rgba(6, 182, 212, 0.18), transparent 60%),
        radial-gradient(ellipse 50% 40% at 90% 100%, rgba(16, 185, 129, 0.15), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* ─── Site header (shared) ─────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    border-bottom: 1px solid rgba(226, 232, 240, 0.95);
    background: #ffffff;
    box-shadow: 0 14px 34px -30px rgba(0, 0, 0, 0.75);
}
.site-header-inner {
    width: min(1200px, calc(100% - 4rem));
    min-height: 72px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    padding: 0.75rem 0;
    color: var(--navy);
    transition: min-height 0.2s, padding 0.2s;
}
.site-header.is-compact .site-header-inner { min-height: 58px; padding: 0.45rem 0; }
.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: inherit;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: font-size 0.2s;
}
.brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    transition: width 0.2s, height 0.2s;
}
.site-header.is-compact .brand { font-size: 1rem; }
.site-header.is-compact .brand-mark { width: 30px; height: 30px; }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); display: block; }
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    color: #475569;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
}
.nav-links a {
    color: inherit;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    padding: 0.35rem 0;
    transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--navy); border-color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.mail-btn,
.header-signin,
.lang-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.mail-btn {
    gap: 0.5rem;
    padding: 0.55rem 1rem;
    border: 1px solid rgba(15, 23, 42, 0.10);
    background: #ffffff;
    color: var(--navy);
    font-weight: 600;
    box-shadow: 0 4px 14px -4px rgba(0, 0, 0, 0.18);
}
.mail-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.header-signin {
    padding: 0 0.95rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: #1a1208;
    box-shadow: 0 8px 22px -10px rgba(232, 168, 50, 0.65);
}
.lang-toggle {
    min-width: 46px;
    padding: 0 0.75rem;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #ffffff;
    color: var(--navy);
    cursor: pointer;
    font-weight: 800;
}
.mail-btn:hover,
.header-signin:hover,
.lang-toggle:hover { transform: translateY(-1px); }
.mobile-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 8px;
    background: #ffffff;
    color: var(--navy);
    cursor: pointer;
}
.mobile-menu-toggle svg { width: 22px; height: 22px; }
.mobile-menu-toggle .menu-close,
.mobile-menu-panel { display: none; }
.site-header.menu-open .mobile-menu-toggle .menu-open { display: none; }
.site-header.menu-open .mobile-menu-toggle .menu-close { display: block; }

@media (max-width: 900px) {
    body { padding-top: 74px; }
    .site-header-inner {
        width: calc(100% - 1.5rem);
        min-height: 64px;
        gap: 0.75rem;
        padding: 0.6rem 0;
    }
    .brand { flex: 1; }
    .brand-mark { width: 32px; height: 32px; }
    .mobile-menu-toggle { display: inline-flex; }
    .site-header .nav-links,
    .site-header .mail-btn,
    .site-header .header-signin { display: none; }
    .header-actions { gap: 0.55rem; }
    .lang-toggle { min-height: 42px; min-width: 48px; }
    .mobile-menu-panel {
        position: absolute;
        top: 100%;
        left: 0.75rem;
        right: 0.75rem;
        gap: 0.65rem;
        padding: 0.85rem;
        border: 1px solid rgba(226, 232, 240, 0.95);
        border-radius: 12px;
        background: #ffffff;
        box-shadow: 0 18px 34px rgba(15, 23, 42, 0.14);
    }
    .site-header.menu-open .mobile-menu-panel { display: grid; }
    .mobile-menu-nav { display: grid; gap: 0; }
    .mobile-menu-nav a {
        color: #475569;
        text-decoration: none;
        padding: 0.85rem 0.75rem;
        border-bottom: 1px solid rgba(226, 232, 240, 0.95);
        font-family: 'Montserrat', sans-serif;
        font-size: 0.92rem;
        font-weight: 800;
    }
    .mobile-menu-nav a[aria-current="page"] { color: var(--navy); }
    .mobile-menu-nav a:last-child { border-bottom: 0; }
    .mobile-menu-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.7rem;
    }
    .mobile-menu-panel .mail-btn,
    .mobile-menu-panel .header-signin {
        display: inline-flex;
        width: 100%;
    }
    .mobile-menu-panel .mail-btn { justify-content: flex-start; box-shadow: none; }
}

/* ─── Demo suite ───────────────────────────────── */
main {
    position: relative;
    z-index: 1;
    flex: 1;
    padding: 3.25rem 0 4.5rem;
}
.demo-wrap {
    width: min(1200px, calc(100% - 3rem));
    margin: 0 auto;
}
.demo-intro {
    max-width: 760px;
    margin-bottom: 2.5rem;
}
.eyebrow {
    color: var(--gold);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}
h1 {
    color: var(--text);
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.85rem, 3.6vw, 3rem);
    line-height: 1.14;
    margin-bottom: 1rem;
}
h1 .accent { color: var(--gold); }
.lead {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.65;
}

/* Legend */
.legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 1rem;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 600;
}
.legend span { display: inline-flex; align-items: center; gap: 0.5rem; }
.legend i {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    display: inline-block;
}
.legend .k-live i { background: var(--gold); box-shadow: 0 0 0 3px rgba(232, 168, 50, 0.18); }
.legend .k-open i { border: 1px dashed rgba(148, 163, 184, 0.55); }

/* The alphabet */
.alphabet {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    grid-auto-flow: dense;
    gap: 0.75rem;
}
.cell {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    display: flex;
    align-items: flex-end;
    padding: 1rem 1.1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    line-height: 1;
    overflow: hidden;
}
.cell .letter {
    font-size: clamp(2.4rem, 5.2vw, 4.6rem);
    letter-spacing: -0.03em;
}

/* Letters not yet taken: an empty compartment in the type case.
   Each one is a button — click to ask whether your business fits. */
.cell.open { padding: 0; }
.cell.open .ask {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.4rem;
    padding: 1rem 1.1rem;
    border-radius: inherit;
    border: 1px dashed rgba(148, 163, 184, 0.32);
    background: rgba(255, 255, 255, 0.015);
    color: rgba(148, 163, 184, 0.42);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: transform 0.18s, border-color 0.18s, color 0.18s, background 0.18s;
}
.cell.open .hint {
    font-family: 'Inter', sans-serif;
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--gold);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.18s, transform 0.18s;
}
.cell.open .ask:hover,
.cell.open .ask:focus-visible {
    transform: translateY(-3px);
    border-style: solid;
    border-color: rgba(232, 168, 50, 0.6);
    background: rgba(232, 168, 50, 0.06);
    color: var(--text);
    outline: none;
}
.cell.open .ask:focus-visible { box-shadow: 0 0 0 3px rgba(232, 168, 50, 0.45); }
.cell.open .ask:hover .hint,
.cell.open .ask:focus-visible .hint { opacity: 1; transform: none; }

/* CTA strip under the alphabet */
.cta-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    padding: 1.1rem 1.35rem;
    border-radius: 14px;
    border: 1px solid rgba(232, 168, 50, 0.35);
    background: rgba(232, 168, 50, 0.06);
}
.cta-strip p { color: var(--text); font-size: 1rem; line-height: 1.5; max-width: 640px; }
.cta-strip p span { color: var(--muted); }
.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.2rem;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: #1a1208;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 10px 24px -12px rgba(232, 168, 50, 0.7);
    transition: transform 0.15s;
}
.btn-gold:hover { transform: translateY(-1px); }
.btn-gold:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(232, 168, 50, 0.5); }

/* Consultation dialog */
.consult {
    width: min(560px, calc(100% - 2rem));
    margin: auto;
    padding: 0;
    border: 1px solid rgba(232, 168, 50, 0.4);
    border-radius: 16px;
    background: var(--bg-soft);
    color: var(--text);
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
}
.consult::backdrop { background: rgba(2, 6, 23, 0.72); backdrop-filter: blur(3px); }
.consult-inner { padding: 1.5rem 1.6rem 1.6rem; position: relative; }
.consult-close {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 8px;
    background: transparent;
    color: var(--muted);
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
}
.consult-close:hover { color: var(--text); border-color: var(--muted); }
.consult-head {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1.1rem;
    padding-right: 2.5rem;
}
.consult-letter {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    border: 1px dashed rgba(232, 168, 50, 0.6);
    background: rgba(232, 168, 50, 0.08);
    color: var(--gold);
    font-family: 'Montserrat', sans-serif;
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
}
.consult-letter:empty { display: none; }
.consult-head h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    line-height: 1.2;
    margin-bottom: 0.3rem;
}
.consult-head p { color: var(--muted); font-size: 0.92rem; line-height: 1.5; }
.consult-form { display: grid; gap: 0.7rem; }
.consult-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; }
.consult-form label { display: grid; gap: 0.3rem; font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.consult-form input,
.consult-form textarea {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
}
.consult-form textarea { resize: vertical; min-height: 110px; }
.consult-form input:focus,
.consult-form textarea:focus { border-color: var(--gold); background: rgba(255, 255, 255, 0.11); }
.consult-form .btn-gold { width: 100%; justify-content: center; margin-top: 0.25rem; }
.consult-note { display: none; font-size: 0.9rem; font-weight: 700; color: #34d399; }
.consult-note.visible { display: block; }
.consult-note.error { color: #f87171; }
.consult-direct { color: var(--muted); font-size: 0.85rem; text-align: center; }
.consult-direct a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--gold); }
.honeypot { position: absolute; left: -9999px; top: -9999px; height: 0; width: 0; opacity: 0; }

/* A live site: the name grows out of its letter */
.cell.live {
    grid-column: span 2;
    aspect-ratio: 2 / 1;
    padding: 0;
}
.cell.live a {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.55rem;
    padding: 1rem 1.2rem;
    border-radius: inherit;
    border: 1px solid rgba(232, 168, 50, 0.45);
    background:
        linear-gradient(160deg, rgba(232, 168, 50, 0.16), rgba(232, 168, 50, 0.04) 55%, transparent),
        var(--bg-soft);
    color: var(--text);
    text-decoration: none;
    transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.cell.live a:hover,
.cell.live a:focus-visible {
    transform: translateY(-3px);
    border-color: var(--gold);
    box-shadow: 0 18px 34px -22px rgba(232, 168, 50, 0.7);
    outline: none;
}
.cell.live a:focus-visible { box-shadow: 0 0 0 3px rgba(232, 168, 50, 0.55); }
.cell.live .name {
    display: flex;
    align-items: baseline;
    white-space: nowrap;
}
.cell.live .letter { color: var(--gold); }
.cell.live .rest {
    font-size: clamp(1rem, 1.7vw, 1.45rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-left: 0.05em;
}
.cell.live .host {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted);
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
}
.cell.live .host::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--emerald);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
    flex-shrink: 0;
}
.cell.live .host .arrow { margin-left: auto; color: var(--gold); font-weight: 700; }

/* Two ways to look */
.modes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 3rem;
}
.mode {
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    padding: 1.35rem 1.5rem;
}
.mode h2 {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    color: var(--text);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}
.badge {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(6, 182, 212, 0.45);
    color: var(--cyan);
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.mode p { color: var(--muted); line-height: 1.6; font-size: 0.95rem; }

footer {
    position: relative;
    z-index: 1;
    background: var(--navy);
    color: var(--muted);
    text-align: center;
    padding: 1.25rem;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    font-size: 0.85rem;
}

@media (max-width: 1000px) {
    .alphabet { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .alphabet { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.6rem; }
    .cell { padding: 0.7rem 0.8rem; }
    .cell .letter { font-size: clamp(2rem, 9vw, 3rem); }
    .cell.live a { padding: 0.8rem 0.95rem; }
    .cell.open .ask { padding: 0.7rem 0.8rem; }
    .cell.open .hint { display: none; }
    .modes { grid-template-columns: 1fr; }
    .consult-grid { grid-template-columns: 1fr; }
    .consult-inner { padding: 1.25rem 1.1rem 1.25rem; }
    .cta-strip .btn-gold { width: 100%; justify-content: center; }
}
@media (max-width: 460px) {
    .alphabet { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
    .cell.live a, .mail-btn, .header-signin, .lang-toggle { transition: none; }
    .cell.live a:hover { transform: none; }
}
