:root {
    --ink: #17202a;
    --muted: #687487;
    --line: #d9e1ea;
    --soft: #f3f6f9;
    --white: #ffffff;
    --blue: #1167ff;
    --blue-dark: #0d47b7;
    --green: #0f9f6e;
    --amber: #d98b18;
    --shadow: 0 22px 60px rgba(23, 32, 42, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
    color: var(--ink);
    background: var(--white);
}

a {
    color: inherit;
}

.site-header {
    width: min(1180px, calc(100% - 32px));
    height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 800;
    text-decoration: none;
}

.brand span span {
    color: var(--blue);
}

.brand-mark {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: var(--white);
    background: var(--ink);
}

.nav {
    display: flex;
    align-items: center;
    gap: 22px;
    color: var(--muted);
    font-weight: 600;
    font-size: 0.92rem;
}

.nav a {
    text-decoration: none;
}

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

.btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border: 0;
    border-radius: 8px;
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-small {
    min-height: 38px;
    padding: 0 16px;
    background: var(--soft);
}

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

.btn-primary:hover {
    background: var(--blue-dark);
}

.btn-secondary {
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
}

.hero {
    width: min(1180px, calc(100% - 32px));
    min-height: calc(100vh - 76px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
    align-items: center;
    gap: 56px;
    padding: 42px 0 72px;
}

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

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

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

h1 {
    margin-bottom: 18px;
    font-size: clamp(2.2rem, 4.4vw, 4.15rem);
    line-height: 1.04;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 16px;
    font-size: clamp(2rem, 4vw, 3.45rem);
    line-height: 1.04;
    letter-spacing: 0;
}

h3 {
    margin-bottom: 10px;
    font-size: 1.12rem;
}

.lead {
    max-width: 560px;
    margin-bottom: 28px;
    color: var(--muted);
    font-size: 1.04rem;
    line-height: 1.58;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.dashboard-preview {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: var(--shadow);
}

.preview-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.preview-top span,
.metric-grid span,
.repair-list span + strong {
    color: var(--muted);
}

.preview-top strong {
    font-size: 1.5rem;
}

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

.metric-grid div {
    min-height: 112px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.metric-grid span {
    font-size: 0.86rem;
    font-weight: 700;
}

.metric-grid strong {
    font-size: 2rem;
}

.repair-list {
    margin-top: 16px;
    display: grid;
    gap: 10px;
}

.repair-list div {
    min-height: 48px;
    padding: 0 14px;
    display: grid;
    grid-template-columns: 10px 1fr auto;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    font-size: 0.9rem;
}

.repair-list strong {
    font-size: 0.78rem;
}

.status {
    width: 10px;
    height: 10px;
    border-radius: 999px;
}

.status.blue {
    background: var(--blue);
}

.status.green {
    background: var(--green);
}

.status.amber {
    background: var(--amber);
}

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

.section-heading {
    max-width: 690px;
    margin-bottom: 30px;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.module-card {
    min-height: 260px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.module-card span {
    display: inline-flex;
    margin-bottom: 40px;
    color: var(--blue);
    font-weight: 800;
}

.module-card p {
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.55;
}

.workflow,
.cta-band {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 82px;
    padding: 42px;
    border-radius: 8px;
    background: var(--ink);
    color: var(--white);
}

.workflow {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 44px;
}

.workflow .eyebrow,
.cta-band .eyebrow {
    color: #8ab3ff;
}

.workflow ol {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
    list-style: none;
}

.workflow li {
    padding: 18px;
    display: grid;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
}

.workflow li span {
    color: #c8d2df;
}

.cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    background: #eef4ff;
    color: var(--ink);
}

.cta-band h2 {
    max-width: 760px;
    margin-bottom: 0;
}

.signup-page {
    min-height: 100vh;
    background: var(--soft);
}

.signup-shell {
    width: min(1120px, calc(100% - 32px));
    min-height: 100vh;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 430px;
    align-items: center;
    gap: 54px;
    padding: 48px 0;
}

.signup-copy .brand {
    margin-bottom: 74px;
}

.promise-list {
    display: grid;
    gap: 12px;
    color: var(--muted);
    font-weight: 700;
}

.promise-list span {
    padding-left: 16px;
    border-left: 3px solid var(--blue);
}

.signup-panel {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.signup-panel h2 {
    font-size: 1.75rem;
}

.signup-panel p {
    color: var(--muted);
}

.lead-form {
    display: grid;
    gap: 16px;
}

.lead-form label {
    display: grid;
    gap: 7px;
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 800;
}

.lead-form input {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font: inherit;
}

.lead-form input:focus {
    outline: 3px solid rgba(17, 103, 255, 0.16);
    border-color: var(--blue);
}

.lead-form .btn {
    width: 100%;
    margin-top: 4px;
}

.error-box,
.success-box {
    border-radius: 8px;
}

.error-box {
    margin-bottom: 16px;
    padding: 12px 14px;
    color: #8a1f1f;
    background: #fff0f0;
    font-weight: 700;
}

.success-box {
    display: grid;
    gap: 16px;
}

.success-box h2 {
    margin-bottom: 0;
}

.thanks-centered {
    width: min(760px, calc(100% - 32px));
    min-height: 100vh;
    margin: 0 auto;
    display: grid;
    place-items: center;
    padding: 48px 0;
}

.thanks-message {
    display: grid;
    justify-items: center;
    text-align: center;
}

.thanks-message .brand {
    margin-bottom: 56px;
}

.thanks-message .lead {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.thanks-message .promise-list {
    width: min(560px, 100%);
    margin: 8px auto 0;
    text-align: left;
}

@media (max-width: 980px) {
    .hero,
    .workflow,
    .signup-shell {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

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

    .signup-copy .brand {
        margin-bottom: 44px;
    }
}

@media (max-width: 720px) {
    .site-header {
        height: auto;
        padding: 18px 0;
        align-items: flex-start;
    }

    .nav {
        display: none;
    }

    .hero {
        gap: 34px;
        padding-top: 26px;
    }

    h1 {
        font-size: 2.35rem;
    }

    .dashboard-preview,
    .workflow,
    .cta-band,
    .signup-panel {
        padding: 22px;
    }

    .metric-grid,
    .modules-grid {
        grid-template-columns: 1fr;
    }

    .repair-list div {
        grid-template-columns: 10px 1fr;
    }

    .repair-list strong {
        grid-column: 2;
    }

    .cta-band {
        align-items: flex-start;
        flex-direction: column;
    }

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