
* {
    box-sizing: border-box;
}

:root {
    color-scheme: dark;
    --bg: #0b0b0b;
    --surface: #151515;
    --border: #303030;
    --text: #f4f4f4;
    --muted: #a6a6a6;
    --red: #b5122b;
    --red-hover: #d21d3b;
}

html {
    min-height: 100%;
    background: var(--bg);
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.55;
}

.contact-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 20px;
}

.contact-card {
    background: var(--surface);
    border: 1px solid #222;
    border-radius: 12px;
    padding: 36px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .22);
}

.contact-brand {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--red-hover);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-decoration: none;
}

.contact-card h1 {
    margin: 0 0 8px;
    font-size: clamp(28px, 5vw, 36px);
    line-height: 1.2;
}

.contact-intro {
    margin: 0 0 28px;
    color: var(--muted);
}

.field {
    margin-bottom: 20px;
}

.field label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
}

.field input,
.field select,
.field textarea {
    display: block;
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 7px;
    background: #0e0e0e;
    color: var(--text);
    padding: 12px 13px;
    font: inherit;
    outline: none;
}

.field input,
.field select {
    min-height: 46px;
}

.field textarea {
    min-height: 160px;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--red-hover);
    box-shadow: 0 0 0 2px rgba(210, 29, 59, .16);
}

.contact-card button {
    display: block;
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 7px;
    background: var(--red);
    color: #fff;
    padding: 12px 18px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.contact-card button:hover {
    background: var(--red-hover);
}

.notice {
    margin: 0 0 22px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 7px;
    font-size: 14px;
}

.notice.success {
    border-color: #286343;
    background: #10251a;
    color: #b8f0ce;
}

.notice.error {
    border-color: #7b2634;
    background: #2a1116;
    color: #ffc4ce;
}

.back-link {
    margin: 24px 0 0;
    text-align: center;
    font-size: 13px;
}

.back-link a {
    color: var(--muted);
    text-decoration: none;
}

.back-link a:hover {
    color: var(--text);
}

.honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 560px) {
    .contact-container {
        padding: 18px 12px;
    }

    .contact-card {
        padding: 24px 18px;
    }
}
