/* ---------- Brand tokens (purple accent, matches Focus.App) ---------- */
:root {
    --brand: #7c3aed;
    --brand-dark: #5b21b6;
    --brand-darker: #3b1478;
    --brand-soft: #f3edff;
    --brand-softer: #faf7ff;
    --ink: #1d1530;
    --ink-2: #4a4260;
    --muted: #776f8c;
    --line: #e7e1f2;
    --bg: #ffffff;
    --green: #15803d;
    --green-soft: #e7f6ec;
    --radius: 16px;
    --shadow: 0 1px 2px rgba(29, 21, 48, .06), 0 8px 24px rgba(29, 21, 48, .08);
    --shadow-lg: 0 2px 4px rgba(29, 21, 48, .06), 0 24px 48px rgba(59, 20, 120, .16);

    /* Radzen theme: purple primary */
    --rz-primary: #7c3aed;
    --rz-primary-light: #9b6af0;
    --rz-primary-lighter: rgba(124, 58, 237, .12);
    --rz-primary-dark: #5b21b6;
    --rz-primary-darker: #3b1478;
    --rz-on-primary: #ffffff;
    --rz-text-font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

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

html, body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .6rem; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1rem; color: var(--ink-2); }
a { color: var(--brand); }
h1:focus { outline: none; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 780px; }
.center { text-align: center; justify-content: center; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.full-width { width: 100%; }

.eyebrow {
    display: inline-block;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: .75rem;
}
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 40rem; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .75rem 1.35rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: .98rem;
    text-decoration: none;
    border: 2px solid transparent;
    transition: background .15s, color .15s, border-color .15s, transform .15s;
    white-space: nowrap;
    cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: .5rem 1rem; font-size: .9rem; }
.btn-lg { padding: .95rem 1.7rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-outline:hover { background: var(--brand-soft); }
.btn-light { background: #fff; color: var(--brand-dark); }
.btn-light:hover { background: var(--brand-soft); }
.btn-ghost-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); }

.text-link {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-weight: 700;
    color: var(--brand);
    text-decoration: none;
}
.text-link .rzi { font-size: 1.1rem; transition: transform .15s; }
.text-link:hover .rzi { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; }
.brand-mark {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--brand), var(--brand-darker));
    color: #fff;
    display: grid; place-items: center;
}
.brand-mark .rzi { font-size: 1.2rem; }
.brand-name { font-weight: 800; font-size: 1.2rem; color: var(--ink); letter-spacing: -.02em; }
.brand-name span { color: var(--brand); }

.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a:not(.btn) { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; }
.site-nav a:not(.btn):hover, .site-nav a.active { color: var(--brand); }
.nav-signin { padding-left: 1.2rem; border-left: 1px solid var(--line); }

.menu-toggle { display: none; background: none; border: 0; color: var(--ink); cursor: pointer; padding: .4rem; }
.menu-toggle .rzi { font-size: 1.7rem; }

@media (max-width: 860px) {
    .menu-toggle { display: inline-flex; }
    .site-nav {
        display: none;
        position: absolute;
        top: 68px; left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #fff;
        border-bottom: 1px solid var(--line);
        padding: .5rem 20px 1.25rem;
        box-shadow: var(--shadow);
    }
    .site-nav.open { display: flex; }
    .site-nav a:not(.btn) { padding: .8rem 0; border-bottom: 1px solid var(--line); }
    .nav-signin { padding-left: 0; border-left: 0; }
    .site-nav .btn { margin-top: 1rem; }
}

/* ---------- Hero ---------- */
.hero {
    padding: 72px 0 88px;
    background:
        radial-gradient(900px 420px at 85% 10%, rgba(124,58,237,.14), transparent 60%),
        radial-gradient(600px 300px at 0% 100%, rgba(124,58,237,.08), transparent 60%),
        var(--brand-softer);
    overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 1rem; }
.hero-note { display: flex; align-items: center; gap: .4rem; font-size: .9rem; color: var(--muted); margin: 0; }
.hero-note .rzi { color: var(--green); font-size: 1.1rem; }

.hero-visual { position: relative; }
.mock-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    padding: 22px;
    border: 1px solid var(--line);
    transform: rotate(1.5deg);
}
.mock-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.mock-label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.mock-title { font-weight: 800; font-size: 1.15rem; }
.mock-appt {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border-radius: 12px;
    background: var(--brand-softer);
    margin-bottom: 8px;
}
.mock-time { font-weight: 800; color: var(--brand); font-size: .95rem; }
.mock-appt strong { display: block; font-size: .95rem; }
.mock-appt span:not(.pill):not(.mock-time) { font-size: .82rem; color: var(--muted); }
.mock-foot {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line);
    color: var(--muted); font-size: .9rem;
}
.mock-foot strong { color: var(--ink); font-size: 1.3rem; }
.mock-float {
    position: absolute;
    left: -28px; bottom: -26px;
    display: flex; align-items: center; gap: .7rem;
    background: var(--ink);
    color: #fff;
    padding: 12px 16px;
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    transform: rotate(-2deg);
}
.mock-float .rzi { font-size: 2rem; color: #c4a5ff; }
.mock-float strong { display: block; font-size: .92rem; }
.mock-float span { font-size: .78rem; color: #c9c2d9; }

.pill {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    padding: .25rem .6rem;
    border-radius: 999px;
    background: #efedf3;
    color: var(--ink-2);
    white-space: nowrap;
}
.pill-green { background: var(--green-soft); color: var(--green); }
.pill-purple { background: var(--brand-soft); color: var(--brand-dark); }

@media (max-width: 900px) {
    .hero { padding: 48px 0 72px; }
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .mock-card { transform: none; }
    .mock-float { left: 12px; bottom: -22px; }
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-tight { padding: 56px 0 88px; }
.section-tint { background: var(--brand-softer); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.center-link { margin-top: 36px; text-align: center; }

.page-hero {
    padding: 64px 0 40px;
    background: linear-gradient(180deg, var(--brand-softer), #fff);
}
.page-hero-tall { padding: 110px 0; }

@media (max-width: 700px) {
    .section { padding: 60px 0; }
    .section-tight { padding: 36px 0 60px; }
    .page-hero { padding: 44px 0 24px; }
}

/* Audience cards */
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.audience-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    background: #fff;
    transition: box-shadow .2s, transform .2s;
}
.audience-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.audience-card ul { list-style: none; padding: 0; margin: 1rem 0 0; }
.audience-card li { position: relative; padding-left: 1.5rem; margin-bottom: .45rem; color: var(--ink-2); font-size: .95rem; }
.audience-card li::before {
    content: '';
    position: absolute; left: 0; top: .55em;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--brand);
}
.icon-bubble {
    width: 48px; height: 48px; border-radius: 14px;
    display: grid; place-items: center;
    background: var(--brand-soft); color: var(--brand);
    margin-bottom: 1rem;
}
.icon-bubble .rzi { font-size: 1.5rem; }

/* Feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: #fff; border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.feature > .rzi { font-size: 1.8rem; color: var(--brand); margin-bottom: .6rem; }
.feature p { margin: 0; font-size: .95rem; }

@media (max-width: 900px) {
    .audience-grid, .feature-grid { grid-template-columns: 1fr; }
}
@media (min-width: 640px) and (max-width: 900px) {
    .feature-grid { grid-template-columns: 1fr 1fr; }
}

/* Feature rows (Features page) */
.feature-rows { display: grid; gap: 20px; max-width: 900px; }
.feature-row {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 22px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.feature-row-icon {
    width: 56px; height: 56px; border-radius: 16px;
    display: grid; place-items: center;
    background: var(--brand-soft); color: var(--brand);
}
.feature-row-icon .rzi { font-size: 1.7rem; }
.feature-row h2 { font-size: 1.35rem; }
.feature-row p:last-child { margin-bottom: 0; }

@media (max-width: 600px) {
    .feature-row { grid-template-columns: 1fr; gap: 14px; padding: 22px; }
}

.checks { list-style: none; padding: 0; margin: .5rem 0 0; }
.checks li { position: relative; padding-left: 1.8rem; margin-bottom: .5rem; color: var(--ink-2); }
.checks li::before {
    content: '';
    position: absolute; left: .3rem; top: .35em;
    width: .45rem; height: .8rem;
    border: solid var(--brand);
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}
.checks-2col { columns: 2; column-gap: 28px; }
.checks-2col li { break-inside: avoid; }
@media (max-width: 600px) { .checks-2col { columns: 1; } }

/* Coming soon */
.soon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.soon {
    display: flex; gap: .8rem; align-items: flex-start;
    background: #fff; border: 1px dashed #cdbff0; border-radius: var(--radius); padding: 20px;
}
.soon > .rzi { color: var(--brand); font-size: 1.6rem; }
.soon strong { display: block; margin-bottom: .2rem; }
.soon span { font-size: .9rem; color: var(--muted); }
@media (max-width: 1000px) { .soon-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .soon-grid { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.pricing-teaser { display: grid; grid-template-columns: 1fr 420px; gap: 56px; align-items: center; }
.pricing-layout { display: grid; grid-template-columns: 420px 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) {
    .pricing-teaser, .pricing-layout { grid-template-columns: 1fr; gap: 36px; }
}

.calc {
    background: #fff;
    border: 2px solid var(--brand);
    border-radius: 22px;
    padding: 30px;
    box-shadow: var(--shadow-lg);
}
.calc-loading, .calc-missing { color: var(--muted); }
.calc-missing .btn { margin-top: .5rem; }
.calc-plan { font-weight: 700; color: var(--brand); font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; }
.calc-price { display: flex; align-items: baseline; gap: .25rem; margin: .4rem 0 .25rem; }
.calc-amount { font-size: 3.2rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); line-height: 1; }
.calc-per { font-size: 1.1rem; color: var(--muted); font-weight: 600; }
.calc-breakdown { font-size: .92rem; color: var(--muted); margin-bottom: 1.4rem; }
.calc-slider-row { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: .95rem; margin-bottom: .6rem; }
.calc-count {
    min-width: 2.4rem; text-align: center;
    background: var(--brand-soft); color: var(--brand-dark);
    border-radius: 8px; padding: .1rem .5rem; font-weight: 800;
}
.calc-slider { width: 100%; margin-bottom: 1.4rem; }
.calc-perks { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.calc-perks li { display: flex; gap: .5rem; align-items: flex-start; font-size: .92rem; color: var(--ink-2); margin-bottom: .45rem; }
.calc-perks .rzi { color: var(--green); font-size: 1.15rem; margin-top: .15rem; }
.calc-actions { display: grid; gap: .6rem; }

.included h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.note-box {
    display: flex; gap: .7rem;
    margin-top: 1.75rem; padding: 18px;
    border-radius: 12px; background: var(--brand-softer); border: 1px solid var(--line);
}
.note-box .rzi { color: var(--brand); }
.note-box p { margin: 0; font-size: .92rem; }

/* ---------- FAQ ---------- */
.faq-group { font-size: 1.3rem; margin: 2.2rem 0 1rem; }
.faq-group:first-child { margin-top: 0; }
.faq-list { display: grid; gap: 10px; }
.faq-list details {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0 20px;
}
.faq-list summary {
    cursor: pointer;
    list-style: none;
    font-weight: 700;
    padding: 18px 28px 18px 0;
    position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
    content: '+';
    position: absolute; right: 0; top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem; font-weight: 400; color: var(--brand);
}
.faq-list details[open] summary::after { content: '\2212'; }
.faq-list details p { padding-bottom: 18px; margin: 0; }
.faq-more { margin-top: 2rem; text-align: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card {
    display: block;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    text-decoration: none;
    transition: box-shadow .2s, transform .2s, border-color .2s;
}
.contact-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #cdbff0; }
.contact-card > .rzi { font-size: 2rem; color: var(--brand); }
.contact-card h2 { font-size: 1.15rem; margin: .7rem 0 .3rem; }
.contact-card p { font-weight: 700; color: var(--brand); margin-bottom: .4rem; word-break: break-word; }
.contact-card span { font-size: .9rem; color: var(--muted); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Legal ---------- */
.legal h2 { font-size: 1.25rem; margin-top: 2rem; }
.legal h2:first-child { margin-top: 0; }

/* ---------- CTA band ---------- */
.cta-band {
    background: linear-gradient(120deg, var(--brand-darker), var(--brand) 70%, #9b6af0);
    color: #fff;
    padding: 64px 0;
}
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.cta-band h2 { color: #fff; max-width: 34rem; }
.cta-band p { color: rgba(255,255,255,.82); margin: 0; }
.cta-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
@media (max-width: 860px) { .cta-inner { flex-direction: column; align-items: flex-start; } }

/* ---------- Signup ---------- */
.signup { padding: 56px 0 88px; background: var(--brand-softer); min-height: calc(100vh - 68px); }
.signup-grid { display: grid; grid-template-columns: 1fr 520px; gap: 56px; align-items: start; }
.signup-side h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.signup-card {
    background: #fff;
    border-radius: 22px;
    padding: 30px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line);
}
.mode-bar { width: 100%; margin-bottom: 1.4rem; display: flex; }
.mode-bar .rz-button { flex: 1; }

.steps { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 18px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-2); }
.steps li > span {
    flex: 0 0 34px; height: 34px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--brand); color: #fff; font-weight: 800;
}
.steps strong { display: block; color: var(--ink); }

.field-label { font-weight: 700; font-size: .92rem; margin-bottom: .6rem; }
.type-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.type-option {
    display: flex; flex-direction: column; align-items: flex-start; gap: .25rem;
    text-align: left;
    padding: 14px;
    border-radius: 12px;
    border: 2px solid var(--line);
    background: #fff;
    font-family: inherit;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}
.type-option:hover { border-color: #cdbff0; }
.type-option.selected { border-color: var(--brand); background: var(--brand-softer); }
.type-option .rzi { color: var(--brand); font-size: 1.5rem; }
.type-title { font-weight: 700; font-size: .9rem; color: var(--ink); line-height: 1.25; }
.type-desc { font-size: .78rem; color: var(--muted); line-height: 1.35; }

.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.agree { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--ink-2); cursor: pointer; }
.agree .rz-chkbox { margin-top: .15rem; flex-shrink: 0; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: .35rem; font-size: .85rem; color: var(--muted); margin: 0; }
.secure-note .rzi { font-size: 1rem; color: var(--green); }

@media (max-width: 960px) {
    .signup-grid { grid-template-columns: 1fr; gap: 28px; }
    .signup-side .steps { display: none; }
}
@media (max-width: 560px) {
    .signup { padding: 28px 0 60px; }
    .signup-card { padding: 20px; border-radius: 18px; }
    .type-options { grid-template-columns: 1fr; }
    .type-option { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: .6rem; }
    .type-desc { flex-basis: 100%; }
    .field-pair { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c9c2d9; padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .9rem; }
.site-footer a:not(.brand) { display: block; color: #c9c2d9; text-decoration: none; margin-bottom: .55rem; font-size: .95rem; }
.site-footer a:not(.brand):hover { color: #fff; }
.brand-footer .brand-name { color: #fff; }
.brand-footer .brand-name span { color: #c4a5ff; }
.footer-tag { color: #a39bb8; font-size: .92rem; margin-top: 1rem; max-width: 22rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding: 22px 20px; font-size: .85rem; color: #8d85a3; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; } }
