:root {
    --bg: #f5f6f8;
    --surface: #ffffff;
    --surface-2: #fafbfc;
    --ink: #0f172a;
    --ink-2: #1f2937;
    --muted: #6b7280;
    --line: #e5e7eb;
    --line-2: #d1d5db;
    --accent: #1d4ed8;
    --accent-2: #1e40af;
    --danger: #b91c1c;
    --danger-bg: #fef2f2;
    --success: #166534;
    --radius: 10px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.06);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    background: var(--bg);
    color: var(--ink-2);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container { max-width: 920px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 640px; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: center; padding: 24px 0; }
.brand { display: inline-flex; align-items: center; }
.brand:hover { text-decoration: none; }
.brand-logo {
    height: 64px;
    width: auto;
    display: block;
    max-width: 100%;
}

.hero {
    padding: 56px 0 36px;
    background: linear-gradient(180deg, #ffffff 0%, #f5f6f8 100%);
    border-bottom: 1px solid var(--line);
}
.eyebrow {
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 8px;
}
.hero h1 {
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.15;
    margin: 0 0 16px;
    color: var(--ink);
    font-weight: 700;
    letter-spacing: -0.01em;
}
.lede {
    font-size: 17px;
    color: var(--ink-2);
    max-width: 640px;
    margin: 0 0 18px;
}
.role-meta {
    display: flex; flex-wrap: wrap; gap: 8px;
    color: var(--muted); font-size: 14px;
}

.about { padding: 40px 0; }
.about h2 {
    font-size: 22px;
    color: var(--ink);
    margin: 24px 0 12px;
    font-weight: 600;
}
.about h2:first-child { margin-top: 0; }
.about p { margin: 0 0 14px; color: var(--ink-2); }
.checklist { list-style: none; padding: 0; margin: 0 0 16px; }
.checklist li {
    position: relative;
    padding: 6px 0 6px 28px;
    color: var(--ink-2);
    font-size: 15px;
}
.checklist li::before {
    content: "";
    position: absolute;
    left: 0; top: 12px;
    width: 14px; height: 8px;
    border-left: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(-45deg);
}

.next-steps p { margin: 0 0 12px; color: var(--ink-2); font-size: 14px; line-height: 1.6; }
.next-steps p:last-child { margin-bottom: 0; }

.form-section { padding: 8px 0 64px; }
.form-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}
.form-card-head {
    padding: 28px 32px 20px;
    border-bottom: 1px solid var(--line);
    background: var(--surface-2);
}
.form-card-head h2 {
    margin: 0 0 6px;
    font-size: 22px;
    color: var(--ink);
    font-weight: 600;
}
.form-card-head p {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}
.form-card-head p:last-child { margin-bottom: 0; }

form { padding: 8px 32px 32px; }

.fs {
    border: none;
    padding: 24px 0 8px;
    margin: 0;
    border-top: 1px solid var(--line);
}
.fs:first-of-type { border-top: none; }
.fs legend {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    font-weight: 600;
    padding: 0;
    margin-bottom: 16px;
}

.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.field { margin: 0 0 18px; }
.field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 6px;
}
.req { color: var(--danger); margin-left: 2px; }
.opt { color: var(--muted); font-weight: 400; font-size: 13px; }
.prompt {
    font-size: 13.5px;
    color: var(--muted);
    margin: -2px 0 8px;
    line-height: 1.5;
}

input[type=text], input[type=email], input[type=tel], textarea {
    width: 100%;
    font: inherit;
    font-size: 15px;
    color: var(--ink-2);
    padding: 10px 12px;
    background: var(--surface);
    border: 1px solid var(--line-2);
    border-radius: 8px;
    transition: border-color .15s, box-shadow .15s;
    -webkit-appearance: none;
    appearance: none;
}
input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}
textarea { resize: vertical; min-height: 120px; line-height: 1.55; }

.counter {
    text-align: right;
    font-size: 12px;
    color: var(--muted);
    margin-top: 4px;
}
.counter.near { color: var(--danger); }

.file-input {
    border: 1px dashed var(--line-2);
    border-radius: 8px;
    padding: 14px 14px;
    background: var(--surface-2);
}
.file-input input[type=file] {
    width: 100%;
    font: inherit;
    font-size: 14px;
    color: var(--ink-2);
}
.file-hint {
    margin-top: 8px;
    font-size: 12px;
    color: var(--muted);
}

.field-error {
    color: var(--danger);
    font-size: 13px;
    margin-top: 6px;
}

.alert {
    margin: 16px 32px;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 14px;
}
.alert-error {
    background: var(--danger-bg);
    color: var(--danger);
    border: 1px solid #fecaca;
}
.alert ul { margin: 8px 0 0; padding-left: 20px; }
.alert li { margin: 2px 0; }

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

.actions {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}
.actions button, .btn-primary {
    appearance: none;
    background: var(--ink);
    color: #fff;
    border: 1px solid var(--ink);
    padding: 12px 22px;
    font: inherit;
    font-weight: 600;
    font-size: 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: background .15s, transform .05s;
}
.actions button:hover, .btn-primary:hover { background: #1e293b; }
.actions button:active { transform: translateY(1px); }
.actions button:disabled {
    background: var(--muted);
    border-color: var(--muted);
    cursor: progress;
}

.btn-secondary {
    display: inline-block;
    background: var(--surface);
    color: var(--ink);
    border: 1px solid var(--line-2);
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
}
.btn-secondary:hover { background: var(--surface-2); text-decoration: none; }

.site-footer {
    padding: 32px 0;
    border-top: 1px solid var(--line);
    background: var(--surface);
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

.hero.ty { text-align: center; padding: 80px 0 60px; }
.hero.ty .lede { margin-left: auto; margin-right: auto; }
.check-circle {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: #ecfdf5;
    color: var(--success);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

@media (max-width: 720px) {
    .row { grid-template-columns: 1fr; }
    .form-card-head, form { padding-left: 20px; padding-right: 20px; }
    .alert { margin-left: 20px; margin-right: 20px; }
    .hero { padding: 40px 0 28px; }
    .about { padding: 28px 0; }
    .brand-logo { height: 48px; }
    .header-inner { padding: 18px 0; }
}
