/* Public site. Layout: dark industrial hero with a layered crane scene (parallax), then light content bands.
   Cards over imagery use frosted glass; everything else stays flat and quiet. */
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 40px); }
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(11, 17, 24, .86); backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%); border-bottom: 1px solid rgba(255, 255, 255, .08); color: var(--on-dark); }
.nav .wrap { display: flex; align-items: center; gap: 18px; height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 17px; letter-spacing: -.01em; white-space: nowrap; }
.logo .mk { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--orange), #F7A23B); display: grid; place-items: center; color: var(--on-orange); }
.logo .mk svg { width: 21px; height: 21px; }
.menu { display: flex; gap: 2px; align-items: center; margin-left: auto; }
.menu > li { list-style: none; position: relative; }
.menu > li > a { display: block; color: var(--on-dark); text-decoration: none; font-weight: 600; font-size: 15px; padding: 9px 12px; border-radius: 9px; }
.menu > li > a:hover, .menu > li:focus-within > a { background: rgba(255, 255, 255, .08); }
.menu > li > a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--orange); border-radius: 0; }
.menu .dd { position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px; padding: 8px; border-radius: 14px; background: rgba(20, 28, 37, .96); border: 1px solid rgba(255, 255, 255, .1); box-shadow: var(--shadow-lg); display: none; flex-direction: column; }
.menu > li:hover .dd, .menu > li:focus-within .dd { display: flex; }
.menu .dd a { color: var(--on-dark); text-decoration: none; padding: 9px 12px; border-radius: 9px; font-size: 14.5px; display: flex; flex-direction: column; }
.menu .dd a small { color: var(--on-dark-muted); font-size: 12.5px; }
.menu .dd a:hover { background: rgba(255, 255, 255, .07); }
.nav-cta { display: flex; gap: 8px; align-items: center; }
.nav-cta .btn { min-height: 38px; }
.nav-cta .btn-ghost { color: var(--on-dark); }
.nav-cta .btn-ghost:hover { background: rgba(255, 255, 255, .08); }
#navToggle { display: none; background: transparent; border: 0; color: #fff; width: 42px; height: 42px; border-radius: 10px; margin-left: auto; }

/* hero */
.hero { position: relative; overflow: hidden; color: var(--on-dark); background: radial-gradient(1100px 520px at 78% 18%, rgba(240, 124, 27, .22), transparent 60%), linear-gradient(180deg, #0B1118 0%, #15202C 62%, #1B2735 100%); }
.hero .scene { position: absolute; inset: 0; pointer-events: none; }
.hero .scene svg { position: absolute; bottom: 0; left: 50%; width: max(1500px, 120%); height: auto; transform: translateX(-50%); }
.hero .grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(180deg, #000 0%, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); }
.hero .wrap { position: relative; padding-block: clamp(56px, 9vw, 120px) clamp(120px, 15vw, 220px); }
.eyebrow { font-size: 13px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: #F7A55E; margin: 0 0 14px; display: inline-flex; gap: 10px; align-items: center; }
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--orange); }
.hero h1 { font-size: clamp(38px, 5.6vw, 70px); line-height: 1.02; letter-spacing: -.035em; font-weight: 850; margin: 0; max-width: 15ch; text-wrap: balance; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #FFB067, var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .sub { font-size: clamp(17px, 1.6vw, 20px); color: var(--on-dark-muted); max-width: 58ch; margin: 20px 0 0; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .btn:not(.btn-accent):not(.btn-primary) { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .25); }
.hero .btn:not(.btn-accent):not(.btn-primary):hover { background: rgba(255, 255, 255, .12); }
.hero .proof { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; color: var(--on-dark-muted); font-size: 14px; }
.hero .proof span { display: inline-flex; gap: 7px; align-items: center; }
.hero .proof .ic { color: #6FD39A; width: 16px; height: 16px; }
.page-hero .wrap { padding-block: clamp(44px, 6vw, 80px) clamp(70px, 8vw, 110px); }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 54px); max-width: 20ch; }

/* stat strip (real product numbers only) */
.stats { position: relative; margin-top: -64px; z-index: 2; }
.stats .glass { background: color-mix(in srgb, var(--surface) 92%, transparent); border-radius: 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); box-shadow: var(--shadow); overflow: hidden; }
.stats .s { padding: 20px 22px; border-left: 1px solid var(--line); }
.stats .s:first-child { border-left: 0; }
.stats b { display: block; font-size: clamp(26px, 3vw, 36px); font-weight: 850; letter-spacing: -.03em; font-family: var(--font); }
.stats span { color: var(--muted); font-size: 14px; font-weight: 600; }

/* bands */
.band { padding-block: clamp(56px, 7vw, 96px); }
.band.alt { background: var(--surface); border-block: 1px solid var(--line); }
.band.dark { background: linear-gradient(180deg, #111922, #19232E); color: var(--on-dark); }
.band.dark .lede, .band.dark p { color: var(--on-dark-muted); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 30px; flex-wrap: wrap; margin-bottom: 30px; }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 850; letter-spacing: -.03em; line-height: 1.08; margin: 0; max-width: 22ch; text-wrap: balance; }
.sec-head p { margin: 10px 0 0; color: var(--muted); max-width: 62ch; }
.kicker { font-size: 12.5px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-strong); margin: 0 0 10px; }
.band.dark .kicker { color: #F7A55E; }

/* module cards */
.modules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.module { position: relative; border-radius: 18px; overflow: hidden; min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; text-decoration: none; background: #1B2735 center / cover no-repeat; isolation: isolate; }
.module::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 17, 24, 0) 0%, rgba(11, 17, 24, 0) 30%, rgba(11, 17, 24, .78) 52%, rgba(11, 17, 24, .97) 100%); z-index: -1; }
.module .bgimg { position: absolute; inset: 0 0 auto 0; height: 62%; z-index: -2; background: #E9EEF3 center 30% / cover no-repeat; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.module:hover .bgimg { transform: scale(1.04); }
.module .in { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.module .tag { align-self: flex-start; }
.module h3 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin: 0; }
.module p { margin: 0; color: #C8D2DD; font-size: 15px; }
.module ul { margin: 2px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.module li { font-size: 12.5px; font-weight: 650; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .16); }
.module .go { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #FFB067; }

/* feature grid */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature { padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.feature .fi { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.feature .fi .ic { width: 22px; height: 22px; }
.feature h3 { margin: 4px 0 0; font-size: 17.5px; letter-spacing: -.01em; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.band.dark .feature { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .08); }
.band.dark .feature .fi { background: rgba(240, 124, 27, .16); color: #FFB067; }
.band.dark .feature h3 { color: #fff; }

/* calculator showcase */
.show { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.show + .show { margin-top: clamp(48px, 6vw, 80px); }
.show.flip > :first-child { order: 2; }
.show h3 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.025em; margin: 0 0 10px; line-height: 1.15; }
.show p { color: var(--muted); margin: 0 0 14px; }
.show ul { margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 8px; }
.show li { display: flex; gap: 10px; align-items: flex-start; }
.show li .ic { color: var(--good); margin-top: 3px; width: 18px; height: 18px; }
.shot { position: relative; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.shot img { display: block; width: 100%; height: auto; max-height: 460px; object-fit: contain; }
.shot .badge { position: absolute; left: 14px; bottom: 14px; padding: 10px 14px; border-radius: 12px; font-weight: 700; font-size: 14px; display: flex; gap: 10px; align-items: center; color: var(--ink); }
.shot .badge b { font-family: var(--mono); color: var(--good); }

/* workflow */
.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; counter-reset: s; }
.flow li { list-style: none; padding: 18px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); position: relative; }
.flow li::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-family: var(--mono); font-size: 13px; font-weight: 700; color: #FFB067; display: block; margin-bottom: 8px; }
.flow b { display: block; color: #fff; margin-bottom: 4px; }
.flow span { font-size: 14px; color: var(--on-dark-muted); }

/* courses */
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.course { padding: 20px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.course:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.course .top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.course h3 { margin: 0; font-size: 18px; letter-spacing: -.01em; line-height: 1.3; }
.course p { margin: 0; color: var(--muted); font-size: 14.5px; }
.course .facts { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13.5px; color: var(--ink-2); }
.course .facts span { display: inline-flex; gap: 5px; align-items: center; }
.course .facts .ic { width: 15px; height: 15px; color: var(--muted); }
.course .price { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.course .price b { font-size: 22px; font-weight: 850; letter-spacing: -.02em; }
.course .price small { color: var(--muted); font-size: 13px; }
.course.planned { background: var(--surface-2); border-style: dashed; }
.cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.cats button { border: 1px solid var(--line-2); background: var(--surface); border-radius: 999px; padding: 7px 14px; font-weight: 650; font-size: 14px; color: var(--ink-2); }
.cats button[aria-pressed="true"] { background: var(--steel-800); color: #fff; border-color: var(--steel-800); }
.course-detail { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: 28px; align-items: start; }
.course-detail article h2 { font-size: 20px; margin: 26px 0 8px; }
.course-detail article p, .course-detail article li { color: var(--ink-2); }
.course-detail aside { position: sticky; top: 86px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.facts-tbl { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 14.5px; }
.facts-tbl dt { color: var(--muted); font-weight: 600; }
.facts-tbl dd { margin: 0; font-weight: 650; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan { padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.plan.main { border: 2px solid var(--orange); box-shadow: var(--shadow); position: relative; }
.plan.main::before { content: 'Most popular'; position: absolute; top: -12px; left: 24px; background: var(--orange); color: var(--on-orange); font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.plan h3 { margin: 0; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.plan .amt { font-size: 46px; font-weight: 850; letter-spacing: -.04em; line-height: 1; }
.plan .amt small { font-size: 16px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; flex: 1; align-content: start; }
.plan li { display: flex; gap: 9px; align-items: flex-start; font-size: 15px; }
.plan li .ic { color: var(--good); width: 18px; height: 18px; margin-top: 3px; }

/* testimonials, faq, articles */
.quotes { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.quote { padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.quote p { margin: 0; font-size: 16.5px; }
.quote footer { color: var(--muted); font-size: 14px; }
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { font-weight: 700; font-size: 17px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: '+'; color: var(--orange-strong); font-weight: 800; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin: 10px 0 0; color: var(--muted); max-width: 72ch; }
.articles { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.art { padding: 22px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 8px; transition: transform .15s, box-shadow .15s; }
.art:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.art h3 { margin: 0; font-size: 18.5px; letter-spacing: -.01em; line-height: 1.3; }
.art p { margin: 0; color: var(--muted); font-size: 15px; }
.prose { max-width: 74ch; }
.prose h2 { font-size: 24px; letter-spacing: -.02em; margin: 34px 0 10px; }
.prose h3 { font-size: 19px; margin: 26px 0 8px; }
.prose p, .prose li { color: var(--ink-2); font-size: 17px; line-height: 1.7; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 14px 0; }
.prose th, .prose td { border: 1px solid var(--line-2); padding: 8px 10px; text-align: left; }
.prose th { background: var(--surface-2); }
.prose .note { padding: 14px 16px; border-left: 4px solid var(--orange); background: var(--orange-soft); border-radius: 0 10px 10px 0; color: var(--ink); }
.prose figure { margin: 20px 0; } .prose figure img { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.prose figcaption { color: var(--muted); font-size: 14px; margin-top: 6px; }
.formcard { padding: 26px; display: flex; flex-direction: column; gap: 14px; }

/* cta and footer */
.cta-band { position: relative; overflow: hidden; border-radius: 22px; padding: clamp(28px, 4vw, 48px); background: radial-gradient(700px 300px at 85% 0%, rgba(240, 124, 27, .35), transparent 70%), linear-gradient(135deg, #15202C, #0B1118); color: #fff; display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 20px; align-items: center; }
.cta-band h2 { margin: 0; font-size: clamp(26px, 3vw, 36px); letter-spacing: -.03em; }
.cta-band p { margin: 8px 0 0; color: var(--on-dark-muted); }
.foot { background: #0B1118; color: var(--on-dark-muted); padding-block: 48px 30px; font-size: 14.5px; }
.foot .cols { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 24px; }
.foot h4 { color: #fff; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 12px; }
.foot a { color: var(--on-dark-muted); text-decoration: none; display: block; padding: 3px 0; }
.foot a:hover { color: #fff; }
.foot .legal { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 32px; padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; }

@media (max-width: 1020px) {
  .menu, .nav-cta .btn-ghost { display: none; }
  #navToggle { display: grid; place-items: center; }
  .nav.open .menu { display: flex; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #0F171F; padding: 10px 16px 18px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .nav.open .menu .dd { display: flex; position: static; box-shadow: none; background: transparent; border: 0; padding: 0 0 6px 12px; }
  .modules, .features, .plans { grid-template-columns: minmax(0, 1fr); }
  .module { min-height: 360px; }
  .show, .course-detail, .cta-band { grid-template-columns: minmax(0, 1fr); }
  .show.flip > :first-child { order: 0; }
  .flow { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .stats .glass { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats .s:nth-child(3) { border-left: 0; }
  .stats .s:nth-child(n+3) { border-top: 1px solid var(--line); }
  .foot .cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .course-detail aside { position: static; }
}
@media (max-width: 560px) { .flow { grid-template-columns: minmax(0, 1fr); } .nav-cta .btn-accent { display: none; } }
@media (prefers-reduced-motion: reduce) { .module .bgimg, .course, .art { transition: none; } }
@media (max-width: 700px) { .hero .scene { opacity: .35; } }
