:root {
    --blue: #03008f;
    --blue-bright: #0600ff;
    --green-soft: #f3fcf3;
    --green-mid: #e3f6e3;
    --lavender: #c6ccf6;
    --text: #222;
    --muted: #626262;
    --border: #d3d6df;
    --surface: #f7f8fb;
    --white: #fff;
    --max-width: 1180px;
    --radius: 10px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--text);
    font-family: Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.6;
}

img {
    max-width: 100%;
}

a {
    color: var(--blue);
}

.container {
    width: min(calc(100% - 40px), var(--max-width));
    margin: 0 auto;
}

.narrow {
    max-width: 820px;
}

.site-header {
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.97);
    position: sticky;
    top: 0;
    z-index: 20;
}

.header-inner {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.brand img {
    display: block;
    width: 360px;
    height: auto;
}

.site-nav {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}

.site-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 0.95rem;
}

.site-nav a:hover {
    color: var(--blue);
}

.hero {
    padding: 68px 0 72px;
    background:
        linear-gradient(135deg, var(--green-soft) 0%, #fff 55%, #f3f4ff 100%);
    border-bottom: 1px solid var(--border);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.75fr);
    gap: 72px;
    align-items: center;
}

.eyebrow {
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    font-size: 0.8rem;
    margin: 0 0 12px;
}

h1,
h2,
h3 {
    line-height: 1.15;
    margin-top: 0;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.6rem);
    letter-spacing: -0.035em;
    margin-bottom: 28px;
    max-width: 900px;
}

h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

h3 {
    font-size: 1.25rem;
}

.hero-lead {
    font-size: 1.3rem;
    color: #414141;
    max-width: 780px;
    margin-bottom: 34px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 11px 22px;
    border-radius: 6px;
    border: 2px solid var(--blue);
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.button-primary {
    background: var(--blue);
    color: var(--white);
}

.button-primary:hover {
    background: var(--blue-bright);
    border-color: var(--blue-bright);
}

.button-secondary {
    background: var(--white);
    color: var(--blue);
}

.button-secondary:hover {
    background: #f5f5ff;
}

.button-full {
    width: 100%;
}

.hero-note {
    color: var(--muted);
    font-size: 0.94rem;
}

.hero-panel {
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 6px solid var(--blue);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: 0 18px 50px rgba(30, 30, 80, 0.08);
}

.hero-panel-intro {
    margin: 0 0 10px;
    color: var(--muted);
}

.hero-panel ul {
    margin: 0;
    padding-left: 22px;
}

.hero-panel li + li {
    margin-top: 10px;
}

.section {
    padding: 82px 0;
}

.section-alt {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-heading {
    max-width: 800px;
    margin-bottom: 42px;
}

.feature-grid,
.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.feature-card,
.audience-grid > div {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
}

.feature-card {
    border-top: 4px solid var(--lavender);
}

.feature-card p,
.audience-grid p {
    margin-bottom: 0;
    color: #4c4c4c;
}

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

.demo-section {
    background: var(--green-soft);
    border-top: 1px solid #dcebdc;
    border-bottom: 1px solid #dcebdc;
}

.demo-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
    gap: 72px;
    align-items: start;
}

.demo-form-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 34px;
    box-shadow: 0 16px 44px rgba(20, 40, 30, 0.08);
}

.form-field {
    margin-bottom: 18px;
}

.form-field label {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
}

.form-field input {
    width: 100%;
    min-height: 48px;
    border: 1px solid #999;
    border-radius: 5px;
    padding: 10px 12px;
    font: inherit;
}

.form-field input:focus {
    outline: 3px solid rgba(3, 0, 143, 0.16);
    border-color: var(--blue);
}

.form-note {
    color: var(--muted);
    font-size: 0.85rem;
    text-align: center;
    margin: 14px 0 0;
}

.returning-demo {
    margin: 16px 0 0;
    text-align: center;
    font-size: 0.9rem;
}

.returning-demo a {
    font-weight: 700;
}

.aptigence-section {
    text-align: center;
}

.text-link {
    font-weight: 700;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.site-footer {
    background: #222;
    color: #eee;
    padding: 28px 0;
    font-size: 0.9rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.product-preview {
    padding: 64px 0 74px;
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.product-preview-heading {
    max-width: 760px;
    margin-bottom: 26px;
}

.product-preview-heading p:last-child {
    font-size: 1.1rem;
    color: #4c4c4c;
}

.product-screenshot {
    margin: 0;
}

.product-screenshot {
    width: min(100%, 1240px);
    margin-left: auto;
    margin-right: auto;
}

.product-screenshot img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 22px 55px rgba(20, 25, 45, 0.13);
}

.product-screenshot figcaption {
    margin-top: 12px;
    color: var(--muted);
    font-size: 0.88rem;
    text-align: center;
}

.honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
}

.form-message {
    margin: 0 0 20px;
    padding: 14px 16px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
}

.form-message-success {
    background: #edf8ed;
    border: 1px solid #a9d5a9;
    color: #245c24;
}

.form-message-error {
    background: #fff1f1;
    border: 1px solid #e2aaaa;
    color: #7a2424;
}

.existing-demo-link {
    margin: 18px 0 0;
    text-align: center;
    font-size: 0.9rem;
}

.existing-demo-link a {
    font-weight: 700;
}

@media (max-width: 900px) {
    .header-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 20px 0;
    }

    .site-header {
        position: static;
    }

    .brand img {
        width: min(100%, 320px);
    }

    .hero-grid,
    .demo-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

@media (max-width: 620px) {
    body {
        font-size: 16px;
    }

    .container {
        width: min(calc(100% - 28px), var(--max-width));
    }

    .site-nav {
        gap: 14px;
    }

    .hero {
        padding: 58px 0;
    }

    .section {
        padding: 58px 0;
    }

    .feature-grid,
    .audience-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .footer-inner {
        flex-direction: column;
    }
}
