:root {
    color-scheme: light;
    --bg: #ffffff;
    --text: #000000;
    --muted: #333333;
    --line: #e5e5e5;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "SFMono-Regular", "Cascadia Code", "Cascadia Mono", "Roboto Mono", Consolas, "Liberation Mono", monospace;
    font-size: 16px;
    line-height: 1.5;
    overflow-x: hidden;
    transition: background 180ms ease, color 180ms ease;
}

a {
    color: inherit;
}

.navbar,
.container,
.footer {
    width: min(100% - 48px, 980px);
    margin: 0 auto;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 92px;
}

.logo a,
.nav-links a {
    color: var(--text);
    text-decoration: none;
}

.logo a {
    font-weight: 700;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-links a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hero-wrap {
    position: relative;
    isolation: isolate;
    min-height: 650px;
    overflow: hidden;
}

.hero-wrap::before,
.hero-wrap::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    pointer-events: none;
}

.hero-wrap::before {
    background:
        radial-gradient(ellipse at 50% 43%, rgb(255 255 255 / 0.94) 0 18%, rgb(255 255 255 / 0.82) 33%, rgb(255 255 255 / 0.28) 58%, transparent 74%),
        linear-gradient(180deg, rgb(255 255 255 / 0.54) 0%, rgb(255 255 255 / 0.08) 55%, rgb(255 255 255 / 0.82) 100%);
}

.hero-wrap::after {
    background: linear-gradient(90deg, rgb(255 255 255 / 0.12), transparent 18% 82%, rgb(255 255 255 / 0.12));
}

.hero-paint {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: -2;
    width: min(100vw, 1680px);
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transform: translateX(-50%);
}

.main-content {
    max-width: 760px;
    padding: 136px 0 130px;
    text-align: center;
}

h1,
h2,
h3,
p,
.tagline,
.description {
    margin-top: 0;
    overflow-wrap: break-word;
}

h1 {
    margin-bottom: 22px;
    font-size: clamp(36px, 5.4vw, 58px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: 0;
    text-shadow: 0 0 28px var(--bg), 0 0 28px var(--bg);
}

.tagline {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.5;
    font-weight: 700;
}

.description {
    color: var(--muted);
    font-size: 18px;
    text-shadow: 0 0 20px var(--bg), 0 0 20px var(--bg);
}

.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-top: 32px;
    padding: 0 18px;
    border: 1px solid var(--text);
    color: var(--bg);
    background: var(--text);
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.cta:hover {
    color: var(--text);
    background: var(--bg);
}

.about-container {
    border-top: 1px solid var(--line);
    padding: 44px 0 52px;
}

.proof-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    padding-top: 30px;
    padding-bottom: 34px;
}

.proof-item strong,
.proof-item span {
    display: block;
}

.proof-item strong {
    margin-bottom: 6px;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 800;
}

.proof-item span {
    color: var(--muted);
    font-size: 14px;
}

h2 {
    margin-bottom: 30px;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0;
}

.services,
.examples {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 44px;
}

h3 {
    margin-bottom: 12px;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 800;
}

.services-item p,
.examples-item p {
    margin: 0;
    color: var(--muted);
}

.examples-item a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.package {
    display: grid;
    grid-template-columns: 1fr 240px;
    gap: 44px;
    align-items: center;
}

.package p {
    margin: 0;
    color: var(--muted);
}

.package-list {
    margin: 18px 0 0;
    padding-left: 20px;
    color: var(--text);
}

.package-list li + li {
    margin-top: 7px;
}

.package .package-note {
    margin-top: 20px;
}

.package-price {
    border: 1px solid var(--text);
    padding: 24px;
    text-align: center;
}

.package-price strong {
    display: block;
    margin-bottom: 8px;
    font-size: 34px;
    line-height: 1;
}

.package-price span {
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.contact-form {
    margin-top: 28px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    min-height: 44px;
    margin-top: 8px;
    border: 1px solid var(--text);
    border-radius: 0;
    padding: 10px 12px;
    color: var(--text);
    background: var(--bg);
    font: inherit;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid var(--text);
    outline-offset: 2px;
}

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

.contact-form label {
    display: block;
    color: var(--text);
    font-weight: 700;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 22px;
    margin-bottom: 22px;
}

.form-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px 18px;
    margin-top: 22px;
}

.form-privacy {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.form-actions .cta {
    margin-top: 0;
    cursor: pointer;
}

.form-actions .cta:disabled {
    cursor: wait;
    opacity: 0.64;
}

.form-status {
    min-height: 24px;
    margin: 16px 0 0;
    color: var(--muted);
    font-weight: 700;
}

.footer {
    border-top: 1px solid var(--line);
    padding: 28px 0 46px;
    color: var(--muted);
    font-size: 14px;
}

@media (max-width: 700px) {
    body {
        padding: 0;
    }

    .navbar,
    .container,
    .footer {
        width: min(100% - 36px, 500px);
        margin: 0 auto;
    }

    .navbar {
        align-items: center;
        flex-direction: column;
        text-align: center;
        gap: 16px;
        min-height: auto;
        padding: 24px 0;
    }

    .nav-controls {
        justify-content: center;
        font-size: 14px;
    }

    .nav-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px 14px;
        font-size: 13px;
    }

    .hero-wrap {
        min-height: auto;
        padding-bottom: 60px;
    }

    .hero-wrap::before {
        background:
            radial-gradient(ellipse at 50% 40%, rgb(255 255 255 / 0.98) 0 30%, rgb(255 255 255 / 0.9) 50%, rgb(255 255 255 / 0.42) 75%, transparent 95%),
            linear-gradient(180deg, rgb(255 255 255 / 0.72) 0%, rgb(255 255 255 / 0.12) 54%, rgb(255 255 255 / 0.9) 100%);
    }

    .hero-paint {
        left: 50%;
        width: 140%;
        min-width: 600px;
        height: 100%;
        object-position: center top;
    }

    .main-content {
        max-width: 100%;
        padding: 80px 0 40px;
        text-align: center;
    }

    h1 {
        font-size: clamp(28px, 7.4vw, 32px);
        margin-bottom: 16px;
        overflow-wrap: anywhere;
    }

    .tagline {
        font-size: 15px;
        margin-top: 20px;
    }

    .description {
        font-size: 16px;
        overflow-wrap: anywhere;
    }

    .proof-item span {
        overflow-wrap: anywhere;
    }

    .services,
    .examples,
    .proof-strip {
        grid-template-columns: 1fr;
        gap: 32px;
        max-width: 100%;
    }

    .package {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .package-price {
        text-align: left;
    }

    .about-container > .description,
    .contact-form {
        max-width: 100%;
    }

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

    .about-container {
        padding: 48px 0;
    }
}
