:root {
  --bg: #090c11;
  --bg-soft: #0e131b;
  --panel: #111822;
  --panel-2: #151e29;
  --text: #f3f5f7;
  --muted: #a2acb8;
  --muted-2: #6f7a88;
  --orange: #ff8a32;
  --orange-bright: #ff9f4a;
  --line: rgba(190, 205, 220, .13);
  --container: 1160px;
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}
body::before {
  position: fixed; inset: 0; content: ''; pointer-events: none; z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.6), transparent 76%);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.section-pad { padding: 118px 0; }
.ambient { position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(130px); opacity: .12; pointer-events: none; z-index: -1; }
.ambient-one { top: 80px; right: -220px; background: var(--orange); }
.ambient-two { top: 920px; left: -340px; background: #41617f; opacity: .08; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(255,255,255,.07); background: rgba(9,12,17,.84); backdrop-filter: blur(18px); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark { width: 42px; height: 42px; object-fit: cover; border-radius: 50%; border: 1px solid rgba(255,138,50,.42); box-shadow: 0 0 24px rgba(255,138,50,.12); }
.brand-name { font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 700; letter-spacing: .11em; white-space: nowrap; }
.brand-name span { color: #aeb8c3; font-weight: 500; }
.primary-nav { display: flex; align-items: center; gap: 34px; }
.primary-nav > a { color: #b4bdc7; font-size: 12px; font-weight: 700; letter-spacing: .045em; transition: color .2s ease; }
.primary-nav > a:hover { color: var(--text); }
.primary-nav .nav-cta { display: inline-flex; align-items: center; gap: 12px; padding: 11px 17px; border: 1px solid rgba(255,138,50,.55); color: var(--text); border-radius: 4px; }
.primary-nav .nav-cta span { color: var(--orange); font-size: 16px; }
.menu-toggle { display: none; width: 44px; height: 42px; padding: 10px; border: 1px solid var(--line); background: transparent; border-radius: 4px; }
.menu-toggle span { display: block; height: 1px; background: var(--text); margin: 6px 0; transition: transform .2s ease; }

.hero { position: relative; padding-top: 100px; padding-bottom: 35px; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 66px; min-height: 490px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; color: var(--orange); font-family: 'DM Mono', monospace; font-size: 10px; font-weight: 500; letter-spacing: .15em; line-height: 1.5; }
.eyebrow-line { width: 28px; height: 1px; background: var(--orange); display: inline-block; flex: 0 0 auto; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: 'Space Grotesk', 'Manrope', sans-serif; }
h1 { margin-bottom: 24px; font-size: clamp(48px, 6.1vw, 78px); line-height: .99; letter-spacing: -.065em; font-weight: 700; }
h1 span, h2 span { color: var(--orange); }
.hero-lead { max-width: 510px; margin-bottom: 32px; color: #aab4c0; font-size: 16px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 49px; padding: 0 20px; border-radius: 3px; font-size: 11px; font-weight: 800; letter-spacing: .055em; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #17120e; background: var(--orange); border: 1px solid var(--orange); box-shadow: 0 8px 28px rgba(255,138,50,.16); }
.button-primary:hover { background: var(--orange-bright); }
.button-primary span { font-size: 17px; }
.button-ghost { color: #e7ebef; border: 1px solid rgba(213,224,236,.2); background: rgba(255,255,255,.02); }
.button-ghost:hover, .button-outline:hover { border-color: var(--orange); background: rgba(255,138,50,.07); }
.button-ghost svg { width: 15px; fill: var(--orange); }
.hero-meta { display: flex; align-items: center; gap: 14px; margin-top: 48px; color: #7e8995; font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: .13em; }
.hero-meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--orange); }
.hero-visual { position: relative; padding: 18px 0 24px 18px; }
.visual-frame { position: relative; z-index: 2; overflow: hidden; aspect-ratio: 1.55; border: 1px solid rgba(255,255,255,.16); background: #101722; box-shadow: 0 35px 90px rgba(0,0,0,.42), 0 0 45px rgba(255,138,50,.08); }
.visual-frame::before { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(255,255,255,.14); z-index: 2; pointer-events: none; }
.visual-frame img { width: 100%; height: 100%; object-fit: cover; }
.visual-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(4,7,11,.78)); }
.visual-caption { position: absolute; z-index: 3; left: 28px; right: 28px; bottom: 25px; display: flex; align-items: center; gap: 10px; color: #e3e7ec; font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: .14em; }
.caption-dot, .status-pulse { width: 7px; height: 7px; background: var(--orange); border-radius: 50%; box-shadow: 0 0 12px rgba(255,138,50,.85); }
.caption-code { margin-left: auto; color: #a1acb8; }
.visual-orbit { position: absolute; border: 1px solid rgba(255,138,50,.24); transform: rotate(-26deg); pointer-events: none; }
.orbit-one { width: 88%; height: 70%; right: -17px; top: -2px; }
.orbit-two { width: 84%; height: 75%; right: -35px; top: 26px; border-color: rgba(178,192,207,.14); }
.floating-label { position: absolute; z-index: 3; left: -16px; bottom: 2px; display: flex; align-items: center; gap: 12px; padding: 12px 17px; background: #151d27; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 14px 35px rgba(0,0,0,.35); color: #cbd3dc; font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: .12em; }
.floating-icon { color: var(--orange); font-size: 18px; }
.floating-label b { color: var(--orange); padding-left: 5px; }
.hero-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 48px; color: #687482; font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: .13em; }
.scroll-note { display: flex; align-items: center; gap: 12px; }
.scroll-line { width: 34px; height: 1px; background: var(--orange); }
.hero-index span { color: var(--orange); padding: 0 5px; }

.marquee-band { overflow: hidden; padding: 19px 0; border-block: 1px solid var(--line); background: rgba(255,255,255,.018); }
.marquee-track { display: flex; align-items: center; justify-content: space-around; gap: 30px; width: max-content; min-width: 100%; color: #87929e; font-family: 'DM Mono', monospace; font-size: 9px; font-weight: 500; letter-spacing: .18em; white-space: nowrap; }
.marquee-track b { color: var(--orange); font-size: 12px; font-weight: 400; }

.learning-section { background: linear-gradient(180deg, rgba(255,255,255,.012), transparent 75%); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 47px; }
.section-heading .eyebrow { margin-bottom: 21px; }
h2 { margin-bottom: 0; font-size: clamp(38px, 4.7vw, 58px); line-height: 1.05; letter-spacing: -.055em; }
.section-intro { max-width: 380px; margin: 0 0 7px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.course-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.course-card { overflow: hidden; background: linear-gradient(145deg, rgba(22,31,43,.95), rgba(13,18,26,.97)); border: 1px solid rgba(198,213,228,.12); transition: transform .25s ease, border-color .25s ease; }
.course-card:hover { transform: translateY(-5px); border-color: rgba(255,138,50,.38); }
.course-image { display: block; position: relative; overflow: hidden; aspect-ratio: 1.87; background: #141b25; }
.course-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,6,10,.04), rgba(3,6,10,.34)); }
.course-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.course-card:hover .course-image img { transform: scale(1.045); }
.image-tag { position: absolute; z-index: 2; top: 18px; left: 18px; display: inline-flex; align-items: center; gap: 12px; padding: 8px 10px; color: #e4e8ed; background: rgba(8,12,17,.72); border: 1px solid rgba(255,255,255,.17); backdrop-filter: blur(10px); font-family: 'DM Mono', monospace; font-size: 8px; letter-spacing: .12em; }
.image-tag b { color: var(--orange); font-weight: 500; }
.image-arrow { position: absolute; z-index: 2; right: 18px; bottom: 15px; display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; color: #fff; font-size: 17px; }
.course-content { padding: 26px 28px 30px; }
.course-meta { display: flex; gap: 16px; margin-bottom: 13px; color: var(--orange); font-family: 'DM Mono', monospace; font-size: 8px; letter-spacing: .12em; }
.course-meta span + span { color: #8995a2; }
.course-content h3 { margin-bottom: 12px; font-size: clamp(21px, 2.4vw, 27px); line-height: 1.2; letter-spacing: -.035em; }
.course-content p { min-height: 65px; margin-bottom: 21px; color: var(--muted); font-size: 12px; line-height: 1.85; }
.text-link { display: inline-flex; align-items: center; gap: 13px; color: #f0f2f5; font-size: 10px; font-weight: 800; letter-spacing: .06em; transition: color .2s ease; }
.text-link span { color: var(--orange); font-size: 17px; transition: transform .2s ease; }
.text-link:hover { color: var(--orange-bright); }
.text-link:hover span { transform: translateX(4px); }
.library-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.library-note { display: inline-flex; align-items: center; gap: 10px; color: #778391; font-family: 'DM Mono', monospace; font-size: 8px; letter-spacing: .12em; }
.status-pulse { width: 6px; height: 6px; }

.principles-section { position: relative; background: #0d1219; border-block: 1px solid rgba(255,255,255,.06); }
.principles-section::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 35%; background: radial-gradient(ellipse at 0 55%, rgba(255,138,50,.1), transparent 70%); pointer-events: none; }
.principles-layout { position: relative; display: grid; grid-template-columns: .88fr 1.12fr; gap: 90px; align-items: center; }
.principles-heading h2 { margin-bottom: 24px; }
.principles-copy { max-width: 420px; margin-bottom: 27px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.button-outline { color: #e6eaf0; border: 1px solid rgba(213,224,236,.22); background: transparent; }
.button-outline span { color: var(--orange); font-size: 17px; }
.principle-list { border-top: 1px solid var(--line); }
.principle-item { display: grid; grid-template-columns: 44px 1fr 30px; gap: 20px; align-items: start; padding: 25px 0; border-bottom: 1px solid var(--line); }
.principle-number { padding-top: 3px; color: var(--orange); font-family: 'DM Mono', monospace; font-size: 10px; }
.principle-item h3 { margin-bottom: 7px; font-size: 17px; letter-spacing: -.025em; }
.principle-item p { max-width: 470px; margin-bottom: 0; color: var(--muted); font-size: 11px; line-height: 1.8; }
.principle-symbol { color: #788491; font-family: 'DM Mono', monospace; font-size: 17px; text-align: right; }

.code-section { padding-top: 104px; padding-bottom: 104px; }
.code-panel { display: grid; grid-template-columns: .86fr 1.14fr; gap: 58px; align-items: center; padding: 54px; border: 1px solid rgba(255,255,255,.1); background: radial-gradient(circle at 0 0, rgba(255,138,50,.09), transparent 42%), linear-gradient(145deg, #121a24, #0d1219 70%); }
.code-copy h2 { margin-bottom: 22px; font-size: clamp(34px, 4vw, 47px); }
.code-copy > p:not(.eyebrow) { margin-bottom: 24px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.code-window { overflow: hidden; border: 1px solid rgba(184,200,217,.17); background: #080c12; box-shadow: 0 25px 65px rgba(0,0,0,.28); }
.code-window-top, .code-window-bottom { min-height: 43px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 0 17px; color: #7f8b98; border-bottom: 1px solid rgba(184,200,217,.12); font-family: 'DM Mono', monospace; font-size: 8px; letter-spacing: .12em; }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 6px; height: 6px; border-radius: 50%; background: #4b5663; }
.window-dots i:first-child { background: #ff8a32; }
.code-language { color: var(--orange); }
.code-window pre { overflow-x: auto; margin: 0; padding: 28px 24px 30px; color: #d6dde6; font-family: 'DM Mono', monospace; font-size: 11px; line-height: 2.05; tab-size: 4; }
.code-muted { color: #687787; }
.code-keyword { color: #e8a36c; }
.code-function { color: #f0c77a; }
.code-type { color: #83b9d6; }
.code-window-bottom { min-height: 38px; border-top: 1px solid rgba(184,200,217,.12); border-bottom: 0; font-size: 7px; }
.code-window-bottom > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.code-window-bottom i { width: 6px; height: 6px; border-radius: 50%; background: #7cb98a; box-shadow: 0 0 8px rgba(124,185,138,.6); }

.about-section { padding-top: 85px; padding-bottom: 122px; }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: center; }
.about-emblem-wrap { position: relative; display: grid; place-items: center; min-height: 360px; }
.about-emblem { position: relative; z-index: 2; width: min(245px, 70%); border-radius: 50%; box-shadow: 0 0 80px rgba(255,138,50,.13); }
.about-emblem-glow { position: absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,138,50,.12); filter: blur(75px); }
.emblem-orbit { position: absolute; width: 330px; height: 215px; border: 1px solid rgba(255,138,50,.25); border-radius: 50%; transform: rotate(-31deg); }
.orbit-b { width: 365px; height: 245px; transform: rotate(32deg); border-color: rgba(179,194,209,.17); }
.emblem-label { position: absolute; bottom: 4px; color: #788491; font-family: 'DM Mono', monospace; font-size: 8px; letter-spacing: .21em; }
.about-copy h2 { max-width: 610px; margin-bottom: 23px; }
.about-copy > p:not(.eyebrow) { max-width: 590px; color: var(--muted); font-size: 12px; line-height: 1.95; }
.about-signoff { display: flex; align-items: center; gap: 13px; margin-top: 27px; color: #d0d6de; font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: .14em; }
.signoff-rule { width: 35px; height: 1px; background: var(--orange); }

.final-cta-section { padding: 0 0 110px; }
.final-cta { position: relative; display: grid; grid-template-columns: .92fr 1.08fr; min-height: 355px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); background: #101722; }
.cta-art { position: relative; min-height: 355px; overflow: hidden; }
.cta-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 40%, #101722 100%), linear-gradient(0deg, rgba(4,7,10,.2), transparent); }
.cta-art img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.cta-content { position: relative; z-index: 2; align-self: center; padding: 48px 52px 48px 28px; }
.cta-content .eyebrow { margin-bottom: 18px; }
.cta-content h2 { margin-bottom: 15px; font-size: clamp(36px, 4vw, 51px); }
.cta-content > p:not(.eyebrow) { max-width: 470px; margin-bottom: 23px; color: var(--muted); font-size: 11px; line-height: 1.85; }

.site-footer { border-top: 1px solid var(--line); background: #080b10; }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 104px; }
.footer-main > p { margin: 0; color: #7d8996; font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: .12em; }
.footer-social { color: #cbd3dc; font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: .13em; }
.footer-social span { color: var(--orange); padding-left: 8px; font-size: 15px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 58px; border-top: 1px solid rgba(255,255,255,.07); color: #687481; font-family: 'DM Mono', monospace; font-size: 8px; letter-spacing: .035em; }
.footer-bottom a { color: #9ba6b2; white-space: nowrap; }

@media (max-width: 980px) {
  .hero-grid { gap: 36px; }
  .principles-layout { gap: 48px; }
  .code-panel { gap: 34px; padding: 38px; }
  .about-grid { gap: 55px; }
  .section-pad { padding: 95px 0; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 36px, var(--container)); }
  .nav-wrap { min-height: 72px; }
  .menu-toggle { display: block; cursor: pointer; }
  .primary-nav { position: absolute; top: 72px; left: 0; right: 0; display: none; align-items: stretch; gap: 0; padding: 10px 18px 18px; background: rgba(9,12,17,.98); border-bottom: 1px solid var(--line); }
  .primary-nav.is-open { display: flex; flex-direction: column; }
  .primary-nav > a { padding: 13px 4px; border-bottom: 1px solid rgba(255,255,255,.06); }
  .primary-nav .nav-cta { justify-content: space-between; margin-top: 12px; padding: 12px 14px; border: 1px solid rgba(255,138,50,.5); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .hero { padding-top: 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 43px; }
  .hero-copy { max-width: 610px; }
  h1 { font-size: clamp(48px, 11vw, 72px); }
  .hero-visual { width: min(100%, 610px); margin-left: auto; }
  .hero-bottom { margin-top: 36px; }
  .section-heading { align-items: start; flex-direction: column; gap: 20px; }
  .section-intro { max-width: 540px; }
  .course-grid { grid-template-columns: 1fr; }
  .course-content p { min-height: auto; }
  .principles-layout, .code-panel, .about-grid { grid-template-columns: 1fr; }
  .principles-layout { gap: 48px; }
  .code-panel { padding: 30px; }
  .about-grid { gap: 32px; }
  .about-emblem-wrap { min-height: 310px; }
  .about-copy { max-width: 650px; }
  .final-cta { grid-template-columns: 1fr; }
  .cta-art { min-height: 220px; }
  .cta-art::after { background: linear-gradient(0deg, #101722 0%, transparent 65%); }
  .cta-content { padding: 8px 28px 34px; }
  .footer-main { flex-wrap: wrap; padding-block: 25px; }
  .footer-main > p { order: 3; flex-basis: 100%; }
  .footer-bottom { align-items: flex-start; flex-direction: column; padding-block: 18px; }
}
@media (max-width: 460px) {
  .brand-mark { width: 37px; height: 37px; }
  .brand-name { font-size: 11px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { justify-content: space-between; }
  .hero-meta { flex-wrap: wrap; gap: 10px; margin-top: 35px; font-size: 8px; }
  .hero-visual { padding-left: 8px; }
  .floating-label { left: -2px; padding: 10px 12px; font-size: 8px; }
  .visual-caption { left: 20px; right: 20px; bottom: 20px; font-size: 7px; }
  .section-pad { padding: 76px 0; }
  .course-content { padding: 22px; }
  .course-meta { flex-wrap: wrap; gap: 8px 13px; }
  .library-footer { align-items: flex-start; flex-direction: column; }
  .principle-item { grid-template-columns: 31px 1fr 20px; gap: 12px; }
  .code-panel { padding: 23px 17px; }
  .code-window pre { padding: 22px 16px; font-size: 9px; }
  .about-emblem-wrap { min-height: 275px; }
  .emblem-orbit { width: 280px; height: 185px; }
  .orbit-b { width: 305px; height: 205px; }
  .cta-content { padding-inline: 22px; }
  .footer-main { gap: 15px; }
  .footer-brand .brand-name { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
