/* ── Base ── */
body            { margin: 0; font-family: "azo-sans-web", sans-serif; background-color: rgba(0, 0, 0, 0.03); }
.container      { max-width: 780px; padding: 20px 50px; margin: 0 auto; background-color: #fff; }
h1              { margin: 25px 0 10px; font-size: 28px; font-weight: 300; }
p               { margin: 20px 0; font-size: 18px; font-weight: 300; line-height: 155%; }
a               { color: #180ea5; text-decoration: none; border-bottom: 1px solid rgba(24, 14, 165, 0.5); }

/* ── Home ── */
body.home h1            { margin-bottom: 30px; }
body.home h2            { margin: 30px 0 20px; font-size: 22px; font-weight: 400; }
body.home ul            { margin: 35px 0; list-style: none; padding-left: 0; }
body.home li            { margin: 16px 0; font-size: 17px; font-weight: 300; line-height: 145%; display: flex; align-items: center; gap: 16px; }
body.home li img        { width: 80px; height: 80px; object-fit: contain; flex-shrink: 0; border: 1px solid rgba(0, 0, 0, 0.12); border-radius: 8px; padding: 6px; box-sizing: border-box; }
body.home li span       { margin-left: 2px; color: rgba(0, 0, 0, 0.45); font-size: 15px; }
.legal                  { max-width: 660px; margin: 10px 0; padding: 25px 0; color: #999; font-size: 13px; }
.legal a                { color: #777; border-bottom: 1px solid #999; }
.apply-btn              { display: inline-block; margin: 8px 0 24px; background: #180ea5; color: #fff; text-decoration: none; border: none; border-bottom: none; padding: 14px 32px; font-family: "azo-sans-web", sans-serif; font-size: 17px; font-weight: 400; border-radius: 4px; transition: background 0.15s; }
.apply-btn:hover        { background: #0f0980; color: #fff; border-bottom: none; }

/* ── Apply & Thankyou ── */
body.apply .container,
body.thankyou .container { padding-bottom: 60px; }

/* ── Apply ── */
body.apply h2           { margin: 40px 0 16px; font-size: 20px; font-weight: 400; border-bottom: 1px solid rgba(0,0,0,0.1); padding-bottom: 8px; }
body.apply p            { margin: 14px 0; font-size: 17px; }
.back                   { display: inline-block; margin: 20px 0 0; font-size: 15px; color: #180ea5; border-bottom: 1px solid rgba(24,14,165,0.5); }
.field                  { margin: 0 0 22px; }
label                   { display: block; font-size: 15px; font-weight: 400; margin-bottom: 6px; color: rgba(0,0,0,0.75); }
label .req              { color: #c00; margin-left: 2px; }
input[type=text],
input[type=email],
input[type=tel],
input[type=number],
textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(0,0,0,0.25);
    border-radius: 4px;
    padding: 10px 12px;
    font-family: "azo-sans-web", sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: #111;
    background: #fafafa;
    transition: border-color 0.15s;
}
input:focus, textarea:focus { outline: none; border-color: #180ea5; background: #fff; }
.select-wrap            { position: relative; display: block; width: 100%; box-sizing: border-box; border: 1px solid rgba(0,0,0,0.25); border-radius: 4px; background: #fafafa; transition: border-color 0.15s; }
.select-wrap:focus-within { border-color: #180ea5; background: #fff; }
.select-wrap::after     { content: ''; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid #666; pointer-events: none; }
.select-wrap select     { width: 100%; height: 100%; border: none; border-radius: 4px; background: transparent; appearance: none; -webkit-appearance: none; padding: 10px 36px 10px 12px; font-family: "azo-sans-web", sans-serif; font-size: 16px; font-weight: 300; color: #111; cursor: pointer; outline: none; }
textarea                { resize: vertical; min-height: 120px; line-height: 1.5; }
.hint                   { font-size: 13px; color: #888; margin-top: 5px; }
.row                    { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 22px; }
.row > .field           { margin-bottom: 0; }
.row-3                  { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; margin-bottom: 22px; }
.row-3 > .field         { margin-bottom: 0; }
.eligibility            { background: rgba(24,14,165,0.05); border-left: 3px solid #180ea5; padding: 14px 18px; margin: 20px 0 30px; font-size: 15px; line-height: 1.6; color: rgba(0,0,0,0.7); }
.eligibility strong     { color: #180ea5; }
.submit-btn             { display: inline-block; margin-top: 10px; background: #180ea5; color: #fff; border: none; padding: 14px 36px; font-family: "azo-sans-web", sans-serif; font-size: 17px; font-weight: 400; border-radius: 4px; cursor: pointer; transition: background 0.15s; }
.submit-btn:hover       { background: #0f0980; }
.error-box              { background: #fff0f0; border: 1px solid #f5c0c0; border-radius: 4px; padding: 14px 18px; margin: 0 0 24px; font-size: 15px; color: #900; }
.error-box ul           { margin: 6px 0 0; padding-left: 18px; }
.word-count.over        { color: #c00; }

/* ── Thankyou ── */
.tick                   { font-size: 48px; margin: 30px 0 10px; display: block; }

/* ── Mobile ── */
@media (max-width: 600px) {
    .container          { padding: 16px 20px 40px; }
    .row, .row-3        { grid-template-columns: 1fr; }
    body.home li img    { width: 60px; height: 60px; }
}
