:root {
    --navy: #12263a;
    --paper: #f4efe6;
    --white: #ffffff;
    --ink: #1b2430;
    --muted: #3d4654;
    --line: #e4ddd2;
    --teal: #1c7c6c;
    --cta: #c2410c;
    --cta-hover: #9a3409;
    --danger: #c0392b;
    --radius: 18px;
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --column: 42rem;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

html {
    scroll-behavior: smooth;
    color-scheme: light;
    scroll-padding-top: 5.2rem;
}

body {
    font-family: "Segoe UI", system-ui, sans-serif;
    font-size: 1.0625rem;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.5;
}

h1,
h2 {
    font-family: Georgia, "Iowan Old Style", Palatino, serif;
    letter-spacing: -0.03em;
    font-weight: 700;
    text-wrap: balance;
}

h1 {
    margin: 0 0 0.7rem;
    color: var(--navy);
    font-size: clamp(2.05rem, 7vw, 3.15rem);
    line-height: 1.12;
}

h2 {
    margin: 0 0 0.45rem;
    color: var(--navy);
    font-size: clamp(1.45rem, 4.4vw, 1.9rem);
    line-height: 1.2;
}

p {
    margin: 0;
}

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

.skip-link {
    position: absolute;
    left: 0.6rem;
    top: -4rem;
    z-index: 6;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    background: var(--white);
    color: var(--navy);
    font-weight: 800;
}

.skip-link:focus {
    top: 0.6rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 5;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.header-inner,
.hero,
.card,
.footer-inner {
    width: min(100% - 2.3rem, var(--column));
    margin-left: auto;
    margin-right: auto;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 4.4rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--navy);
    text-decoration: none;
    font-weight: 800;
    font-size: 1.05rem;
    min-width: 0;
    line-height: 1.2;
}

.brand span {
    overflow-wrap: anywhere;
}

.brand-mark {
    width: 1.85rem;
    height: 1.85rem;
    color: var(--navy);
    display: inline-flex;
    flex: none;
}

.brand-mark svg {
    width: 100%;
    height: 100%;
}

.hero {
    padding: 1.2rem 0 0.35rem;
}

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

.lead,
.card-lead,
.domain-note,
.field-help,
.extras,
.site-footer {
    color: var(--muted);
}

.lead {
    margin-bottom: 1rem;
    font-size: 1.125rem;
    line-height: 1.45;
}

.facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0 0 0.75rem;
    padding: 0;
    list-style: none;
}

.facts li {
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--navy);
    border-radius: 999px;
    padding: 0.4rem 0.75rem;
    font-size: 0.92rem;
    font-weight: 800;
}

.domain-note {
    margin: 0 0 1rem;
    font-weight: 700;
}

.hero-actions {
    display: grid;
    gap: 0.15rem;
    margin-bottom: 0.4rem;
}

.card {
    margin: 0.85rem auto;
    padding: 1.15rem 1.1rem 1.2rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.card-lead {
    margin-bottom: 0.85rem;
}

.gaps,
.steps,
.extras {
    list-style: none;
    margin: 0;
    padding: 0;
}

.gaps,
.steps {
    display: grid;
    gap: 0.75rem;
}

.gaps li,
.steps li {
    display: grid;
    gap: 0.65rem;
    align-items: start;
    font-weight: 700;
}

.gaps li {
    grid-template-columns: 0.7rem 1fr;
}

.gaps li::before {
    content: "";
    width: 0.55rem;
    height: 0.55rem;
    margin-top: 0.45rem;
    border-radius: 99px;
    background: var(--cta);
}

.steps {
    counter-reset: step;
    margin-bottom: 1rem;
}

.steps li {
    grid-template-columns: 1.7rem 1fr;
    counter-increment: step;
}

.steps li::before {
    content: counter(step);
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 99px;
    background: var(--navy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 800;
}

.steps strong {
    display: block;
}

.example {
    margin: 0 0 1.1rem;
}

.example figcaption {
    margin: 0 0 0.75rem;
    font-weight: 700;
}

.work-shot {
    display: block;
    width: min(100%, 16.5rem);
    height: auto;
    margin: 0 0 0.35rem;
    border: 1px solid var(--line);
    border-radius: 22px;
}

.example-link {
    display: inline-flex;
    align-items: center;
    min-height: 3rem;
    font-weight: 800;
    text-decoration: none;
}

.offer-price {
    margin: 0 0 0.85rem;
    padding: 1rem 1rem 1.05rem;
    border-radius: 16px;
    background: var(--navy);
    color: #f7f3ec;
}

.offer-price strong {
    display: block;
    font-family: Georgia, "Iowan Old Style", Palatino, serif;
    font-size: clamp(2.5rem, 8vw, 3.3rem);
    line-height: 1;
    letter-spacing: -0.03em;
    font-weight: 700;
}

.offer-price span {
    display: block;
    margin-top: 0.35rem;
    font-weight: 800;
}

.offer-promise {
    color: #f6e2c0;
}

.extras {
    display: grid;
    gap: 0.35rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.button {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3.35rem;
    padding: 0.8rem 1.15rem;
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    touch-action: manipulation;
}

.button-cta {
    background: var(--cta);
    color: #fff;
}

.button-cta:hover {
    background: var(--cta-hover);
    color: #fff;
}

.button-ghost {
    width: 100%;
    margin-top: 0.6rem;
    background: #fbfaf7;
    color: var(--navy);
    border: 1px solid var(--line);
}

.button-ghost:hover {
    border-color: var(--teal);
    color: var(--navy);
}

.button-call {
    width: 100%;
}

.header-call {
    width: auto;
    flex: none;
    min-height: 3rem;
    padding: 0.55rem 1rem;
}

.phone-icon {
    width: 1.15rem;
    height: 1.15rem;
    flex: none;
}

.write-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    font-weight: 800;
    text-decoration: none;
}

.inquiry-form {
    margin-top: 1.15rem;
    padding-top: 0.3rem;
}

.field-label {
    display: block;
    margin: 0.85rem 0 0.35rem;
    font-weight: 800;
}

.field-help {
    margin: 0.15rem 0 0.45rem;
    font-size: 0.98rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    margin: 0 0 0.35rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    font: inherit;
    font-size: 1.0625rem;
    color: var(--ink);
}

input[type="text"],
input[type="email"],
input[type="tel"] {
    min-height: 3.25rem;
}

textarea {
    min-height: 8.5rem;
    resize: vertical;
    line-height: 1.45;
}

.check {
    display: grid;
    grid-template-columns: 1.35rem 1fr;
    gap: 0.75rem;
    align-items: center;
    min-height: 3.25rem;
    margin: 0.8rem 0 1rem;
    padding: 0.85rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fbfaf7;
    cursor: pointer;
    touch-action: manipulation;
}

.check input {
    width: 1.25rem;
    height: 1.25rem;
    margin: 0;
    accent-color: var(--teal);
}

.check:has(input:checked) {
    border-color: var(--teal);
    background: #eef7f4;
}

.form-error {
    margin: 0.35rem 0 0.7rem;
    padding: 0.7rem 0.8rem;
    border-radius: 12px;
    background: #fff1f1;
    color: var(--danger);
    border: 1px solid #f4c7c7;
    font-weight: 700;
}

.form-error ul {
    margin: 0.35rem 0 0;
    padding-left: 1.1rem;
}

.form-error a {
    color: var(--danger);
}

input[aria-invalid="true"],
textarea[aria-invalid="true"],
.check.is-invalid {
    border-color: #f4c7c7;
    background: #fff6f6;
}

.banner {
    margin-top: 1rem;
    padding: 0.95rem 1rem;
    border-radius: 14px;
    background: #eef7f4;
    border: 1px solid #cfe4dd;
    color: var(--ink);
    font-weight: 700;
}

.banner-warn {
    background: #fff6e8;
    border-color: #f0d7b0;
}

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

.site-footer {
    border-top: 1px solid var(--line);
    background: var(--white);
    margin-top: 0.4rem;
}

.footer-inner {
    display: grid;
    gap: 0.8rem;
    padding-top: 1.1rem;
    padding-bottom: calc(1.3rem + var(--safe-bottom));
    font-size: 0.98rem;
}

.footer-inner a {
    font-weight: 800;
    overflow-wrap: anywhere;
}

.privacy summary {
    min-height: 3rem;
    display: flex;
    align-items: center;
    font-weight: 800;
    color: var(--navy);
    cursor: pointer;
}

.privacy p {
    margin: 0 0 0.7rem;
}

input:focus,
textarea:focus,
.button:focus-visible,
.write-link:focus-visible,
.example-link:focus-visible,
.brand:focus-visible,
.check:has(input:focus-visible),
.privacy summary:focus-visible,
.skip-link:focus {
    outline: 3px solid var(--navy);
    outline-offset: 2px;
}

input:focus,
textarea:focus {
    border-color: var(--teal);
}

@media (min-width: 860px) {
    .hero-actions .button-call {
        width: auto;
        min-width: 20rem;
    }

    .hero-actions .write-link {
        justify-content: flex-start;
    }

    .card {
        padding: 1.35rem 1.35rem 1.4rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
