:root {
    --ink: #424649;
    --muted: #676a6c;
    --line: #e5e6e7;
    --paper: #ffffff;
    --mist: #f3f3f4;
    --panel: #fbfbfc;
    --teal: #1ab394;
    --teal-dark: #15977d;
    --purple: #6a00e4;
    --purple-border: #b017e5;
    --danger: #ed5565;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    --radius: 5px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--mist);
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 13px;
    line-height: 1.55;
}

img,
svg {
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 64px;
    padding: 0 46px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 188px;
    color: var(--purple);
}

.brand-logo {
    width: 55px;
    height: 55px;
    flex: 0 0 auto;
    object-fit: contain;
}

.brand-name {
    color: var(--purple);
    font-family: Modak, "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1;
    transform: translateY(5px);
    -webkit-text-stroke: 1px #ffffff;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 13px;
    font-weight: 600;
}

.site-nav a {
    padding: 8px 0;
}

.nav-cta {
    padding: 10px 16px !important;
    color: #ffffff;
    background: var(--teal);
    border: 1px solid var(--teal);
    border-radius: 3px;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 10px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 3px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: currentColor;
}

.hero {
    position: relative;
    min-height: 86vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: #ffffff;
    isolation: isolate;
}

.hero-media,
.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-media {
    z-index: -2;
}

.hero-bg {
    width: 100%;
    height: calc(100% - 64px);
    top: 64px;
    object-fit: cover;
    object-position: center top;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(56, 22, 95, 0.9) 0%, rgba(68, 50, 96, 0.72) 42%, rgba(243, 243, 244, 0.36) 100%),
        linear-gradient(0deg, rgba(28, 30, 34, 0.22), rgba(28, 30, 34, 0.04));
}

.hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: 48px;
    align-items: center;
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
    padding-top: 80px;
}

.hero-copy {
    min-width: 0;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--purple);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: #ffffff;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 680px;
    margin-bottom: 14px;
    font-size: 56px;
    font-weight: 600;
    line-height: 1.04;
}

h2 {
    margin-bottom: 14px;
    color: #333333;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.18;
}

h3 {
    margin-bottom: 8px;
    color: #333333;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
}

.hero-lede {
    max-width: 680px;
    margin-bottom: 26px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
}

.hero-actions,
.hero-proof,
.contact-line {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 3px;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.btn-primary {
    color: #ffffff;
    background: var(--teal);
    border-color: var(--teal);
    box-shadow: none;
}

.btn-primary:hover,
.nav-cta:hover {
    background: var(--teal-dark);
    border-color: var(--teal-dark);
}

.btn-secondary {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.04);
}

.btn-outline {
    color: var(--teal);
    border-color: var(--teal);
    background: #ffffff;
}

.hero-proof {
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 12px;
    font-weight: 600;
}

.hero-proof span {
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.08);
}

.hero-chat {
    align-self: center;
    width: 100%;
    padding: 16px;
    color: var(--ink);
    background: rgba(244, 239, 232, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(33, 22, 48, 0.32);
    backdrop-filter: blur(16px);
}

.chat-topline {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.chat-status {
    width: 8px;
    height: 8px;
    background: var(--teal);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(26, 179, 148, 0.16);
}

.chat-messages {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-msg,
.chat-summary {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
    animation: chatPopInFirst 9s ease infinite;
}

.chat-msg {
    position: relative;
    max-width: 86%;
    padding: 8px 10px;
    border-radius: 8px;
    box-shadow: 0 1px 1px rgba(11, 20, 26, 0.1);
    font-size: 13px;
    line-height: 1.42;
    overflow-wrap: anywhere;
}

.chat-msg p {
    margin: 0;
}

.chat-message-label {
    display: block;
    margin-bottom: 3px;
    color: #617084;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
}

.chat-msg-ai {
    align-self: flex-start;
    color: #172033;
    background: #ffffff;
    border-top-left-radius: 2px;
}

.chat-msg-user {
    align-self: flex-end;
    color: #172033;
    background: #d9fdd3;
    border-top-right-radius: 2px;
}

.chat-msg-user .chat-message-label {
    text-align: right;
}

.chat-msg-ai::before,
.chat-msg-user::after {
    content: "";
    position: absolute;
    top: 0;
    width: 9px;
    height: 12px;
    background: inherit;
}

.chat-msg-ai::before {
    left: -6px;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.chat-msg-user::after {
    right: -6px;
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

.chat-summary {
    display: grid;
    gap: 6px;
    margin-top: 2px;
    padding: 10px 12px;
    color: #172033;
    background: #ffffff;
    border: 1px solid rgba(216, 210, 200, 0.9);
    border-left: 3px solid var(--purple-border);
    border-radius: 5px;
    box-shadow: 0 1px 1px rgba(11, 20, 26, 0.08);
    font-size: 12px;
}

.chat-summary strong {
    color: var(--purple);
    font-size: 13px;
}

.chat-summary strong {
    grid-column: 1 / -1;
}

.chat-summary-table {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px 12px;
    margin: 0;
}

.chat-summary-table div {
    min-width: 0;
}

.chat-summary-table dt,
.chat-summary-table dd {
    margin: 0;
}

.chat-summary-table dt {
    color: #617084;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.15;
}

.chat-summary-table dd {
    color: #172033;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.chat-summary-table div:last-child {
    grid-column: 1 / -1;
}

.chat-msg:nth-child(1) {
    animation-name: chatPopInFirst;
}

.chat-msg:nth-child(2) {
    animation-name: chatPopInSecond;
}

.chat-msg:nth-child(3) {
    animation-name: chatPopInThird;
}

.chat-msg:nth-child(4) {
    animation-name: chatPopInFourth;
}

.chat-summary {
    animation-name: chatPopInSummary;
}

@keyframes chatPopInFirst {
    0%,
    4% {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }

    10%,
    82% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    94%,
    100% {
        opacity: 0;
        transform: translateY(-8px) scale(0.99);
    }
}

@keyframes chatPopInSecond {
    0%,
    15% {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }

    21%,
    82% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    94%,
    100% {
        opacity: 0;
        transform: translateY(-8px) scale(0.99);
    }
}

@keyframes chatPopInThird {
    0%,
    26% {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }

    32%,
    82% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    94%,
    100% {
        opacity: 0;
        transform: translateY(-8px) scale(0.99);
    }
}

@keyframes chatPopInFourth {
    0%,
    37% {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }

    43%,
    82% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    94%,
    100% {
        opacity: 0;
        transform: translateY(-8px) scale(0.99);
    }
}

@keyframes chatPopInSummary {
    0%,
    48% {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }

    54%,
    82% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    94%,
    100% {
        opacity: 0;
        transform: translateY(-8px) scale(0.99);
    }
}

@media (prefers-reduced-motion: reduce) {
    .chat-msg,
    .chat-summary {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

.section {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
    padding: 74px 0;
}

.muted-section {
    width: 100%;
    max-width: none;
    padding-right: max(24px, calc((100% - 1120px) / 2));
    padding-left: max(24px, calc((100% - 1120px) / 2));
    background: #eceff1;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-heading {
    max-width: 780px;
    margin: 0 auto 36px;
    text-align: center;
}

.section-heading p:not(.eyebrow) {
    color: var(--muted);
    font-size: 14px;
}

.benefit-grid,
.screening-grid,
.pricing-grid,
.steps {
    display: grid;
    gap: 18px;
}

.benefit-grid,
.pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.benefit-card,
.screening-grid article,
.step,
.price-card,
.product-panel,
.signup-form {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.benefit-card,
.screening-grid article,
.step,
.price-card,
.product-panel,
.signup-form {
    padding: 26px;
}

.benefit-card {
    border-top: 3px solid var(--purple-border);
    box-shadow: var(--shadow);
}

.benefit-card p,
.screening-grid p,
.step p,
.price-head p,
.signup-copy p,
.product-panel,
.pricing-note {
    color: var(--muted);
}

.icon {
    display: inline-grid;
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    place-items: center;
    color: var(--teal);
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 3px;
}

.icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.section-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 56px;
    align-items: center;
}

.muted-section .section-split {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.split-copy {
    max-width: 640px;
}

.check-list,
.price-card ul {
    padding: 0;
    margin: 24px 0 0;
    list-style: none;
}

.check-list li,
.price-card li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
}

.check-list li::before,
.price-card li::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 0;
    width: 10px;
    height: 10px;
    background: var(--teal);
    border-radius: 2px;
}

.price-card li.feature-group {
    padding-left: 0;
    margin-top: 18px;
    margin-bottom: 8px;
    color: var(--purple);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.price-card li.feature-group:first-child {
    margin-top: 0;
}

.price-card li.feature-group::before {
    content: none;
}

.product-panel {
    border-top: 3px solid var(--purple-border);
    box-shadow: var(--shadow);
}

.dashboard-panel {
    border-top-color: var(--teal);
}

.panel-topline,
.score-row,
.result-list span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.panel-topline {
    margin-bottom: 24px;
}

.panel-topline strong {
    color: var(--teal);
    font-size: 12px;
}

.score-row {
    margin-bottom: 22px;
}

.score-row > div {
    flex: 1;
    padding: 18px;
    background: var(--mist);
    border: 1px solid var(--line);
    border-radius: 3px;
}

.score-value {
    display: block;
    color: var(--ink);
    font-size: 32px;
    font-weight: 600;
    line-height: 1;
}

.score-label {
    display: block;
    margin-top: 8px;
    font-size: 13px;
}

.result-list {
    display: grid;
    gap: 10px;
}

.result-list span {
    padding: 12px 0;
    border-top: 1px solid var(--line);
}

.result-list strong {
    color: var(--ink);
}

.steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step span {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--purple);
    font-size: 22px;
    font-weight: 600;
}

.screening-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quote-section {
    width: 100%;
    max-width: none;
    padding-right: max(24px, calc((100% - 920px) / 2));
    padding-left: max(24px, calc((100% - 920px) / 2));
    color: #ffffff;
    background: #4d3574;
    border-top: 4px solid var(--purple-border);
    border-bottom: 4px solid var(--teal);
}

blockquote {
    margin: 0;
}

blockquote p {
    margin-bottom: 18px;
    font-size: 24px;
    line-height: 1.28;
}

cite {
    color: rgba(255, 255, 255, 0.76);
    font-style: normal;
}

.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.price-card.selected {
    border-color: var(--purple-border);
    border-top: 3px solid var(--purple-border);
    box-shadow: var(--shadow);
}

.plan-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 10px;
    color: #ffffff;
    background: var(--purple);
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
}

.price {
    margin: 20px 0 22px;
}

.price span {
    color: #333333;
    font-size: 40px;
    font-weight: 600;
}

.price small {
    color: var(--muted);
    font-size: 16px;
}

.price-card ul {
    margin-bottom: 28px;
}

.price-card .btn {
    margin-top: auto;
}

.pricing-note {
    margin: 22px 0 0;
    text-align: center;
    font-size: 14px;
}

.signup-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 50px;
    align-items: start;
}

.contact-line {
    margin-top: 24px;
}

.contact-line span {
    padding: 8px 10px;
    color: var(--ink);
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 3px;
    font-size: 12px;
}

.signup-form {
    display: grid;
    gap: 16px;
    border-top: 3px solid var(--purple-border);
    box-shadow: var(--shadow);
}

label {
    display: grid;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
}

input,
select,
textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 12px;
    color: var(--ink);
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 1px;
    font: inherit;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(20, 125, 112, 0.16);
    border-color: var(--teal);
}

.form-status {
    min-height: 22px;
    margin: 0;
    color: var(--teal);
    font-weight: 600;
}

.site-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 30px 24px;
    color: var(--muted);
    border-top: 1px solid var(--line);
    background: #ffffff;
}

.footer-product,
.footer-company {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer-company {
    font-size: 12px;
}

.footer-company img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.site-footer strong {
    color: var(--ink);
}

@media (max-width: 980px) {
    .site-header {
        padding: 0 24px;
    }

    .nav-toggle {
        display: inline-block;
        color: inherit;
    }

    .site-nav {
        position: absolute;
        top: 72px;
        right: 24px;
        left: 24px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 16px;
        color: var(--ink);
        background: #ffffff;
        border: 1px solid var(--line);
        border-radius: 8px;
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        padding: 10px 12px;
    }

    h1 {
        font-size: 54px;
    }

    h2 {
        font-size: 32px;
    }

    .hero-content {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
        gap: 28px;
    }

    .hero-chat {
        padding: 14px;
    }

    .benefit-grid,
    .pricing-grid,
    .steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section-split,
    .signup-section {
        grid-template-columns: 1fr;
    }

    .product-panel,
    .signup-form {
        max-width: 560px;
    }
}

@media (max-width: 680px) {
    .site-header {
        min-height: 66px;
        padding: 0 16px;
    }

    .brand {
        min-width: 0;
    }

    .site-nav {
        top: 66px;
        right: 16px;
        left: 16px;
    }

    .hero {
        min-height: auto;
    }

    .hero-bg {
        height: calc(100% - 66px);
        top: 66px;
    }

    .hero-content,
    .section {
        width: min(100% - 32px, 1120px);
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 14px;
        padding-top: 50px;
        padding-bottom: 28px;
    }

    h1 {
        margin-bottom: 10px;
        font-size: 34px;
    }

    h2 {
        font-size: 28px;
    }

    .hero-lede {
        margin-bottom: 16px;
        font-size: 15px;
    }

    .hero-actions,
    .hero-actions .btn {
        width: 100%;
    }

    .hero-proof {
        gap: 6px;
        margin-top: 18px;
        font-size: 10px;
    }

    .hero-proof span {
        padding: 5px 7px;
    }

    .hero-chat {
        max-width: 420px;
        padding: 10px;
    }

    .chat-topline {
        margin-bottom: 8px;
        font-size: 10px;
    }

    .chat-messages {
        gap: 6px;
    }

    .chat-msg {
        max-width: 94%;
        padding: 6px 8px;
        font-size: 11px;
        line-height: 1.25;
    }

    .chat-message-label {
        margin-bottom: 1px;
        font-size: 9px;
    }

    .chat-summary {
        gap: 4px;
        padding: 8px;
    }

    .chat-summary strong {
        grid-column: 1 / -1;
    }

    .chat-summary strong {
        font-size: 11px;
    }

    .chat-summary-table {
        gap: 4px 8px;
    }

    .chat-summary-table dt {
        font-size: 9px;
    }

    .chat-summary-table dd {
        font-size: 10px;
    }

    .section {
        padding: 64px 0;
    }

    .muted-section,
    .quote-section {
        padding-right: 16px;
        padding-left: 16px;
    }

    .benefit-grid,
    .screening-grid,
    .pricing-grid,
    .steps {
        grid-template-columns: 1fr;
    }

    blockquote p {
        font-size: 24px;
    }

    .score-row {
        align-items: stretch;
        flex-direction: column;
    }

    .score-row > div {
        flex: none;
    }

    .panel-topline {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .result-list span {
        align-items: center;
        flex-direction: row;
    }
}
