/* Shared mobile hero composition across all illustrated pages. */
.hero .hero-inner>.breadcrumb{position:absolute;top:20px;left:0;right:0;z-index:3;margin:0;line-height:1.6}
@media(max-width:800px){
 .hero{position:relative;isolation:isolate;overflow:hidden}
 .hero .hero-inner{position:relative;z-index:2;min-height:540px;align-items:flex-end;padding-top:260px;padding-bottom:20px}
 .hero .hero-art{position:absolute;inset:0;width:100%;height:100%;opacity:1;object-fit:cover;object-position:70% top}
 .hero .hero-copy{position:relative;z-index:2;width:100%;max-width:100%;min-width:0;padding:18px;border:0;border-radius:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
 .hero:not(.dark-hero) .hero-copy{background:linear-gradient(180deg,#ffffff20,#ffffffa6);border:0;box-shadow:none}
 .hero.dark-hero .hero-copy{background:linear-gradient(180deg,#05071e15,#05071e78);border:0;box-shadow:none}
 .hero:not(.dark-hero):after{display:block;position:absolute;inset:0;content:'';z-index:1;pointer-events:none;background:linear-gradient(180deg,#f8f7ff08 0%,#f8f7ff05 35%,#f8f7ff55 63%,#f8f7ffb0 100%)}
 .hero.dark-hero:after{position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,#08072915 0%,#08072910 35%,#08072955 63%,#080729b8 100%)}
 .hero .hero-copy h1{font-size:clamp(30px,8vw,44px);line-height:1.2;font-weight:800;letter-spacing:0;margin:0 0 14px;overflow-wrap:anywhere}
 .hero .hero-copy h2{font-size:20px;line-height:1.5;margin:0 0 10px;max-width:100%}
 .hero .hero-copy .description{font-size:14px;line-height:1.75;margin:0;max-width:100%}
 .hero:not(.dark-hero) .hero-copy h1,.hero:not(.dark-hero) .hero-copy h2,.hero:not(.dark-hero) .hero-copy .description{color:#151057;text-shadow:0 1px 5px #ffffffb8}
 .hero.dark-hero .hero-copy h1,.hero.dark-hero .hero-copy h2{color:white;text-shadow:0 2px 8px #020516cc}
 .hero.dark-hero .hero-copy .description{color:white;text-shadow:0 1px 5px #020516dd}
 .hero .hero-copy>.eyebrow{display:none}
 .hero .hero-inner>.breadcrumb,.hero.dark-hero .hero-inner>.breadcrumb{position:absolute;top:16px;left:0;right:0;z-index:3;padding:0;width:auto;max-width:100%;border:0;border-radius:0;box-shadow:none;background:none;font-size:12px;font-weight:600;line-height:1.6}
 .hero:not(.dark-hero) .hero-inner>.breadcrumb{color:#151057;text-shadow:0 1px 5px #ffffffdd}
 .hero.dark-hero .hero-inner>.breadcrumb{color:#fff;text-shadow:0 1px 5px #020516dd}
 .hero .hero-inner>.breadcrumb a{color:inherit}
 .hero .hero-copy .actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
 .hero .hero-copy .actions .btn{min-width:0;max-width:100%;min-height:42px;padding:10px 16px;font-size:13px;line-height:1.5;white-space:normal;text-align:center;justify-content:center}
 .hero .hero-features{display:none}
 .hero.home-hero .search-form{margin-top:18px;max-width:100%;min-width:0}
 .hero.home-hero .search-form input{min-width:0;font-size:13px}
 .hero.home-hero .popular-search{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px;font-size:12px}
}
@media(max-width:520px){.hero .hero-inner{min-height:540px;padding-top:260px;padding-bottom:18px}.hero .hero-copy h1{font-size:clamp(30px,8vw,39px)}.hero .hero-copy h2{font-size:19px}}
@media(min-width:801px){.hero:not(.information-hero) .hero-inner>.breadcrumb{top:8px;font-size:12px;line-height:1.5}}

/* Ordered, accessible learning navigation across every guide. */
.learning-toc{max-height:none;overflow:visible}
.learning-toc .learning-step-list{list-style:none;padding:0;margin:0}
.learning-toc .learning-step-list li{margin:0;padding:0}
.learning-toc a.learning-step-link{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:start;gap:10px;width:100%;min-height:48px;padding:12px 0;border-bottom:1px solid #e5e5ff;font-size:14px;line-height:1.65;overflow-wrap:anywhere}
.learning-toc .learning-step-number{display:grid;place-items:center;width:27px;height:27px;background:#f0ecff;color:#5e25ed;border-radius:50%;font-weight:700;font-size:13px;line-height:1}
.learning-toc .learning-toc-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding-top:16px}
.learning-toc .learning-toc-actions a{display:flex;align-items:center;justify-content:center;min-height:44px;margin:0;padding:10px 8px;border:1px solid #ded8ff;border-radius:8px;background:#f8f7ff;text-align:center;font-size:12px;line-height:1.55;overflow-wrap:anywhere}
.learning-toc a:focus-visible{outline:3px solid #6525ff;outline-offset:3px;border-radius:6px}
@media(max-width:800px){.learning-toc{padding:18px}.learning-toc h2{font-size:21px;line-height:1.4;margin-bottom:10px}.learning-toc a.learning-step-link{display:grid;padding:12px 0;font-size:14px}.learning-toc .learning-toc-actions a{display:flex}}

/* Main navigation pages retain the original homepage mobile composition. */
@media(max-width:800px){
 .hero:not(.information-hero) .hero-inner{min-height:430px;align-items:center;padding-top:52px;padding-bottom:28px}
 .hero:not(.information-hero).home-hero .hero-inner{min-height:440px;padding-top:24px}
 .hero:not(.information-hero) .hero-copy{width:100%;max-width:100%;padding:0;background:none;border:0;border-radius:0;box-shadow:none}
 .hero:not(.information-hero) .hero-art{inset:0;width:100%;height:100%;object-fit:cover;object-position:63% center;opacity:.78}
 .hero:not(.information-hero):after{background:linear-gradient(90deg,#f8f7ffed 0%,#f8f7ffb0 36%,#f8f7ff40 72%,#f8f7ff10 100%)}
 .hero:not(.information-hero) .hero-copy>.eyebrow{display:inline-block;margin:0 0 14px;font-size:12px;padding:5px 10px}
 .hero:not(.information-hero) .hero-copy h1{font-size:clamp(34px,8.6vw,46px);line-height:1.18;margin:0 0 14px}
 .hero:not(.information-hero) .hero-copy h2{font-size:22px;line-height:1.4;margin:0 0 12px}
 .hero:not(.information-hero) .hero-copy .description{font-size:15px;line-height:1.7}
 .hero:not(.information-hero) .hero-copy .actions{margin-top:20px}
 .hero:not(.information-hero).home-hero .search-form{margin-top:20px}
 .hero:not(.information-hero).home-hero .popular-search{margin-top:12px}
}
@media(max-width:520px){
 .hero:not(.information-hero) .hero-inner{min-height:410px;padding-top:48px;padding-bottom:25px}
 .hero:not(.information-hero).home-hero .hero-inner{min-height:430px;padding-top:22px}
 .hero:not(.information-hero) .hero-copy h1{font-size:clamp(32px,8.6vw,40px)}
 .hero:not(.information-hero) .hero-copy h2{font-size:21px}
 .hero:not(.information-hero) .hero-copy .description{font-size:14px}
}

/* Match the original main-page typography and top-aligned composition. */
@media(max-width:800px){
 .hero:not(.information-hero) .hero-inner{align-items:flex-start;padding-top:52px;min-height:370px}
 .hero:not(.information-hero).home-hero .hero-inner{padding-top:24px;min-height:390px}
 .hero:not(.information-hero) .hero-copy h1{max-width:none;color:#18096a;text-shadow:none;font-weight:900;letter-spacing:-1.5px;font-size:48px;line-height:1.2;margin:17px 0 4px;overflow-wrap:normal}
 .hero:not(.information-hero) .hero-copy h2{max-width:none;color:#181052;text-shadow:none;font-size:21px;line-height:1.35;margin:0 0 10px}
 .hero:not(.information-hero) .hero-copy .description{max-width:none;color:#11104e;text-shadow:none;font-size:14px;line-height:1.55;margin:0 0 17px}
 .hero:not(.information-hero) .hero-copy .gradient-text{color:transparent;text-shadow:none;background-image:linear-gradient(90deg,#103aff,#9726ff)}
 .hero:not(.information-hero) .hero-copy>.eyebrow{color:#5231ea;font-size:12px;margin:0;padding:4px 10px}
 .hero:not(.information-hero).home-hero .hero-copy h1{font-size:39px;line-height:1.2;letter-spacing:-1px;margin:18px 0 12px}
 .hero:not(.information-hero).home-hero .description{font-size:16px;line-height:1.55}
 .hero:not(.information-hero) .hero-art{opacity:.74;object-position:63% center}
 .hero:not(.information-hero):after{background:linear-gradient(90deg,#faf7fffc,#f7f3ffdd 25%,#f5edff52 65%,transparent)}
}
@media(max-width:520px){
 .hero:not(.information-hero) .hero-inner{padding-top:48px;min-height:340px;padding-bottom:28px}
 .hero:not(.information-hero).home-hero .hero-inner{padding-top:22px;min-height:360px}
 .hero:not(.information-hero).home-hero .hero-copy h1{font-size:35px}
 .hero:not(.information-hero) .hero-copy h2{font-size:19px}
}
@media(max-width:360px){
 .hero:not(.information-hero) .hero-copy h1{font-size:40px}
 .hero:not(.information-hero).home-hero .hero-copy h1{font-size:29px}
}

/* Homepage accent: vivid royal blue through violet, matching the reference. */
.hero.home-hero .hero-copy h1 .gradient-text{
 background-image:linear-gradient(90deg,#263cff 0%,#4b2cff 45%,#8d1cf5 100%);
 background-clip:text;-webkit-background-clip:text;
 color:transparent;-webkit-text-fill-color:transparent;text-shadow:none;
}
