@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');

:root {
  --navy: #142e4e;
  --blue: #2859e8;
  --ink: #182c43;
  --muted: #607081;
  --line: #dfe5ea;
  --paper: #fafbf8;
  --mint: #dcf1e4;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

h1, h2, h3, .brand {
  font-family: Manrope, sans-serif;
  line-height: 1.16;
  letter-spacing: -.04em;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  font-size: clamp(42px, 4.7vw, 68px);
  font-weight: 800;
  margin-bottom: 25px;
}

h2 {
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 750;
  margin-bottom: 20px;
}

h3 {
  font-size: 25px;
  font-weight: 750;
}

p { color: var(--muted); }

a {
  color: inherit;
  text-decoration: none;
}

a:hover { color: var(--blue); }

button, input, select, textarea { font: inherit; }

button, a, input, select, textarea, summary {
  -webkit-tap-highlight-color: transparent;
}

button, a, summary { touch-action: manipulation; }

button { cursor: pointer; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #f09d59;
  outline-offset: 4px;
}

[hidden] { display: none !important; }

.wrap {
  width: min(1180px, calc(100% - 80px));
  margin: auto;
}

.section {
  padding-top: 96px;
  padding-bottom: 96px;
}

.eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: .15em;
  font-weight: 700;
  color: #3d6658;
  margin-bottom: 19px;
}

em {
  font-style: normal;
  color: #416f60;
}

/* Header and navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fafbf8f5;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav {
  height: 91px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -1px;
}

.brand-icon {
  background: var(--navy);
  color: #c6ecd6;
  padding: 8px 9px;
  border-radius: 9px;
  font: 700 21px monospace;
  letter-spacing: -3px;
}

.brand-sub {
  display: block;
  font: 700 9px 'DM Sans', sans-serif;
  letter-spacing: 4px;
  margin-top: 6px;
}

.nav nav {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
}

.menu-button { display: none; }

/* Buttons and links */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 7px;
  padding: 15px 23px;
  color: white;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  transition: background .15s, transform .15s;
}

.button:hover {
  background: #1640bd;
  color: white;
  transform: translateY(-1px);
}

.button.small {
  padding: 12px 17px;
  font-size: 12px;
}

.button.light {
  background: var(--mint);
  border-color: var(--mint);
  color: var(--navy);
  flex-shrink: 0;
}

.text-link {
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  display: inline-block;
}

/* Hero */

.hero {
  padding: 74px 0 68px;
  background: radial-gradient(ellipse at 86% 30%, #e9f1e6 0, transparent 48%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  gap: 55px;
  align-items: center;
}

.pill {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #cfddd3;
  border-radius: 40px;
  padding: 6px 11px;
  margin-bottom: 24px;
  background: #f2f7ef;
}

.dot {
  height: 6px;
  width: 6px;
  background: #4c8462;
  border-radius: 50%;
}

.hero-copy > p {
  font-size: 16px;
  max-width: 475px;
  line-height: 1.8;
}

.actions {
  display: flex;
  gap: 23px;
  align-items: center;
  margin: 29px 0 25px;
}

.hero-notes {
  display: flex;
  gap: 20px;
  font-size: 11px;
  color: #536759;
}

.hero-visual {
  background: #e0ece1;
  padding: 25px;
  border-radius: 17px;
  transform: rotate(1deg);
  box-shadow: 0 20px 60px #1739490b;
  border: 1px solid #d0e0d3;
}

.visual-heading {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #52715c;
  margin-bottom: 23px;
}

.editor {
  background: #142b42;
  color: #e6edf4;
  border-radius: 10px;
  box-shadow: 0 18px 30px #132d4020;
  overflow: hidden;
  transform: rotate(-1deg);
}

.editor-bar {
  background: #20374d;
  padding: 16px 17px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #c0ccda;
}

.dots {
  font-size: 9px;
  letter-spacing: 4px;
  color: #e8b383;
}

.code {
  font: 11px/2.5 ui-monospace, Consolas, monospace;
  padding: 23px 10px 25px;
}

.code > div {
  display: flex;
  white-space: pre;
}

.code i {
  font-style: normal;
  color: #667d90;
  margin-right: 15px;
  width: 13px;
  text-align: right;
}

.code b,
pre b {
  font-weight: 400;
  color: #d7b6ff;
}

.code strong {
  color: #bce4a8;
  font-weight: 400;
}

.muted-code { color: #89a598; }

.terminal {
  background: #102437;
  padding: 17px 23px;
  font: 11px monospace;
}

.terminal > span {
  font-size: 8px;
  letter-spacing: 2px;
  color: #92a6b5;
}

.terminal p {
  color: #bfebca;
  margin: 10px 0 0;
}

.cursor { margin-left: 10px; }

.visual-bottom {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-top: 25px;
}

.round-arrow {
  font-size: 28px;
  color: #3f6755;
}

.visual-bottom p {
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
}

.visual-bottom strong { color: #243c33; }

.visual-tag {
  margin-left: auto;
  transform: rotate(-5deg);
  padding: 9px 15px;
  background: #f9e4b6;
  color: #594c2c;
  font-size: 11px;
  line-height: 1.4;
  border-radius: 3px;
}

/* Subject strip */

.subject-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.subject-strip > .wrap {
  display: flex;
  gap: 26px;
  align-items: center;
  justify-content: space-between;
  padding-top: 21px;
  padding-bottom: 21px;
}

.subject-strip span {
  font-size: 10px;
  letter-spacing: 1px;
  color: #7b8a85;
}

.subject-strip strong { font-size: 15px; }

/* Section headings and paths */

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
  margin-bottom: 35px;
}

.section-heading h2 { margin-bottom: 0; }

.section-heading p {
  font-size: 14px;
  margin-bottom: 4px;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 21px;
}

.path-card {
  padding: 29px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 11px;
  display: flex;
  flex-direction: column;
}

.path-card.featured {
  border: 1px solid #9abfa7;
  background: #eef6ee;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 33px;
  gap: 10px;
}

.step {
  font: 500 13px monospace;
  color: #7d8e88;
}

.badge {
  font-size: 9px;
  letter-spacing: 1px;
  font-weight: 700;
  background: #d2e8d4;
  color: #31583b;
  padding: 5px 10px;
  border-radius: 4px;
}

.label {
  font-size: 8px;
  letter-spacing: 1px;
  color: #748075;
}

.path-card h3 {
  font-size: 26px;
  margin-bottom: 17px;
}

.path-card p,
.path-card li { font-size: 13px; }

.path-card ul {
  padding: 0;
  list-style: none;
  margin: 9px 0 25px;
}

.path-card li { padding: 7px 0; }

.path-card li:before {
  content: '→';
  color: #688575;
  margin-right: 10px;
}

.course-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: auto;
  margin-bottom: 18px;
  font-size: 12px;
}

.course-meta strong { font: 800 23px Manrope, sans-serif; }

.card-bottom {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: auto;
}

.card-bottom > span {
  font-size: 10px;
  display: block;
  color: #6f7b85;
  margin-bottom: 12px;
}

/* Practice section */

.practice-section {
  background: var(--navy);
  color: white;
  padding: 70px 0;
}

.practice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.practice-section .eyebrow {
  color: #b9d4c4;
  font-size: 9px;
}

.practice-section p {
  color: #b9c8d6;
  font-size: 14px;
  max-width: 420px;
}

.practice-section .practice-question {
  color: #fff;
  font-weight: 600;
  margin-top: 24px;
}

.small-text {
  font-size: 12px !important;
  line-height: 1.7;
}

.exercise {
  background: #203a55;
  padding: 25px;
  border: 1px solid #425970;
  border-radius: 12px;
}

.exercise-top {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 1px;
  color: #acbdce;
}

.exercise pre {
  font: 14px/1.9 monospace;
  padding: 22px 0;
  overflow: auto;
}

.answer-options {
  display: flex;
  gap: 10px;
}

.answer-options button {
  flex: 1;
  background: #2c4863;
  color: white;
  border: 1px solid #577086;
  border-radius: 5px;
  padding: 11px 5px;
  font-size: 12px;
}

.answer-options button:hover,
.answer-options button.selected {
  background: #c2e5ca;
  color: #18332b;
  border-color: #c2e5ca;
}

.exercise #answer-feedback {
  font-size: 12px;
  margin: 18px 0 0;
  min-height: 60px;
}

/* Projects */

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.project-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: white;
}

.project-art {
  padding: 30px 22px;
  height: 240px;
  display: flex;
  align-items: center;
  background: #e9efef;
}

.project-art.library { background: #f3ece0; }

.project-art.api { background: #e7ebf5; }

.mini-window {
  background: #fff;
  padding: 17px;
  border-radius: 6px;
  box-shadow: 0 9px 18px #182d4810;
  width: 100%;
  font-size: 10px;
}

.mini-window > span {
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #7c8b97;
}

.score-row {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
}

.bar {
  height: 5px;
  background: #edf0f4;
  margin-top: 5px;
  border-radius: 4px;
}

.bar span {
  display: block;
  height: 100%;
  background: #7aa590;
  border-radius: 4px;
}

.score-total {
  border-top: 1px solid #eee;
  margin-top: 15px;
  padding-top: 9px;
  display: flex;
  justify-content: space-between;
}

.book-row {
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #edf0f1;
  padding: 15px 0;
  font-size: 8px;
}

.book-row i {
  font-style: normal;
  color: #97a3ac;
}

.book-row b {
  margin-left: auto;
  background: #e8f3e9;
  color: #477052;
  font-size: 7px;
  padding: 2px 5px;
  border-radius: 3px;
}

.book-row .issued {
  background: #f9eecf;
  color: #94732b;
}

.api-route {
  padding: 20px 0 8px;
  font: 12px monospace;
}

.api-route b { color: #39785d; }

.mini-window pre {
  background: #f3f5f9;
  padding: 15px 10px;
  font: 10px/1.9 monospace;
  overflow: auto;
}

.status-ok {
  color: #4b825d;
  font-size: 9px;
}

.project-copy { padding: 25px; }

.project-copy .eyebrow {
  font-size: 9px;
  margin-bottom: 12px;
}

.project-copy h3 { font-size: 20px; }

.project-copy p {
  font-size: 13px;
  margin: 0;
}

/* How it works */

.how-section {
  background: #edf2ec;
  border-block: 1px solid #e1e6df;
  padding: 80px 0;
}

.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 95px;
}

.how-grid > div > p {
  max-width: 370px;
  font-size: 14px;
}

.steps article {
  display: flex;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid #ccd9ce;
}

.steps article:first-child { padding-top: 0; }

.steps article > span {
  color: #7a9584;
  font: 14px monospace;
  padding-top: 4px;
}

.steps h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.steps p {
  font-size: 14px;
  margin: 0;
}

/* FAQ */

.faq-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 90px;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.faq-list details:first-child { padding-top: 0; }

summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  position: relative;
  padding-right: 25px;
}

summary:after {
  content: '+';
  position: absolute;
  right: 0;
  font-size: 20px;
  line-height: 1;
}

details[open] summary:after { content: '−'; }

.faq-list p {
  font-size: 14px;
  margin: 15px 0 0;
}

/* End call to action and footer */

.end-cta {
  background: var(--navy);
  border-radius: 12px;
  padding: 45px 48px;
  margin-bottom: 85px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: white;
}

.end-cta .eyebrow {
  color: #bedcc8;
  font-size: 9px;
}

.end-cta h2 {
  font-size: 30px;
  letter-spacing: -.03em;
}

.end-cta p {
  color: #b8c8d7;
  font-size: 13px;
  margin: 0;
}

footer {
  border-top: 1px solid var(--line);
  background: #f2f4ef;
  padding: 55px 0 20px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr .8fr 1fr;
  gap: 40px;
  padding-bottom: 45px;
}

.footer-top h3 {
  font: 700 12px 'DM Sans', sans-serif;
  letter-spacing: 0;
  margin-bottom: 16px;
}

.footer-top > div > a:not(.brand) {
  display: block;
  font-size: 12px;
  padding: 5px 0;
}

.footer-top p {
  font-size: 12px;
  margin: 20px 0 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: #6b7c74;
}

.footer-bottom a { margin-left: 20px; }

/* Page layouts */

.page-intro { padding: 75px 0 45px; }

.page-intro p {
  max-width: 650px;
  font-size: 17px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-bottom: 50px;
}

.catalog-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  display: flex;
  flex-direction: column;
  scroll-margin-top: 110px;
}

.catalog-card h2 { font-size: 27px; }

.catalog-card p { font-size: 14px; }

.catalog-card .eyebrow { font-size: 9px; }

.course-note {
  padding: 25px 30px;
  background: #eef3eb;
  border-radius: 8px;
  margin-bottom: 60px;
}

.course-note p {
  font-size: 14px;
  margin: 8px 0;
}

.course-heading { padding: 50px 0 40px; }

.breadcrumb {
  display: block;
  font-size: 13px;
  margin-bottom: 35px;
  color: #677580;
}

.course-heading h1 { margin-bottom: 20px; }

.course-heading > p {
  max-width: 650px;
  font-size: 18px;
}

.course-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
  align-items: start;
  padding-bottom: 80px;
}

.course-layout h2 { font-size: 29px; }

.syllabus-list {
  padding: 0;
  list-style: none;
}

.syllabus-list li {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.syllabus-list span {
  font: 12px monospace;
  color: #749080;
  padding-top: 5px;
}

.prerequisite {
  background: #edf3e9;
  padding: 24px;
  border-radius: 8px;
  margin-top: 30px;
}

.prerequisite h3 { font-size: 20px; }

.prerequisite p {
  margin: 0;
  font-size: 14px;
}

.enrol-card {
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  position: sticky;
  top: 120px;
}

.price { font: 800 46px Manrope, sans-serif; }

.enrol-card > p { font-size: 13px; }

.enrol-card dl > div {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 14px 0;
  font-size: 13px;
}

.enrol-card dd {
  font-weight: 600;
  text-align: right;
}

.enrol-card .button {
  width: 100%;
  margin: 15px 0;
}

.enrol-card > .small-text { margin-top: 22px; }

/* Contact page */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 90px;
  padding: 70px 0 85px;
}

.contact-copy > p {
  font-size: 16px;
  max-width: 430px;
}

.contact-detail { margin-top: 30px; }

.contact-detail > span {
  display: block;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #6a8073;
  margin-bottom: 7px;
}

.contact-detail a {
  font-size: 17px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.contact-note {
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding-top: 25px;
  font-size: 13px;
  color: #6c7d70;
}

.form-panel {
  background: white;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.form-panel h2 { font-size: 25px; }

.form-panel .small-text a { text-decoration: underline; }

.form-panel label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin: 17px 0 6px;
}

.form-panel label span {
  color: #84908a;
  font-weight: 400;
}

.form-panel input,
.form-panel select,
.form-panel textarea {
  width: 100%;
  border: 1px solid #ccd5d9;
  border-radius: 5px;
  background: #fcfdfb;
  padding: 11px 12px;
  font-size: 13px;
  color: var(--ink);
}

.form-panel textarea { resize: vertical; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-panel form > .small-text { margin-top: 20px; }

.form-panel .button { width: 100%; }

#formMessage {
  font-size: 13px;
  color: #386747;
}

/* Legal pages and skip link */

.legal {
  max-width: 800px;
  padding: 65px 0 80px;
}

.legal h3 {
  font-size: 21px;
  margin-top: 30px;
}

.legal a {
  color: var(--blue);
  text-decoration: underline;
}

.skip {
  position: fixed;
  top: -60px;
  left: 15px;
  z-index: 100;
  background: white;
  padding: 10px;
}

.skip:focus { top: 10px; }
/* Responsive layout fixes */
* {
  box-sizing: border-box;
}

img, video, svg {
  max-width: 100%;
}

.hero-grid > *,
.path-grid > *,
.project-grid > *,
.catalog-grid > *,
.practice-grid > *,
.how-grid > *,
.faq-grid > *,
.contact-layout > *,
.course-layout > *,
.package-hero > *,
.package-banner > * {
  min-width: 0;
}

.code, pre, .table-scroll {
  max-width: 100%;
  overflow-x: auto;
}

h1, h2, h3, p, a {
  overflow-wrap: break-word;
}

@media (max-width: 900px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .nav {
    height: 76px;
  }

  .brand {
    font-size: 21px;
  }

  .menu-button {
    display: block;
    background: transparent;
    color: var(--navy);
    border: 1px solid #ccd5d2;
    padding: 9px 12px;
    border-radius: 6px;
  }

  .nav nav {
    display: none;
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    padding: 22px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .nav nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .hero-grid,
  .path-grid,
  .project-grid,
  .catalog-grid,
  .practice-grid,
  .how-grid,
  .faq-grid,
  .contact-layout,
  .course-layout,
  .package-hero,
  .package-banner,
  .benefit-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .benefit-grid article,
  .benefit-grid article:nth-child(n) {
    grid-column: auto;
  }

  h1,
  .hero h1,
  .package-hero h1 {
    font-size: clamp(32px, 8vw, 46px);
  }

  h2,
  .package-banner h2 {
    font-size: 30px;
  }

  .hero {
    padding: 36px 0;
  }

  .section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .hero-visual {
    width: 100%;
    max-width: 100%;
    padding: 16px;
    transform: none;
  }

  .code {
    font-size: 10px;
  }

  .actions,
  .hero-notes,
  .subject-strip > .wrap,
  .package-tags {
    flex-wrap: wrap;
  }

  .section-heading,
  .end-cta {
    display: block;
  }

  .section-heading p {
    margin-top: 18px;
  }

  .end-cta {
    padding: 28px;
    margin-bottom: 48px;
  }

  .end-cta .button {
    margin-top: 20px;
  }

  .path-card,
  .catalog-card,
  .project-card {
    min-width: 0;
  }

  .enrol-card {
    position: static;
  }

  .contact-layout,
  .course-layout {
    padding-top: 35px;
    padding-bottom: 45px;
  }

  .form-panel {
    padding: 22px;
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-panel input,
  .form-panel select,
  .form-panel textarea {
    min-width: 0;
    font-size: 16px;
  }

  .package-banner,
  .package-checkout {
    padding: 24px;
  }

  .package-price {
    border-left: 0;
    padding-left: 0;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .footer-bottom {
    flex-wrap: wrap;
    gap: 15px;
  }

  .footer-bottom a {
    margin-left: 0;
    margin-right: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
/* Floating chatbot: bottom-left on every page */
.codrax-chat-toggle {
  position: fixed;
  left: 18px;
  bottom: 18px;
  right: auto;
  top: auto;
  z-index: 1000;

  width: 58px;
  height: 58px;
  padding: 0;
  margin: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #2859e8;
  color: #ffffff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 6px 22px rgba(20, 46, 78, 0.3);
  cursor: pointer;
}

.codrax-chat-toggle:hover {
  background: #1943c2;
}

.codrax-chat-toggle > span {
  display: none;
}

.codrax-chat-toggle svg {
  display: block;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.codrax-chat {
  position: fixed;
  left: 18px;
  bottom: 88px;
  right: auto;
  top: auto;
  z-index: 1001;

  width: min(375px, calc(100vw - 36px));
  max-height: calc(100vh - 110px);
  max-height: calc(100dvh - 110px);

  display: flex;
  flex-direction: column;
  overflow: hidden;

  background: #ffffff;
  color: #182c43;
  border: 1px solid #d6e0e8;
  border-radius: 14px;
  box-shadow: 0 12px 45px rgba(20, 46, 78, 0.25);
}

.codrax-chat[hidden] {
  display: none !important;
}

.codrax-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: #142e4e;
  color: #ffffff;
}

.codrax-chat-header strong {
  font-size: 15px;
}

.codrax-chat-header small {
  display: block;
  margin-top: 3px;
  color: #c7d6df;
  font-size: 11px;
}

.codrax-chat-header button {
  padding: 4px 8px;
  background: transparent;
  color: #ffffff;
  border: none;
  font-size: 26px;
  cursor: pointer;
}

.codrax-chat-log {
  flex: 1;
  min-height: 0;
  max-height: 300px;
  overflow-y: auto;
  padding: 16px;
}

.codrax-chat-log p {
  padding: 12px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.chat-bot-message {
  margin: 0 20px 12px 0;
  background: #edf3ec;
  color: #182c43;
}

.chat-user-message {
  margin: 0 0 12px 25px;
  background: #e9efff;
  color: #2142a2;
}

.chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 15px 12px;
}

.chat-quick button {
  padding: 7px 10px;
  background: #ffffff;
  color: #355647;
  border: 1px solid #c9d7d2;
  border-radius: 20px;
  font-size: 11px;
  cursor: pointer;
}

.chat-contact {
  padding: 0 18px 12px;
  color: #2859e8;
  font-size: 12px;
  font-weight: 700;
}

.codrax-chat-form {
  display: flex;
  flex-shrink: 0;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid #dfe5ea;
}

.codrax-chat-form input {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 10px;
  border: 1px solid #d0d9dd;
  border-radius: 6px;
  font: inherit;
  font-size: 16px;
}

.codrax-chat-form button {
  padding: 8px 14px;
  background: #2859e8;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 20px;
  cursor: pointer;
}

.chat-disclosure {
  flex-shrink: 0;
  margin: 0;
  padding: 0 12px 10px;
  color: #718078;
  text-align: center;
  font-size: 10px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* Place the chatbot at the bottom-right on every screen. */
.codrax-chat-toggle {
  position: fixed;
  left: auto;
  right: 18px;
  top: auto;
  bottom: 18px;
  z-index: 1000;
}

.codrax-chat {
  position: fixed;
  left: auto;
  right: 18px;
  top: auto;
  bottom: 88px;
  z-index: 1001;
  width: min(375px, calc(100vw - 36px));
  max-height: calc(100dvh - 110px);
}

.codrax-chat-log {
  min-height: 0;
  overflow-y: auto;
}

.codrax-chat-log p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.codrax-chat[hidden] {
  display: none !important;
}
/* Tighten the gap between the hero and Why Codrax. */
.hero {
  margin-bottom: 0;
  padding-bottom: 40px;
}

#benefits {
  margin-top: 0;
  padding-top: 40px;
}

@media (max-width: 780px) {
  .hero {
    padding-bottom: 24px;
  }

  #benefits {
    padding-top: 28px;
  }
}
/* Public website refinements */
html{scroll-behavior:smooth}body{overflow-wrap:break-word}main{min-width:0}img{max-width:100%;height:auto}button,input,select,textarea{font:inherit}button,a.button,input,select{min-height:44px}:focus-visible{outline:3px solid #2563eb;outline-offset:4px}.launch-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.launch-card{padding:26px;border:1px solid #dce4ec;border-radius:16px;background:#fff}.launch-card h3{margin:0 0 12px}.launch-card p,.launch-card li{line-height:1.8}.launch-band{background:#edf4ec;border-radius:18px;padding:28px;margin-top:24px}.launch-facts{display:flex;gap:20px;flex-wrap:wrap;padding:20px 0}.launch-facts span{display:block;font-size:13px}.launch-facts strong{display:block;color:#142e4e}.instructor-layout{display:grid;grid-template-columns:220px 1fr;gap:32px;align-items:center}.instructor-layout img{width:220px;border-radius:18px;aspect-ratio:1;object-fit:cover}.launch-section{padding-top:55px;padding-bottom:55px}.launch-section h2{font-size:clamp(26px,4vw,38px)}.launch-section summary{cursor:pointer;font-weight:600;padding:15px 0}.launch-section pre{white-space:pre-wrap;overflow-wrap:anywhere;padding:22px;background:#142e4e;color:white;border-radius:12px}.form-panel label{display:block;margin-top:18px}.form-panel input,.form-panel select,.form-panel textarea{width:100%;box-sizing:border-box}.form-panel .consent{display:flex;gap:12px;align-items:flex-start}.form-panel .consent input{width:auto;min-height:24px}.form-status{padding:16px;margin-top:16px;border-radius:10px;background:#edf4ec}.hp{position:absolute;left:-10000px}.codrax-chat-toggle{right:18px;left:auto;bottom:18px}.codrax-chat{right:18px;left:auto;max-width:calc(100vw - 36px)}footer{padding-bottom:95px}@media(max-width:760px){.launch-grid,.instructor-layout{grid-template-columns:1fr}.launch-card{padding:22px}.launch-section{padding-top:35px;padding-bottom:35px}.instructor-layout img{width:160px}.hero h1{font-size:clamp(32px,9vw,52px)}.hero-grid>*{min-width:0}.launch-facts{gap:16px}.form-panel{min-width:0}.table-scroll{overflow-x:auto}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* CODRAX COURSE CATALOGUE AND COURSE OUTLINES */
.catalog-intro{padding:58px 0 28px}.catalog-intro h1{font-size:clamp(38px,5vw,62px)}.catalog-intro>p{max-width:720px;font-size:17px}.catalog-proof-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.catalog-proof-row span,.catalog-package-benefits span{padding:9px 14px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--muted);font-size:13px}.catalog-proof-row strong{color:var(--navy)}
.catalog-main,.catalog-section{padding-block:44px}.catalog-section-heading{max-width:760px;margin-bottom:24px}.catalog-section-heading h2,.catalog-support h2{margin-bottom:12px}.catalog-section-heading p{max-width:700px}.catalog-card{display:flex;flex-direction:column;min-width:0;padding:25px;border:1px solid var(--line);border-radius:16px;background:#fff}.catalog-card-featured{border-color:#bacbe1;background:#f7faff}.catalog-card h3{font-size:23px}.catalog-card>p{font-size:14px;line-height:1.8}.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.catalog-facts{display:grid;gap:8px;margin:10px 0 15px}.catalog-facts span{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:12px}.catalog-facts strong{color:var(--ink)}.catalog-highlights{padding-left:20px;color:var(--muted);font-size:13px;line-height:1.85}.individual-price{display:flex;flex-direction:column;gap:4px;margin-top:auto;padding-top:16px;border-top:1px solid var(--line)}.individual-price>strong{color:var(--navy);font-size:30px;font-weight:800}.individual-price small,.individual-price .regular{color:var(--muted);font-size:12px}.catalog-card>.text-link{margin-top:16px;font-weight:700}.catalog-package{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.7fr);gap:32px;align-items:center;margin-block:30px;padding:36px;border-radius:18px;background:#142e4e;color:#fff}.catalog-package h2{color:#fff;font-size:clamp(28px,3.6vw,42px)}.catalog-package p{color:#dce5ef}.catalog-package .eyebrow{color:#bce2ca}.catalog-package-benefits{display:flex;gap:8px;flex-wrap:wrap;margin-top:22px}.catalog-package-benefits span{border-color:#5a7188;background:#203b56;color:#eef4fa}.catalog-package-price{padding:24px;border:1px solid #526b81;border-radius:14px;background:#203b56}.catalog-package-price>span{color:#dce5ef;font-size:13px}.catalog-package-price>strong{display:block;margin:6px 0;color:#fff;font-size:42px;font-weight:800}.catalog-package-price p{font-size:13px;line-height:1.7}.catalog-package-price .catalog-savings{color:#d7eddc;font-weight:700}.catalog-package-price .button{display:block;text-align:center}.catalog-package-price .small-text{margin:14px 0 0}.catalog-support{padding-block:56px}.catalog-support>h2{max-width:720px}.catalog-support-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:25px}.catalog-support-grid article{padding:22px;border:1px solid var(--line);border-radius:14px;background:#fff}.catalog-support-grid article:first-child{background:#edf4ec}.catalog-support-grid article>span{color:#2859e8;font-size:10px;font-weight:700;letter-spacing:.08em}.catalog-support-grid h3{margin:12px 0 8px;font-size:18px}.catalog-support-grid p,.catalog-caveat{font-size:13px;line-height:1.8}.catalog-caveat{margin-top:20px}
.cx-course-heading{padding-top:36px;padding-bottom:26px}.cx-course-heading h1{font-size:clamp(34px,4.5vw,56px)}.cx-course-heading>p{max-width:760px;font-size:17px}.cx-course-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:25px}.cx-course-facts span{display:flex;flex-direction:column;gap:5px;padding:15px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--muted);font-size:13px}.cx-course-facts strong{color:var(--navy);font-size:12px}.cx-course-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.8fr);gap:28px;align-items:start;padding-bottom:55px}.cx-course-outcomes,.cx-syllabus,.cx-course-practice{padding:28px;margin-bottom:20px;border:1px solid var(--line);border-radius:16px;background:#fff}.cx-course-outcomes{background:#edf4ec;border-color:#d3e2d2}.cx-course-outcomes h2,.cx-syllabus h2,.cx-course-practice h2{font-size:clamp(25px,3vw,34px)}.cx-prerequisite{margin-bottom:0;padding-top:16px;border-top:1px solid #d3e2d2;font-size:13px}.cx-module{border-top:1px solid var(--line)}.cx-module summary{padding:16px 4px;color:var(--navy);font-weight:700;cursor:pointer}.cx-module ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 22px;margin:0;padding:0 4px 20px 22px;color:var(--muted);font-size:14px;line-height:1.65}.cx-course-practice{background:#142e4e}.cx-course-practice h2{color:#fff}.cx-course-practice p{color:#dce5ef;font-size:14px;line-height:1.8}.cx-enrol-card{position:sticky;top:100px;min-width:0;padding:26px;border:1px solid var(--line);border-radius:16px;background:#fff}.cx-enrol-card dl{margin:20px 0}.cx-enrol-card dl>div{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-top:1px solid var(--line);font-size:13px}.cx-enrol-card dt{color:var(--muted)}.cx-enrol-card dd{margin:0;color:var(--navy);text-align:right;font-weight:700}.cx-enrol-card>.button{display:block;text-align:center}.cx-enrol-card .small-text{font-size:12px;line-height:1.8}.cx-enrol-card .bundle-nudge{margin-top:24px;padding-top:22px;border-top:1px solid var(--line)}.cx-enrol-card .bundle-nudge h3{font-size:20px}.cx-enrol-card .bundle-price{color:var(--navy);font-size:29px}.cx-enrol-card .course-regular-fee{margin:12px 0 0;color:var(--muted);font-size:13px}.course-alias-note{padding:12px;border-radius:9px;background:#edf4ec;font-size:13px}
@media(max-width:980px){.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-support-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cx-course-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.cx-course-layout{grid-template-columns:minmax(0,1fr) minmax(250px,.8fr)}}
@media(max-width:700px){.catalog-intro{padding-top:35px}.catalog-grid,.catalog-support-grid{grid-template-columns:1fr}.catalog-package{grid-template-columns:1fr;padding:24px}.catalog-package-price{min-width:0}.cx-course-layout{grid-template-columns:1fr}.cx-enrol-card{position:static}.cx-course-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.cx-module ul{grid-template-columns:1fr}.catalog-proof-row{gap:7px}.catalog-proof-row span{font-size:11px}}
.catalog-duration-detail,.cx-duration-detail{color:var(--muted);font-size:12px;line-height:1.7}.catalog-duration-detail{margin:-6px 0 12px}.cx-duration-detail{margin:-10px 0 18px;padding-left:2px}
.cx-topic-highlights{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 22px;margin:18px 0 0;padding:0;list-style:none}.cx-topic-highlights li{position:relative;padding:12px 14px 12px 36px;border:1px solid var(--line);border-radius:12px;background:#f8faff;color:var(--ink);font-size:14px;line-height:1.55}.cx-topic-highlights li::before{content:"✓";position:absolute;left:14px;color:#2563eb;font-weight:800}@media(max-width:700px){.cx-topic-highlights{grid-template-columns:1fr}}
