/* realay.io public website. One stylesheet for every page.
   Tokens first; the legacy names (--bg-white, --spacing-*, ...) are kept because the
   terms and privacy pages' scoped styles use them. */

:root {
    --green-50: #ecfdf5;
    --green-100: #d1fae5;
    --green-400: #34d399;
    --green-500: #10b981;
    --green-600: #059669;
    --green-700: #047857;
    --green-800: #065f46;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --orange-50: #fff7ed;
    --orange-200: #fed7aa;
    --orange-800: #9a3412;

    --brand: var(--green-500);
    --brand-ink: var(--green-700);
    --ink: var(--slate-900);
    --ink-soft: var(--slate-600);
    --line: var(--slate-200);
    --surface: #ffffff;
    --canvas: var(--slate-50);
    --radius: 12px;
    --radius-sm: 8px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
    --shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.18);
    --max: 1200px;
    --gutter: 24px;

    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: "IBM Plex Mono", "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, monospace;

    /* Legacy names used by the legal pages */
    --bg-primary: var(--canvas);
    --bg-white: var(--surface);
    --bg-light: var(--slate-50);
    --bg-dark: var(--slate-900);
    --text-primary: var(--ink);
    --text-secondary: var(--ink-soft);
    --text-light: var(--slate-400);
    --text-inverse: #ffffff;
    --border-color: var(--line);
    --border-dark: var(--slate-300);
    --accent-primary: var(--slate-900);
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
}

/* ---------- Base ---------- */

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ink);
    background: var(--canvas);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    margin: 0 0 0.5em;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--ink);
}

h1, h2, h3 { text-wrap: balance; }
.lead, .section-head p, .page-hero p { text-wrap: pretty; }
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
a { color: var(--brand-ink); }
a:hover { color: var(--green-800); }
img, video, svg { max-width: 100%; }
code, pre, kbd { font-family: var(--font-mono); }
ul, ol { padding-left: 1.25em; }

:focus-visible {
    outline: 3px solid var(--green-400);
    outline-offset: 2px;
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 2000;
    background: var(--ink);
    color: #fff;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: #fff; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    padding: 0.7rem 1.25rem;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    font: inherit;
    font-weight: 600;
    font-size: 0.975rem;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.15s;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--slate-900); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--slate-700); color: #fff; }
/* On dark sections the primary button switches to the bright brand green with dark text (7:1). */
.cta-band .btn-primary, .section-dark .btn-primary { background: var(--green-500); color: var(--slate-900); }
.cta-band .btn-primary:hover, .section-dark .btn-primary:hover { background: var(--green-400); color: var(--slate-900); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--slate-300); }
.btn-secondary:hover { border-color: var(--slate-400); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--slate-100); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--green-50); color: var(--ink); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn-outline-light:hover { border-color: #fff; color: #fff; }
.btn-lg { padding: 0.9rem 1.5rem; font-size: 1.05rem; }
.btn-arrow::after { content: "\2192"; transition: transform 0.15s; }
.btn-arrow:hover::after { transform: translateX(3px); }

/* ---------- Wordmark (mirror of vue/src/components/shared/AppLogo.vue) ---------- */

.app-logo {
    --logo-fg: var(--slate-800);
    --logo-fg-muted: var(--slate-500);
    --logo-prompt: #16a34a;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    line-height: 1;
    user-select: none;
    font-family: var(--font-mono);
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--logo-fg);
    font-size: 1.25rem;
}
.site-footer .app-logo { --logo-fg: #f8fafc; --logo-fg-muted: var(--slate-400); }
.app-logo .logo-stack-tag { display: inline-flex; flex-direction: column; gap: 0.45em; }
.app-logo .logo-line-brand { display: inline-flex; align-items: center; gap: 0.4em; }
.app-logo .logo-prompt { color: var(--logo-prompt); font-weight: 700; }
.app-logo .logo-tld { color: var(--logo-fg-muted); font-weight: 500; }
.app-logo .logo-cursor {
    display: inline-block;
    width: 0.45em;
    height: 1em;
    background: var(--logo-prompt);
    margin-left: 0.05em;
    animation: logo-blink 1.1s steps(1, end) infinite;
}
.app-logo .logo-line-tagline {
    display: flex;
    justify-content: center;
    gap: 0.5em;
    font-size: 0.62em;
    font-weight: 500;
    color: var(--logo-fg-muted);
    letter-spacing: 0.12em;
}
.app-logo .logo-tagline-sep { opacity: 0.7; font-weight: 400; }
@keyframes logo-blink { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }

/* ---------- Header / nav ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(1.4) blur(10px);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--line);
}
.site-header .container {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 72px;
}
.brand-link { text-decoration: none; color: inherit; display: inline-flex; }
.nav-links {
    display: flex;
    gap: 4px;
    list-style: none;
    margin: 0 auto;
    padding: 0;
}
.nav-links a {
    display: block;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    color: var(--slate-600);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
}
.nav-links a:hover { color: var(--ink); background: var(--slate-100); }
.nav-links a[aria-current="page"] { color: var(--ink); background: var(--slate-100); }
.nav-actions { display: flex; gap: 8px; align-items: center; }
.nav-toggle {
    display: none;
    margin-left: auto;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    position: relative;
    transition: transform 0.2s, background-color 0.2s;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
    /* Without JS the links simply stack under the logo; with JS they sit behind the menu button. */
    .site-header .container { height: auto; min-height: 64px; flex-wrap: wrap; }
    .nav-panel { width: 100%; padding-bottom: 16px; }
    html:not(.js) .site-header { position: static; }
    html:not(.js) .site-header .container { padding-top: 14px; }
    .js .site-header .container { height: 64px; flex-wrap: nowrap; }
    .js .nav-toggle { display: inline-flex; }
    .js .nav-panel {
        display: none;
        width: auto;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--surface);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
        padding: 12px var(--gutter) 20px;
    }
    .js .nav-panel.is-open { display: block; }
    .nav-links { flex-direction: column; margin: 0 0 12px; }
    .nav-links a { padding: 12px; font-size: 1rem; }
    .nav-actions { flex-direction: column; align-items: stretch; }
    .nav-actions .btn { width: 100%; }
}
@media (min-width: 961px) {
    .nav-panel { display: flex; align-items: center; flex: 1; }
}

/* ---------- Sections ---------- */

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-white { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--slate-900); color: var(--slate-300); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark a:not(.btn) { color: var(--green-400); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head p { font-size: 1.125rem; color: var(--ink-soft); margin: 0; }
.section-dark .section-head p { color: var(--slate-400); }
.eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-ink);
}
.section-dark .eyebrow { color: var(--green-400); }
.lead { font-size: 1.2rem; color: var(--ink-soft); }

@media (max-width: 768px) {
    :root { --gutter: 16px; }
    .section { padding: 64px 0; }
    .section-sm { padding: 48px 0; }
    .section-head { margin-bottom: 36px; }
}

/* ---------- Page hero (sub-pages) ---------- */

.page-hero {
    padding: 80px 0 64px;
    background:
        radial-gradient(900px 300px at 50% -80px, rgba(16, 185, 129, 0.14), transparent 70%),
        var(--surface);
    border-bottom: 1px solid var(--line);
    text-align: center;
}
.page-hero p { max-width: 680px; margin: 0 auto; font-size: 1.2rem; color: var(--ink-soft); }
.page-hero .hero-actions { justify-content: center; margin-top: 28px; }
@media (max-width: 768px) { .page-hero { padding: 56px 0 44px; } }

/* ---------- Home hero ---------- */

.hero {
    position: relative;
    padding: 72px 0 88px;
    background:
        radial-gradient(1000px 420px at 85% 0%, rgba(16, 185, 129, 0.16), transparent 70%),
        radial-gradient(700px 360px at 0% 100%, rgba(15, 23, 42, 0.05), transparent 70%),
        var(--surface);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}
.hero .container {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
}
.hero h1 { margin-bottom: 20px; }
.hero h1 .accent { color: var(--green-600); }
.hero .lead { max-width: 560px; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
    color: var(--slate-600);
    font-size: 0.925rem;
}
.hero-note li { display: inline-flex; align-items: center; gap: 8px; }
.hero-note li::before {
    content: "";
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23047857' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.hero .container > * { min-width: 0; }
.hero-visual { position: relative; display: flex; justify-content: center; padding-bottom: 40px; }
@media (max-width: 960px) {
    .hero { padding: 48px 0 64px; }
    .hero .container { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Cards and grids ---------- */

.grid { display: grid; gap: 24px; }
.grid > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-soft); margin: 0; }
.card-link { text-decoration: none; color: inherit; display: block; transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
.card-link:hover { border-color: var(--green-400); box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.card .more { display: inline-block; margin-top: 16px; color: var(--brand-ink); font-weight: 600; }
.card .more::after { content: " \2192"; }

.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
    border-radius: 10px;
    background: var(--green-50);
    color: var(--brand-ink);
}
.icon svg { width: 22px; height: 22px; }

.path-card { padding: 36px; }
.path-card h3 { font-size: 1.5rem; }
.path-card ul { margin: 16px 0 0; padding: 0; list-style: none; color: var(--slate-700); }
.path-card li { padding: 6px 0 6px 26px; position: relative; }
.path-card li::before { content: ""; position: absolute; left: 0; top: 13px; width: 14px; height: 8px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.path-card.dark { background: var(--slate-900); border-color: var(--slate-800); }
.path-card.dark h3 { color: #fff; }
.path-card.dark p, .path-card.dark li { color: var(--slate-300); }
.path-card.dark .more { color: var(--green-400); }

/* ---------- Feature rows (text + visual) ---------- */

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 72px 0;
    border-top: 1px solid var(--line);
}
.feature-row:first-child { border-top: 0; padding-top: 0; }
.feature-row.flip .feature-copy { order: 2; }
.feature-copy p { color: var(--ink-soft); font-size: 1.075rem; }
.check-list { list-style: none; margin: 20px 0 0; padding: 0; }
.check-list li { position: relative; padding: 6px 0 6px 30px; color: var(--slate-700); }
.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23047857' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.section-dark .check-list li { color: var(--slate-300); }
.section-dark .feature-copy p, .section-dark p { color: var(--slate-300); }
.feature-visual { display: flex; justify-content: center; }
@media (max-width: 900px) {
    .feature-row { grid-template-columns: 1fr; gap: 32px; padding: 48px 0; }
    .feature-row.flip .feature-copy { order: 0; }
}

.tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--green-50);
    color: var(--green-800);
    border: 1px solid var(--green-100);
    vertical-align: middle;
}

/* ---------- Steps ---------- */

.steps { counter-reset: step; }
.step { position: relative; }
.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: var(--slate-900);
    color: #fff;
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ---------- Stat / chip / status ---------- */

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    background: var(--slate-100);
    color: var(--slate-600);
    white-space: nowrap;
}
.chip-green { background: var(--green-100); color: var(--green-800); }
.chip-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- Phone mockup ---------- */

.phone {
    position: relative;
    width: 300px;
    height: 600px;
    padding: 12px;
    border-radius: 44px;
    background: var(--slate-900);
    box-shadow: var(--shadow-lg), inset 0 0 0 2px var(--slate-700);
    flex-shrink: 0;
}
.phone-screen {
    position: relative;
    height: 100%;
    border-radius: 34px;
    overflow: hidden;
    background: linear-gradient(160deg, #1e3a5f 0%, #0f766e 55%, #065f46 100%);
    color: #fff;
}
.phone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    width: 96px;
    height: 26px;
    margin-left: -48px;
    border-radius: 20px;
    background: var(--slate-900);
    z-index: 2;
}
.phone-status {
    display: flex;
    justify-content: space-between;
    padding: 14px 26px 0;
    font-size: 0.75rem;
    font-weight: 600;
}
.phone-clock { text-align: center; margin-top: 46px; }
.phone-clock .time { font-size: 4rem; font-weight: 300; line-height: 1; letter-spacing: -0.02em; }
.phone-clock .date { font-size: 0.95rem; opacity: 0.85; }
.phone-light .phone-screen { background: #f2f2f7; color: var(--ink); }

@media (max-width: 400px) {
    .phone { width: 270px; height: 540px; }
    .phone-clock .time { font-size: 3.4rem; }
}

/* Lock-screen notification */
.notif {
    position: absolute;
    left: 12px;
    right: 12px;
    top: 210px;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--ink);
    font-size: 0.875rem;
    line-height: 1.4;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.notif-head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font-size: 0.75rem; color: var(--slate-500); }
.notif-app {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    background: var(--green-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 5h12a1 1 0 011 1v7a1 1 0 01-1 1H8l-3 3v-3H4a1 1 0 01-1-1V6a1 1 0 011-1z' fill='white'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.notif-time { margin-left: auto; }
.notif strong { display: block; color: var(--ink); font-size: 0.9rem; }

/* Floating status card next to the phone */
.float-card {
    position: absolute;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 14px 16px;
    font-size: 0.85rem;
    color: var(--ink);
    z-index: 3;
}
.float-card .label { font-size: 0.72rem; color: var(--slate-500); font-weight: 500; margin-bottom: 6px; }
.status-track { display: flex; gap: 6px; }
.status-track .chip { opacity: 0.35; }

/* ---------- Chat (two-way) ---------- */

.chat { display: flex; flex-direction: column; gap: 10px; padding: 64px 14px 14px; }
.chat-head { position: absolute; top: 40px; left: 0; right: 0; text-align: center; font-size: 0.75rem; color: var(--slate-500); }
.chat-head strong { display: block; font-size: 0.9rem; color: var(--ink); }
.bubble {
    max-width: 82%;
    padding: 9px 13px;
    border-radius: 18px;
    font-size: 0.875rem;
    line-height: 1.4;
}
.bubble-in { align-self: flex-start; background: #e5e5ea; color: var(--ink); border-bottom-left-radius: 6px; }
.bubble-out { align-self: flex-end; background: #34c759; color: #fff; border-bottom-right-radius: 6px; }
.chat-event { align-self: center; }

/* ---------- Terminal / code ---------- */

.terminal {
    width: 100%;
    max-width: 640px;
    border-radius: var(--radius);
    background: #0b1220;
    border: 1px solid var(--slate-800);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    text-align: left;
}
.terminal-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 12px 14px;
    background: #111a2e;
    border-bottom: 1px solid var(--slate-800);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--slate-400);
}
.terminal-bar i { width: 11px; height: 11px; border-radius: 50%; background: #334155; display: inline-block; }
.terminal-bar i:nth-child(1) { background: #f87171; }
.terminal-bar i:nth-child(2) { background: #fbbf24; }
.terminal-bar i:nth-child(3) { background: #34d399; }
.terminal-bar span { margin-left: 8px; }
.terminal pre, .code pre {
    margin: 0;
    padding: 18px 20px;
    overflow-x: auto;
    font-size: 0.85rem;
    line-height: 1.7;
    color: #e2e8f0;
    white-space: pre;
}
.tok-c { color: #64748b; }
.tok-k { color: #93c5fd; }
.tok-s { color: #86efac; }
.tok-n { color: #fcd34d; }
.tok-p { color: #34d399; }
.caret { display: inline-block; width: 0.55em; height: 1.1em; background: var(--green-400); vertical-align: text-bottom; animation: logo-blink 1s steps(1, end) infinite; }

.code {
    border-radius: var(--radius);
    background: #0b1220;
    border: 1px solid var(--slate-800);
    overflow: hidden;
}
.tabs-list {
    display: flex;
    gap: 2px;
    padding: 8px 8px 0;
    background: #111a2e;
    border-bottom: 1px solid var(--slate-800);
    overflow-x: auto;
}
.tabs-list button {
    padding: 9px 14px;
    border: 0;
    border-radius: 8px 8px 0 0;
    background: transparent;
    color: var(--slate-400);
    font: 500 0.85rem var(--font-sans);
    cursor: pointer;
    white-space: nowrap;
}
.tabs-list button[aria-selected="true"] { background: #0b1220; color: #fff; }
.tabs-list button:hover { color: #fff; }
.tab-panel[hidden] { display: none; }
.inline-code {
    font-family: var(--font-mono);
    font-size: 0.875em;
    background: var(--slate-100);
    border: 1px solid var(--line);
    border-radius: 5px;
    padding: 1px 6px;
}

/* ---------- Tables ---------- */

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.table th, .table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.table thead th { background: var(--slate-50); font-weight: 600; color: var(--slate-700); font-size: 0.85rem; }
.table tbody tr:last-child td, .table tbody tr:last-child th { border-bottom: 0; }
.table td.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* ---------- Pricing ---------- */

.price-card {
    max-width: 560px;
    margin: 0 auto;
    padding: 36px;
    text-align: center;
}
.price-controls { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.field { display: flex; flex-direction: column; gap: 6px; text-align: left; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--slate-700); }
.field select, .field input, .field textarea {
    font: inherit;
    font-size: 1rem;
    line-height: 1.4;
    height: 46px;
    padding: 10px 12px;
    border: 1px solid var(--slate-300);
    border-radius: var(--radius-sm);
    background-color: var(--surface);
    color: var(--ink);
    min-width: 200px;
    -webkit-appearance: none;
    appearance: none;
}
/* Same look for dropdowns in every browser: our own chevron instead of the native control. */
.field select {
    padding-right: 38px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 8l4 4 4-4' fill='none' stroke='%2364748b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    cursor: pointer;
}
/* Hide number spinners so number inputs match the other fields. */
.field input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.field input[type="number"]::-webkit-outer-spin-button,
.field input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.field textarea { height: auto; min-height: 140px; resize: vertical; }
.field select:focus, .field input:focus, .field textarea:focus { outline: 2px solid var(--green-400); outline-offset: 1px; border-color: var(--brand); }
.price-amount { font-size: 3.5rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.price-amount small { font-size: 1rem; font-weight: 500; color: var(--slate-500); letter-spacing: 0; }
.price-sub { color: var(--slate-500); margin-top: 10px; }

/* ---------- FAQ ---------- */

.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
    font-weight: 600;
    font-size: 1.075rem;
    cursor: pointer;
    list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); font-size: 1.25rem; color: var(--slate-400); line-height: 1.3; }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 0 20px; color: var(--ink-soft); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */

.cta-band {
    padding: 88px 0;
    background:
        radial-gradient(700px 300px at 50% 120%, rgba(16, 185, 129, 0.35), transparent 70%),
        var(--slate-900);
    color: var(--slate-300);
    text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band a:not(.btn) { color: var(--green-400); }
.cta-band a:not(.btn):hover { color: #fff; }
.cta-band p { font-size: 1.15rem; max-width: 560px; margin: 0 auto 28px; }
.cta-band .hero-actions { justify-content: center; }
.cta-band .fine { margin: 18px auto 0; max-width: none; font-size: 0.9rem; color: var(--slate-400); }

/* ---------- Callouts ---------- */

.callout {
    padding: 18px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: var(--surface);
}
.callout-warn { background: var(--orange-50); border-color: var(--orange-200); }
.callout-green { background: var(--green-50); border-color: var(--green-100); }
.callout p:last-child { margin-bottom: 0; }

/* ---------- Video ---------- */

.video-frame {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
    background: #000;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16 / 9;
}
.video-frame video { display: block; width: 100%; height: 100%; }
.video-play picture { position: absolute; inset: 0; }
.video-play picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) {
    .video-frame.has-vertical { aspect-ratio: 9 / 16; max-width: 360px; }
}
.video-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
}
.video-play img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-play span {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.85);
    color: #fff;
    font-weight: 600;
    transition: transform 0.15s, background-color 0.15s;
}
.video-play span::before { content: ""; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #fff; }
html:not(.js) button.video-play { display: none; }
.video-play:hover span { transform: scale(1.04); background: var(--green-700); }

/* ---------- Prose (long-form pages) ---------- */

.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 1.6rem; margin-top: 2em; }
.prose h3 { margin-top: 1.5em; }
.prose p, .prose li { color: var(--slate-700); font-size: 1.05rem; }
.prose li { margin-bottom: 0.4em; }

/* ---------- Footer ---------- */

.site-footer { background: var(--slate-900); color: var(--slate-400); padding: 64px 0 32px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 32px; }
.footer-grid h2 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate-300); margin-bottom: 14px; font-family: var(--font-mono); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin: 0 0 10px; }
.site-footer a { color: var(--slate-300); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-about p { margin: 16px 0 0; max-width: 300px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--slate-800); font-size: 0.85rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }

/* ---------- Motion ---------- */

/* Reveal on scroll. Content is visible without JS; site.js adds .js to <html>. */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Animations run only while their element is on screen (.is-playing, set by site.js).
   Rule for every animation: the element's base style is its final, meaningful frame and
   the keyframes animate towards it, so reduced motion (animation: none) shows the story. */
.js [data-anim]:not(.is-playing) * { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- A1: hero phone, three messages arrive in turn (12s loop) ---------- */

.notif-stack { position: absolute; left: 10px; right: 10px; top: 188px; display: flex; flex-direction: column; gap: 7px; }
.notif-stack .notif { padding: 10px 12px; font-size: 0.8rem; border-radius: 16px; }
.notif-stack .notif strong { font-size: 0.84rem; }
.notif-stack .notif { position: static; }
.notif-stack .notif:nth-child(1) { animation: notif-1 12s ease-out infinite; }
.notif-stack .notif:nth-child(2) { animation: notif-2 12s ease-out infinite; }
.notif-stack .notif:nth-child(3) { animation: notif-3 12s ease-out infinite; }
@keyframes notif-1 { 0%, 3% { opacity: 0; transform: translateY(-14px) scale(0.96); } 8%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes notif-2 { 0%, 30% { opacity: 0; transform: translateY(-14px) scale(0.96); } 35%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes notif-3 { 0%, 57% { opacity: 0; transform: translateY(-14px) scale(0.96); } 62%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }

.hero-status { bottom: -30px; left: -110px; width: max-content; }
.hero-status .status-track .chip { opacity: 1; }
.hero-status .status-track .chip:nth-child(1) { animation: track-1 12s infinite; }
.hero-status .status-track .chip:nth-child(2) { animation: track-2 12s infinite; }
.hero-status .status-track .chip:nth-child(3) { animation: track-3 12s infinite; }
@keyframes track-1 { 0% { opacity: 0.35; } 2%, 100% { opacity: 1; } }
@keyframes track-2 { 0%, 4% { opacity: 0.35; } 6%, 100% { opacity: 1; } }
@keyframes track-3 { 0%, 7% { opacity: 0.35; } 9%, 100% { opacity: 1; } }
.hero-reply { top: 34px; right: -84px; width: max-content; animation: pop-late 12s infinite; }
@keyframes pop-late { 0%, 40% { opacity: 0; transform: translateY(8px); } 45%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.hero-reply .reply-line { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.hero-reply .reply-line::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }

@media (max-width: 520px) {
    .hero-visual { padding-bottom: 0; }
    .hero-visual .phone { width: 260px; height: 560px; margin: 0 auto; }
    .hero-visual .notif-stack .notif { font-size: 0.78rem; padding: 9px 11px; }
    .hero-visual .phone-clock { margin-top: 34px; }
    .hero-visual .phone-clock .time { font-size: 3rem; }
    .hero-visual .notif-stack { top: 138px; }
    .hero-visual .phone-wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; }
    .hero-status { position: static; }
    .hero-reply { display: none; }
}

/* ---------- A2: how it works, delivery status moves along (6s loop) ---------- */

.track-demo { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.track-demo .chip:nth-child(1) { animation: step-1 6s infinite; }
.track-demo .chip:nth-child(2) { animation: step-2 6s infinite; }
.track-demo .chip:nth-child(3) { animation: step-3 6s infinite; }
@keyframes step-1 { 0% { opacity: 0.35; } 10%, 100% { opacity: 1; } }
@keyframes step-2 { 0%, 30% { opacity: 0.35; } 40%, 100% { opacity: 1; } }
@keyframes step-3 { 0%, 60% { opacity: 0.35; } 70%, 100% { opacity: 1; } }

.compose-demo {
    margin-top: 16px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--slate-50);
    font-size: 0.9rem;
    color: var(--slate-700);
}
.merge { font-family: var(--font-mono); font-size: 0.85em; background: var(--green-50); color: var(--green-800); border-radius: 4px; padding: 0 4px; }
.contacts-demo { display: flex; margin-top: 16px; }
.contacts-demo span {
    width: 34px;
    height: 34px;
    margin-right: -8px;
    border-radius: 50%;
    border: 2px solid #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
}
.contacts-demo span:nth-child(1) { background: #0ea5e9; }
.contacts-demo span:nth-child(2) { background: #8b5cf6; }
.contacts-demo span:nth-child(3) { background: #f59e0b; }
.contacts-demo span:nth-child(4) { background: var(--slate-700); }

/* ---------- A4: two-way STOP conversation (10s loop) ---------- */

.chat .bubble:nth-of-type(1) { animation: chat-1 10s infinite; }
.chat .bubble:nth-of-type(2) { animation: chat-2 10s infinite; }
.chat .bubble:nth-of-type(3) { animation: chat-3 10s infinite; }
@keyframes chat-1 { 0%, 4% { opacity: 0; transform: translateY(10px); } 9%, 93% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes chat-2 { 0%, 28% { opacity: 0; transform: translateY(10px); } 33%, 93% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes chat-3 { 0%, 48% { opacity: 0; transform: translateY(10px); } 53%, 93% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.optout-event { bottom: 90px; left: -90px; width: max-content; animation: chat-event 10s infinite; }
@keyframes chat-event { 0%, 58% { opacity: 0; transform: translateY(8px); } 64%, 93% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.rule-line { font-family: var(--font-mono); font-size: 0.78rem; color: var(--slate-600); }
.rule-line b { color: var(--ink); }

@media (max-width: 520px) { .optout-event { left: -8px; bottom: 40px; } }

.phone-wrap { position: relative; display: inline-block; }

/* ---------- A5: landing page, a visitor opts out (9s loop) ---------- */

.lp-screen { background: #fff; color: var(--ink); }
.lp-brand { padding: 54px 18px 18px; background: #0f766e; color: #fff; text-align: center; }
.lp-brand .lp-logo { display: inline-flex; width: 44px; height: 44px; border-radius: 12px; background: #fff; color: #0f766e; font-weight: 700; align-items: center; justify-content: center; margin-bottom: 10px; }
.lp-brand h4 { color: #fff; margin: 0; font-size: 1.05rem; }
.lp-body { padding: 18px; font-size: 0.85rem; color: var(--slate-600); }
.lp-input {
    margin: 12px 0;
    padding: 10px 12px;
    border: 1px solid var(--slate-300);
    border-radius: 8px;
    font-family: var(--font-mono);
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
}
.lp-typed { display: inline-block; overflow: hidden; vertical-align: bottom; width: 12ch; animation: lp-type 9s steps(12) infinite; }
@keyframes lp-type { 0%, 8% { width: 0; } 30%, 100% { width: 12ch; } }
.lp-button { display: block; padding: 10px; border-radius: 8px; background: #0f766e; color: #fff; text-align: center; font-weight: 600; animation: lp-press 9s infinite; }
@keyframes lp-press { 0%, 36% { transform: none; } 38% { transform: scale(0.96); } 40%, 100% { transform: none; } }
.lp-done { margin-top: 14px; padding: 10px 12px; border-radius: 8px; background: var(--green-50); color: var(--green-800); font-weight: 600; animation: lp-done 9s infinite; }
@keyframes lp-done { 0%, 41% { opacity: 0; transform: translateY(6px); } 46%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.lp-stats { bottom: 60px; right: -80px; width: max-content; }
.lp-count { font-size: 1.6rem; font-weight: 700; line-height: 1; }
.lp-count .plus { color: var(--brand-ink); font-size: 1rem; margin-left: 6px; animation: lp-done 9s infinite; }
@media (max-width: 520px) { .lp-stats { right: -8px; } }

/* ---------- Trust strip ---------- */

.trust-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0; padding: 28px 0; list-style: none; }
.trust-list li { display: flex; gap: 12px; align-items: flex-start; }
.trust-list svg { flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px; color: var(--brand-ink); }
.trust-list strong { display: block; font-size: 0.95rem; color: var(--ink); }
.trust-list span { font-size: 0.875rem; color: var(--ink-soft); line-height: 1.45; }
@media (max-width: 960px) { .trust-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .trust-list { grid-template-columns: 1fr; gap: 16px; padding: 24px 0; } }

/* ---------- Industries ---------- */

.industry { padding: 28px; display: flex; flex-direction: column; }
.industry .example {
    margin-top: auto;
    padding: 12px 14px;
    border-radius: 14px 14px 14px 4px;
    background: var(--slate-100);
    font-size: 0.875rem;
    color: var(--slate-700);
    line-height: 1.45;
}
.industry p { margin-bottom: 16px; }
.industry .example b { display: block; font-size: 0.75rem; color: var(--slate-500); font-weight: 600; margin-bottom: 2px; }
@media (min-width: 961px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 641px) and (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Footer legal line ---------- */

.footer-legal { margin-top: 8px; font-size: 0.8rem; color: var(--slate-500); }

/* ---------- Status badges (coverage, quiet hours) ---------- */

.badge { display: inline-block; font-size: 0.75rem; font-weight: 600; border-radius: 999px; padding: 0.15rem 0.6rem; white-space: nowrap; }
.badge-confirmed { background: #d1fae5; color: #065f46; }
.badge-check { background: #ffedd5; color: #9a3412; }
.badge-contact { background: #f3f4f6; color: #374151; }

/* ---------- Free tools ---------- */

.tool { max-width: 880px; margin: 0 auto; }
.tool-card { padding: 28px; }
.tool-card + .tool-card { margin-top: 20px; }
.tool-label { display: block; font-weight: 600; margin-bottom: 8px; }
.tool-input {
    display: block;
    width: 100%;
    min-height: 170px;
    padding: 14px 16px;
    border: 1px solid var(--slate-300);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--ink);
    font: 1rem/1.55 var(--font-sans);
    resize: vertical;
}
.tool-input:focus { outline: 2px solid var(--green-400); outline-offset: 1px; border-color: var(--brand); }
.tool-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; margin-top: 16px; }
.tool-row .field { flex: 1; min-width: 200px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 20px; }
.stat { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--slate-50); }
.stat .k { font-size: 0.8rem; color: var(--slate-500); }
.stat .v { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat.warn { background: var(--orange-50); border-color: var(--orange-200); }
@media (max-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.preview {
    margin-top: 16px;
    padding: 14px 16px;
    border: 1px dashed var(--slate-300);
    border-radius: var(--radius-sm);
    white-space: pre-wrap;
    word-break: break-word;
    line-height: 1.7;
    min-height: 3em;
}
.ch-ext { background: #fef3c7; border-radius: 3px; box-shadow: 0 0 0 1px #fcd34d; }
.ch-uni { background: #fee2e2; border-radius: 3px; box-shadow: 0 0 0 1px #fca5a5; }
.legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 10px; font-size: 0.85rem; color: var(--slate-600); }
.legend span::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 6px; vertical-align: -1px; border-radius: 3px; }
.legend .l-ext::before { background: #fef3c7; box-shadow: 0 0 0 1px #fcd34d; }
.legend .l-uni::before { background: #fee2e2; box-shadow: 0 0 0 1px #fca5a5; }
.checklist { list-style: none; margin: 16px 0 0; padding: 0; }
.checklist li { display: flex; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.checklist li:first-child { border-top: 0; }
.checklist .mark { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; }
.checklist .ok .mark { background: var(--green-100); color: var(--green-800); }
.checklist .no .mark { background: #ffedd5; color: var(--orange-800); }
.checklist strong { display: block; }
.checklist p { margin: 2px 0 0; color: var(--ink-soft); font-size: 0.95rem; }
.tool-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.result-grid { display: grid; grid-template-columns: 180px 1fr; gap: 10px 16px; margin: 16px 0 0; }
.result-grid dt { color: var(--slate-500); font-size: 0.9rem; }
.result-grid dd { margin: 0; font-weight: 600; }
.tool-note { font-size: 0.875rem; color: var(--slate-500); margin: 12px 0 0; }
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .tool-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .tool-grid { grid-template-columns: 1fr; } .result-grid { grid-template-columns: 1fr; gap: 2px; } .result-grid dd { margin-bottom: 10px; } }

/* ---------- Combobox (searchable country picker) ---------- */

.combo { position: relative; }
.combo-input {
    width: 100%;
    height: 46px;
    padding: 10px 38px 10px 12px;
    border: 1px solid var(--slate-300);
    border-radius: var(--radius-sm);
    background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 8l4 4 4-4' fill='none' stroke='%2364748b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center / 18px;
    color: var(--ink);
    font: inherit;
    font-size: 1rem;
}
.combo-input:focus { outline: 2px solid var(--green-400); outline-offset: 1px; border-color: var(--brand); }
.combo-list {
    position: absolute;
    z-index: 50;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    max-height: 300px;
    overflow-y: auto;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    font-size: 0.95rem;
}
.combo-option {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 10px;
    border-radius: 6px;
    cursor: pointer;
    line-height: 1.3;
}
.combo-option.is-active { background: var(--slate-100); }
.combo-option[aria-selected="true"] { font-weight: 600; }
.combo-hint { color: var(--slate-500); font-variant-numeric: tabular-nums; font-weight: 400; }
.combo-empty { padding: 10px; color: var(--slate-500); }
