:root {
    --navy: #071334;
    --navy-2: #0b1740;
    --text: #111b3e;
    --muted: #5d6888;
    --soft: #f6f8ff;
    --line: #dde4f3;
    --accent: #5646f5;
    --accent-2: #2f7cff;
    --mint: #dff7ec;
    --shadow: 0 28px 80px rgba(12, 20, 54, .14);
    --radius-xl: 22px;
    --radius-lg: 16px;
    --max: 1312px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 18% 0%, rgba(81, 84, 255, .10), transparent 30%),
        radial-gradient(circle at 90% 8%, rgba(47, 124, 255, .08), transparent 28%),
        #fbfcff;
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
button, input { font: inherit; }

.section-shell { width: min(var(--max), calc(100% - 72px)); margin-inline: auto; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    height: 78px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding-inline: 38px;
    backdrop-filter: blur(18px);
    background: rgba(251, 252, 255, .78);
    border-bottom: 1px solid rgba(221, 228, 243, .6);
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 20px; color: var(--navy); letter-spacing: -.03em; }
.brand span span { color: var(--accent); }
.brand-mark, .mini-logo {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    color: white;
    background: linear-gradient(135deg, var(--accent-2), var(--accent));
    font-weight: 900;
    font-size: 15px;
    box-shadow: 0 12px 24px rgba(86, 70, 245, .24);
}
.nav { display: flex; align-items: center; gap: 42px; font-size: 14px; font-weight: 700; color: var(--navy); }
.nav a { opacity: .9; }
.nav a:hover { color: var(--accent); }
.header-actions { justify-self: end; display: flex; gap: 16px; align-items: center; }
.btn {
    min-height: 42px;
    border-radius: 9px;
    padding: 0 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 800;
    font-size: 14px;
    border: 1px solid transparent;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: white; background: linear-gradient(135deg, var(--accent), #4436ed); box-shadow: 0 16px 34px rgba(86, 70, 245, .26); }
.btn-ghost { background: rgba(255,255,255,.72); border-color: var(--line); }
.btn-outline { background: rgba(255,255,255,.78); border-color: #9aa7c7; color: var(--navy); }
.btn-dark-outline { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.42); color: white; }
.btn-large { min-height: 58px; padding-inline: 28px; border-radius: 12px; }
.mobile-toggle { display: none; background: none; border: 0; font-size: 28px; color: var(--navy); }

.hero {
    min-height: 660px;
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 60px;
    align-items: center;
    padding: 54px 0 38px;
}
.eyebrow, .section-kicker {
    display: inline-flex;
    align-items: center;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 12px;
    font-weight: 900;
}
.eyebrow {
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(86, 70, 245, .08);
    margin-bottom: 28px;
}
h1, h2, h3, p { margin-top: 0; }
h1, .section-head h2, .platform-copy h2, .final-cta h2 {
    font-family: Georgia, "Times New Roman", serif;
    color: var(--navy);
    letter-spacing: -.052em;
}
h1 { font-size: clamp(48px, 4.6vw, 64px); line-height: 1.03; margin-bottom: 26px; max-width: 610px; }
h1 span { color: var(--accent); }
.hero-subhead { font-size: 18px; line-height: 1.62; color: #465171; max-width: 610px; margin-bottom: 34px; }
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 38px; }
.trust-row { display: grid; grid-template-columns: repeat(3, max-content); gap: 28px; align-items: start; }
.trust-row div { display: grid; grid-template-columns: 32px auto; column-gap: 11px; align-items: center; }
.trust-row span { grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--accent); background: rgba(86,70,245,.10); }
.trust-row strong { font-size: 12px; color: var(--navy); }
.trust-row small { font-size: 11px; color: #5a6380; font-weight: 700; }

.hero-visual { min-width: 0; }
.browser-card {
    border-radius: var(--radius-xl);
    background: white;
    border: 1px solid rgba(198, 208, 228, .85);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.browser-top { height: 58px; display: flex; align-items: center; gap: 14px; padding: 0 24px; border-bottom: 1px solid var(--line); color: var(--navy); }
.mini-logo { width: 30px; height: 30px; border-radius: 7px; background: var(--navy); box-shadow: none; }
.workspace-pill { margin-left: auto; font-size: 12px; font-weight: 900; color: #08785d; background: #e3fff3; padding: 8px 12px; border-radius: 8px; }
.workspace { min-height: 398px; display: grid; grid-template-columns: 62px 1fr; background: linear-gradient(180deg, #071334 0 39%, #fff 39% 100%); }
.rail { padding: 24px 15px; background: #071334; display: flex; flex-direction: column; gap: 18px; align-items: center; color: #aeb9d6; }
.rail span { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; }
.rail .active { background: var(--accent); color: white; }
.workspace-main { padding: 20px 20px 22px; min-width: 0; }
.workspace-hero { min-height: 94px; color: white; display: flex; align-items: flex-start; justify-content: space-between; }
.workspace-hero small { color: #cdd5e8; font-weight: 700; }
.workspace-hero h2 { margin: 6px 0 2px; font-size: 22px; line-height: 1.1; color: white; letter-spacing: -.03em; font-family: inherit; }
.workspace-hero p { font-size: 12px; color: #cdd5e8; margin-bottom: 0; }
.workspace-hero button { border: 0; color: white; background: var(--accent); border-radius: 8px; padding: 10px 16px; font-weight: 900; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: -4px; }
.metric-grid div { min-height: 82px; border: 1px solid var(--line); border-radius: 12px; background: white; padding: 17px 16px; box-shadow: 0 8px 22px rgba(7,19,52,.04); }
.metric-grid span { font-size: 11px; color: #7b85a2; font-weight: 800; }
.metric-grid strong { display: block; margin: 7px 0 3px; font-size: 23px; letter-spacing: -.04em; color: var(--navy); }
.metric-grid small { color: #098b6e; font-weight: 800; font-size: 11px; }
.rec-row { display: grid; grid-template-columns: 1.62fr .82fr; gap: 18px; margin-top: 22px; }
.recommendation, .next-steps { border: 1px solid var(--line); border-radius: 14px; background: white; padding: 16px; }
.card-label { font-size: 12px; font-weight: 900; margin-bottom: 12px; }
.rec-card { display: flex; justify-content: space-between; gap: 12px; align-items: center; border: 1px solid rgba(86,70,245,.24); background: rgba(86,70,245,.06); padding: 14px; border-radius: 12px; }
.rec-card p { margin: 6px 0 0; color: #64708d; font-size: 12px; font-weight: 700; }
.rec-card button, .pipeline-rec button { border: 1px solid var(--accent); background: white; color: var(--accent); border-radius: 8px; padding: 10px 14px; font-weight: 900; }
.mini-deal { margin-top: 18px; display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; font-size: 12px; color: #5e6885; }
.mini-deal b { background: var(--mint); color: #097a5e; border-radius: 999px; padding: 8px 11px; font-size: 11px; }
.next-steps p { font-size: 13px; font-weight: 800; color: #3f4b69; }
.next-steps span { color: var(--accent); margin-right: 6px; }

.logos { padding: 30px 0 48px; text-align: center; }
.logos p { text-transform: uppercase; letter-spacing: .14em; color: #8791ae; font-size: 12px; font-weight: 900; margin-bottom: 28px; }
.logos div { display: flex; justify-content: space-between; gap: 28px; align-items: center; color: #99a3bc; font-size: 23px; font-weight: 800; flex-wrap: wrap; }
.logos div span:nth-child(4) { font-size: 31px; letter-spacing: -.05em; }

.how { padding: 56px 0 38px; background: white; border-block: 1px solid rgba(221,228,243,.6); }
.section-head.split { display: grid; grid-template-columns: 1fr .82fr; gap: 76px; align-items: end; margin-bottom: 36px; }
.section-head h2, .platform-copy h2 { font-size: clamp(35px, 4vw, 46px); line-height: 1.12; margin: 12px 0 0; }
.section-head p { color: #56617e; line-height: 1.7; font-weight: 700; font-size: 16px; }
.step-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.step-card {
    min-height: 208px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: linear-gradient(180deg, #fff, #fbfcff);
    padding: 25px 17px;
    text-align: center;
    position: relative;
}
.step-card:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -20px;
    top: 65px;
    color: var(--accent);
    font-weight: 900;
}
.step-icon { width: 58px; height: 58px; margin: 0 auto 22px; color: var(--accent); }
.step-icon svg { stroke: currentColor; fill: none; stroke-width: 2.7; stroke-linecap: round; stroke-linejoin: round; }
.step-card h3 { font-size: 15px; margin-bottom: 12px; color: var(--navy); }
.step-card p { font-size: 12px; line-height: 1.7; color: #53607f; font-weight: 700; margin: 0; }
.approval-note { width: max-content; max-width: 100%; margin: 32px auto 0; color: #5965a4; background: rgba(86,70,245,.06); padding: 10px 16px; border-radius: 999px; font-weight: 800; }

.platform { display: grid; grid-template-columns: .78fr 1.22fr; gap: 72px; align-items: center; padding: 68px 0; }
.capability-list { margin-top: 28px; display: grid; gap: 14px; }
.capability-item { display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: start; }
.capability-item > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 9px; color: var(--accent); background: rgba(86,70,245,.08); font-weight: 900; }
.capability-item strong { font-size: 15px; color: var(--navy); }
.capability-item p { margin: 4px 0 0; color: #596482; font-size: 13px; font-weight: 700; line-height: 1.45; }
.pipeline-card { border: 1px solid rgba(198,208,228,.9); border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow); overflow: hidden; }
.tabs { height: 56px; display: flex; gap: 28px; padding: 0 26px; align-items: center; border-bottom: 1px solid var(--line); color: #6f7893; font-size: 12px; font-weight: 900; }
.tabs .active { color: var(--accent); position: relative; }
.tabs .active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -20px; height: 3px; background: var(--accent); border-radius: 3px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 18px 26px; text-align: left; border-bottom: 1px solid var(--line); }
th { color: #6f7893; font-size: 12px; font-weight: 900; }
td b { display: block; color: var(--navy); margin-bottom: 2px; }
td small { color: #6d7896; font-weight: 700; }
.match { display: inline-flex; color: #08785d; background: #e4f8ef; border-radius: 999px; padding: 5px 9px; font-weight: 900; }
td em { font-style: normal; color: #456dd4; background: #edf3ff; border-radius: 999px; padding: 6px 11px; font-weight: 800; }
.pipeline-rec { margin: 22px 24px 26px; border-radius: 13px; background: var(--navy); color: white; padding: 16px 18px; display: grid; grid-template-columns: 34px 1fr auto; gap: 16px; align-items: center; }
.pipeline-rec span { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.12); }
.pipeline-rec p { margin: 0; color: #cbd4e8; font-size: 12px; line-height: 1.45; }
.pipeline-rec b { color: white; text-transform: uppercase; font-size: 10px; letter-spacing: .08em; }

.pricing { background: white; padding: 60px 0 76px; border-top: 1px solid rgba(221,228,243,.6); }
.center { text-align: center; max-width: 720px; margin: 0 auto 42px; }
.center p { color: #68728f; font-weight: 700; margin-top: 12px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 990px; margin: 0 auto; align-items: stretch; }
.price-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px 28px; background: white; position: relative; display: flex; flex-direction: column; min-height: 372px; }
.price-card.featured { border: 2px solid var(--accent); box-shadow: 0 16px 36px rgba(86,70,245,.10); }
.popular { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: white; border-radius: 999px; padding: 6px 16px; text-transform: uppercase; font-size: 10px; font-weight: 900; letter-spacing: .06em; }
.price-card h3 { margin-bottom: 12px; color: var(--navy); }
.price strong { font-size: 42px; color: var(--navy); letter-spacing: -.05em; }
.price span { color: #4f5a76; font-weight: 700; margin-left: 4px; }
.price-card > p { color: #6b7591; font-size: 12px; font-weight: 700; min-height: 42px; }
.price-card ul { list-style: none; padding: 0; margin: 14px 0 28px; display: grid; gap: 12px; color: #374461; font-size: 13px; font-weight: 800; }
.price-card li::before { content: "✓"; color: #09946d; margin-right: 10px; }
.price-card .btn { margin-top: auto; width: 100%; }

.final-cta { margin-top: -18px; margin-bottom: 28px; border-radius: 22px; padding: 48px 68px; min-height: 204px; color: white; display: flex; align-items: center; justify-content: space-between; gap: 44px; background: radial-gradient(circle at 88% 54%, rgba(86,70,245,.48), transparent 32%), linear-gradient(135deg, #071334, #020a21); position: relative; overflow: hidden; }
.final-cta::after { content: ""; position: absolute; inset: 0 0 0 auto; width: 54%; background: repeating-radial-gradient(ellipse at right, rgba(86,70,245,.24) 0 2px, transparent 2px 18px); opacity: .8; }
.final-cta > * { position: relative; z-index: 1; }
.final-cta span { text-transform: uppercase; letter-spacing: .13em; color: #aeb9e0; font-size: 12px; font-weight: 900; }
.final-cta h2 { color: white; font-size: clamp(32px, 4vw, 46px); line-height: 1.1; margin: 16px 0 15px; max-width: 560px; }
.final-cta p { max-width: 560px; color: #dbe3f7; line-height: 1.65; margin: 0; font-weight: 700; }
.cta-actions { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; min-width: max-content; }
.site-footer { min-height: 78px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: #64708d; font-size: 13px; font-weight: 700; }
.site-footer .brand { font-size: 17px; }
.site-footer nav { justify-self: end; display: flex; gap: 36px; }

/* alignment polish: keep the desktop hero proportions stable until tablet widths */
@media (max-width: 1120px) {
    .hero, .platform { grid-template-columns: 1fr; }
    .hero { gap: 46px; padding-top: 44px; }
    .step-grid { grid-template-columns: repeat(3, 1fr); }
    .step-card::after { display: none; }
    .site-header { grid-template-columns: 1fr auto; }
    .nav, .header-actions { display: none; }
    .mobile-toggle { display: block; justify-self: end; }
    .site-header.open .nav, .site-header.open .header-actions { display: flex; }
    .site-header.open { height: auto; min-height: 78px; grid-template-columns: 1fr auto; grid-auto-rows: auto; padding-block: 18px; }
    .site-header.open .nav { grid-column: 1 / -1; margin-top: 20px; justify-content: center; flex-wrap: wrap; }
    .site-header.open .header-actions { grid-column: 1 / -1; justify-content: center; margin-top: 12px; }
}

@media (max-width: 760px) {
    .section-shell { width: min(100% - 32px, var(--max)); }
    .site-header { padding-inline: 18px; }
    h1 { font-size: 46px; }
    .hero-subhead { font-size: 17px; }
    .trust-row, .metric-grid, .rec-row, .section-head.split, .pricing-grid, .site-footer { grid-template-columns: 1fr; }
    .logos div { justify-content: center; }
    .workspace { grid-template-columns: 1fr; }
    .rail { display: none; }
    .step-grid { grid-template-columns: 1fr; }
    .platform { gap: 42px; }
    .pipeline-card { overflow-x: auto; }
    table { min-width: 760px; }
    .pipeline-rec { grid-template-columns: 1fr; }
    .final-cta { padding: 36px 26px; flex-direction: column; align-items: flex-start; }
    .cta-actions { min-width: 0; }
    .site-footer nav { justify-self: start; flex-wrap: wrap; gap: 18px; }
}

/* v232 official logo integration + public mobile polish */
.brand-logo {
    min-width: 0;
}
.brand-logo img {
    display: block;
    height: 44px;
    width: auto;
    max-width: min(320px, 60vw);
    object-fit: contain;
}
.site-footer .brand-logo img {
    height: 34px;
    max-width: 240px;
}
.auth-brand-logo {
    display: inline-flex;
    align-items: center;
    margin: 0 0 18px;
}
.auth-brand-logo img {
    display: block;
    height: 46px;
    width: auto;
    max-width: min(360px, 78vw);
    object-fit: contain;
}
.brand-icon-only {
    letter-spacing: -0.08em;
    font-size: 11px;
}
@media (max-width: 760px) {
    .brand-logo img {
        height: 36px;
        max-width: 230px;
    }
    .auth-brand-logo img {
        height: 40px;
        max-width: 240px;
    }
    .site-header.open .nav,
    .site-header.open .header-actions {
        align-items: stretch;
    }
    .site-header.open .header-actions .btn,
    .hero-actions .btn,
    .cta-actions .btn {
        width: 100%;
    }
    .hero-actions,
    .cta-actions {
        align-items: stretch;
    }
    .auth-card,
    .signup-card {
        padding: 28px !important;
    }
}
