* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --text: #111;
    --text-secondary: #666;
    --bg: #fafafa;
    --card-bg: #fff;
    --border: #e5e5e5;
    --accent: #111;
    --accent-hover: #333;
    --max-width: 560px;
}

body {
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    max-width: var(--max-width);
    width: 100%;
    margin: 0 auto;
    padding: 64px 24px 32px;
}

header {
    margin-bottom: 56px;
}

h1 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
}

.tagline {
    font-size: 15px;
    color: var(--text-secondary);
}

.contact h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    font: inherit;
    font-size: 14px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--card-bg);
    color: var(--text);
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.contact-form button {
    align-self: flex-start;
    background: var(--accent);
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    padding: 10px 22px;
    cursor: pointer;
    transition: background 0.2s;
}

.contact-form button:hover {
    background: var(--accent-hover);
}

.honeypot {
    position: absolute !important;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.success {
    background: #f0f9f4;
    border: 1px solid #34c759;
    border-radius: 6px;
    padding: 14px 16px;
    margin-bottom: 20px;
}

.success p {
    font-size: 14px;
    color: #1f7a36;
}

footer {
    max-width: var(--max-width);
    width: 100%;
    margin: 0 auto;
    padding: 24px;
    font-size: 12px;
    color: var(--text-secondary);
    border-top: 1px solid var(--border);
}
