
:root {
    color-scheme: light;
    --bg: #f6f9fc;
    --bg2: #ffffff;
    --surface: rgba(255,255,255,.82);
    --card: #ffffff;
    --text: #0f172a;
    --muted: #5b667a;
    --line: rgba(15,23,42,.10);
    --navy: #062b78;
    --blue: #0a58ca;
    --cyan: #10d7d2;
    --cyan-soft: #e7ffff;
    --shadow: 0 24px 70px rgba(15, 32, 67, .10);
    --shadow2: 0 40px 100px rgba(15, 32, 67, .16);
    --grad: linear-gradient(135deg, #062b78 0%, #0a58ca 54%, #10d7d2 100%);
}
body[data-theme="dark"] {
    color-scheme: dark;
    --bg: #06101e;
    --bg2: #0b1627;
    --surface: rgba(11,22,39,.78);
    --card: #0d1b2f;
    --text: #eef5ff;
    --muted: #a8b5c8;
    --line: rgba(255,255,255,.10);
    --navy: #7fb8ff;
    --blue: #3691ff;
    --cyan: #22e2dd;
    --cyan-soft: rgba(34,226,221,.10);
    --shadow: 0 24px 70px rgba(0,0,0,.28);
    --shadow2: 0 40px 100px rgba(0,0,0,.42);
    --grad: linear-gradient(135deg, #0b1e47 0%, #0b5de0 58%, #22e2dd 100%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 6% 0%, rgba(16,215,210,.18), transparent 30%),
        radial-gradient(circle at 96% 8%, rgba(10,88,202,.12), transparent 27%),
        var(--bg);
    color: var(--text);
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 92px 0; }

.topbar {
    position: sticky; top: 16px; z-index: 30;
    width: min(1220px, calc(100% - 40px));
    margin: 16px auto 0;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: var(--surface);
    backdrop-filter: blur(22px);
    box-shadow: var(--shadow);
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    padding: 13px 16px;
}
.topbar.scrolled { box-shadow: var(--shadow2); }
.brand img { width: 205px; height: auto; }
.nav { display: flex; gap: 20px; align-items: center; }
.nav a, .login-link { color: var(--muted); font-weight: 750; font-size: 14px; }
.nav a:hover, .login-link:hover { color: var(--text); }
.top-actions { display: flex; gap: 10px; align-items: center; }

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 999px; padding: 13px 20px; font-weight: 850; border: 1px solid transparent;
    transition: .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--grad); color: #fff; box-shadow: 0 16px 44px rgba(10,88,202,.26); }
.btn.secondary { background: var(--card); color: var(--text); border-color: var(--line); }
.btn.small { padding: 11px 16px; }
.btn.large { padding: 16px 24px; }

.theme-toggle {
    border: 1px solid var(--line);
    background: var(--card);
    color: var(--text);
    border-radius: 999px;
    padding: 10px 12px;
    cursor: pointer;
    font-weight: 850;
}
body[data-theme="light"] .theme-dark { display: none; }
body[data-theme="dark"] .theme-light { display: none; }

.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--card); color: var(--text); border-radius: 14px; align-items: center; justify-content: center; flex-direction: column; gap: 4px; cursor: pointer; }
.menu-btn span { width: 18px; height: 2px; background: currentColor; border-radius: 99px; }
.mobile-nav { display: none; }

.hero {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: 48px;
    align-items: center;
    padding-top: 72px;
}
.pill, .kicker {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--cyan-soft);
    color: var(--navy);
    font-weight: 950;
    font-size: 12px;
    letter-spacing: .05em;
    text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
    font-size: clamp(42px, 6vw, 72px);
    line-height: .94;
    letter-spacing: -.065em;
    margin: 18px 0 18px;
    max-width: 10.8ch;
}
.lead {
    font-size: 19px;
    line-height: 1.7;
    color: var(--muted);
    max-width: 650px;
}
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.cta-row.center { justify-content: center; }
.proof-row {
    display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px;
}
.proof-row span {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 10px 14px;
    color: var(--muted);
    font-weight: 750;
    box-shadow: var(--shadow);
}
.photo-card {
    position: relative;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 36px;
    padding: 14px;
    box-shadow: var(--shadow2);
}
.photo-card img {
    border-radius: 26px;
    width: 100%;
    min-height: 430px;
    object-fit: cover;
}
.status-card {
    position: absolute;
    max-width: 270px;
    background: rgba(255,255,255,.92);
    color: #0f172a;
    border: 1px solid rgba(15,23,42,.10);
    border-radius: 24px;
    padding: 18px;
    box-shadow: 0 22px 60px rgba(15,32,67,.16);
    backdrop-filter: blur(16px);
}
body[data-theme="dark"] .status-card { background: rgba(11,22,39,.92); color: #eef5ff; border-color: rgba(255,255,255,.12); }
.status-card strong { display: block; font-size: 17px; margin-bottom: 6px; }
.status-card span { color: var(--muted); line-height: 1.45; }
.status-card.top { left: -22px; top: 38px; }
.status-card.bottom { right: -18px; bottom: 34px; }

.audience-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    padding: 28px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 32px;
    box-shadow: var(--shadow);
}
.audience-strip strong { display: block; margin-bottom: 5px; }
.audience-strip span { color: var(--muted); font-size: 14px; }

.section-title { max-width: 790px; margin: 0 auto 34px; text-align: center; }
.section-title h2, .copy h2, .feature-text h2, .final-box h2 {
    font-size: clamp(32px, 4vw, 54px);
    line-height: 1.04;
    letter-spacing: -.055em;
    margin: 16px 0 14px;
}
.section-title p, .copy p, .feature-text p, .final-box p {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
}

.cards {
    display: grid;
    gap: 18px;
}
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards article, .resolve-list div, .screen-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 30px;
    box-shadow: var(--shadow);
}
.cards article { padding: 28px; }
.card-number {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 15px;
    background: var(--cyan-soft);
    color: var(--navy);
    font-weight: 950;
    margin-bottom: 20px;
}
.cards h3 { font-size: 21px; letter-spacing: -.035em; margin-bottom: 10px; }
.cards p, .cards li { color: var(--muted); line-height: 1.65; }

.split, .feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 38px;
    align-items: center;
}
.resolve-list { display: grid; gap: 14px; }
.resolve-list div { padding: 22px; display: grid; gap: 5px; }
.resolve-list b { color: var(--navy); }
.resolve-list strong { font-size: 20px; letter-spacing: -.03em; }
.resolve-list span { color: var(--muted); line-height: 1.6; }

.feature.reverse .screen-card { order: 1; }
.feature.reverse .feature-text { order: 2; }
.feature-text ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.feature-text li {
    color: var(--muted);
    font-weight: 750;
    padding-left: 30px;
    position: relative;
}
.feature-text li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 15px;
    height: 15px;
    border-radius: 999px;
    background: var(--cyan);
    box-shadow: 0 0 0 5px rgba(16,215,210,.13);
}

.screen-card { padding: 24px; }
.screen-head { display: flex; gap: 7px; margin-bottom: 20px; }
.screen-head span { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.screen-card h3 { font-size: 28px; letter-spacing: -.04em; }
.progress {
    height: 12px;
    border-radius: 999px;
    background: rgba(16,215,210,.15);
    overflow: hidden;
    margin: 18px 0;
}
.progress i { display: block; height: 100%; background: var(--grad); border-radius: inherit; }
.timeline, .diary-line { display: grid; gap: 12px; }
.timeline p, .diary-line {
    padding: 14px;
    border-radius: 18px;
    background: var(--bg2);
    border: 1px solid var(--line);
    color: var(--muted);
}
.timeline b, .diary-line span { display: block; color: var(--navy); margin-bottom: 4px; }
.diary-line strong { display: block; color: var(--text); margin-bottom: 4px; }
.diary-line p { margin: 0; color: var(--muted); line-height: 1.6; }
.diary-line.active { border-color: rgba(16,215,210,.45); box-shadow: 0 18px 45px rgba(16,215,210,.10); }

.proposal-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}
.proposal-row span, .proposal-total span { color: var(--muted); }
.proposal-total { padding-top: 20px; }
.proposal-total strong { display: block; font-size: 34px; margin-top: 4px; letter-spacing: -.05em; }

.chat { display: grid; gap: 14px; }
.bubble {
    max-width: 86%;
    padding: 15px 18px;
    border-radius: 20px;
    line-height: 1.6;
    font-weight: 700;
}
.bubble.left { background: var(--bg2); border: 1px solid var(--line); color: var(--muted); }
.bubble.right { margin-left: auto; background: var(--grad); color: #fff; }

.prompt-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.prompt-chips span {
    padding: 12px 14px;
    border-radius: 999px;
    background: var(--card);
    border: 1px solid var(--line);
    color: var(--muted);
    font-weight: 750;
}
.ai-badge { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; font-weight: 900; color: var(--navy); }
.ai-badge span {
    width: 10px;
    height: 10px;
    background: #16c784;
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(22,199,132,.12);
}
.ai button {
    margin-top: 18px;
    border: 0;
    border-radius: 999px;
    background: var(--grad);
    color: #fff;
    padding: 13px 18px;
    font-weight: 850;
}

.testimonials article p { font-size: 18px; color: var(--text); }
.testimonials strong { display: block; margin-top: 18px; }
.testimonials span { color: var(--navy); font-weight: 850; }

.pricing article ul { padding-left: 18px; margin: 18px 0 26px; }
.plan-tag { color: var(--navy); font-weight: 950; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }
.pricing .highlight {
    border-color: rgba(16,215,210,.42);
    box-shadow: var(--shadow2);
    transform: translateY(-10px);
}

.final-box {
    text-align: center;
    padding: 58px 38px;
    border-radius: 40px;
    background: var(--grad);
    color: #fff;
    box-shadow: var(--shadow2);
}
.final-box .kicker { background: rgba(255,255,255,.18); color: #fff; }
.final-box p { color: rgba(255,255,255,.86); max-width: 760px; margin-left: auto; margin-right: auto; }

.footer {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 10px 0 46px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: start;
}
.footer img { width: 200px; margin-bottom: 12px; }
.footer p, .footer small { color: var(--muted); margin: 0; }
.footer nav { display: flex; gap: 16px; flex-wrap: wrap; justify-content: flex-end; }
.footer nav a { color: var(--muted); font-weight: 750; }
.footer small { grid-column: 1 / -1; font-size: 13px; }

.reveal { opacity: 0; transform: translateY(24px); transition: .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

.workos-copy-notice {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 9999;
    transform: translateX(-50%) translateY(18px);
    opacity: 0;
    pointer-events: none;
    background: #062b78;
    color: #fff;
    padding: 12px 18px;
    border-radius: 999px;
    box-shadow: var(--shadow2);
    transition: .2s ease;
    font-weight: 850;
}
.workos-copy-notice.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 1060px) {
    .nav, .top-actions .login-link, .top-actions .btn { display: none; }
    .menu-btn { display: inline-flex; }
    .mobile-nav.open {
        display: grid;
        width: min(1220px, calc(100% - 40px));
        margin: 10px auto 0;
        background: var(--card);
        border: 1px solid var(--line);
        border-radius: 24px;
        box-shadow: var(--shadow);
        padding: 18px;
        gap: 13px;
        position: sticky;
        top: 94px;
        z-index: 29;
    }
    .mobile-nav a { color: var(--muted); font-weight: 800; }
    .hero, .split, .feature { grid-template-columns: 1fr; }
    .feature.reverse .screen-card, .feature.reverse .feature-text { order: initial; }
    h1 { max-width: 100%; }
    .cards.three { grid-template-columns: repeat(2, 1fr); }
    .audience-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
    .section { width: min(100% - 28px, 1180px); padding: 72px 0; }
    .topbar { width: min(100% - 28px, 1220px); top: 12px; padding: 12px 14px; }
    .brand img { width: 165px; }
    .hero { padding-top: 56px; gap: 28px; }
    h1 { font-size: clamp(40px, 13vw, 58px); }
    .lead, .section-title p, .copy p, .feature-text p { font-size: 16px; }
    .cta-row { flex-direction: column; align-items: stretch; }
    .photo-card img { min-height: 300px; }
    .status-card { position: static; max-width: none; margin-top: 12px; }
    .cards.three, .audience-strip { grid-template-columns: 1fr; }
    .pricing .highlight { transform: none; }
    .footer { grid-template-columns: 1fr; width: min(100% - 28px, 1180px); }
    .footer nav { justify-content: flex-start; }
}
