:root {
    --primary: #2563eb;
    --dark: #0f172a;
    --muted: #64748b;
    --bg: #f8fafc;
    --radius: 14px;
    --error: #ef4444;
    --success: #22c55e;
}

/* ---------- RESET ---------- */
* {
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--dark);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ---------- LAYOUT ---------- */
.container {
    max-width: 1100px;
    margin: auto;
    padding: 4rem 1.5rem;
}

h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.2;
}

h2 {
    margin-top: 0;
}

p {
    color: var(--muted);
}

/* ---------- HERO ---------- */
.hero {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #fff;
    text-align: center;
}

.hero p {
    color: #cbd5f5;
    max-width: 700px;
    margin: auto;
}

.back-link {
    display: inline-block;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.back-link:hover {
    opacity: 1;
    text-decoration: underline;
}

/* ---------- GRID ---------- */
.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 900px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- FORM ---------- */
form {
    background: #fff;
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .08);
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: .3rem;
}

input,
textarea,
select {
    width: 100%;
    padding: .75rem .9rem;
    margin-bottom: 1.2rem;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    font-size: .95rem;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
}

button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: .85rem 1.4rem;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

button:hover {
    opacity: 0.9;
}

/* ---------- TRUST LIST ---------- */
ul {
    padding-left: 1.2rem;
}

li {
    margin-bottom: .6rem;
}

/* ---------- SUCCESS MESSAGE ---------- */
.success {
    display: none;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    background: #ecfeff;
    color: #0369a1;
    border: 1px solid #67e8f9;
}

/* ---------- FOOTER ---------- */
footer {
    text-align: center;
    padding: 2rem;
    font-size: .85rem;
    color: var(--muted);
}

.form-message {
    display: none;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    font-size: .95rem;
}

.form-message.success {
    background: #ecfeff;
    color: #0369a1;
    border: 1px solid #67e8f9;
}

.form-message.error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.error-text {
    color: var(--error);
    font-size: .85rem;
    min-height: 1.2em;
    margin-bottom: .8rem;
}