:root {
    --ink: #0c1a24;
    --muted: #667078;
    --paper: #f7f7f5;
    --surface: #ffffff;
    --line: #dde1d3;
    --rail: #ecf0e4;
    --accent: #a3b74a;
    --accent-strong: #8c9f3e;
    --seo: #a3b74a;
    --ux: #f0b44c;
    --conversion: #ef6247;
    --content: #0c1a24;
    --shadow: 0 24px 60px rgba(17, 20, 20, 0.12);
}

@font-face {
    font-family: "heading";
    font-display: swap;
    src: url("font/wave-bold.woff2") format("woff2");
}

@font-face {
    font-family: "heading-thin";
    font-display: swap;
    src: url("font/wave-light.woff2") format("woff2");
}

@font-face {
    font-family: "regular";
    font-display: swap;
    src: url("font/noirpro-light.woff2") format("woff2");
}

@font-face {
    font-family: "bold";
    font-display: swap;
    src: url("font/noirpro-medium.woff2") format("woff2");
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: regular, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
    letter-spacing: 0;
}

.site-header {
    position: sticky;
    z-index: 10;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 74px;
    padding: 16px clamp(18px, 4vw, 48px);
    border-bottom: 1px solid rgba(21, 23, 19, 0.1);
    background: rgba(244, 247, 246, 0.9);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    text-decoration: none;
}

.brand__mark {
    display: block;
    width: 58px;
    height: 37px;
    color: var(--ink);
}

.brand__mark::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: currentColor;
    mask: url("img/monogramme-edikka.svg") center / contain no-repeat;
    -webkit-mask: url("img/monogramme-edikka.svg") center / contain no-repeat;
}

.brand__title {
    font-family: bold, regular, sans-serif;
    font-size: 1rem;
    margin-left: 10px;
    white-space: nowrap;
}

.brand__by {
    border-left: 1px solid var(--line);
    padding-left: 10px;
    color: var(--muted);
    font-size: 0.82rem;
    white-space: nowrap;
}

.brand__logo {
    display: block;
    width: 142px;
    height: auto;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-nav a {
    border-radius: 999px;
    padding: 10px 13px;
    color: var(--muted);
    font-size: 0.95rem;
    text-decoration: none;
}

.header-nav a:hover,
.header-nav a:focus-visible {
    color: var(--ink);
    outline: none;
}

.header-nav .header-nav__button {
    background: var(--ink);
    color: #ffffff;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.75fr);
    gap: clamp(26px, 5vw, 76px);
    align-items: center;
    min-height: 78svh;
    padding: clamp(44px, 7vw, 92px) clamp(18px, 4vw, 64px) clamp(38px, 6vw, 78px);
}

.hero__content {
    max-width: 820px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
}

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

h1 {
    max-width: 920px;
    margin-bottom: 22px;
    font-family: heading, bold, sans-serif;
    font-size: clamp(3.35rem, 10vw, 8.5rem);
    font-weight: 400;
    line-height: 0.9;
}

h3,
.button,
.offer-strip dd,
.report-preview__top strong,
.score-grid strong,
.audit-form legend,
.audit-form span,
.checkbox-group > span,
.price-panel strong,
.confirmation-details dd {
    font-family: bold, regular, sans-serif;
}

h2 {
    font-family: heading-thin, regular, sans-serif;
    font-weight: 400;
}

.hero__intro {
    max-width: 720px;
    color: #3d4438;
    font-size: clamp(1.12rem, 2.2vw, 1.55rem);
    line-height: 1.45;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 32px 0 28px;
}

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

.button--primary {
    background: var(--accent);
    color: var(--ink);
}

.button--primary:hover,
.button--primary:focus-visible {
    background: var(--accent-strong);
    outline: none;
}

.button--ghost {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.58);
}

.offer-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 760px;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.68);
}

.offer-strip div {
    padding: 15px 16px;
}

.offer-strip div + div {
    border-left: 1px solid var(--line);
}

.offer-strip dt {
    color: var(--muted);
    font-size: 0.8rem;
}

.offer-strip dd {
    margin: 5px 0 0;
    font-weight: 400;
}

.report-preview {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.report-preview::before {
    content: "";
    display: block;
    height: 12px;
    background: var(--ink);
}

.report-preview__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px;
    border-bottom: 1px solid var(--line);
}

.report-preview__top span {
    color: var(--muted);
    font-weight: 700;
}

.report-preview__top strong {
    font-size: 1.45rem;
}

.score-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 22px;
}

.score-grid div {
    min-height: 104px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px;
    background: #ffffff;
}

.score-grid span {
    display: block;
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--seo) 68%, var(--rail) 68%);
}

.score-grid div:nth-child(1) span {
    background: linear-gradient(90deg, var(--seo) 74%, var(--rail) 74%);
}

.score-grid div:nth-child(2) span {
    background: linear-gradient(90deg, var(--ux) 61%, var(--rail) 61%);
}

.score-grid div:nth-child(3) span {
    background: linear-gradient(90deg, var(--conversion) 58%, var(--rail) 58%);
}

.score-grid div:nth-child(4) span {
    background: linear-gradient(90deg, var(--content) 79%, var(--rail) 79%);
}

.score-grid strong {
    display: block;
    margin-top: 42px;
}

.priority-list {
    margin: 0;
    padding: 0 22px 22px;
    list-style: none;
}

.priority-list li {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 15px 0;
    border-top: 1px solid var(--line);
    line-height: 1.4;
}

.priority-list span {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 7px;
    background: var(--ink);
    color: var(--accent);
    font-family: bold, regular, sans-serif;
    font-size: 0.86rem;
    font-weight: 400;
}

.proof-band,
.form-section {
    padding: clamp(48px, 8vw, 94px) clamp(18px, 4vw, 64px);
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(180px, 0.36fr) minmax(0, 1fr);
    gap: clamp(22px, 6vw, 82px);
    align-items: end;
    max-width: 1180px;
    margin: 0 auto 34px;
}

.section-heading h2,
.form-intro h2 {
    margin-bottom: 0;
    font-size: clamp(2rem, 5vw, 4.2rem);
    line-height: 1;
}

.deliverables {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 1180px;
    margin: 0 auto;
}

.deliverables article {
    min-height: 234px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 24px;
    background: #ffffff;
}

.deliverables span {
    color: var(--accent);
    font-weight: 900;
}

.deliverables h3 {
    margin: 56px 0 14px;
    font-size: 1.35rem;
    font-weight: 400;
}

.deliverables p {
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.58;
}

.form-section {
    display: grid;
    grid-template-columns: minmax(260px, 0.36fr) minmax(0, 1fr);
    gap: clamp(28px, 6vw, 74px);
    align-items: start;
    background: #ffffff;
    border-top: 1px solid var(--line);
}

.form-intro {
    position: sticky;
    top: 104px;
}

.form-intro p {
    color: var(--muted);
    line-height: 1.58;
}

.price-panel {
    margin-top: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 22px;
    background: var(--paper);
}

.price-panel span,
.price-panel small {
    display: block;
    color: var(--muted);
}

.price-panel strong {
    display: block;
    margin: 8px 0;
    font-size: 2rem;
}

.audit-form {
    display: grid;
    gap: 0;
}

.form-shell {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: start;
    overflow: visible;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 22px 70px rgba(12, 26, 36, 0.1);
}

.form-rail {
    position: sticky;
    top: 74px;
    display: grid;
    grid-template-rows: auto auto;
    gap: 22px;
    height: calc(100svh - 74px);
    min-height: 560px;
    border-right: 1px solid var(--line);
    padding: 26px 20px 132px;
    background: var(--ink);
    color: #ffffff;
}

.form-meter {
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
}

.form-meter span {
    display: block;
    width: var(--progress, 0%);
    height: 100%;
    border-radius: inherit;
    background: var(--accent);
    transition: width 180ms ease;
}

.form-rail__nav {
    display: grid;
    gap: 10px;
}

.form-rail__nav a {
    position: relative;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 68px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 8px;
    padding: 13px 12px;
    background: rgba(255, 255, 255, 0.025);
    color: rgba(255, 255, 255, 0.64);
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.form-rail__nav a:hover,
.form-rail__nav a:focus-visible {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    outline: none;
}

.form-rail__nav a:hover {
    transform: translateX(2px);
}

.form-rail__nav a.is-active {
    border-color: rgba(163, 183, 74, 0.44);
    background: rgba(255, 255, 255, 0.095);
    color: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(163, 183, 74, 0.16);
}

.form-rail__nav span {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.62);
    font-family: bold, regular, sans-serif;
    font-size: 0.82rem;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.form-rail__nav a.is-active span {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--ink);
}

.form-rail__status {
    position: absolute;
    right: 20px;
    bottom: 22px;
    left: 20px;
    display: grid;
    gap: 4px;
    border: 1px solid rgba(163, 183, 74, 0.22);
    border-radius: 8px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.055);
}

.form-rail__status strong {
    color: var(--accent);
    font-family: heading, bold, sans-serif;
    font-size: 3rem;
    font-weight: 400;
    line-height: 0.9;
}

.form-rail__status span {
    color: rgba(255, 255, 255, 0.68);
}

.form-scroll {
    display: grid;
    gap: 0;
    background: #fbfcf8;
}

.form-block {
    scroll-margin-top: 96px;
    margin: 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    padding: clamp(28px, 4vw, 46px);
    background: #fbfcf8;
}

.form-block:nth-of-type(even) {
    background: #ffffff;
}

.audit-form legend {
    display: flex;
    align-items: baseline;
    gap: 18px;
    width: 100%;
    margin-bottom: 28px;
    padding: 0;
    color: var(--ink);
}

.audit-form legend span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 7px;
    background: var(--ink);
    color: var(--accent);
    font-family: bold, regular, sans-serif;
    font-size: 0.92rem;
}

.audit-form legend strong {
    font-family: heading-thin, regular, sans-serif;
    font-size: clamp(1.85rem, 3vw, 2.7rem);
    font-weight: 400;
    line-height: 1.02;
}

.form-panel__intro {
    max-width: 720px;
    margin: 12px 0 26px;
    color: var(--muted);
    line-height: 1.58;
}

.form-grid {
    display: grid;
    gap: 20px;
}

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

.field,
.checkbox-group {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.field:first-child,
.form-grid label,
.checkbox-group:first-child {
    margin-top: 0;
}

.audit-form span,
.checkbox-group > span {
    color: var(--ink);
    font-weight: 400;
}

.audit-form sup {
    color: var(--conversion);
}

.audit-form input,
.audit-form select,
.audit-form textarea {
    width: 100%;
    border: 1px solid #cfd5c4;
    border-radius: 8px;
    background: #ffffff;
    color: var(--ink);
    padding: 17px 18px;
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.audit-form select {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--ink) 50%),
        linear-gradient(135deg, var(--ink) 50%, transparent 50%);
    background-position:
        calc(100% - 20px) 50%,
        calc(100% - 14px) 50%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.audit-form textarea {
    min-height: 152px;
    resize: vertical;
}

.field--textarea {
    position: relative;
}

.field--textarea::after {
    content: attr(data-count);
    justify-self: end;
    min-height: 1em;
    color: var(--muted);
    font-size: 0.78rem;
}

.audit-form input:focus,
.audit-form select:focus,
.audit-form textarea:focus {
    border-color: var(--accent);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(163, 183, 74, 0.18);
    outline: none;
}

.checkbox-group {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.checkbox-group > span {
    grid-column: 1 / -1;
}

.checkbox-group label,
.legal-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-height: 46px;
    margin: 0;
    border: 1px solid #cfd5c4;
    border-radius: 8px;
    padding: 14px;
    background: #ffffff;
}

.checkbox-group label {
    min-height: 58px;
    cursor: pointer;
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.checkbox-group label:has(input:checked) {
    border-color: var(--accent);
    background: #f4f7e6;
    box-shadow: inset 0 0 0 1px var(--accent);
}

.checkbox-group--buttons label {
    position: relative;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 18px;
    background: #ffffff;
    color: var(--ink);
    font-family: bold, regular, sans-serif;
    text-align: center;
}

.checkbox-group--buttons label::after {
    content: "";
    position: absolute;
    inset: 7px;
    border: 1px solid transparent;
    border-radius: 6px;
    pointer-events: none;
}

.checkbox-group--buttons label:hover {
    border-color: var(--ink);
}

.checkbox-group--buttons label:has(input:checked) {
    border-color: var(--ink);
    background: var(--ink);
    color: #ffffff;
    box-shadow: none;
}

.checkbox-group--buttons label:has(input:checked)::after {
    border-color: rgba(163, 183, 74, 0.72);
}

.checkbox-group--buttons label:has(input:focus-visible) {
    outline: 3px solid rgba(163, 183, 74, 0.28);
    outline-offset: 2px;
}

.checkbox-group--buttons input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.checkbox-group--buttons label span {
    position: relative;
    z-index: 1;
    color: inherit;
}

.checkbox-group input,
.legal-line input {
    width: 18px;
    min-width: 18px;
    margin-top: 2px;
    accent-color: var(--accent);
}

.checkbox-group.checkbox-group--buttons input {
    position: absolute;
    width: 1px;
    min-width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}

.legal-line span {
    color: var(--muted);
    font-weight: 600;
    line-height: 1.45;
}

.field-error {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--conversion);
    font-family: bold, regular, sans-serif;
    font-size: 0.9rem;
}

.form-submit-dock {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: clamp(24px, 4vw, 42px);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 44px rgba(12, 26, 36, 0.12);
    backdrop-filter: blur(18px);
}

.form-submit-dock div {
    display: grid;
    gap: 4px;
}

.form-submit-dock strong {
    font-family: bold, regular, sans-serif;
    font-weight: 400;
}

.form-submit-dock span {
    color: var(--muted);
    font-size: 0.92rem;
}

.audit-hp {
    position: absolute;
    left: -9999px;
    overflow: hidden;
    width: 1px;
    height: 1px;
}

.site-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 22px;
    align-items: center;
    justify-content: center;
    padding: 28px 18px;
    color: var(--muted);
    font-size: 0.92rem;
}

.site-footer p {
    margin: 0;
}

.simple-page {
    min-height: 100svh;
}

.confirmation {
    display: grid;
    place-items: center;
    min-height: 100svh;
    padding: 28px;
}

.brand--simple {
    position: absolute;
    top: 26px;
    left: 26px;
}

.confirmation-panel {
    width: min(680px, 100%);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: clamp(26px, 5vw, 48px);
    background: #ffffff;
    box-shadow: var(--shadow);
}

.confirmation-panel h1 {
    font-family: heading, bold, sans-serif;
    font-weight: 400;
    font-size: clamp(2.4rem, 8vw, 5.6rem);
}

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

.confirmation-details {
    display: grid;
    gap: 10px;
    margin: 26px 0;
}

.confirmation-details div {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px;
}

.confirmation-details dt {
    color: var(--muted);
    font-size: 0.85rem;
}

.confirmation-details dd {
    margin: 4px 0 0;
    overflow-wrap: anywhere;
    font-weight: 400;
}

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

    .hero {
        min-height: auto;
    }

    .form-intro {
        position: static;
    }

    .deliverables {
        grid-template-columns: 1fr;
    }

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

    .form-shell {
        grid-template-columns: 1fr;
    }

    .form-rail {
        position: static;
        height: auto;
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

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

    .form-rail__nav a {
        grid-template-columns: 1fr;
    }

    .form-rail__status {
        display: none;
    }
}

@media (max-width: 860px) {
    .site-header {
        position: static;
        align-items: flex-start;
        flex-direction: column;
    }

    .header-nav {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .header-nav a {
        white-space: nowrap;
    }
}

@media (max-width: 680px) {
    .brand {
        gap: 8px;
    }

    .brand__mark {
        width: 48px;
        height: 30px;
    }

    .brand__mark::before {
        width: 100%;
        height: 100%;
    }

    .brand__title {
        font-size: 0.95rem;
        margin-left: 6px;
    }

    .brand__by {
        padding-left: 8px;
        font-size: 0.78rem;
    }

    .brand__logo {
        width: 118px;
    }

    h1 {
        font-size: clamp(3rem, 16vw, 4.4rem);
    }

    .offer-strip,
    .form-grid--two,
    .score-grid,
    .checkbox-group {
        grid-template-columns: 1fr;
    }

    .form-rail {
        padding: 12px;
    }

    .form-rail__nav {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .form-rail__nav a {
        grid-template-columns: 30px minmax(80px, 1fr);
        min-width: 142px;
        padding: 10px;
    }

    .form-block {
        padding: 24px;
    }

    .audit-form legend {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .form-submit-dock {
        position: static;
        align-items: flex-start;
        flex-direction: column;
        margin: 18px;
    }

    .offer-strip div + div {
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .report-preview__top {
        align-items: flex-start;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }
}

@media (max-width: 360px) {
    .brand {
        gap: 6px;
    }

    .brand__mark {
        width: 42px;
        height: 27px;
    }

    .brand__title {
        font-size: 0.88rem;
        margin-left: 4px;
    }

    .brand__by {
        padding-left: 6px;
        font-size: 0.72rem;
    }

    .brand__logo {
        width: 96px;
    }
}
