:root {
    --bg: #f4f1ea;
    --bg-2: #ebe6dc;
    --ink: #10110f;
    --muted: #5d615a;
    --muted-2: #8a8d84;
    --line: rgba(16, 17, 15, 0.13);
    --dark: #10110f;
    --dark-2: #181a17;
    --light: #ffffff;
    --acid: #c7ff3d;
    --blue: #245cff;
    --danger: #b42318;

    --font-main: Arial, Helvetica, sans-serif;
    --font-mono: "Courier New", Courier, monospace;

    --radius: 18px;
    --shadow: 0 24px 80px rgba(16, 17, 15, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        linear-gradient(rgba(16, 17, 15, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 17, 15, .045) 1px, transparent 1px),
        var(--bg);
    background-size: 44px 44px;
    color: var(--ink);
    font-family: var(--font-main);
    line-height: 1.5;
}

a {
    color: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(244, 241, 234, 0.86);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

.header-grid {
    height: 76px;
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 28px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: var(--ink);
    color: var(--acid);
    border-radius: 50%;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text strong {
    font-size: 15px;
}

.brand-text small {
    margin-top: 4px;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 11px;
}

.main-nav {
    justify-self: center;
    display: flex;
    gap: 24px;
}

.main-nav a {
    color: var(--muted);
    font-size: 14px;
    text-decoration: none;
}

.main-nav a:hover {
    color: var(--ink);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 18px;
    background: var(--ink);
    color: var(--light);
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
}

.menu-toggle {
    display: none;
}

.hero {
    padding: 86px 0 74px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) 430px;
    gap: 56px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--acid);
    border: 1px solid var(--ink);
    border-radius: 50%;
}

.hero h1,
.section-header h2,
.process-grid h2,
.form-copy h2,
.thanks-page h1 {
    margin: 18px 0 0;
    max-width: 850px;
    font-size: clamp(48px, 7vw, 92px);
    line-height: .9;
    letter-spacing: -0.07em;
}

.hero p {
    max-width: 680px;
    margin: 28px 0 0;
    color: var(--muted);
    font-size: 19px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 34px;
}

.btn {
    border: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--blue);
    color: var(--light);
}

.btn-secondary {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line);
}

.diagnostic-card {
    background: var(--dark);
    color: var(--light);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.card-top,
.card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.card-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    border-bottom: 0;
}

.card-top span,
.card-bottom span {
    color: rgba(255,255,255,.48);
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
}

.card-top strong,
.card-bottom strong {
    color: var(--acid);
    font-family: var(--font-mono);
    font-size: 12px;
}

.diagnostic-card ul {
    list-style: none;
    margin: 0;
    padding: 8px 22px;
}

.diagnostic-card li {
    display: flex;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.78);
}

.diagnostic-card li:last-child {
    border-bottom: 0;
}

.diagnostic-card li span {
    color: var(--acid);
    font-family: var(--font-mono);
    font-size: 12px;
}

.section {
    padding: 94px 0;
}

.section-dark {
    background: var(--dark);
    color: var(--light);
}

.section-header {
    display: grid;
    grid-template-columns: .9fr 1fr;
    gap: 44px;
    align-items: end;
    margin-bottom: 42px;
}

.section-header h2,
.process-grid h2,
.form-copy h2 {
    font-size: clamp(36px, 5vw, 64px);
}

.section-header p {
    color: rgba(255,255,255,.58);
    font-size: 17px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid rgba(255,255,255,.12);
}

.service-card {
    min-height: 280px;
    padding: 28px;
    border-right: 1px solid rgba(255,255,255,.12);
    border-bottom: 1px solid rgba(255,255,255,.12);
    background: var(--dark-2);
}

.service-card:nth-child(3n) {
    border-right: 0;
}

.service-card span {
    color: var(--acid);
    font-family: var(--font-mono);
    font-size: 12px;
}

.service-card h3 {
    margin: 28px 0 0;
    font-size: 26px;
    letter-spacing: -.04em;
}

.service-card p {
    margin: 16px 0 0;
    color: rgba(255,255,255,.58);
}

.service-card strong {
    display: block;
    margin-top: 28px;
    color: var(--acid);
    font-family: var(--font-mono);
    font-size: 13px;
}

.service-featured {
    background: var(--blue);
}

.service-featured span,
.service-featured strong {
    color: var(--light);
}

.process-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 60px;
}

.process-list {
    border-top: 1px solid var(--line);
}

.process-item {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
}

.process-item > span {
    font-family: var(--font-mono);
    color: var(--blue);
}

.process-item h3 {
    margin: 0;
    font-size: 24px;
    letter-spacing: -.04em;
}

.process-item p {
    margin: 8px 0 0;
    color: var(--muted);
}

.section-form {
    background: var(--bg-2);
    border-top: 1px solid var(--line);
}

.form-layout {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 56px;
    align-items: start;
}

.form-copy {
    position: sticky;
    top: 110px;
}

.form-copy p {
    margin-top: 22px;
    color: var(--muted);
    font-size: 17px;
}

.form-proof {
    margin-top: 30px;
    padding: 22px;
    background: var(--light);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.form-proof strong,
.form-proof span {
    display: block;
}

.form-proof span {
    margin-top: 8px;
    color: var(--muted);
}

.form-shell {
    background: var(--light);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
}

.form-errors {
    margin-bottom: 24px;
    padding: 16px 18px;
    border-radius: 14px;
    background: #fff0ed;
    color: var(--danger);
    border: 1px solid rgba(180, 35, 24, .25);
}

.form-errors ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.form-progress {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.progress-step {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid var(--line);
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 12px;
}

.progress-step.is-active,
.progress-step.is-complete {
    background: var(--ink);
    color: var(--acid);
    border-color: var(--ink);
}

.progress-line {
    flex: 1;
    height: 1px;
    background: var(--line);
}

.form-step {
    display: none;
    border: 0;
    padding: 0;
    margin: 0;
}

.form-step.is-active {
    display: block;
}

.step-head {
    margin-bottom: 24px;
}

.step-head span {
    color: var(--blue);
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
}

.step-head h3 {
    margin: 8px 0 0;
    font-size: 32px;
    letter-spacing: -.05em;
}

.field-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.field-grid-two {
    margin-top: 22px;
}

label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
}

.label-block {
    margin-bottom: 12px;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: #faf9f5;
    color: var(--ink);
    border-radius: 14px;
    padding: 14px 14px;
    font: inherit;
    font-size: 15px;
    outline: none;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(36, 92, 255, .1);
}

input.is-invalid,
select.is-invalid,
textarea.is-invalid {
    border-color: var(--danger);
}

.radio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.radio-grid-three {
    grid-template-columns: repeat(3, 1fr);
}

.radio-card {
    position: relative;
    cursor: pointer;
}

.radio-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.radio-card span {
    min-height: 58px;
    display: flex;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #faf9f5;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.radio-card input:checked + span {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--acid);
}

.form-actions {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-top: 28px;
}

.thanks-page {
    min-height: 70vh;
    padding: 100px 0;
}

.thanks-grid {
    display: grid;
    grid-template-columns: 1fr 430px;
    gap: 56px;
    align-items: center;
}

.thanks-page p {
    margin-top: 24px;
    max-width: 700px;
    color: var(--muted);
    font-size: 19px;
}

.site-footer {
    background: var(--dark);
    color: var(--light);
    padding: 54px 0 26px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr .5fr .5fr;
    gap: 40px;
}

.footer-brand {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -.04em;
}

.site-footer p {
    max-width: 460px;
    color: rgba(255,255,255,.52);
}

.footer-label {
    display: block;
    margin-bottom: 14px;
    color: var(--acid);
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
}

.site-footer a {
    display: block;
    margin: 8px 0;
    color: rgba(255,255,255,.7);
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--acid);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 44px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.38);
    font-family: var(--font-mono);
    font-size: 11px;
}

@media (max-width: 940px) {
    .header-grid {
        grid-template-columns: auto 1fr auto;
    }

    .main-nav,
    .header-cta {
        display: none;
    }

    .menu-toggle {
        justify-self: end;
        width: 42px;
        height: 42px;
        display: grid;
        gap: 5px;
        place-content: center;
        border: 1px solid var(--line);
        background: transparent;
        border-radius: 50%;
    }

    .menu-toggle span {
        display: block;
        width: 18px;
        height: 2px;
        background: var(--ink);
    }

    .main-nav.is-open {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        display: grid;
        gap: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--line);
        padding: 10px 20px 20px;
    }

    .main-nav.is-open a {
        padding: 16px 0;
        border-bottom: 1px solid var(--line);
    }

    .hero-grid,
    .section-header,
    .process-grid,
    .form-layout,
    .thanks-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .form-copy {
        position: static;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        border-right: 0;
    }

    .field-grid,
    .radio-grid,
    .radio-grid-three {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .hero {
        padding-top: 56px;
    }

    .hero h1,
    .thanks-page h1 {
        font-size: clamp(44px, 13vw, 72px);
    }
}

@media (max-width: 520px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .form-shell {
        padding: 20px;
    }

    .hero-actions,
    .form-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .brand-text small {
        display: none;
    }
}
.result-panel {
    background: var(--dark);
    color: var(--light);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.1);
}

.result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.result-header span {
    color: rgba(255,255,255,.48);
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
}

.result-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    white-space: nowrap;
}

.result-hot {
    background: var(--acid);
    color: var(--ink);
}

.result-warm {
    background: #ffd166;
    color: var(--ink);
}

.result-cold {
    background: rgba(255,255,255,.12);
    color: rgba(255,255,255,.72);
}

.result-neutral {
    background: rgba(255,255,255,.12);
    color: rgba(255,255,255,.72);
}

.result-score {
    padding: 26px 22px;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.score-number {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 14px;
}

.score-number strong {
    font-size: 56px;
    line-height: 1;
    letter-spacing: -.06em;
    color: var(--acid);
}

.score-number span {
    color: rgba(255,255,255,.42);
    font-family: var(--font-mono);
    font-size: 14px;
}

.score-bar {
    width: 100%;
    height: 10px;
    background: rgba(255,255,255,.1);
    border-radius: 999px;
    overflow: hidden;
}

.score-bar div {
    height: 100%;
    background: var(--acid);
    border-radius: 999px;
}

.result-block {
    padding: 20px 22px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.result-block:last-child {
    border-bottom: 0;
}

.result-block > span {
    display: block;
    margin-bottom: 8px;
    color: rgba(255,255,255,.38);
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
}

.result-block p {
    margin: 0;
    color: rgba(255,255,255,.78);
    font-size: 15px;
}

.reason-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.reason-list li {
    position: relative;
    padding: 10px 0 10px 20px;
    color: rgba(255,255,255,.72);
    border-bottom: 1px solid rgba(255,255,255,.06);
    font-size: 14px;
}

.reason-list li:last-child {
    border-bottom: 0;
}

.reason-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    width: 7px;
    height: 7px;
    background: var(--acid);
    border-radius: 50%;
}

@media (max-width: 940px) {
    .result-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .score-number strong {
        font-size: 48px;
    }
}