:root {
    /* Brand blues */
    --navy-950: #0b1220;
    --navy-900: #0f172a;
    --navy-800: #1e293b;
    --brand-800: #1e3a8a;
    --brand-700: #1e40af;
    --brand-600: #2563eb;
    --brand-500: #3b82f6;
    --brand-100: #dbeafe;

    /* Neutrals (slate) */
    --ink: #0f172a;
    --text: #334155;
    --text-muted: #64748b;
    --line: #e2e8f0;
    --line-soft: #eef2f7;
    --bg: #ffffff;
    --bg-soft: #f8fafc;
    --bg-mute: #f1f5f9;

    /* A single restrained "verified / official" accent */
    --verify: #0d9488;
    --verify-soft: #ccfbf1;

    --radius: 14px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 6px 16px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 18px 40px rgba(15, 23, 42, 0.12);
    --shadow-xl: 0 30px 60px rgba(15, 23, 42, 0.22);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.75rem;
}

/* ===== Navbar ===== */
.navbar { position: absolute; top: 0; left: 0; right: 0; z-index: 10; }

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.25rem 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand { display: inline-flex; align-items: center; text-decoration: none; }

.nav-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    background: #ffffff;
    padding: 7px 11px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.nav-lang {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.lang-link { color: rgba(255, 255, 255, 0.6); text-decoration: none; transition: color 0.2s ease; }
.lang-link:hover { color: #ffffff; }
.lang-link--active { color: #ffffff; }
.lang-sep { color: rgba(255, 255, 255, 0.3); }

/* ===== Hero ===== */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--navy-900);
    color: #fff;
    padding: 9rem 0 5.5rem;
}

/* subtle radial glow + faint grid — professional, not playful */
.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(900px 500px at 78% 18%, rgba(37, 99, 235, 0.35) 0%, rgba(37, 99, 235, 0) 60%),
        radial-gradient(700px 500px at 12% 90%, rgba(30, 58, 138, 0.45) 0%, rgba(30, 58, 138, 0) 60%),
        linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 60%, var(--navy-800) 100%);
}
.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(1000px 600px at 60% 30%, #000 0%, transparent 75%);
    -webkit-mask-image: radial-gradient(1000px 600px at 60% 30%, #000 0%, transparent 75%);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
    align-items: center;
}
/* Allow the grid columns to shrink below their content's intrinsic width
   (prevents the chat card from forcing horizontal overflow on small screens). */
.hero-grid > * { min-width: 0; }
.chat-bubble { overflow-wrap: anywhere; }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 1.6rem;
}

.badge__dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--brand-500);
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.6);
    animation: pulse 2.2s infinite;
}

@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.55); }
    70%  { box-shadow: 0 0 0 7px rgba(59, 130, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

.hero-title {
    font-size: clamp(2.1rem, 4.4vw, 3.25rem);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #fff;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: clamp(1.02rem, 1.6vw, 1.18rem);
    color: rgba(226, 232, 240, 0.82);
    margin-bottom: 0.75rem;
    max-width: 48ch;
}

.hero-tagline {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--brand-500);
    margin-bottom: 1.75rem;
    max-width: 48ch;
}

/* feature checklist */
.feature-list {
    list-style: none;
    display: grid;
    gap: 0.6rem;
    margin-bottom: 2rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    color: rgba(226, 232, 240, 0.92);
    font-size: 0.98rem;
}

.feature-list li strong { color: #fff; font-weight: 600; }

.feature-list__check {
    flex-shrink: 0;
    width: 22px; height: 22px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    background: rgba(13, 148, 136, 0.15);
    color: #2dd4bf;
    font-size: 0.7rem;
    font-weight: 700;
    margin-top: 2px;
}

/* signup */
.signup__form { max-width: 460px; }

.signup__row--select { margin-bottom: 0.6rem; }
.signup__select {
    flex: 1;
    width: 100%;
    min-width: 0;
    font-family: inherit;
    font-size: 0.98rem;
    color: var(--ink);
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='20' height='14' rx='2'/%3E%3Cpath d='M16 7V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2'/%3E%3C/svg%3E") no-repeat left 0.9rem center,
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.9rem center,
        #fff;
    background-size: 17px, 12px, auto;
    border: none;
    border-radius: 10px;
    padding: 0.72rem 2.5rem 0.72rem 2.7rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}
.signup__select:focus { outline: 2px solid var(--brand-500); outline-offset: 1px; }
.signup__select option { color: var(--ink); }
.signup__select option[value=""] { color: var(--text-light); }

.signup__row {
    display: flex;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 0.4rem;
    border-radius: 14px;
}

.signup__input {
    flex: 1;
    min-width: 0;
    font-family: inherit;
    font-size: 0.98rem;
    padding: 0.7rem 0.85rem;
    border: none;
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
}
.signup__input:focus { outline: 2px solid var(--brand-500); outline-offset: 1px; }

.signup__button {
    flex-shrink: 0;
    font-family: inherit;
    font-size: 0.98rem;
    font-weight: 600;
    color: #fff;
    background: var(--brand-600);
    border: none;
    border-radius: 10px;
    padding: 0.7rem 1.3rem;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.12s ease;
}
.signup__button:hover:not(:disabled) { background: var(--brand-500); }
.signup__button:active:not(:disabled) { transform: translateY(1px); }
.signup__button:disabled { opacity: 0.6; cursor: progress; }

.signup__note { margin-top: 0.7rem; font-size: 0.8rem; color: rgba(226, 232, 240, 0.6); }

.form-message { margin-top: 0.5rem; font-size: 0.9rem; font-weight: 600; min-height: 1.1em; }
.form-message.is-success { color: #2dd4bf; }
.form-message.is-error { color: #fca5a5; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ===== Countdown ===== */
.countdown { margin-bottom: 2rem; }

.countdown__heading {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-500);
    margin-bottom: 0.7rem;
}

.countdown__grid { display: flex; gap: 0.6rem; }

.countdown__item {
    min-width: 70px;
    flex: 0 0 auto;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 0.7rem 0.5rem;
    text-align: center;
}

.countdown__num {
    display: block;
    font-size: clamp(1.5rem, 3vw, 1.95rem);
    font-weight: 800;
    line-height: 1.05;
    color: #fff;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
}

.countdown__label {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(226, 232, 240, 0.6);
}

.countdown__live {
    display: none;
    font-size: 1.1rem;
    font-weight: 700;
    color: #2dd4bf;
}
.countdown.is-live .countdown__grid,
.countdown.is-live .countdown__heading { display: none; }
.countdown.is-live .countdown__live { display: block; }

/* ===== Hero visual: chat window (simplified, flat) ===== */
.hero-visual { position: relative; }

.chat-window {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 2px;
    overflow: hidden;
}

/* Header — flat, light */
.chat-head {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.chat-head__logo { height: 26px; width: auto; display: block; }
.chat-head__status {
    display: inline-flex; align-items: center; gap: 0.35rem;
    font-size: 0.72rem; color: var(--text-muted);
}
.chat-head__status-dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; }
.chat-head__chip {
    margin-left: auto;
    font-size: 0.68rem; font-weight: 600;
    color: var(--verify);
    background: var(--verify-soft);
    padding: 0.25rem 0.6rem; border-radius: 2px;
    white-space: nowrap;
}
.chat-head__chip-dot { display: none; }

/* Body / messages */
.chat-window__body {
    padding: 1.3rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    background: #fff;
}

.chat-row { display: flex; gap: 0.55rem; align-items: flex-start; }
.chat-row--user { justify-content: flex-end; }
.chat-row--ai { justify-content: flex-start; }

.chat-ava {
    flex-shrink: 0;
    width: 28px; height: 28px;
    border-radius: 2px;
    overflow: hidden;
}
.chat-ava img { width: 100%; height: 100%; display: block; }

.chat-bubble {
    padding: 0.75rem 0.95rem;
    font-size: 0.93rem;
    line-height: 1.55;
    max-width: 85%;
    border-radius: 2px;
}
.chat-bubble--user {
    background: var(--bg-soft);
    color: var(--text);
    min-height: 1.3em;
}
.chat-bubble--ai {
    background: #fff;
    color: var(--text);
    border: 1px solid var(--line);
}

.chat-typing { display: none; gap: 5px; padding: 0.2rem 0.1rem; }
.js .chat-typing.is-on { display: flex; }
.chat-typing span {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--brand-500); opacity: 0.5;
    animation: blink 1.2s infinite ease-in-out;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink {
    0%, 80%, 100% { transform: scale(0.7); opacity: 0.4; }
    40%           { transform: scale(1);   opacity: 1; }
}

.chat-answer { transition: opacity 0.45s ease, transform 0.45s ease; }
.js .chat-answer { opacity: 0; transform: translateY(6px); }
.js .chat-answer.is-shown { opacity: 1; transform: none; }

.chat-sources {
    margin-top: 0.75rem;
    padding-top: 0.65rem;
    border-top: 1px solid var(--line-soft);
    display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem;
}
.chat-sources__label {
    width: 100%;
    font-size: 0.66rem; font-weight: 700; color: var(--text-light);
    text-transform: uppercase; letter-spacing: 0.06em;
    margin-bottom: 0.15rem;
}
.chat-source {
    font-size: 0.76rem; font-weight: 600; color: var(--brand-700);
    background: var(--bg-mute);
    padding: 0.24rem 0.55rem; border-radius: 2px;
}

/* Input bar — flat */
.chat-input {
    display: flex; align-items: center; gap: 0.55rem;
    padding: 0.65rem 0.8rem;
    background: #fff;
    border-top: 1px solid var(--line);
}
.chat-input__field {
    flex: 1;
    font-size: 0.85rem;
    color: var(--text-light);
    background: var(--bg-mute);
    border-radius: 2px;
    padding: 0.5rem 0.9rem;
}
.chat-input__send {
    flex-shrink: 0;
    width: 32px; height: 32px;
    border-radius: 2px;
    display: grid; place-items: center;
    color: #fff;
    background: var(--brand-600);
}

/* ===== How it works ===== */
.section { padding: 5rem 0; }
.section--how { background: var(--bg-soft); border-top: 1px solid var(--line); }

.section-head { text-align: center; margin-bottom: 2.75rem; }
.section-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--brand-600);
    margin-bottom: 0.55rem;
}
.section-title {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ink);
    line-height: 1.2;
}

.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.how-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.85rem 1.6rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.how-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--brand-100); }

.how-card__num {
    display: grid; place-items: center;
    width: 40px; height: 40px;
    border-radius: 10px;
    background: var(--brand-800);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1.1rem;
}
.how-card__title { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin-bottom: 0.45rem; }
.how-card__text { color: var(--text-muted); font-size: 0.95rem; }

/* ===== About / who we are ===== */
.section--about { background: var(--bg-soft); border-top: 1px solid var(--line); }

.about { max-width: 760px; margin: 0 auto; }
.about .section-eyebrow { display: inline-block; margin-bottom: 0.55rem; }
.about .section-title { margin-bottom: 1rem; }

.about__text {
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.about__for {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.4rem;
}
.about__for-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-right: 0.2rem;
}
.about__chip {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--brand-700);
    background: #fff;
    border: 1px solid var(--line);
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
}

/* ===== FAQ ===== */
.section--faq { background: var(--bg); }

.faq { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.8rem; }

.faq__item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.faq__item:hover { border-color: #cbd5e1; }
.faq__item[open] {
    border-color: var(--brand-100);
    box-shadow: var(--shadow-md);
}

.faq__q {
    list-style: none;
    cursor: pointer;
    padding: 1.1rem 1.3rem;
    font-weight: 600;
    font-size: 1.02rem;
    color: var(--ink);
    display: flex;
    align-items: center;
}
.faq__q::-webkit-details-marker { display: none; }

/* "?" badge on the left */
.faq__q::before {
    content: "?";
    flex-shrink: 0;
    width: 28px; height: 28px;
    border-radius: 8px;
    background: var(--brand-100);
    color: var(--brand-700);
    font-size: 0.95rem;
    font-weight: 800;
    display: grid; place-items: center;
    margin-right: 0.85rem;
    transition: background 0.2s ease, color 0.2s ease;
}
.faq__item[open] .faq__q::before { background: var(--brand-600); color: #fff; }

/* circular chevron toggle, pushed to the right */
.faq__q::after {
    content: "";
    flex-shrink: 0;
    margin-left: auto;
    width: 28px; height: 28px;
    border-radius: 50%;
    background-color: var(--bg-mute);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transition: background-color 0.2s ease, transform 0.25s ease;
}
.faq__item[open] .faq__q::after {
    background-color: var(--brand-100);
    transform: rotate(180deg);
}

.faq__a {
    padding: 0 1.3rem 1.2rem 3.45rem;
    color: var(--text-muted);
    font-size: 0.96rem;
    line-height: 1.65;
}
.faq__item[open] .faq__a { animation: faqReveal 0.28s ease; }
@keyframes faqReveal {
    from { opacity: 0; transform: translateY(-5px); }
    to   { opacity: 1; transform: none; }
}

/* ===== Promo band ===== */
.section--promo { background: var(--bg-soft); }

.promo {
    position: relative;
    overflow: hidden;
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--brand-800) 100%);
    border-radius: 20px;
    padding: 2.85rem 2rem;
    box-shadow: var(--shadow-lg);
}
.promo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(600px 300px at 85% 10%, rgba(45, 212, 191, 0.18) 0%, rgba(45, 212, 191, 0) 60%);
    pointer-events: none;
}

.promo > * { position: relative; z-index: 1; }

.promo__eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-size: 0.74rem;
    font-weight: 700;
    color: #5eead4;
    margin-bottom: 0.6rem;
}
.promo__title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 0.8rem;
}
.promo__text {
    color: rgba(226, 232, 240, 0.85);
    font-size: 1.05rem;
    max-width: 58ch;
    margin: 0 auto 1.6rem;
}
.promo__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}
.promo__cta {
    background: #fff;
    color: var(--navy-900);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    padding: 0.85rem 1.85rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.promo__cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.promo__free {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #5eead4;
    font-weight: 600;
    font-size: 0.92rem;
    border: 1px solid rgba(45, 212, 191, 0.4);
    padding: 0.55rem 1rem;
    border-radius: 999px;
}
.promo__free-dot { width: 7px; height: 7px; border-radius: 50%; background: #2dd4bf; }

/* ===== Success modal ===== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 1.5rem;
}
.modal[hidden] { display: none; }

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(3px);
    animation: fadeIn 0.2s ease;
}

.modal__dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 20px;
    padding: 2.4rem 2rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-2xl);
    animation: modalIn 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn {
    from { opacity: 0; transform: translateY(14px) scale(0.97); }
    to   { opacity: 1; transform: none; }
}

.modal__close {
    position: absolute;
    top: 0.7rem; right: 0.9rem;
    width: 34px; height: 34px;
    border: none;
    background: none;
    font-size: 1.7rem;
    line-height: 1;
    color: var(--text-light);
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
}
.modal__close:hover { background: var(--bg-mute); color: var(--ink); }

.modal__icon {
    width: 66px; height: 66px;
    margin: 0 auto 1.2rem;
    border-radius: 50%;
    background: #dcfce7;
    color: #16a34a;
    display: grid;
    place-items: center;
    animation: popIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}
@keyframes popIn { from { transform: scale(0); } to { transform: scale(1); } }

.modal__title {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 0.5rem;
}
.modal__text {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.6rem;
}
.modal__btn {
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: var(--brand-600);
    border: none;
    border-radius: 12px;
    padding: 0.8rem 2rem;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.12s ease;
}
.modal__btn:hover { background: var(--brand-500); }
.modal__btn:active { transform: translateY(1px); }

/* ===== Footer ===== */
.site-footer { background: var(--navy-900); color: rgba(226, 232, 240, 0.6); padding: 2rem 0; }
.site-footer__inner { display: flex; flex-direction: column; align-items: center; gap: 0.85rem; text-align: center; font-size: 0.85rem; }
.site-footer__logo { height: 34px; width: auto; background: #fff; padding: 5px 9px; border-radius: 8px; }
.site-footer__credit { font-size: 0.82rem; color: rgba(226, 232, 240, 0.5); }
.site-footer__brand {
    color: rgba(226, 232, 240, 0.85);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(226, 232, 240, 0.25);
    transition: color 0.2s ease, border-color 0.2s ease;
}
.site-footer__brand:hover { color: #fff; border-color: rgba(255, 255, 255, 0.6); }

/* ===== Animations ===== */
.anim-up { animation: heroUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; }
.anim-up--1 { animation-delay: 0.08s; }
.anim-up--2 { animation-delay: 0.16s; }
.anim-up--3 { animation-delay: 0.24s; }
.anim-up--4 { animation-delay: 0.32s; }
@keyframes heroUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: none; }
}

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal--d1 { transition-delay: 0.1s; }
.js .reveal--d2 { transition-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
    *, .anim-up, .badge__dot { animation: none !important; transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    /* Stack as a flex column so children are constrained to the viewport width
       (avoids the grid track expanding to the chat card's intrinsic width). */
    .hero-grid { display: flex; flex-direction: column; gap: 2.5rem; }
    .hero { padding: 8rem 0 4rem; }
    .hero-copy, .hero-visual { width: 100%; max-width: 100%; min-width: 0; }
    .signup__form, .hero-subtitle, .hero-tagline { max-width: none; }
}

@media (max-width: 760px) {
    .how-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
    .signup__row { flex-direction: column; background: none; border: none; padding: 0; gap: 0.55rem; }
    .signup__row--select { padding: 0; }
    .signup__select { border: 1px solid var(--line); }
    .signup__input { border: 1px solid var(--line); padding: 0.8rem 0.9rem; }
    .signup__button { width: 100%; padding: 0.8rem; }
    /* Hide the long "official documents" chip so the chat header fits narrow screens */
    .chat-head__chip { display: none; }
    .chat-head__logo { height: 24px; }
    /* Center the countdown on phones */
    .countdown { text-align: center; }
    .countdown__grid { justify-content: center; gap: 0.4rem; }
    .countdown__item { min-width: 62px; padding: 0.6rem 0.3rem; }
}
