@font-face {
  font-family: "GitLab Sans";
  src: url("../fonts/GitLabSans.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --public-bg: #0a0f1d;
  --public-bg-soft: #0f1830;
  --public-panel: rgba(17, 26, 50, .9);
  --public-panel-strong: #111a32;
  --public-border: rgba(123, 154, 222, .3);
  --public-text: #d5ddf3;
  --public-muted: #bdc8e2;
  --public-blue: #2f7cff;
  --public-cyan: #44c9ff;
  --public-pink: #82b9ff;
  --public-heading: #f5f7ff;
  --public-max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.academy-public-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  margin: 0;
  overflow-x: hidden;
  color: var(--public-text);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(46, 92, 255, .25), transparent 60%),
    radial-gradient(800px 400px at 5% 10%, rgba(29, 108, 242, .16), transparent 55%),
    var(--public-bg);
  font-family: "GitLab Sans", sans-serif;
  font-size: 15px;
}
body.academy-public-page > main { flex: 1 0 auto; }
body.academy-public-page > .public-footer { margin-top: auto; }
body.academy-public-page::selection { background: rgba(47, 124, 255, .35); color: #fff; }
body.public-modal-open { overflow: hidden; }
.public-noise { position: fixed; inset: 0; z-index: -1; opacity: .025; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E"); }
.public-container { width: min(calc(100% - 48px), var(--public-max)); margin-inline: auto; }
.public-header { position: relative; z-index: 5; border-bottom: 1px solid rgba(145, 175, 232, .12); background: rgba(5, 10, 22, .72); backdrop-filter: blur(18px); }
.public-header-inner { min-height: 82px; display: flex; align-items: center; gap: 32px; }
.public-brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; font-size: 17px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.public-brand-mark { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid rgba(125, 204, 255, .55); border-radius: 10px; background: linear-gradient(145deg, #6dd7ff, #4364ff); box-shadow: 0 0 26px rgba(78, 165, 255, .28); overflow: hidden; }
.public-brand-mark img { width: 23px; height: 23px; object-fit: contain; }
.public-nav { display: flex; align-items: center; gap: 25px; margin-left: auto; }
.public-nav a, .public-nav-button { border: 0; color: var(--public-muted); background: transparent; font: inherit; font-size: 13px; text-decoration: none; cursor: pointer; transition: color .2s ease; }
.public-nav a:hover, .public-nav-button:hover { color: #fff; }
.public-resource-menu { position: relative; }
.public-nav-button { display: inline-flex; align-items: center; gap: 6px; padding: 12px 0; }
.public-resource-panel { position: absolute; top: calc(100% + 5px); right: 0; display: grid; min-width: 190px; padding: 8px; border: 1px solid var(--public-border); border-radius: 14px; background: #0b152a; box-shadow: 0 18px 45px rgba(0, 0, 0, .34); opacity: 0; visibility: hidden; transform: translateY(-5px); transition: opacity .16s ease, transform .16s ease, visibility .16s ease; }
.public-resource-menu.is-open .public-resource-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.public-resource-panel a { padding: 10px 11px; border-radius: 9px; color: #c5d2ea; }
.public-resource-panel a:hover { background: rgba(95, 141, 255, .13); color: #fff; }
.public-header-actions { display: flex; align-items: center; gap: 11px; margin-left: auto; }
.public-quiet-button, .public-admin-link { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 15px; border: 1px solid var(--public-border); border-radius: 10px; color: #e5edff; background: rgba(255, 255, 255, .04); font: inherit; font-size: 12px; text-decoration: none; cursor: pointer; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.public-quiet-button:hover, .public-admin-link:hover { color: #fff; border-color: rgba(124, 173, 255, .55); background: rgba(95, 141, 255, .14); transform: translateY(-1px); }
.public-admin-link { color: #a9d8ff; border-color: rgba(93, 225, 242, .26); background: rgba(93, 225, 242, .06); }
.public-user-pill { max-width: 180px; overflow: hidden; color: var(--public-muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.public-status-dot { width: 6px; height: 6px; display: inline-block; margin-right: 6px; border-radius: 50%; background: #64e6ac; box-shadow: 0 0 11px rgba(100, 230, 172, .7); }
.public-hero { min-height: 540px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, .88fr); align-items: center; gap: 40px; padding-block: 80px 62px; }
.public-eyebrow { display: flex; align-items: center; gap: 9px; color: #7fd4fb; font-size: 10px; font-weight: 750; letter-spacing: .19em; }
.public-eyebrow > span { width: 22px; height: 1px; display: inline-block; background: linear-gradient(90deg, var(--public-cyan), transparent); }
.public-hero h1 { max-width: 680px; margin: 19px 0 18px; color: #fff; font-size: clamp(48px, 6vw, 82px); font-weight: 720; letter-spacing: -.075em; line-height: .97; }
.public-hero h1 em { color: #83a6ff; font-style: normal; }
.public-hero-copy > p { max-width: 475px; margin: 0; color: var(--public-muted); font-size: 17px; line-height: 1.65; }
.public-hero-actions { display: flex; align-items: center; gap: 20px; margin-top: 31px; }
.public-primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 49px; padding: 0 21px; border: 0; border-radius: 11px; color: #061024; background: linear-gradient(105deg, #81e4ef, #668cff 64%, #ad82ff); box-shadow: 0 10px 28px rgba(86, 137, 255, .22); font: inherit; font-size: 13px; font-weight: 750; text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; }
.public-primary-button:hover { color: #061024; filter: brightness(1.08); box-shadow: 0 14px 34px rgba(86, 137, 255, .36); transform: translateY(-2px); }
.public-primary-button span { font-size: 18px; font-weight: 400; line-height: 0; }
.public-text-button { display: inline-flex; align-items: center; gap: 9px; padding: 0; border: 0; color: #dce6ff; background: none; font: inherit; font-size: 13px; cursor: pointer; }
.public-text-button span { color: #85dcf3; font-size: 18px; transition: transform .2s ease; }
.public-text-button:hover span { transform: translateX(4px); }
.public-hero-art { position: relative; min-height: 390px; }
.public-hero-glow { position: absolute; inset: 12% 7% 7%; border-radius: 50%; background: radial-gradient(circle, rgba(78, 117, 255, .34), rgba(60, 188, 230, .08) 44%, transparent 68%); filter: blur(8px); }
.public-hero-orbit { position: absolute; border: 1px solid rgba(125, 175, 255, .25); border-radius: 50%; transform: rotate(-25deg); }
.public-hero-orbit-one { width: 470px; height: 220px; top: 64px; left: 13px; }
.public-hero-orbit-two { width: 410px; height: 180px; top: 105px; left: 48px; border-color: rgba(93, 225, 242, .18); transform: rotate(31deg); }
.public-hero-card { position: absolute; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid rgba(157, 190, 255, .24); border-radius: 19px; box-shadow: 0 25px 65px rgba(0, 0, 0, .34); transform: rotate(-8deg); }
.public-hero-card-back { width: 188px; height: 246px; top: 37px; left: 55px; padding: 22px; color: #a8bcf4; background: linear-gradient(155deg, rgba(45, 65, 129, .8), rgba(15, 23, 53, .85)); opacity: .8; }
.public-hero-card-back span { font-size: 11px; letter-spacing: .15em; }
.public-hero-card-back strong { font-size: 18px; line-height: 1.1; }
.public-hero-card-front { width: 232px; height: 292px; top: 82px; left: 169px; padding: 24px; color: #f8fbff; background: linear-gradient(155deg, rgba(60, 109, 210, .95), rgba(17, 27, 61, .96) 65%, rgba(11, 18, 39, .98)); transform: rotate(9deg); }
.public-hero-card-front::after { position: absolute; width: 85px; height: 85px; right: -27px; top: -22px; border: 1px solid rgba(107, 231, 245, .4); border-radius: 50%; content: ""; }
.public-hero-card-kicker { font-size: 9px; font-weight: 750; letter-spacing: .18em; color: #a8e9fa; }
.public-hero-card-front strong { font-size: 39px; line-height: .92; letter-spacing: -.07em; }
.public-hero-card-front strong span { color: var(--public-cyan); }
.public-hero-card-front small { color: #adc2ec; font-size: 10px; }
.public-hero-card-front small i { width: 6px; height: 6px; display: inline-block; margin-right: 6px; border-radius: 50%; background: #75e5bb; }
.public-course-section { padding-block: 24px 100px; }
.public-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.public-section-heading h2 { margin: 10px 0 0; color: #f8fbff; font-size: clamp(29px, 4vw, 43px); letter-spacing: -.055em; }
.public-course-count { color: #8193b6; font-size: 11px; letter-spacing: .11em; text-transform: uppercase; }
.public-category-list { display: grid; gap: 13px; }
.public-category { overflow: hidden; border: 1px solid var(--public-border); border-radius: 17px; background: rgba(12, 23, 44, .62); }
.public-category-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; border: 0; color: #fff; background: transparent; font: inherit; text-align: left; cursor: pointer; }
.public-category-toggle:hover { background: rgba(95, 141, 255, .06); }
.public-category-name { display: inline-flex; align-items: center; gap: 13px; font-size: 16px; font-weight: 650; }
.public-category-icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; color: #9debf5; background: rgba(93, 225, 242, .12); font-size: 12px; }
.public-category-meta { display: inline-flex; align-items: center; gap: 17px; color: #8294b6; font-size: 11px; }
.public-category-meta b { width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid rgba(148, 180, 236, .2); border-radius: 50%; color: #b5caff; font-size: 17px; font-weight: 400; line-height: 1; transition: transform .2s ease, background .2s ease; }
.public-category.is-expanded .public-category-meta b { transform: rotate(45deg); background: rgba(95, 141, 255, .13); }
.public-category-content { padding: 0 24px 24px; }
.public-course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.public-course-card { min-width: 0; overflow: hidden; border: 1px solid rgba(155, 184, 241, .17); border-radius: 15px; color: var(--public-text); background: linear-gradient(145deg, rgba(24, 40, 77, .9), rgba(10, 20, 40, .93)); text-decoration: none; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.public-course-card:hover { border-color: rgba(118, 196, 255, .54); box-shadow: 0 15px 36px rgba(0, 0, 0, .26); transform: translateY(-4px); }
.public-course-image-wrap { position: relative; aspect-ratio: 1.65 / 1; overflow: hidden; background: linear-gradient(145deg, #1d3880, #0d1b39); }
.public-course-image { width: 100%; height: 100%; display: block; object-fit: cover; opacity: .88; transition: transform .35s ease, opacity .35s ease; }
.public-course-card:hover .public-course-image { opacity: 1; transform: scale(1.04); }
.public-course-image-wrap::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(4, 10, 23, .78)); content: ""; pointer-events: none; }
.public-course-open-badge { position: absolute; z-index: 2; top: 12px; right: 12px; width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid rgba(130, 185, 255, .72); border-radius: 50%; color: #fff; background: #2f7cff; box-shadow: 0 7px 16px rgba(0, 0, 0, .2); font-size: 17px; font-weight: 400; line-height: 1; }
.public-course-rating-badge { position: absolute; z-index: 2; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 5px; min-height: 28px; padding: 0 9px; border: 1px solid rgba(157, 224, 255, .42); border-radius: 999px; color: #f7fcff; background: rgba(9, 27, 61, .8); box-shadow: 0 7px 16px rgba(0, 0, 0, .2); font-size: 12px; font-weight: 700; }
.public-course-rating-badge span:first-child { font-size: 14px; line-height: 1; }
.public-lock-badge { position: absolute; z-index: 2; top: 11px; right: 11px; width: 25px; height: 25px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; color: #eaf7ff; background: rgba(6, 13, 30, .56); font-size: 14px; transform: rotate(90deg); }
.public-course-card-body { padding: 18px 18px 20px; }
.public-course-card-kicker, .public-content-label { color: #83d7ed; font-size: 9px; font-weight: 750; letter-spacing: .16em; }
.public-course-card h3 { margin: 9px 0 7px; color: #f8fbff; font-size: 18px; letter-spacing: -.035em; line-height: 1.08; }
.public-course-card p { display: -webkit-box; overflow: hidden; margin: 0; color: #94a6c8; font-size: 12px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.public-empty-state { padding: 78px 22px; border: 1px dashed rgba(145, 175, 232, .24); border-radius: 17px; color: var(--public-muted); text-align: center; }
.public-empty-icon { color: var(--public-cyan); font-size: 30px; }
.public-empty-state h3 { margin: 16px 0 6px; color: #f5f8ff; font-size: 20px; }
.public-empty-state p { margin: 0; font-size: 13px; }
.public-footer { border-top: 1px solid rgba(145, 175, 232, .12); color: #6f81a4; font-size: 11px; }
.public-footer-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.public-footer a { color: #9db2d8; text-decoration: none; }
.public-modal-backdrop { position: fixed; z-index: 20; inset: 0; display: grid; place-items: center; padding: 22px; background: rgba(2, 6, 15, .78); backdrop-filter: blur(13px); }
.public-modal-backdrop[hidden] { display: none; }
.public-login-modal { position: relative; width: min(100%, 430px); padding: 35px; border: 1px solid rgba(140, 184, 255, .28); border-radius: 22px; background: linear-gradient(145deg, rgba(20, 37, 74, .98), rgba(8, 16, 34, .98)); box-shadow: 0 30px 90px rgba(0, 0, 0, .52); }
.public-modal-close { position: absolute; top: 15px; right: 17px; width: 30px; height: 30px; border: 0; border-radius: 50%; color: #aebddd; background: transparent; font-size: 25px; font-weight: 300; line-height: 1; cursor: pointer; }
.public-modal-close:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.public-modal-mark { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 13px; background: linear-gradient(145deg, #71d9f1, #526fff); box-shadow: 0 7px 23px rgba(80, 138, 255, .32); }
.public-modal-mark img { width: 30px; height: 30px; }
.public-login-modal h2 { max-width: 320px; margin: 0 0 10px; color: #fff; font-size: 30px; letter-spacing: -.055em; line-height: 1.04; }
.public-modal-copy { margin: 0 0 24px; color: #a2b3d2; font-size: 13px; line-height: 1.6; }
.public-login-modal label { display: block; margin-bottom: 8px; color: #cfdbf0; font-size: 11px; font-weight: 650; }
.public-login-modal input[type=email] { width: 100%; height: 47px; margin-bottom: 13px; padding: 0 14px; border: 1px solid rgba(145, 175, 232, .23); border-radius: 10px; outline: 0; color: #f8fbff; background: rgba(0, 0, 0, .2); font: inherit; font-size: 13px; }
.public-login-modal input[type=email]:focus { border-color: #75d9f1; box-shadow: 0 0 0 3px rgba(93, 225, 242, .12); }
.public-login-modal input[type=email]::placeholder { color: #65789f; }
.public-login-submit { width: 100%; }
.public-login-submit:disabled { cursor: wait; opacity: .65; transform: none; }
.public-login-feedback, .public-login-success { margin: 14px 0 0; padding: 11px 12px; border: 1px solid rgba(255, 121, 147, .36); border-radius: 10px; font-size: 12px; line-height: 1.5; }
.public-login-feedback-error { color: #ffe3e8; background: rgba(100, 29, 54, .9); }
.public-login-success { border-color: rgba(91, 220, 136, .38); color: #b9f5c8; background: rgba(26, 111, 61, .24); }
.public-modal-note { margin: 19px 0 0; color: #7185ab; font-size: 10px; text-align: center; }
.public-modal-note span { margin-right: 5px; color: var(--public-cyan); }
.academy-course-page .public-course-main { padding-block: 48px 92px; }
.public-back-link { display: inline-flex; align-items: center; gap: 9px; color: #98b0d7; font-size: 12px; text-decoration: none; }
.public-back-link:hover { color: #fff; }
.public-course-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; padding-block: 45px 34px; }
.public-course-title { max-width: 840px; margin: 10px 0 6px; color: #fff; font-size: 30px; font-weight: 500; letter-spacing: -.045em; line-height: 1.15; }
.public-course-heading p { max-width: 650px; margin: 0; color: var(--public-muted); font-size: 15px; line-height: 1.6; }
.public-course-video-card, .public-course-cover { overflow: hidden; border: 1px solid var(--public-border); border-radius: 19px; background: #02060d; box-shadow: 0 20px 60px rgba(0, 0, 0, .2); }
.public-course-video { width: 100%; max-height: 610px; display: block; background: #02060d; }
.public-course-cover { max-height: 490px; }
.public-course-cover img { width: 100%; max-height: 490px; display: block; object-fit: cover; }
.public-course-content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 30px; align-items: start; margin-top: 31px; }
.public-course-content-card { min-width: 0; padding: 31px; border: 1px solid var(--public-border); border-radius: 17px; background: rgba(13, 24, 46, .72); }
.public-rich-content { color: #cfdbef; font-size: 15px; line-height: 1.75; overflow-wrap: anywhere; }
.public-rich-content > :first-child { margin-top: 0; }
.public-rich-content > :last-child { margin-bottom: 0; }
.public-rich-content h1, .public-rich-content h2, .public-rich-content h3, .public-rich-content h4 { color: #fff; letter-spacing: -.04em; line-height: 1.15; }
.public-rich-content a { color: #86dff2; }
.public-rich-content img { display: block; max-width: 100%; height: auto; }
.public-modules { margin-top: 38px; padding-top: 30px; border-top: 1px solid rgba(145, 175, 232, .14); }
.public-module-card { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-bottom: 1px solid rgba(145, 175, 232, .12); }
.public-module-card:last-child { padding-bottom: 0; border-bottom: 0; }
.public-module-number { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(93, 225, 242, .28); border-radius: 10px; color: #8ce6f0; font-size: 10px; }
.public-module-card h2 { margin: 0 0 7px; color: #fff; font-size: 20px; letter-spacing: -.04em; }
.public-module-card p { margin: 0 0 11px; color: var(--public-muted); font-size: 13px; line-height: 1.6; }
.public-module-video { display: inline-flex; align-items: center; gap: 8px; color: #88dff0; font-size: 11px; text-decoration: none; }
.public-module-content { margin-top: 15px; font-size: 13px; }
.public-course-empty { color: var(--public-muted); }
.public-aside-card { position: sticky; top: 24px; padding: 23px; border: 1px solid rgba(123, 163, 242, .21); border-radius: 16px; background: linear-gradient(145deg, rgba(39, 61, 120, .43), rgba(11, 20, 41, .6)); }
.public-aside-icon { display: block; margin-bottom: 24px; color: #a8eaf3; font-size: 23px; }
.public-aside-card strong { display: block; color: #fff; font-size: 17px; }
.public-aside-card p { margin: 8px 0 0; color: #9eafd0; font-size: 12px; line-height: 1.55; }
.public-rating-card .public-content-label { margin-bottom: 12px; }
.public-rating-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 17px; }
.public-rating-button { width: 100%; display: inline-flex; align-items: center; justify-content: center; min-height: 46px; border: 1px solid rgba(130, 185, 255, .24); border-radius: 10px; color: #d9e6ff; background: rgba(7, 18, 42, .58); font: inherit; font-size: 12px; cursor: pointer; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.public-rating-button:hover, .public-rating-button.is-selected { border-color: rgba(130, 185, 255, .7); background: rgba(47, 124, 255, .24); transform: translateY(-1px); }
.public-rating-button span:first-child { font-size: 20px; line-height: 1; }
@media (max-width: 900px) {
  .public-header-inner { gap: 18px; }
  .public-nav { display: none; }
  .public-hero { grid-template-columns: 1fr; padding-top: 62px; }
  .public-hero-art { min-height: 350px; max-width: 520px; width: 100%; margin: -8px auto 0; }
  .public-course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .public-course-content-layout { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .public-container { width: min(calc(100% - 30px), var(--public-max)); }
  .public-header-inner { min-height: 70px; }
  .public-brand { font-size: 14px; }
  .public-user-pill { display: none; }
  .public-admin-link { display: none; }
  .public-hero { min-height: auto; padding-block: 57px 30px; }
  .public-hero h1 { font-size: clamp(45px, 14vw, 70px); }
  .public-hero-copy > p { font-size: 14px; }
  .public-hero-actions { align-items: flex-start; flex-direction: column; gap: 17px; }
  .public-hero-art { min-height: 300px; transform: scale(.8); transform-origin: top center; margin-bottom: -52px; }
  .public-hero-orbit-one { left: -15px; }
  .public-hero-orbit-two { left: 20px; }
  .public-hero-card-back { left: 15px; }
  .public-hero-card-front { left: 130px; }
  .public-section-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .public-section-heading h2 { font-size: 35px; }
  .public-category-toggle { padding: 18px 16px; }
  .public-category-content { padding: 0 16px 16px; }
  .public-category-meta > span { display: none; }
  .public-course-grid { grid-template-columns: 1fr; }
  .public-course-heading { align-items: flex-start; flex-direction: column; padding-block: 36px 27px; }
  .public-course-content-card { padding: 21px; }
  .public-footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: 5px; }
  .public-login-modal { padding: 29px 22px 24px; }
}

/* FirstStep.ai product theme */
.public-container { width: min(calc(100% - 48px), var(--public-max)); }

.public-header {
  position: relative;
  padding: 20px 0;
  border-bottom: 0;
  background: transparent;
  backdrop-filter: none;
}

.public-header-inner {
  min-height: 60px;
  gap: 24px;
  padding: 5px 25px;
  border: 1px solid rgba(123, 154, 222, .3);
  border-radius: 50px;
  background: rgba(8, 13, 28, .84);
  box-shadow: 0 10px 36px rgba(0, 0, 0, .42);
  backdrop-filter: blur(12px);
}

.public-brand { gap: 11px; color: #fff; font-size: 20px; font-weight: 500; }
.public-brand-logo { width: 134px; height: auto; display: block; }
.public-brand-academy { color: #FF6600; letter-spacing: .035em; }

.public-nav { gap: 28px; }
.public-nav a, .public-nav-button { color: #d9e6ff; font-size: 14px; }
.public-nav a:hover, .public-nav-button:hover { color: #82b9ff; }
.public-nav-button { padding: 10px 0; }
.public-resource-panel { border-color: rgba(123, 154, 222, .3); border-radius: 12px; background: #121d38; box-shadow: 0 18px 45px rgba(0, 0, 0, .42); }
.public-resource-panel a { color: #d9e6ff; }
.public-resource-panel a:hover { color: #82b9ff; background: rgba(47, 124, 255, .12); }

.public-quiet-button, .public-admin-link {
  min-height: 38px;
  padding: 0 20px;
  border-radius: 50px;
  border-color: rgba(47, 124, 255, .7);
  color: #fff;
  background: linear-gradient(135deg, #2f7cff, #1766e8);
  box-shadow: 0 7px 20px rgba(23, 102, 232, .2);
  font-size: 14px;
}
.public-quiet-button:hover, .public-admin-link:hover { border-color: #82b9ff; color: #fff; background: #246fe8; transform: translateY(-1px); }
.public-admin-link { border-color: rgba(130, 185, 255, .45); color: #d9e6ff; background: rgba(47, 124, 255, .12); box-shadow: none; }
.public-user-pill { color: #bdc8e2; font-size: 12px; }
.public-status-dot { background: #2dc775; box-shadow: 0 0 11px rgba(45, 199, 117, .7); }

.public-hero {
  min-height: 400px;
  padding-block: 40px 40px;
  overflow: visible;
}
.public-hero::before { position: absolute; inset: 0; z-index: 0; background: radial-gradient(circle at 90% 10%, rgba(47, 124, 255, .08), transparent 40%); content: ""; pointer-events: none; }
.public-hero-copy, .public-hero-art { position: relative; z-index: 2; }
.public-eyebrow { color: #82b9ff; font-size: 10px; font-weight: 700; letter-spacing: .17em; }
.public-eyebrow > span { background: linear-gradient(90deg, #2f7cff, transparent); }
.public-hero h1 { max-width: 680px; margin: 19px 0 18px; color: #f7faff; font-size: clamp(44px, 5.1vw, 68px); font-weight: 500; letter-spacing: -.045em; line-height: 1.08; }
.public-hero h1 em { color: #82b9ff; }
.public-hero-copy > p { color: #bdc8e2; font-size: 16px; line-height: 1.6; }
.public-hero-actions { margin-top: 28px; }
.public-primary-button { min-height: 43px; padding: 0 28px; border: 1px solid rgba(47, 124, 255, .8); border-radius: 50px; color: #fff; background: linear-gradient(135deg, #2f7cff, #1766e8); box-shadow: 0 10px 26px rgba(29, 108, 242, .28); font-size: 14px; font-weight: 600; }
.public-primary-button:hover { color: #fff; background: #246fe8; box-shadow: 0 13px 30px rgba(29, 108, 242, .38); }
.public-text-button { color: #d9e6ff; font-size: 14px; }
.public-text-button span { color: #82b9ff; }
.public-hero-glow { background: radial-gradient(circle, rgba(46, 92, 255, .22), rgba(29, 108, 242, .07) 44%, transparent 68%); }
.public-hero-orbit { border-color: rgba(112, 157, 255, .28); }
.public-hero-orbit-two { border-color: rgba(68, 201, 255, .2); }
.public-hero-card { border-color: rgba(124, 157, 226, .32); box-shadow: 0 22px 58px rgba(0, 0, 0, .38); }
.public-hero-card-back { color: #aecaef; background: linear-gradient(160deg, rgba(18, 30, 58, .9), rgba(10, 17, 35, .94)); }
.public-hero-card-front { color: #f2f7ff; background: linear-gradient(160deg, rgba(30, 76, 166, .92), rgba(10, 17, 35, .96) 72%); }
.public-hero-card-front::after { border-color: rgba(130, 185, 255, .42); }
.public-hero-card-kicker { color: #aecaef; }
.public-hero-card-front strong span { color: #44c9ff; }
.public-hero-card-front small { color: #bdc8e2; }
.public-hero-grid-overlay { position: absolute; z-index: 1; bottom: 0; left: 50%; width: 100vw; max-width: none; opacity: .12; pointer-events: none; transform: translateX(-50%); }
.public-hero-card-icon { width: 72px; height: 72px; display: grid; place-items: center; border: 1px solid rgba(130, 185, 255, .34); border-radius: 20px; color: #82b9ff; background: rgba(47, 124, 255, .16); box-shadow: 0 12px 30px rgba(29, 108, 242, .2), inset 0 0 24px rgba(130, 185, 255, .08); }
.public-hero-card-icon svg { width: 42px; height: 42px; display: block; }
.public-hero-card-back .public-hero-card-icon { align-self: flex-end; margin-top: 8px; color: #44c9ff; background: rgba(68, 201, 255, .12); }
.public-hero-card-back .public-hero-card-label { color: #f2f7ff; font-size: 22px; font-weight: 500; letter-spacing: .12em; }
.public-hero-card-front .public-hero-card-icon { margin-top: 8px; color: #d9ebff; background: rgba(47, 124, 255, .24); }
.public-hero-card-front .public-hero-card-label { color: #f2f7ff; font-size: 40px; font-weight: 500; letter-spacing: -.06em; line-height: .9; }
.public-hero-card-front .public-hero-card-label span { color: #44c9ff; }
.public-hero-card-front small { color: #bdc8e2; font-size: 10px; }

.public-course-section { position: relative; z-index: 2; padding-block: 24px 100px; }
.public-section-heading { margin-bottom: 30px; }
.public-section-heading h2 { color: #f5f7ff; font-size: clamp(32px, 4vw, 44px); font-weight: 500; letter-spacing: -.04em; }
.public-course-count { color: #aecaef; }
.public-category { border-color: rgba(124, 157, 226, .32); border-radius: 16px; background: linear-gradient(160deg, rgba(18, 30, 58, .9), rgba(10, 17, 35, .94)); box-shadow: 0 12px 36px rgba(0, 0, 0, .22); }
.public-category-toggle { padding: 10px 24px; background: rgba(47, 124, 255, .08); }
.public-category-toggle:hover { background: rgba(47, 124, 255, .13); }
.public-category-name { color: #f2f7ff; }
.public-category-icon { color: #aecaef; background: rgba(47, 124, 255, .18); }
.public-category-meta { color: #aecaef; }
.public-category-meta b { border-color: rgba(130, 185, 255, .3); color: #cfe2ff; }
.public-category.is-expanded .public-category-meta b { background: rgba(47, 124, 255, .2); }
.public-category-content { padding: 24px 34px 24px 24px; }
.public-course-card { border-color: rgba(124, 157, 226, .32); color: #d5ddf3; background: linear-gradient(160deg, rgba(18, 30, 58, .9), rgba(10, 17, 35, .94)); box-shadow: 0 12px 30px rgba(0, 0, 0, .2); }
.public-course-card:hover { border-color: rgba(130, 185, 255, .7); box-shadow: 0 16px 38px rgba(0, 0, 0, .32); }
.public-course-image-wrap { background: linear-gradient(145deg, #192f62, #0b1429); }
.public-lock-badge { border-color: rgba(157, 193, 255, .4); background: rgba(8, 13, 28, .7); }
.public-course-card-kicker, .public-content-label { color: #82b9ff; }
.public-course-card h3 { color: #f2f7ff; font-weight: 500; }
.public-course-card-body hr { margin: 13px 0 11px; border: 0; border-top: 1px solid rgba(123, 154, 222, .28); opacity: 1; }
.public-course-card p { color: #bdc8e2; }
.public-empty-state { border-color: rgba(124, 157, 226, .32); color: #bdc8e2; }
.public-empty-icon { color: #82b9ff; }
.public-empty-state h3 { color: #f5f7ff; }

.public-footer { border-top-color: rgba(123, 154, 222, .18); color: #b9c9ea; background: #060b16; }
.public-footer a { color: #b9c9ea; }

.public-modal-backdrop { background: rgba(3, 8, 19, .8); }
.public-login-modal { border: 1px solid rgba(123, 154, 222, .35); border-radius: 16px; background: #f7f8fc; box-shadow: 0 30px 90px rgba(0, 0, 0, .5); }
.public-modal-close { color: #5e6d82; }
.public-modal-close:hover { color: #1b2b42; background: rgba(15, 35, 70, .08); }
.public-modal-mark { background: #0a0f1d; box-shadow: 0 7px 23px rgba(11, 32, 79, .28); }
.public-login-modal h2 { color: #2d465e; }
.public-modal-copy { color: #5f7086; }
.public-login-modal label { color: #2d465e; }
.public-login-modal input[type=email] { border-color: #c7d3e3; color: #1f3046; background: #fff; }
.public-login-modal input[type=email]:focus { border-color: #2f7cff; box-shadow: 0 0 0 3px rgba(47, 124, 255, .13); }
.public-login-modal input[type=email]::placeholder { color: #8493a7; }
.public-login-feedback-error { border-color: #f1b9c4; color: #a43f51; background: #fff0f3; }
.public-login-success { border-color: #b7e7c8; color: #1f7442; background: #effcf3; }
.public-modal-note { color: #718096; }
.public-modal-note span { color: #2f7cff; }

@media (max-width: 900px) {
  .public-header-inner { gap: 18px; }
  .public-hero { min-height: 0; padding-top: 62px; }
}

@media (max-width: 600px) {
  .public-header { padding: 14px 0; }
  .public-header-inner { min-height: 56px; padding-inline: 17px; }
  .public-brand-logo { width: 108px; }
  .public-brand-academy { font-size: 12px; }
  .public-quiet-button { min-height: 34px; padding-inline: 15px; font-size: 12px; }
  .public-hero h1 { font-size: clamp(42px, 13vw, 64px); }
  .public-hero-grid-overlay { bottom: 0; }
}
