.course-home{
  --home-green:#26382f;
  --home-sage:#40513d;
  --home-clay:#a85f40;
  --home-clay-dark:#8e4d33;
  --home-ink:#302a24;
  --home-muted:#675d52;
  --home-paper:#fffdf8;
  --home-cream:#f8f3ea;
  --home-sand:#efe6d7;
  --home-gold:#d8c58b;
  background:var(--home-cream);
  color:var(--home-ink);
}

.course-home .skip-link{position:fixed;z-index:200;top:12px;left:12px;padding:12px 16px;border-radius:4px;background:var(--home-green);color:#fff;transform:translateY(-150%);transition:transform .2s ease}
.course-home .skip-link:focus{transform:translateY(0)}
.course-home :focus-visible{outline:3px solid #d38b68;outline-offset:4px}
.course-home .btn{min-height:48px;border-radius:5px;justify-content:center}
.course-home .btn-primary{background:var(--home-clay);box-shadow:none}
.course-home .btn-primary:hover{background:var(--home-clay-dark)}
.course-home .btn-ghost{border-color:rgba(38,56,47,.36);background:rgba(255,253,248,.38)}
.course-home .btn-cream{border-color:rgba(255,255,255,.35);background:transparent;color:#fff}
.course-home .btn-cream:hover{border-color:#fff;background:rgba(255,255,255,.1);color:#fff}
.course-home .btn-light{border:1px solid rgba(255,255,255,.5);background:#fff;color:var(--home-green)}
.course-home .btn-light:hover{background:var(--home-cream);color:var(--home-green)}
.course-home header{background:rgba(248,243,234,.95);backdrop-filter:blur(14px)}
.home-nav{height:78px}
.home-nav .logo{font-size:26px}
.home-nav .nav-links{gap:24px}
.home-nav .nav-links>a{display:flex;min-height:44px;align-items:center}

.home-hero{position:relative;overflow:hidden;background:radial-gradient(circle at 86% 12%,rgba(183,197,169,.4),transparent 30%),linear-gradient(140deg,#fbf7ef 0%,#f4ecdf 62%,#e7ede0 100%)}
.home-hero::before{content:"";position:absolute;width:560px;height:560px;right:-260px;bottom:-280px;border:1px solid rgba(38,56,47,.16);border-radius:50%}
.home-hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(390px,.92fr);gap:clamp(54px,7vw,108px);align-items:center;min-height:700px;padding-top:76px;padding-bottom:82px}
.home-hero-copy{max-width:710px}
.home-hero h1{max-width:12ch;margin:23px 0 26px;font-size:clamp(58px,6.1vw,84px);line-height:.94;letter-spacing:-.036em;color:var(--home-green)}
.home-hero h1 em{display:block;margin-top:11px;color:var(--home-clay);font-weight:500}
.home-lead{max-width:64ch;margin:0 0 30px;font-size:18px;line-height:1.72;color:var(--home-muted)}
.home-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:20px}
.home-status{display:flex;align-items:flex-start;gap:10px;max-width:650px;margin:0;color:var(--home-muted);font-size:13px;line-height:1.55}
.home-status>span{flex:none;width:8px;height:8px;margin-top:6px;border-radius:50%;background:#879879}

.home-program-stack{position:relative;width:min(100%,510px);min-height:500px;justify-self:end}
.program-card{position:absolute;display:block;border:1px solid rgba(38,56,47,.17);background:var(--home-paper);color:var(--home-green);box-shadow:0 42px 85px -58px rgba(38,56,47,.78)}
.program-card-back{width:270px;height:330px;padding:27px;border-radius:10px;font-family:'Cormorant Garamond',Georgia,serif}
.program-card-back span{display:block;margin-bottom:12px;font-family:'Mulish',sans-serif;font-size:10px;font-weight:800;letter-spacing:.13em;text-transform:uppercase;color:var(--home-clay)}
.program-card-back strong{font-size:30px;line-height:1}
.program-card-left{left:0;top:63px;transform:rotate(-8deg);background:#e9decf}
.program-card-right{right:28px;top:28px;transform:rotate(6deg);background:#dfe7d7}
.program-card-main{z-index:2;left:50%;top:72px;width:330px;min-height:390px;padding:34px;transform:translateX(-50%);border-color:rgba(255,255,255,.22);border-radius:12px;background:var(--home-green);color:#fff;text-decoration:none}
.program-card-main::after{content:"";position:absolute;inset:13px;border:1px solid rgba(255,255,255,.12);border-radius:7px;pointer-events:none}
.program-card-main>*{position:relative;z-index:1}
.program-card-label{display:block;margin-bottom:35px;font-size:10px;font-weight:800;letter-spacing:.15em;text-transform:uppercase;color:var(--home-gold)}
.program-card-main>strong{display:block;max-width:8ch;font-family:'Cormorant Garamond',Georgia,serif;font-size:48px;font-weight:500;line-height:.93;color:#fff}
.program-card-main>p{margin:23px 0;font-size:14px;line-height:1.65;color:rgba(255,255,255,.76)}
.program-card-main>div{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:30px}
.program-card-main>div span{padding:6px 9px;border:1px solid rgba(255,255,255,.2);border-radius:999px;font-size:10px;color:rgba(255,255,255,.83)}
.program-card-main>b{font-size:13px;color:#fff;text-decoration:underline;text-underline-offset:5px;text-decoration-color:rgba(255,255,255,.42)}

.home-facts{background:var(--home-green);color:#fff}
.home-facts-grid{display:grid;grid-template-columns:repeat(4,1fr);padding-top:24px;padding-bottom:24px}
.home-facts-grid div{padding:4px 26px;border-left:1px solid rgba(255,255,255,.16);text-align:center}
.home-facts-grid div:first-child{border-left:0}
.home-facts-grid b{display:block;font-family:'Cormorant Garamond',Georgia,serif;font-size:35px;font-weight:500;line-height:1;color:#fff}
.home-facts-grid span{display:block;max-width:20ch;margin:7px auto 0;font-size:12px;line-height:1.4;color:rgba(255,255,255,.72)}

.home-courses{background:var(--home-paper)}
.course-heading{max-width:850px;margin-bottom:48px}
.course-heading h2,.topic-heading h2,.test-match-copy h2,.process-heading h2,.author-copy h2,.faq-heading h2{margin:12px 0 18px;font-size:clamp(43px,5vw,61px);line-height:1.03;color:var(--home-green)}
.course-heading p,.process-heading p,.author-copy p,.faq-heading p{max-width:66ch;font-size:17px;line-height:1.75;color:var(--home-muted)}
.featured-courses{display:grid;grid-template-columns:1.12fr .88fr;gap:24px}
.featured-course{position:relative;display:flex;min-height:580px;flex-direction:column;align-items:flex-start;overflow:hidden;padding:45px;border-radius:10px}
.featured-course::after{content:"";position:absolute;width:310px;height:310px;right:-150px;bottom:-150px;border:1px solid currentColor;border-radius:50%;opacity:.13}
.featured-live{border:1px solid rgba(255,255,255,.18);background:var(--home-green);color:#fff}
.featured-flagship{border:1px solid rgba(38,56,47,.18);background:linear-gradient(145deg,#f2e9dc,#e4ebdc);color:var(--home-green)}
.featured-course-top{display:flex;width:100%;align-items:center;justify-content:space-between;gap:20px;margin-bottom:auto}
.featured-index{font-family:'Cormorant Garamond',Georgia,serif;font-size:30px;opacity:.4}
.featured-course>.eyebrow{margin-top:65px}
.featured-live>.eyebrow{color:var(--home-gold)}
.featured-course h3{max-width:11ch;margin:12px 0 16px;font-size:clamp(42px,4vw,57px);line-height:.98;color:inherit}
.featured-course>p{max-width:54ch;font-size:16px;line-height:1.7;color:var(--home-muted)}
.featured-live>p{color:rgba(255,255,255,.77)}
.featured-course ul{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0 31px;padding:0;list-style:none}
.featured-course li{padding:7px 10px;border:1px solid rgba(38,56,47,.18);border-radius:999px;font-size:11px}
.featured-live li{border-color:rgba(255,255,255,.2);color:rgba(255,255,255,.83)}
.featured-course .btn{position:relative;z-index:2;margin-top:auto}
.featured-actions{position:relative;z-index:2;display:flex;flex-wrap:wrap;gap:11px;margin-top:auto}

.topic-heading{display:grid;grid-template-columns:.65fr 1.35fr;gap:30px;align-items:end;margin:92px 0 30px;padding-top:45px;border-top:1px solid rgba(38,56,47,.17)}
.topic-heading h2{margin:0;font-size:clamp(38px,4.7vw,55px)}
.topic-course-grid{display:grid;grid-template-columns:repeat(2,1fr);border-top:1px solid rgba(38,56,47,.18);border-left:1px solid rgba(38,56,47,.18)}
.topic-course{position:relative;min-height:330px;padding:37px;border-right:1px solid rgba(38,56,47,.18);border-bottom:1px solid rgba(38,56,47,.18);background:var(--home-paper);color:var(--home-green);text-decoration:none;transition:background-color .2s,color .2s ease}
.topic-course:hover,.topic-course:focus-visible{background:var(--home-green);color:#fff}
.topic-number{position:absolute;right:28px;top:25px;font-family:'Cormorant Garamond',Georgia,serif;font-size:30px;opacity:.34}
.topic-meta{display:block;max-width:70%;margin-bottom:36px;font-size:10px;font-weight:800;letter-spacing:.13em;text-transform:uppercase;color:var(--home-clay)}
.topic-course:hover .topic-meta,.topic-course:focus-visible .topic-meta{color:var(--home-gold)}
.topic-course h3{max-width:12ch;margin-bottom:14px;font-size:34px;line-height:1;color:inherit}
.topic-course p{max-width:48ch;margin-bottom:30px;font-size:14px;line-height:1.7;color:var(--home-muted)}
.topic-course:hover p,.topic-course:focus-visible p{color:rgba(255,255,255,.76)}
.topic-course b{position:absolute;left:37px;bottom:33px;font-size:13px;text-decoration:underline;text-underline-offset:5px;text-decoration-color:rgba(168,95,64,.4)}
.all-courses-link{display:flex;justify-content:center;margin-top:34px}

.home-test-match{background:var(--home-sand)}
.test-match-panel{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(55px,8vw,115px);align-items:center;padding-top:68px;padding-bottom:68px;padding-inline:68px;border-radius:10px;background:var(--home-green);color:#fff}
.test-match-copy .eyebrow{color:var(--home-gold)}
.test-match-copy h2{max-width:10ch;color:#fff}
.test-match-copy>p{max-width:58ch;font-size:16px;line-height:1.75;color:rgba(255,255,255,.77)}
.test-topic-list{display:flex;flex-wrap:wrap;gap:8px;margin:25px 0 31px}
.test-topic-list span{padding:7px 10px;border:1px solid rgba(255,255,255,.19);border-radius:999px;font-size:11px;color:rgba(255,255,255,.85)}
.test-preview{padding:33px;border:1px solid rgba(38,56,47,.17);border-radius:9px;background:var(--home-paper);color:var(--home-ink);box-shadow:0 40px 70px -54px #000;transform:rotate(1deg)}
.test-preview-top{display:flex;justify-content:space-between;gap:20px;padding-bottom:18px;border-bottom:1px solid rgba(38,56,47,.15);font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--home-clay)}
.test-preview>p{margin:25px 0 18px;font-family:'Cormorant Garamond',Georgia,serif;font-size:31px;line-height:1.05;color:var(--home-green)}
.test-preview-option{display:flex;align-items:center;gap:12px;margin-top:10px;padding:13px;border:1px solid rgba(38,56,47,.15);border-radius:6px;font-size:13px;color:var(--home-muted)}
.test-preview-option i{width:13px;height:13px;border:1px solid rgba(38,56,47,.4);border-radius:50%}
.test-preview-option.active{border-color:var(--home-clay);background:#f4e8de;color:var(--home-green)}
.test-preview-option.active i{border:4px solid var(--home-clay)}
.test-preview small{display:block;margin-top:20px;color:var(--home-muted)}

.home-process{background:var(--home-paper)}
.process-heading{max-width:790px;margin:0 auto 48px;text-align:center}
.learning-steps{display:grid;grid-template-columns:repeat(3,1fr);margin:0;padding:0;border-top:1px solid rgba(38,56,47,.18);border-left:1px solid rgba(38,56,47,.18);list-style:none}
.learning-steps li{min-height:300px;padding:36px;border-right:1px solid rgba(38,56,47,.18);border-bottom:1px solid rgba(38,56,47,.18)}
.learning-steps li>span{font-family:'Cormorant Garamond',Georgia,serif;font-size:31px;color:var(--home-clay)}
.learning-steps h3{margin:42px 0 12px;font-size:33px;color:var(--home-green)}
.learning-steps p{font-size:14px;line-height:1.72;color:var(--home-muted)}

.home-author{background:#f3ecdf}
.author-grid{display:grid;grid-template-columns:.78fr 1.22fr;gap:clamp(54px,8vw,110px);align-items:center;max-width:1040px}
.author-image{display:flex;aspect-ratio:4/5;max-width:380px;align-items:flex-end;justify-content:center;overflow:hidden;padding:34px 24px 0;border:1px solid rgba(38,56,47,.12);border-radius:46% 46% 12px 12px;background:radial-gradient(circle at 50% 20%,#edf2e7 0,#dfe6d5 68%,#d6dfcd 100%);box-shadow:0 30px 70px -55px rgba(38,56,47,.8)}
.author-image img{display:block;width:100%;height:auto;max-height:100%;aspect-ratio:auto;object-fit:contain;object-position:center bottom}
.author-copy p{margin-bottom:18px}
.course-home .text-link{display:inline-flex;gap:8px;color:var(--home-clay);font-weight:800;text-decoration:underline;text-underline-offset:5px;text-decoration-color:rgba(168,95,64,.35)}

.home-faq{background:var(--home-paper)}
.faq-grid{display:grid;grid-template-columns:.72fr 1.28fr;gap:clamp(54px,8vw,110px);align-items:start}
.faq-heading{position:sticky;top:118px}
.course-home .faq-list details{border-color:rgba(48,42,36,.18);background:transparent;border-radius:0}
.course-home .faq-list summary{padding:22px 0;font-size:18px}
.course-home .faq-list details p{padding:0 36px 22px 0;color:var(--home-muted)}

.home-personal{border-top:1px solid rgba(38,56,47,.14);border-bottom:1px solid rgba(38,56,47,.14);background:#f3ecdf}
.home-personal-inner{display:flex;align-items:center;justify-content:space-between;gap:40px;padding-top:27px;padding-bottom:27px}
.home-personal p{max-width:820px;font-size:14px;line-height:1.65;color:var(--home-muted)}
.home-personal strong{color:var(--home-green)}
.home-personal a{display:flex;min-height:44px;flex:none;align-items:center;font-size:13px;font-weight:800;color:var(--home-clay);text-decoration:underline;text-underline-offset:5px}

.home-final{background:var(--home-green)}
.home-final-panel{display:grid;grid-template-columns:1fr auto;gap:50px;align-items:center}
.home-final .eyebrow{color:var(--home-gold)}
.home-final h2{max-width:760px;margin:9px 0 12px;font-size:clamp(43px,5vw,61px);color:#fff}
.home-final p{max-width:64ch;color:rgba(255,255,255,.76)}
.home-final-actions{display:grid;gap:14px;text-align:center}
.home-final-actions a:not(.btn){display:flex;min-height:44px;align-items:center;justify-content:center;font-size:13px;font-weight:700;color:rgba(255,255,255,.78);text-decoration:underline;text-underline-offset:4px}

.course-home footer{background:#1e2d26}
.course-home footer .logo{color:#fff}
.course-home .preview-dialog{border-radius:8px}

@media(max-width:1050px){
  .home-nav .nav-links{gap:16px}.home-nav .nav-links a{font-size:13px}.home-nav .nav-cta .btn{padding-inline:18px}
  .home-hero-grid{grid-template-columns:minmax(0,1fr) minmax(350px,.8fr);gap:45px}
}

@media(max-width:940px){
  .home-nav .burger{order:3}.home-nav .nav-cta{margin-left:auto;margin-right:12px}
  .home-hero-grid,.test-match-panel,.author-grid,.faq-grid{grid-template-columns:minmax(0,1fr);min-width:0}
  .home-hero-grid>* ,.test-match-panel>* ,.author-grid>* ,.faq-grid>*{min-width:0}
  .home-hero-grid{min-height:auto;gap:40px}.home-hero h1{max-width:13ch}
  .home-program-stack{justify-self:center;width:min(100%,510px)}
  .test-match-panel{gap:45px}.test-preview{max-width:530px;transform:none}
  .author-image{justify-self:center}.faq-heading{position:static}
  .home-final-panel{grid-template-columns:1fr}.home-final-actions{justify-self:start}
}

@media(max-width:720px){
  .course-home .section{padding:72px 0}.home-nav{height:70px}.home-nav .nav-cta{display:none}
  .home-hero-grid{padding-top:49px;padding-bottom:52px}.home-hero h1{font-size:clamp(43px,13vw,59px);line-height:.96;margin:20px 0}.home-lead{font-size:16px;line-height:1.67}
  .home-hero-actions{display:grid}.home-hero-actions .btn{width:100%}
  .home-program-stack{min-height:425px}.program-card-back{width:210px;height:280px;padding:20px}.program-card-left{left:8px}.program-card-right{right:8px}.program-card-main{top:55px;width:min(82vw,310px);min-height:345px;padding:29px}.program-card-main>strong{font-size:42px}.program-card-label{margin-bottom:27px}
  .home-facts-grid{grid-template-columns:repeat(2,1fr);padding-top:12px;padding-bottom:12px}.home-facts-grid div{padding:14px 10px;border-left:0;border-top:1px solid rgba(255,255,255,.13)}.home-facts-grid div:first-child,.home-facts-grid div:nth-child(2){border-top:0}
  .course-heading h2,.topic-heading h2,.test-match-copy h2,.process-heading h2,.author-copy h2,.faq-heading h2,.home-final h2{font-size:38px}
  .featured-courses{grid-template-columns:1fr}.featured-course{min-height:540px;padding:31px 24px}.featured-course>.eyebrow{margin-top:52px}.featured-course h3{font-size:42px}.featured-actions{display:grid;width:100%}.featured-actions .btn,.featured-course>.btn{width:100%}
  .topic-heading{grid-template-columns:1fr;margin-top:73px}.topic-course-grid{grid-template-columns:1fr}.topic-course{min-height:315px;padding:31px 24px}.topic-course b{left:24px;bottom:29px}
  .test-match-panel{margin-inline:16px;padding:37px 23px}.test-match-copy .btn{width:100%;white-space:normal}.test-preview{padding:25px 20px}.test-preview>p{font-size:28px}
  .learning-steps{grid-template-columns:1fr}.learning-steps li{min-height:auto;padding:30px 24px}.learning-steps h3{margin-top:24px}
  .author-grid{gap:42px}.author-image{max-width:310px}
  .home-personal-inner{align-items:flex-start;flex-direction:column;gap:10px}.home-personal a{min-height:44px;display:flex;align-items:center}
  .home-final-actions,.home-final-actions .btn{width:100%}
}

@media(max-width:380px){
  .course-heading h2,.topic-heading h2,.test-match-copy h2,.process-heading h2,.author-copy h2,.faq-heading h2,.home-final h2{font-size:34px;overflow-wrap:anywhere}
  .program-card-main{width:min(86vw,295px)}
}

@media(prefers-reduced-motion:reduce){.course-home *{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
@media print{.course-home header,.course-home dialog{display:none!important}}
