.lesson-page { padding-top: 146px; padding-bottom: 60px; }
[hidden] { display: none !important; }
.lesson-heading { padding: 10px 0 38px; border-bottom: 1px solid var(--line); margin-bottom: 42px; }
.lesson-heading .eyebrow { margin: 0 0 12px; }
.lesson-heading h1 { margin: 0; font-size: clamp(44px, 6vw, 68px); font-weight: 650; line-height: 1.1; letter-spacing: -.045em; color: var(--navy); }
.lesson-heading > p:last-child { color: var(--muted); font-size: 16px; margin: 20px 0 0; }
.lesson-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 60px; align-items: start; }
.lesson-aside { position: sticky; top: 122px; padding-top: 12px; }
.lesson-aside h2 { font-size: 25px; font-weight: 550; letter-spacing: -.035em; margin: 10px 0 16px; }
.lesson-aside p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.aside-note { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 16px; }
.aside-note p { font-size: 12px; margin: 5px 0; }
.lesson-aside .direct-contact { font-size: 12px; margin-top: 28px; }
.direct-contact a { text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.lesson-form { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 34px 38px; box-shadow: 0 16px 50px rgba(9,9,70,.04); }
.required-note { color: var(--muted); margin: 0 0 30px; font-size: 12px; }
.form-section { border: 0; padding: 0 0 30px; margin: 0 0 32px; border-bottom: 1px solid var(--line); min-width: 0; }
.form-section > legend { font-size: 18px; font-weight: 600; padding: 0; margin-bottom: 24px; letter-spacing: -.02em; }
.form-section > legend > span { color: var(--blue); font-size: 11px; margin-right: 12px; font-variant-numeric: tabular-nums; }
.field-grid { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr); gap: 22px; }
.full-width { grid-column: 1 / -1; }
.lesson-form label { font-size: 14px; }
.lesson-form input:not([type="checkbox"]):not([type="radio"]), .lesson-form textarea { display: block; width: 100%; border: 1px solid var(--line); border-radius: 9px; background: var(--white); color: var(--ink); padding: 12px 14px; margin-top: 8px; font-size: 16px; }
.lesson-form textarea { resize: vertical; min-height: 100px; line-height: 1.7; }
.lesson-form input::placeholder, .lesson-form textarea::placeholder { color: var(--muted); font-size: 14px; }
input:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.lesson-form small, .field-help { display: block; font-size: 12px; color: var(--muted); margin: 6px 0 0; line-height: 1.7; }
.form-section > .field-help { margin: -10px 0 18px; }
.form-section > label { display: block; margin-top: 23px; }
.choice-list { display: grid; gap: 10px; }
.lesson-form .choice { display: flex; gap: 12px; align-items: start; padding: 16px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; background: var(--white); }
.choice:hover { border-color: var(--blue); }
.choice:has(input:checked) { border-color: var(--blue); background: var(--wash); }
.choice strong { font-weight: 550; }
.choice input, .consent input { accent-color: var(--blue); width: 18px; height: 18px; flex-shrink: 0; margin: 3px 0 0; }
.choice small { margin-top: 4px; }
.method-field { padding: 0; margin: 0 0 22px; border: 0; min-width: 0; }
.method-field legend { font-size: 14px; margin-bottom: 12px; padding: 0; }
.method-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.optional { color: var(--muted); font-size: 12px; }
.privacy-note { font-size: 12px; color: var(--muted); margin: 0 0 14px; }
.lesson-form .consent { display: flex; align-items: start; gap: 10px; font-size: 13px; cursor: pointer; }
#lesson-submit { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 15px 20px; border: 0; border-radius: 10px; background: var(--blue); color: var(--white); margin-top: 26px; cursor: pointer; }
#lesson-submit:hover { background: var(--navy); }
#lesson-submit:disabled { background: #e1e5ef; color: var(--muted); cursor: not-allowed; }
.after-submit-note { font-size: 11px; text-align: center; color: var(--muted); margin: 14px 0 0; }
.form-notice, .submit-result { border: 1px solid var(--line); background: var(--wash); border-radius: 10px; padding: 16px 20px; font-size: 13px; white-space: pre-line; }
.form-notice { margin-bottom: 18px; }
.submit-result[data-error="true"] { color: #812e23; border-color: #b8877f; background: #fff2ec; }
.bot-field { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 900px) { .lesson-layout { grid-template-columns: 1fr; gap: 26px; } .lesson-aside { position: static; padding-top: 0; max-width: 620px; } .aside-note { margin-top: 16px; } .lesson-aside .direct-contact { margin-top: 16px; } }
@media (max-width: 640px) { .lesson-heading { margin-bottom: 26px; padding-bottom: 26px; } .lesson-form { padding: 25px 18px; border-radius: 16px; } .field-grid { grid-template-columns: 1fr; } .method-options { grid-template-columns: 1fr; } .lesson-form .choice { padding: 14px; } }
