/* Course landing: readable forms and the same restrained jade palette. */
.course-page{font-size:18px}
.course-page a{color:inherit;text-underline-offset:4px;text-decoration-thickness:1px}
.course-page .btn{border-radius:12px;letter-spacing:.04em}
.course-page .hero .btn--buy{background:#e9efdf;border-color:#e9efdf;color:#173d30}
.course-page .player{border-radius:20px}
.course-page .player .cap{position:static;background:#1c2420;padding:16px 22px;font-size:15px}
.course-page .player .cap a{color:#e9efdf}
.course-page .modules{margin-top:36px;border-top:1px solid var(--line)}
.course-page .mod li a{display:block;color:#285d4c;text-decoration:none;padding:4px 0}
.course-page .mod li a:hover{text-decoration:underline}
.course-page .mod li::before{background:#285d4c}
.course-page .tariffs .card{border-radius:22px;background:#fffcf6;padding:32px;gap:0}
.course-page .tariffs .card:last-child{background:#eaf0e7;border-color:#a3b69f}
.course-page .tariffs .card .btn{margin-top:auto;text-align:center;background:#285d4c;color:#fff;border-color:#285d4c}
.course-page .tariffs .card .btn:hover{background:#1c4638}
.course-page .tariffs .num{font-size:44px;margin:10px 0 18px}
.course-page .price{align-items:start}
.course-page #zapis{background:#e9ede4;color:#202523;--muted:#5c665a}
.course-page .enroll-grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(24px,6vw,76px);align-items:start}
.course-page .enroll-intro{padding-top:20px}
.course-page .enroll-intro .lede{font-size:18px}
.course-page .form{margin:0;padding:clamp(22px,3vw,38px);border:1px solid #ccd5c6;border-radius:24px;background:#fffcf7;box-shadow:0 16px 45px #1a33240a;max-width:none;gap:20px}
.course-page .form label{font-size:14px;letter-spacing:0;text-transform:none;color:#344539;font-weight:600}
.course-page .form input:not([type=checkbox]),.course-page .form textarea,.course-page .form select{width:100%;min-width:0;border:1px solid #c7cec2;border-radius:12px;padding:13px 14px;background:#fff;color:#202523;font-size:16px;line-height:1.5;color-scheme:light}
.course-page .form option{color:#202523;background:#fff}
.course-page .form input:focus-visible,.course-page .form textarea:focus-visible,.course-page .form select:focus-visible{outline:2px solid #497a62;outline-offset:3px}
.course-page .form textarea{min-height:92px}
.course-page .form .consent{font-size:14px;color:#586052;gap:12px}
.course-page .form .consent label{font:400 14px/1.5 var(--f-body);color:#586052}
.course-page .form .consent input{accent-color:#285d4c;width:19px;height:19px}
.course-page .form .consent a{color:#285d4c;text-decoration-color:#8aa18d}
.course-page .form button[type=submit]{width:100%;background:#285d4c;color:white;border-color:#285d4c;padding:16px}
.course-page .form-status{color:#344539}
.course-page .form-status[data-kind=err]{color:#982f26}
.course-page .form-done{border-radius:20px;background:#fffdf7;margin:0}
.course-page .faq-layout{display:grid;grid-template-columns:minmax(220px,.7fr) minmax(0,1.3fr);gap:clamp(24px,5vw,70px);align-items:start}
.course-page .faq{margin:0;border:0}
.course-page .qa{border:1px solid var(--line);border-radius:16px;background:#fffcf7;margin-bottom:12px;padding:0 22px}
.course-page .qa summary{display:block;padding:22px 30px 22px 0;font-size:17px}
.course-page .qa p{font-size:17px;margin:0 0 24px}
.course-page .qa summary::before{right:6px}
.course-page .qa summary::after{right:0}
.course-page .free-course-note{font-size:15px;line-height:1.5;color:#5c665a}
@media(max-width:800px){.course-page .enroll-grid,.course-page .faq-layout{grid-template-columns:1fr;gap:24px}.course-page .enroll-intro{padding:0}.course-page .form{padding:22px}.course-page .tariffs .card{padding:24px}.course-page .mod summary{grid-template-columns:32px minmax(0,1fr)}.course-page .mod-n{grid-column:2}}
@media(max-width:520px){.course-page .form{grid-template-columns:1fr}.course-page .form .field{grid-column:1}.course-page .qa{padding:0 17px}.course-page .tariffs .num{font-size:38px}.course-page .player .cap{font-size:14px}.course-page .section{padding:48px 20px}}

.course-page .program-lesson-title{display:block;color:#202523;padding:4px 0}.course-page .program-lesson-goal{display:block;color:#687065;font-size:14px;line-height:1.5;margin-top:3px;max-width:70ch}
.course-page .free-lesson-preview{display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%;text-align:left;font:inherit;background:none;border:0;padding:6px 0;color:#285d4c;cursor:pointer}.free-lesson-preview small{font-size:13px;white-space:nowrap}.free-lesson-preview:hover span{text-decoration:underline;text-underline-offset:4px}
.free-lesson-dialog{box-sizing:border-box;width:min(1000px,calc(100% - 28px));max-height:calc(100dvh - 28px);overflow:auto;border:1px solid #d8d2c5;border-radius:22px;background:#f7f5ef;color:#202523;padding:24px;box-shadow:0 20px 90px #15271e33}.free-lesson-dialog::backdrop{background:#172820aa;backdrop-filter:blur(3px)}.free-lesson-dialog header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.free-lesson-dialog header p{font-size:12px;text-transform:uppercase;letter-spacing:.1em;color:#285d4c;margin:0 0 6px}.free-lesson-dialog h2{font-size:clamp(22px,3vw,30px);margin:0}.free-lesson-dialog header button{background:#fffdf8;border:1px solid #d8d2c5;border-radius:12px;padding:12px;color:#202523;cursor:pointer}.free-lesson-dialog video{display:block;width:100%;aspect-ratio:16/9;background:#191d1b;border-radius:12px}.free-lesson-dialog>p{font-size:16px;line-height:1.6}.free-lesson-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}.free-lesson-actions .btn--buy{background:#285d4c;color:white;border-color:#285d4c}
@media(max-width:600px){.course-page .free-lesson-preview{align-items:flex-start;flex-direction:column;gap:4px}.free-lesson-dialog{padding:16px}.free-lesson-actions{flex-direction:column}.free-lesson-actions .btn{text-align:center}}

.free-lessons-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:32px}.free-lesson-card{position:relative;display:block;isolation:isolate;aspect-ratio:1;overflow:hidden;padding:0;border:1px solid #d6d0c2;border-radius:20px;background:#203f35;color:#fff;cursor:pointer;text-align:left;font:inherit;box-shadow:0 8px 26px #1e38200b}.free-lesson-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .4s}.free-lesson-card::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#14282019 20%,#14282008 35%,#10251fe8 100%);z-index:0}.free-card-number{position:absolute;top:20px;left:22px;z-index:1;letter-spacing:.14em;font-size:12px;color:#f5f2e2}.free-card-play{position:absolute;right:20px;top:20px;z-index:1;display:grid;place-items:center;width:44px;height:44px;border:1px solid #f8f5e58a;border-radius:50%;background:#f9f6e51a;font-size:16px;padding-left:3px;backdrop-filter:blur(8px)}.free-card-copy{position:absolute;inset:auto 24px 24px;z-index:1;display:flex;flex-direction:column;gap:8px}.free-card-copy small{text-transform:uppercase;letter-spacing:.12em;font-size:10px;color:#d2dec7}.free-card-copy strong{font-family:var(--f-display);font-size:clamp(19px,2vw,25px);line-height:1.25;font-weight:500}.free-card-copy>span{font-size:13px;color:#e1e8d9}.free-lesson-card:hover img{transform:scale(1.035)}.free-lesson-card:focus-visible{outline:3px solid #a28248;outline-offset:5px}.program-purchase{margin-top:32px;padding:28px;border:1px solid var(--line);border-radius:18px;background:#eaf0e7;display:flex;align-items:center;gap:20px;flex-wrap:wrap}.program-purchase p{font-size:22px;margin:0}.program-purchase .btn{background:#285d4c;color:white;border-color:#285d4c}.program-purchase small{font-size:14px;color:#52634f}
@media(max-width:800px){.free-lessons-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.free-card-copy{inset:auto 18px 18px}.program-purchase{padding:20px}}
@media(max-width:520px){.free-lessons-grid{grid-template-columns:1fr;gap:18px}.free-lesson-card{max-width:420px;width:100%;margin:auto}.free-card-copy strong{font-size:25px}.program-purchase{align-items:stretch;flex-direction:column}.program-purchase .btn{text-align:center}}
@media(prefers-reduced-motion:reduce){.free-lesson-card img{transition:none}.free-lesson-card:hover img{transform:none}}

.course-winter{margin:0 auto 32px;width:min(1280px,calc(100% - 48px));display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:clamp(24px,5vw,70px);padding:clamp(24px,4vw,52px);box-sizing:border-box;border:1px solid #d4d9ca;border-radius:28px;background:#eaf0e7;color:#202d25}.course-winter .eyebrow{color:#48634d;font-size:12px}.course-winter h2{font-size:clamp(30px,4vw,48px);line-height:1.12;margin:16px 0 22px}.course-winter p:not(.eyebrow){font-size:17px;line-height:1.7;max-width:46ch}.course-winter .btn{background:#285d4c;border-color:#285d4c;color:#fff;margin:12px 0}.course-winter small{display:block;color:#52634f;font-size:13px;margin-top:8px}.course-winter img{width:100%;height:auto;border-radius:20px;display:block}
@media(max-width:700px){.course-winter{grid-template-columns:1fr;width:calc(100% - 32px);padding:24px;gap:24px}.course-winter img{max-height:250px;object-fit:cover}.course-winter h2{font-size:32px}}

/* Keep purchase actions beside the price, before the detailed syllabus. */
.course-page .hero{padding:36px var(--pad)}
.course-page .hero h1{font-size:clamp(36px,5vw,64px);margin-bottom:18px}
.course-page .hero .lede{font-size:19px;max-width:70ch}
.course-page .hero .facts{margin-top:24px;padding-top:18px}
.course-page #price{padding:42px var(--pad)}
.course-page #price h2{font-size:clamp(28px,3vw,40px)}
.course-page #price>.inner>.eyebrow{margin-bottom:14px}
.course-page #price>.inner>.lede{font-size:18px;max-width:none;margin-top:12px}
.course-page .tariffs{margin-top:26px;gap:22px}
.course-page .tariffs .card{padding:26px}
.course-page .tariffs .card>.eyebrow{margin:0 0 12px}
.course-page .tariffs .num{margin:0 0 12px}
.course-page .tariffs .card .sub{font-size:15px;margin:0 0 14px}
.course-page .tariffs .card .btn{margin:0 0 20px;min-height:52px;padding:16px 20px;font-size:14px;line-height:1.4;letter-spacing:.02em;display:flex;justify-content:center;align-items:center;animation:none;transform:none;box-shadow:none}
.course-page .tariffs .card .btn::after{display:none}
.course-page .tariffs .card ul{margin-bottom:18px}
.course-page .tariffs .card li{font-size:16px;padding-top:8px;padding-bottom:8px}
.course-page .tariffs .card li::before{top:17px;width:7px;height:7px}
@media(max-width:520px){.course-page .hero{padding:28px 20px}.course-page #price{padding:32px 20px}.course-page .tariffs .card{padding:22px}}
/* Gift purchase is a secondary action beside the two existing tariffs. */
.course-gift-buy{margin-top:10px}
