:root {
    --ink: #17201d;
    --muted: #5f6f68;
    --line: #d9e2dd;
    --paper: #f7f8f5;
    --white: #ffffff;
    --green: #246b5a;
    --green-dark: #134538;
    --copper: #b85735;
    --amber: #d9a441;
    --blue: #315d8c;
    --shadow: 0 24px 70px rgba(23, 32, 29, 0.14);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--paper);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(247, 248, 245, 1) 520px);
    color: var(--ink);
}

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

button,
input,
select,
textarea {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
    align-items: center;
    gap: 24px;
    min-height: 64px;
    padding: 12px clamp(20px, 4vw, 56px);
    background: rgba(247, 248, 245, 0.84);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
    border-color: rgba(217, 226, 221, 0.86);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: 0;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--green);
    color: var(--white);
    font-weight: 800;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    color: var(--muted);
    font-size: 0.94rem;
    font-weight: 700;
}

.nav-links a:hover,
.nav-cta:hover {
    color: var(--green-dark);
}

.nav-cta {
    justify-self: end;
    color: var(--green);
    font-weight: 800;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(460px, 1.14fr);
    align-items: center;
    gap: clamp(32px, 5vw, 68px);
    max-width: 1560px;
    min-height: calc(100vh - 64px);
    margin: 0 auto;
    padding: clamp(38px, 5vw, 72px) clamp(20px, 4vw, 56px) 62px;
}

.hero-copy {
    max-width: 720px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--copper);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

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

h1,
h2 {
    font-family: "Source Serif 4", Georgia, serif;
    letter-spacing: 0;
}

h1 {
    max-width: 690px;
    margin-bottom: 22px;
    font-size: clamp(2.85rem, 5vw, 5.35rem);
    line-height: 1;
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(2.1rem, 4vw, 4.1rem);
    line-height: 1;
}

h3 {
    margin-bottom: 8px;
    font-size: 1.02rem;
}

.hero-lede,
.section-copy p,
.contact-copy p {
    color: var(--muted);
    font-size: clamp(1.03rem, 1.7vw, 1.25rem);
    line-height: 1.6;
}

.hero-lede {
    max-width: 660px;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 34px;
}

.calendar-link {
    margin-top: 10px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 800;
    cursor: pointer;
}

.button.primary {
    background: var(--green);
    color: var(--white);
    box-shadow: 0 14px 30px rgba(36, 107, 90, 0.24);
}

.button.primary:hover {
    background: var(--green-dark);
}

.button.secondary {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.72);
    color: var(--ink);
}

.button.full {
    width: 100%;
}

.hero-proof {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
}

.hero-proof div {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.62);
}

.hero-proof dt {
    margin-bottom: 6px;
    color: var(--green-dark);
    font-size: 1.18rem;
    font-weight: 800;
}

.hero-proof dd {
    margin: 0;
    color: var(--muted);
    line-height: 1.45;
}

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

.screenshot-browser {
    overflow: hidden;
    border: 1px solid rgba(23, 32, 29, 0.12);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.screenshot-browser img,
.shot-card img {
    display: block;
    width: 100%;
    height: auto;
}

.hero-browser img {
    aspect-ratio: 16 / 8.1;
    object-fit: cover;
    object-position: top center;
}

.app-topbar {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 48px;
    padding: 0 18px;
    border-bottom: 1px solid var(--line);
    background: #fbfcfa;
    color: var(--muted);
}

.app-topbar strong {
    margin-left: 8px;
    color: var(--ink);
}

.window-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--line);
}

.window-dot:first-child {
    background: var(--copper);
}

.window-dot:nth-child(2) {
    background: var(--amber);
}

.window-dot:nth-child(3) {
    background: var(--green);
}

.problem-list article,
.feature-grid article,
.steps article,
.lead-form {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.status {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 6px 8px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
}

.status.urgent {
    background: rgba(184, 87, 53, 0.12);
    color: var(--copper);
}

.status.ready {
    background: rgba(36, 107, 90, 0.12);
    color: var(--green-dark);
}

.problem-band,
.product-section,
.demo-section,
.workflow-section,
.contact-section {
    padding: clamp(58px, 8vw, 108px) clamp(20px, 5vw, 72px);
}

.problem-band {
    background: var(--ink);
    color: var(--white);
}

.problem-band .eyebrow,
.problem-band .section-copy p {
    color: #f0c98d;
}

.section-copy {
    max-width: 930px;
    margin-bottom: 34px;
}

.section-copy.narrow {
    max-width: 760px;
}

.problem-list,
.feature-grid,
.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.problem-list article {
    padding: 22px;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.16);
}

.problem-list span,
.steps span {
    display: block;
    margin-bottom: 18px;
    color: #f0c98d;
    font-weight: 800;
}

.problem-list p,
.steps p,
.feature-grid p {
    color: var(--muted);
    line-height: 1.55;
}

.problem-list p {
    color: #cad5d0;
}

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

.feature-grid article,
.steps article {
    padding: 24px;
}

.product-shots {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
    gap: 16px;
}

.shot-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 100%;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.shot-card.large {
    grid-row: span 2;
}

.shot-card img {
    flex: 1;
    min-height: 260px;
    object-fit: cover;
    object-position: top center;
}

.shot-card.large img {
    min-height: 560px;
}

.shot-card figcaption {
    margin: 0;
    padding: 16px 18px 18px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.shot-card figcaption strong {
    display: block;
    margin-bottom: 4px;
    color: var(--ink);
}

.contact-section {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.8fr);
    gap: clamp(28px, 6vw, 72px);
    align-items: start;
    background: #eef3f0;
}

.contact-copy {
    max-width: 680px;
}

.contact-copy ul {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 26px 0 0;
    list-style: none;
    color: var(--muted);
    line-height: 1.5;
}

.contact-copy li {
    padding-left: 24px;
    position: relative;
}

.contact-copy li::before {
    content: "";
    position: absolute;
    top: 0.55em;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
}

.lead-form {
    display: grid;
    gap: 14px;
    padding: clamp(20px, 4vw, 30px);
    box-shadow: var(--shadow);
}

.field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

label {
    display: grid;
    gap: 8px;
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfcfa;
    color: var(--ink);
    padding: 12px 13px;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(36, 107, 90, 0.18);
    border-color: var(--green);
}

.hidden-field {
    position: absolute;
    left: -9999px;
}

.form-error {
    padding: 12px;
    border-radius: 8px;
    background: rgba(184, 87, 53, 0.1);
    color: var(--copper);
    font-weight: 800;
}

.privacy-note {
    margin: 0;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.45;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 28px clamp(20px, 5vw, 72px);
    background: var(--ink);
    color: rgba(255, 255, 255, 0.78);
}

.thanks-page {
    min-height: 100vh;
}

.thanks-shell {
    display: grid;
    align-content: center;
    gap: 30px;
    min-height: 100vh;
    max-width: 760px;
    padding: 40px clamp(20px, 6vw, 72px);
}

.thanks-panel {
    padding: clamp(28px, 6vw, 54px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.thanks-panel h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
}

.thanks-panel p {
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

@media (max-width: 1120px) {
    .hero,
    .contact-section {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

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

@media (max-width: 780px) {
    .site-header {
        grid-template-columns: 1fr auto;
        min-height: 64px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding-top: 34px;
    }

    h1 {
        font-size: clamp(2.45rem, 12vw, 3.8rem);
    }

    .hero-proof,
    .problem-list,
    .feature-grid,
    .steps,
    .product-shots,
    .field-row {
        grid-template-columns: 1fr;
    }

    .shot-card.large {
        grid-row: auto;
    }

    .shot-card.large img,
    .shot-card img {
        min-height: 260px;
    }

    .contact-section {
        padding-bottom: 42px;
    }

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