:root {
  --ink: #191716;
  --muted: #66615e;
  --paper: #f7f3ec;
  --surface: #fffdf9;
  --line: #d8d0c5;
  --blue: #1558d6;
  --blue-soft: #e7edfb;
  --black: #111211;
  --amber: #cf7a2d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Poppins, Arial, sans-serif; font-size: 16px; line-height: 1.6; }
a { color: inherit; }
button, input { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 20; padding: .75rem 1rem; background: #fff; color: #000; border-radius: .5rem; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid #62a7ff; outline-offset: 3px; }

.site-header { min-height: 72px; padding: 0 clamp(1.25rem, 5vw, 5.5rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; background: var(--black); color: #fff; border-bottom: 1px solid #343434; }
.wordmark { font-size: 1.65rem; line-height: 1; font-weight: 700; text-decoration: none; letter-spacing: -.04em; }
.site-nav { display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 3rem); }
.site-nav a { color: #ddd; text-decoration: none; font-weight: 500; }
.site-nav a:hover, .site-nav a.active { color: #fff; }
.site-nav a.active::after { content: ""; display: block; height: 2px; margin-top: .35rem; background: var(--blue); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; }
.menu-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: #fff; }

.roadmap-hero { min-height: 300px; position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr); align-items: center; gap: 3rem; padding: 3rem clamp(1.25rem, 5vw, 5.5rem); color: #fff; background: radial-gradient(circle at 76% 30%, rgba(207,122,45,.34), transparent 23%), linear-gradient(110deg, #15110e 0%, #2b1c12 56%, #0e1114 100%); }
.roadmap-hero::before { content: ""; position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 46px 46px; mask-image: linear-gradient(90deg, transparent 5%, #000 70%); }
.hero-copy { position: relative; z-index: 1; max-width: 760px; }
.breadcrumb { display: flex; gap: .65rem; margin: 0 0 1.35rem; color: #e7e0da; }
.breadcrumb a { text-decoration-thickness: 1px; text-underline-offset: .2rem; }
.eyebrow { margin: 0 0 .5rem; color: var(--blue); font-size: .82rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.roadmap-hero .eyebrow { color: #74a8ff; }
.roadmap-hero h1 { margin: 0; font-size: clamp(3rem, 6vw, 5.8rem); line-height: .96; letter-spacing: -.055em; }
.roadmap-hero .hero-copy > p:last-child { max-width: 700px; margin: 1.25rem 0 0; font-size: clamp(1.05rem, 2vw, 1.35rem); color: #eee8e2; }
.roadmap-hero-basics { background: radial-gradient(circle at 76% 30%, rgba(35,105,219,.44), transparent 24%), linear-gradient(110deg, #0d1728 0%, #173b72 58%, #09111d 100%); }
.roadmap-hero-intermediate { background: radial-gradient(circle at 76% 30%, rgba(41,151,108,.45), transparent 24%), linear-gradient(110deg, #0c1a15 0%, #174b38 58%, #07120e 100%); }
.roadmap-hero-intermediate .eyebrow { color: #79ddb4; }
.roadmap-hero-advanced { background: radial-gradient(circle at 76% 30%, rgba(126,72,190,.48), transparent 24%), linear-gradient(110deg, #17121d 0%, #342149 58%, #0e0a12 100%); }
.roadmap-hero-advanced .eyebrow { color: #c49aff; }
.roadmap-hero-ai { background: radial-gradient(circle at 78% 42%, rgba(231,57,82,.42), transparent 23%), radial-gradient(circle at 88% 16%, rgba(146,18,43,.52), transparent 21%), linear-gradient(110deg, #19090c 0%, #42111b 56%, #17080d 100%); }
.roadmap-hero-ai .eyebrow { color: #ff8fa2; }
.cloud-hero-aws { background: radial-gradient(circle at 78% 38%, rgba(255,153,0,.4), transparent 24%), linear-gradient(110deg, #141a23 0%, #28384d 58%, #0d1118 100%); }
.cloud-hero-aws .eyebrow { color: #ffbd59; }
.cloud-hero-gcp { background: radial-gradient(circle at 78% 38%, rgba(66,133,244,.48), transparent 24%), linear-gradient(110deg, #101825 0%, #163b72 58%, #09111d 100%); }
.cloud-hero-gcp .eyebrow { color: #8ab4f8; }
.cloud-hero-azure { background: radial-gradient(circle at 78% 38%, rgba(0,120,212,.5), transparent 24%), linear-gradient(110deg, #091923 0%, #0e486d 58%, #06121a 100%); }
.cloud-hero-azure .eyebrow { color: #6ed1ff; }
.cloud-hero-mark { min-height: 250px; position: relative; display: grid; place-items: center; }
.cloud-hero-mark span { width: 250px; height: 250px; position: absolute; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; box-shadow: 0 0 80px rgba(255,255,255,.08); }
.cloud-hero-mark img { width: 145px; height: 145px; position: relative; object-fit: contain; filter: drop-shadow(0 22px 25px rgba(0,0,0,.42)); }
.ai-orbit { min-height: 260px; position: relative; align-self: center; display: grid; place-items: center; }
.ai-orbit > img { width: 105px; height: 105px; position: relative; z-index: 2; object-fit: contain; filter: drop-shadow(0 15px 24px rgba(0,0,0,.45)); }
.roadmap-hero-ai .ai-orbit > img { width: 215px; height: 215px; }
.orbit { position: absolute; border: 1px solid rgba(255,114,138,.56); border-radius: 50%; transform: rotate(-16deg); }
.orbit-one { width: 310px; height: 150px; }
.orbit-two { width: 430px; height: 215px; transform: rotate(20deg); border-color: rgba(255,180,192,.34); }
.ai-orbit .node { width: 13px; height: 13px; position: absolute; z-index: 3; border: 3px solid #ffe2e7; border-radius: 50%; background: #ef3f5d; box-shadow: 0 0 16px #ef3f5d; }
.node-one { top: 22%; left: 22%; }.node-two { right: 15%; top: 44%; }.node-three { bottom: 16%; left: 38%; }
.hero-console { position: relative; min-height: 220px; align-self: end; }
.console-face { position: absolute; right: 7%; bottom: 16%; width: min(430px, 82%); height: 145px; padding: 72px 30px 0; border: 1px solid #4e4d49; border-radius: 12px; background: linear-gradient(150deg, #333432, #111 65%); box-shadow: 0 25px 50px rgba(0,0,0,.45), inset 0 1px 1px rgba(255,255,255,.17); }
.console-face::before { content: ""; position: absolute; inset: 18px; background-image: radial-gradient(#050505 1.4px, transparent 1.4px); background-size: 9px 9px; mask-image: linear-gradient(#000 0 38%, transparent 39%); }
.console-face i { position: relative; display: inline-block; width: 42px; height: 22px; margin-right: 12px; border: 3px solid #111; border-top-color: #1261cc; background: #050505; border-radius: 2px; }
.console-face span { position: relative; display: inline-block; width: 23px; height: 23px; border: 2px solid #898989; border-radius: 50%; }
.console-light { position: absolute; right: 39%; top: -40%; width: 200px; height: 270px; background: radial-gradient(ellipse at top, rgba(255,189,114,.65), transparent 68%); filter: blur(14px); transform: rotate(-8deg); }
.console-cable { position: absolute; right: -10%; bottom: 9%; width: 55%; height: 35px; border-top: 10px solid #0d58ba; border-radius: 50%; transform: rotate(8deg); }
.roadmap-hero-basics .console-light { background: radial-gradient(ellipse at top, rgba(86,150,255,.7), transparent 68%); }
.roadmap-hero-basics .console-face i { border-top-color: #2874dc; }
.roadmap-hero-basics .console-cable { border-top-color: #2874dc; }
.roadmap-hero-intermediate .console-light { background: radial-gradient(ellipse at top, rgba(94,213,161,.68), transparent 68%); }
.roadmap-hero-intermediate .console-face i { border-top-color: #29976c; }
.roadmap-hero-intermediate .console-cable { border-top-color: #29976c; }
.roadmap-hero-advanced .console-light { background: radial-gradient(ellipse at top, rgba(177,112,224,.68), transparent 68%); }
.roadmap-hero-advanced .console-face i { border-top-color: #8f55bd; }
.roadmap-hero-advanced .console-cable { border-top-color: #8f55bd; }

.roadmap-shell { display: grid; grid-template-columns: minmax(330px, .78fr) minmax(0, 1.35fr); gap: clamp(1.5rem, 4vw, 4rem); padding: clamp(2rem, 5vw, 5rem) clamp(1.25rem, 5vw, 5.5rem); max-width: 1720px; margin: 0 auto; }
.path-panel { min-width: 0; }
.path-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem; }
.path-heading h2 { margin: 0; font-size: clamp(2rem, 3vw, 3rem); letter-spacing: -.045em; line-height: 1.05; }
.progress-copy { margin: 0; font-size: .9rem; font-weight: 600; white-space: nowrap; }
.progress-track { height: 7px; margin: 1.35rem 0 2rem; overflow: hidden; border-radius: 20px; background: #ddd8d0; }
.progress-track span { display: block; width: 0; height: 100%; background: var(--blue); transition: width .25s ease; }
.topic-group-title { margin: 1.8rem 0 .75rem; color: var(--muted); font-size: 1rem; font-weight: 700; }
.topic-button { width: 100%; position: relative; display: grid; grid-template-columns: 24px 48px 1fr; align-items: center; gap: .8rem; min-height: 66px; margin: 0; padding: .65rem 1rem; color: var(--ink); border: 0; border-radius: .75rem; background: transparent; text-align: left; cursor: pointer; }
.topic-button::before { content: ""; width: 16px; height: 16px; border: 2px solid var(--ink); border-radius: 50%; background: var(--paper); z-index: 1; }
.topic-button:hover { background: #eee9e1; }
.topic-button.active { background: var(--blue-soft); box-shadow: inset 3px 0 var(--blue); }
.topic-button.active::before { border: 5px solid var(--blue); background: #fff; }
.topic-button.complete::before { content: "✓"; display: grid; place-items: center; color: #fff; border-color: var(--black); background: var(--black); font-size: .7rem; }
.topic-button > span[aria-hidden="true"] { display: none; }
.topic-button img { width: 42px; height: 42px; object-fit: contain; }
.topic-button strong { min-width: 0; font-size: 1rem; line-height: 1.25; white-space: nowrap; }

.lesson-panel { align-self: start; position: sticky; top: 1.5rem; overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; background: var(--surface); box-shadow: 0 18px 50px rgba(70,50,28,.08); }
.lesson-art { min-height: 235px; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; background: radial-gradient(circle at 60% 45%, #276ac7, transparent 24%), linear-gradient(135deg, #0c1524, #142e50 58%, #06101d); }
.lesson-art-grid { position: absolute; inset: 0; opacity: .23; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 38px 38px; transform: perspective(500px) rotateX(58deg) scale(1.5); }
.lesson-art img { position: relative; width: 110px; height: 110px; object-fit: contain; filter: drop-shadow(0 18px 20px rgba(0,0,0,.38)); }
.lesson-art p { position: absolute; left: 1.5rem; bottom: 1rem; margin: 0; color: #fff; font-weight: 700; letter-spacing: .04em; }
.lesson-art-ai { background: radial-gradient(circle at 60% 45%, #d52d49, transparent 25%), linear-gradient(135deg, #24090f, #521522 58%, #1a080c); }
.lesson-art-basics { background: radial-gradient(circle at 60% 45%, #276ac7, transparent 24%), linear-gradient(135deg, #0c1524, #142e50 58%, #06101d); }
.lesson-art-intermediate { background: radial-gradient(circle at 60% 45%, #29976c, transparent 25%), linear-gradient(135deg, #081c15, #174b38 58%, #07140f); }
.lesson-art-advanced { background: radial-gradient(circle at 60% 45%, #8f55bd, transparent 25%), linear-gradient(135deg, #190d22, #47275e 58%, #140a1b); }
.project-art { min-height: 310px; background: #111; }
.project-art::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.75)); pointer-events: none; }
.project-art img { width: 100%; height: 310px; object-fit: cover; filter: none; }
.project-art p { z-index: 1; }
.lesson-body { padding: clamp(1.35rem, 3.5vw, 2.5rem); }
.lesson-meta { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.lesson-meta span { color: var(--muted); font-size: .9rem; }
.lesson-body h2 { margin: .3rem 0 .65rem; font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1.04; letter-spacing: -.055em; }
.lesson-description { margin: 0; max-width: 760px; color: #46413e; font-size: 1.05rem; }
.tool-chips { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.4rem 0; }
.tool-chip { display: inline-flex; align-items: center; gap: .55rem; padding: .5rem .8rem; border-radius: .65rem; background: #f0ece6; font-weight: 600; }
.tool-chip img { width: 27px; height: 27px; object-fit: contain; }
.lesson-links { border: 1px solid var(--line); border-radius: .75rem; overflow: hidden; }
.lesson-links:empty { display: none; }
.empty-lessons { margin: 0; padding: 1rem; color: var(--muted); border: 1px dashed var(--line); border-radius: .75rem; background: #f7f3ec; }
.lesson-link { min-height: 58px; display: flex; align-items: center; gap: .8rem; padding: .8rem 1rem; text-decoration: none; font-weight: 600; }
.lesson-link + .lesson-link { border-top: 1px solid var(--line); }
.lesson-link:hover { background: #f3f0eb; color: var(--blue); }
.play-icon { width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 auto; color: #fff; border-radius: 50%; background: var(--blue); font-size: .75rem; }
.play-icon::before { content: "▶"; margin-left: 2px; }
.resource-badge { min-width: 74px; display: inline-flex; justify-content: center; padding: .25rem .5rem; color: #fff; border-radius: 2rem; background: var(--blue); font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.resource-badge.github { background: #24292f; }
.lesson-actions { display: flex; align-items: center; gap: 1rem 1.5rem; flex-wrap: wrap; margin-top: 1.6rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: .75rem 1.35rem; border: 1px solid transparent; border-radius: .65rem; text-decoration: none; font-weight: 600; }
.button-primary { color: #fff; background: var(--blue); }
.button-primary:hover { background: #0b45b5; }
.button-dark { color: #fff; background: var(--black); }
.button-light { color: var(--black); background: #fff; }
.button-ai { background: #b51f39; }
.button-ai:hover { background: #92172d; }
.button-intermediate { background: #176d4a; }
.button-intermediate:hover { background: #10563a; }
.button-advanced { background: #6b3d91; }
.button-advanced:hover { background: #522c72; }
.basics-next-path { background: linear-gradient(120deg, #123f82, #101e32); }
.intermediate-next-path { background: linear-gradient(120deg, #176d4a, #102c25); }
.advanced-next-path { background: linear-gradient(120deg, #593474, #24172f); }
.ai-next-path { background: linear-gradient(120deg, #711426, #260b12); }
.roadmap-shell-intermediate .eyebrow { color: #176d4a; }
.roadmap-shell-intermediate .progress-track span { background: #20835a; }
.roadmap-shell-intermediate .topic-button.active { background: #dcefe6; box-shadow: inset 3px 0 #20835a; }
.roadmap-shell-intermediate .topic-button.active::before { border-color: #20835a; }
.roadmap-shell-intermediate .play-icon,
.roadmap-shell-intermediate .resource-badge { background: #20835a; }
.roadmap-shell-intermediate .lesson-link:hover { color: #176d4a; }
.roadmap-shell-intermediate .complete-control input { accent-color: #20835a; }
.roadmap-shell-advanced .eyebrow { color: #6b3d91; }
.roadmap-shell-advanced .progress-track span { background: #7d50a8; }
.roadmap-shell-advanced .topic-button.active { background: #eee2f6; box-shadow: inset 3px 0 #7d50a8; }
.roadmap-shell-advanced .topic-button.active::before { border-color: #7d50a8; }
.roadmap-shell-advanced .play-icon,
.roadmap-shell-advanced .resource-badge:not(.github) { background: #7d50a8; }
.roadmap-shell-advanced .lesson-link:hover { color: #6b3d91; }
.roadmap-shell-advanced .complete-control input { accent-color: #7d50a8; }
.roadmap-shell-ai .eyebrow { color: #b51f39; }
.roadmap-shell-ai .progress-track span { background: #c32643; }
.roadmap-shell-ai .topic-button.active { background: #f9dfe4; box-shadow: inset 3px 0 #c32643; }
.roadmap-shell-ai .topic-button.active::before { border-color: #c32643; }
.roadmap-shell-ai .play-icon,
.roadmap-shell-ai .resource-badge { background: #c32643; }
.roadmap-shell-ai .lesson-link:hover { color: #a71932; }
.roadmap-shell-ai .complete-control input { accent-color: #c32643; }
.roadmap-shell-aws .eyebrow { color: #b86e00; }
.roadmap-shell-aws .progress-track span,
.roadmap-shell-aws .resource-badge:not(.github) { background: #d98200; }
.roadmap-shell-aws .topic-button.active { background: #fff0d8; box-shadow: inset 3px 0 #d98200; }
.roadmap-shell-aws .topic-button.active::before { border-color: #d98200; }
.roadmap-shell-aws .button-primary { background: #b86e00; }
.roadmap-shell-aws .complete-control input { accent-color: #d98200; }
.roadmap-shell-gcp .eyebrow { color: #1769c2; }
.roadmap-shell-gcp .progress-track span,
.roadmap-shell-gcp .resource-badge:not(.github) { background: #1a73e8; }
.roadmap-shell-gcp .topic-button.active { background: #e1ecfc; box-shadow: inset 3px 0 #1a73e8; }
.roadmap-shell-gcp .topic-button.active::before { border-color: #1a73e8; }
.roadmap-shell-gcp .button-primary { background: #1769c2; }
.roadmap-shell-gcp .complete-control input { accent-color: #1a73e8; }
.roadmap-shell-azure .eyebrow { color: #0078b8; }
.roadmap-shell-azure .progress-track span,
.roadmap-shell-azure .resource-badge:not(.github) { background: #0078d4; }
.roadmap-shell-azure .topic-button.active { background: #dceffc; box-shadow: inset 3px 0 #0078d4; }
.roadmap-shell-azure .topic-button.active::before { border-color: #0078d4; }
.roadmap-shell-azure .button-primary { background: #0072b1; }
.roadmap-shell-azure .complete-control input { accent-color: #0078d4; }
.cloud-next-aws { background: linear-gradient(120deg, #6e4300, #202b3a); }
.cloud-next-gcp { background: linear-gradient(120deg, #164e92, #101e32); }
.cloud-next-azure { background: linear-gradient(120deg, #075985, #102a3a); }
.complete-control { display: inline-flex; align-items: center; gap: .7rem; cursor: pointer; }
.complete-control input { width: 24px; height: 24px; accent-color: var(--blue); }

.next-path { margin: 1rem clamp(1.25rem, 5vw, 5.5rem) 5rem; padding: clamp(2rem, 5vw, 4.5rem); color: #fff; border-radius: 1rem; background: linear-gradient(120deg, #111, #202b38); }
.next-path h2 { margin: .2rem 0 .5rem; font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -.04em; }
.next-path > p:not(.eyebrow) { color: #c9cdd2; }
.next-path > div { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 1.5rem; }
.text-link { color: #fff; text-underline-offset: .3rem; }
.site-footer { min-height: 180px; display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 2.5rem clamp(1.25rem, 5vw, 5.5rem); color: #fff; background: var(--black); }
.site-footer strong { font-size: 1.5rem; }
.site-footer p { margin: .3rem 0 0; color: #aaa; }
.site-footer > div:last-child { display: flex; gap: 1.5rem; }
.site-footer > div:last-child a { color: #fff; text-underline-offset: .3rem; text-decoration-thickness: 1px; }

@media (max-width: 980px) {
  .roadmap-hero { grid-template-columns: 1fr; min-height: 360px; }
  .hero-console { display: none; }
  .roadmap-shell { grid-template-columns: 1fr; }
  .lesson-panel { position: static; }
}

@media (max-width: 700px) {
  .site-header { min-height: 64px; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; z-index: 10; left: 0; right: 0; top: 64px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: .75rem 1.25rem 1.25rem; background: var(--black); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .8rem 0; }
  .site-nav a.active::after { display: none; }
  .roadmap-hero { min-height: 330px; padding-top: 2rem; padding-bottom: 2rem; }
  .roadmap-hero h1 { font-size: clamp(2.8rem, 14vw, 4.6rem); }
  .path-heading { align-items: start; flex-direction: column; }
  .topic-button { grid-template-columns: 22px 42px minmax(0,1fr); padding-left: .7rem; }
  .topic-button strong { font-size: .92rem; }
  .lesson-art { min-height: 180px; }
  .lesson-art img { width: 82px; height: 82px; }
  .project-art { min-height: 220px; }
  .project-art img { width: 100%; height: 220px; }
  .lesson-meta { align-items: start; flex-direction: column; gap: 0; }
  .lesson-actions, .lesson-actions .button { width: 100%; }
  .site-footer { align-items: start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
