:root {
    --ink: #232240;
    --muted: #66687b;
    --primary: #0aac51;
    --primary-dark: #07833e;
    --mint: #e5f7ed;
    --paper: #ffffff;
    --line: #dfe3e6;
    --background: #f4f6f5;
    --error: #a92b2b;
    --shadow: 0 24px 70px rgba(35, 34, 64, 0.13);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background:
        radial-gradient(circle at 10% 10%, rgba(10, 172, 81, 0.17), transparent 32%),
        radial-gradient(circle at 85% 88%, rgba(35, 34, 64, 0.08), transparent 28%),
        linear-gradient(135deg, #f0f8f3 0%, #fbfbfc 58%, #eceef2 100%);
    font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.26;
    background-image: linear-gradient(rgba(35, 34, 64, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(35, 34, 64, 0.045) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.page-shell {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 52px 0;
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(520px, 1.18fr);
    gap: 72px;
    align-items: start;
}

.intro {
    position: sticky;
    top: 52px;
    padding: 42px 10px 42px 0;
}

.brand-logo {
    display: block;
    width: min(365px, 92%);
    height: auto;
    margin: 0 0 52px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.intro h1 {
    margin: 0;
    max-width: 520px;
    font-size: clamp(44px, 6vw, 76px);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.lead {
    max-width: 490px;
    margin: 28px 0 34px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.8;
}

.intro-note {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.intro-note span {
    padding: 9px 13px;
    border: 1px solid rgba(10, 172, 81, 0.22);
    border-radius: 999px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.58);
    font-size: 12px;
    font-weight: 700;
}

.form-panel {
    padding: 46px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.93);
    box-shadow: var(--shadow);
    backdrop-filter: blur(15px);
}

.form-heading { margin-bottom: 32px; }
.form-heading h2, .success-card h2 { margin: 0 0 10px; font-size: 30px; letter-spacing: -0.035em; }
.form-heading > p:last-child, .success-card > p { margin: 0; color: var(--muted); line-height: 1.7; }

.field-grid { display: grid; gap: 18px; }
.two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.field {
    display: grid;
    gap: 9px;
    margin-bottom: 20px;
}

.field > span, .field-card legend {
    color: #29403f;
    font-size: 13px;
    font-weight: 700;
}

b { color: var(--primary); }

input, select {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    outline: none;
    color: var(--ink);
    background: #fbfdfc;
    font: inherit;
    font-size: 14px;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

input:focus, select:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(10, 172, 81, 0.12);
}

.field-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 22px;
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 15px;
}

.field-card legend { padding: 0 7px; }

.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.choice span {
    display: block;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--muted);
    background: #fbfdfc;
    font-size: 13px;
    font-weight: 600;
}
.choice input:checked + span { border-color: var(--primary); color: var(--primary-dark); background: var(--mint); }
.choice input:focus-visible + span { box-shadow: 0 0 0 4px rgba(10, 172, 81, 0.12); }

.upload-field {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 4px 0 24px;
    padding: 17px;
    border: 1px dashed rgba(10, 172, 81, 0.58);
    border-radius: 15px;
    background: rgba(229, 247, 237, 0.62);
    cursor: pointer;
}

.upload-icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: white;
    background: var(--primary);
    font-size: 23px;
}

.upload-copy { display: grid; gap: 3px; flex: 1; }
.upload-copy strong { font-size: 13px; }
.upload-copy small { color: var(--muted); font-size: 11px; }
.upload-field input { width: min(210px, 42%); min-height: auto; padding: 9px; background: white; font-size: 11px; }

.submit-button, .secondary-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 54px;
    border: 0;
    border-radius: 14px;
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 12px 24px rgba(10, 172, 81, 0.22);
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.submit-button:hover, .secondary-button:hover { filter: brightness(1.05); transform: translateY(-1px); }
.submit-button span { font-size: 20px; }

.privacy-note { margin: 13px 0 0; color: #81908f; text-align: center; font-size: 11px; }
.alert { margin-bottom: 22px; padding: 13px 15px; border: 1px solid #efcaca; border-radius: 12px; color: var(--error); background: #fff4f4; font-size: 13px; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.success-card { padding: 70px 24px; text-align: center; }
.success-icon { width: 66px; height: 66px; display: grid; place-items: center; margin: 0 auto 28px; border-radius: 50%; color: white; background: var(--primary); font-size: 32px; font-weight: 800; }
.success-card .secondary-button { width: fit-content; margin: 28px auto 0; padding: 0 24px; }

@media (max-width: 900px) {
    .page-shell { grid-template-columns: 1fr; gap: 24px; padding: 30px 0; }
    .intro { position: static; padding: 20px 6px; }
    .intro h1 { max-width: 680px; font-size: clamp(42px, 11vw, 66px); }
    .lead { margin-bottom: 22px; }
}

@media (max-width: 620px) {
    .page-shell { width: min(100% - 20px, 560px); padding: 12px 0 28px; }
    .intro { padding: 20px 10px 10px; }
    .brand-logo { width: min(300px, 88%); margin-bottom: 34px; }
    .form-panel { padding: 28px 19px; border-radius: 21px; }
    .form-heading h2, .success-card h2 { font-size: 25px; }
    .two-columns, .field-card { grid-template-columns: 1fr; }
    .upload-field { align-items: flex-start; flex-wrap: wrap; }
    .upload-field input { width: 100%; }
}
