/* ============================================================
   WhiteBridge Academy — minimal SaaS aesthetic
   ============================================================ */

:root {
  --ac-bg:        #ffffff;
  --ac-bg-soft:   #fafaf9;       /* stone-50 */
  --ac-bg-tint:   #f5f5f5;       /* neutral-100 */
  --ac-border:    #e7e5e4;       /* stone-200 */
  --ac-border-2:  #d6d3d1;       /* stone-300 */
  --ac-fg:        #0a0a0a;       /* near-black */
  --ac-fg-80:     rgba(10,10,10,.82);
  --ac-fg-70:     rgba(10,10,10,.70);
  --ac-fg-60:     rgba(10,10,10,.60);
  --ac-fg-40:     rgba(10,10,10,.40);
  --ac-fg-15:     rgba(10,10,10,.15);
  --ac-accent:    #12b76a;       /* WhiteBridge brand green — accents */
  --ac-accent-soft:#e7f8ef;      /* light tint of the brand green */
  --ac-blue:      #1f75fe;       /* WhiteBridge brand blue — primary CTA */
  --ac-blue-strong:#1761d8;      /* brand blue, hover */
  --ac-amber:     #f59e0b;
  --ac-radius:    8px;           /* rounded-md base */
  --ac-radius-lg: 12px;
  --ac-radius-xl: 16px;          /* rounded-2xl cards */
  --ac-radius-2xl:24px;
}

/* ---- Font: Roboto, applied only on academy ---- */
.ac, .ac *, .navbar-logo-left, .navbar-logo-left *, .nav-menu-wrapper, .nav-menu-wrapper *, .ac-footer, .ac-footer * {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body.body {
  background: var(--ac-bg);
  color: var(--ac-fg);
  overflow-x: clip;
  max-width: 100%;
}

.ac {
  color: var(--ac-fg-80);
  font-size: 16px;
  line-height: 1.55;
}
.ac *, .ac *::before, .ac *::after { box-sizing: border-box; }

.ac :where(h1, h2, h3, h4, h5) {
  color: var(--ac-fg);
  margin: 0;
  font-weight: 600;            /* semibold like rankpill */
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.ac :where(p) { margin: 0; }
.ac a { color: var(--ac-fg); text-decoration: none; transition: color .15s ease; }
.ac a:hover { color: var(--ac-fg-70); }

.ac-container {
  max-width: 1152px;            /* max-w-6xl */
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}
.ac-section { padding: 64px 0; }
.ac-narrow { max-width: 880px; }

/* shared heading block */
.ac-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}
.ac-head h2 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.ac-head p {
  font-size: 17px;
  color: var(--ac-fg-70);
  line-height: 1.6;
}

/* ============================================================
   BUTTONS — solid black primary, white outlined secondary
   ============================================================ */
.ac-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 28px;
  font-size: 16px;
  font-weight: 500;
  border-radius: var(--ac-radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
  text-decoration: none;
}
.ac a.ac-btn-primary,
.ac .ac-btn-primary {
  background: var(--ac-fg);
  color: #fff;
}
.ac a.ac-btn-primary:hover,
.ac .ac-btn-primary:hover {
  background: rgba(10,10,10,.9);
  color: #fff;
}
.ac a.ac-btn-light,
.ac .ac-btn-light {
  background: #fff;
  color: var(--ac-fg);
  border-color: var(--ac-border-2);
}
.ac a.ac-btn-light:hover,
.ac .ac-btn-light:hover {
  background: var(--ac-bg-soft);
  color: var(--ac-fg);
  border-color: var(--ac-border-2);
}
.ac-btn-sm {
  height: 40px;
  padding: 0 22px;
  font-size: 14px;
}
.ac-btn-block { width: 100%; }

/* ============================================================
   HERO
   ============================================================ */
.ac-hero {
  position: relative;
  isolation: isolate;
  padding: 96px 0 80px;
  text-align: left;
  border: 0;
  background: transparent;
  margin: 0;
  max-width: 880px;
}
.ac-hero::before {
  content: "";
  position: absolute;
  top: -40px;
  bottom: -20px;
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  transform: translateX(-50%);
  z-index: -1;
  background-image: url("../images/academy-grid.svg");
  background-repeat: repeat;
  background-position: center;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 35%, #000 0%, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 70% at 50% 35%, #000 0%, transparent 75%);
  opacity: .9;
  pointer-events: none;
}
.ac-hero-wrap {
  padding-top: 24px;
}
.ac-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  font-size: 13px;
  color: var(--ac-fg-70);
  background: var(--ac-bg-tint);
  border: 1px solid var(--ac-border);
  padding: 5px 12px;
  border-radius: 9999px;
  margin-bottom: 24px;
}
.ac-hero h1 {
  font-size: 60px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--ac-fg);
  margin: 0;
  max-width: 880px;
}
.ac-hero-sub {
  font-size: 20px;
  color: var(--ac-fg-80);
  line-height: 1.55;
  max-width: 640px;
  margin: 24px 0 0;
}
.ac-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 12px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--ac-border);
}
.ac-hero-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.ac-stat-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--ac-bg-tint);
  color: var(--ac-fg);
  font-size: 18px;
  flex-shrink: 0;
}
.ac-stat-ic i { line-height: 1; }
.ac-hero-stat .ac-num {
  font-size: 24px;
  font-weight: 600;
  color: var(--ac-fg);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.ac-hero-stat .ac-lbl {
  font-size: 13px;
  font-weight: 400;
  color: var(--ac-fg-60);
  margin-top: 2px;
}

/* Sub-hero (lesson / club) */
.ac-subhero {
  position: relative;
  isolation: isolate;
  padding: 56px 0 32px;
  border: 0;
  background: transparent;
  margin: 0;
}
.ac-subhero::before {
  content: "";
  position: absolute;
  top: -16px;
  bottom: -8px;
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  transform: translateX(-50%);
  z-index: -1;
  background-image: url("../images/academy-grid.svg");
  background-repeat: repeat;
  background-position: center;
  -webkit-mask-image: radial-gradient(ellipse 55% 80% at 50% 40%, #000 0%, transparent 80%);
          mask-image: radial-gradient(ellipse 55% 80% at 50% 40%, #000 0%, transparent 80%);
  opacity: .85;
  pointer-events: none;
}
.ac-subhero h1 {
  font-size: 44px;
  font-weight: 600;
  line-height: 1.12;
  max-width: 820px;
  letter-spacing: -0.03em;
}
.ac-subhero .ac-lead {
  font-size: 19px;
  color: var(--ac-fg-70);
  line-height: 1.55;
  max-width: 760px;
  margin-top: 16px;
}
.ac-crumbs {
  font-size: 14px;
  font-weight: 400;
  color: var(--ac-fg-60);
  margin-bottom: 20px;
}
.ac-crumbs a { color: var(--ac-fg-60); }
.ac-crumbs a:hover { color: var(--ac-fg); }
.ac-crumbs span { margin: 0 8px; color: var(--ac-fg-40); }

/* ============================================================
   FILTERS
   ============================================================ */
.ac-filter-row { margin-bottom: 24px; }
.ac-filter-row:last-child { margin-bottom: 0; }
.ac-filter-label {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ac-fg-60);
  margin-bottom: 12px;
}
.ac-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ac-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 400;
  background: #fff;
  border: 1px solid var(--ac-border);
  color: var(--ac-fg-80);
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.ac-chip:hover {
  background: var(--ac-bg-soft);
  border-color: var(--ac-border-2);
  color: var(--ac-fg);
}
.ac-chip.is-active {
  background: var(--ac-fg) !important;
  border-color: var(--ac-fg) !important;
  color: #fff !important;
}
.ac-chip.is-active:hover {
  background: rgba(10,10,10,.9) !important;
  border-color: rgba(10,10,10,.9) !important;
}
.ac-chip i { font-size: 14px; }
.ac-filter-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--ac-border);
}
.ac-filter-foot .ac-count { font-size: 14px; color: var(--ac-fg-60); }
.ac-filter-foot .ac-count b { color: var(--ac-fg); font-weight: 500; }

/* ============================================================
   LESSON CARDS
   ============================================================ */
.ac-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ac-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--ac-border);
  border-radius: var(--ac-radius-xl);
  padding: 24px;
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.ac-card:hover {
  border-color: var(--ac-border-2);
  background: var(--ac-bg-soft);
}
/* Illustrated card header — topic-coloured banner with a big glyph + AI badge.
   Full-bleed over the card's 24px padding, rounded to match the top corners. */
.ac-card-media {
  position: relative;
  margin: -24px -24px 18px;
  height: 132px;
  border-radius: var(--ac-radius-xl) var(--ac-radius-xl) 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1f75fe, #12b76a);   /* default */
}
.ac-card-media::before {                                   /* soft light pattern */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 82% 22%, rgba(255,255,255,.20), transparent 44%),
    radial-gradient(circle at 14% 88%, rgba(255,255,255,.14), transparent 42%);
}
.ac-card-media > .bi {
  position: relative;
  z-index: 1;
  font-size: 46px;
  color: #fff;
  opacity: .96;
  text-shadow: 0 2px 10px rgba(0,0,0,.12);
}
.ac-card-media-llm {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #fff;
  padding: 5px;
  object-fit: contain;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
/* Per-topic colourways — keeps the grid varied but on-brand. */
.ac-media--ai-foundations      { background: linear-gradient(135deg, #4f46e5, #1f75fe); }
.ac-media--ai-more-clients     { background: linear-gradient(135deg, #1f75fe, #06b6d4); }
.ac-media--ai-sales            { background: linear-gradient(135deg, #12b76a, #0ea5a4); }
.ac-media--ai-marketing        { background: linear-gradient(135deg, #7c3aed, #ec4899); }
.ac-media--ai-social           { background: linear-gradient(135deg, #ec4899, #f59e0b); }
.ac-media--ai-reputation       { background: linear-gradient(135deg, #f59e0b, #f97316); }
.ac-media--ai-customer-support { background: linear-gradient(135deg, #0ea5a4, #1f75fe); }
.ac-media--ai-accounting       { background: linear-gradient(135deg, #475569, #1f75fe); }
.ac-media--ai-competitors      { background: linear-gradient(135deg, #6d28d9, #4f46e5); }
.ac-media--ai-phone-voice      { background: linear-gradient(135deg, #06b6d4, #12b76a); }
.ac-media--ai-email-inbox      { background: linear-gradient(135deg, #2563eb, #4f46e5); }

/* Lesson-page hero banner — same colourway, wider/shorter than the card. */
.ac-lesson-media {
  position: relative;
  height: 168px;
  border-radius: var(--ac-radius-xl);
  margin: 8px 0 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1f75fe, #12b76a);
}
.ac-lesson-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 85% 20%, rgba(255,255,255,.20), transparent 46%),
    radial-gradient(circle at 12% 90%, rgba(255,255,255,.14), transparent 44%);
}
.ac-lesson-media > .bi {
  position: relative;
  z-index: 1;
  font-size: 64px;
  color: #fff;
  opacity: .96;
  text-shadow: 0 2px 14px rgba(0,0,0,.14);
}

.ac-card-topic {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ac-fg-60);
  background: var(--ac-bg-tint);
  border-radius: 9999px;
  padding: 4px 10px;
  margin-bottom: 14px;
  align-self: flex-start;
}
.ac-card h3 {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ac-fg);
  letter-spacing: -0.015em;
}
.ac-card-sum {
  font-size: 15px;
  color: var(--ac-fg-70);
  line-height: 1.55;
  margin-top: 10px;
  flex-grow: 1;
}
.ac-card-foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--ac-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.ac-card-tags { margin-top: 16px; }

/* small inline meta */
.ac-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: var(--ac-fg-60);
}
.ac-meta i { font-size: 14px; }
.ac-meta b { color: var(--ac-fg); font-weight: 500; }
.ac-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.ac-llm-ico {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid var(--ac-border);
  padding: 1px;
  object-fit: contain;
  flex-shrink: 0;
  vertical-align: middle;
}

/* tag */
.ac-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--ac-bg-tint);
  color: var(--ac-fg-70);
}
.ac-tag-blue {
  background: var(--ac-bg-tint);
  color: var(--ac-fg);
}
.ac-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* empty state */
.ac-empty {
  text-align: center;
  border: 1px solid var(--ac-border);
  border-radius: var(--ac-radius-xl);
  padding: 64px 24px;
  background: var(--ac-bg-soft);
}
.ac-empty h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ac-fg);
}
.ac-empty p {
  color: var(--ac-fg-70);
  margin-bottom: 24px;
}

/* ============================================================
   LESSON PAGE
   ============================================================ */
.ac-cols {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}
.ac-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 88px;
}

.ac-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  margin-top: 24px;
}

.ac-block { margin-bottom: 40px; }
.ac-block > h2 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.ac-block-intro {
  font-size: 16px;
  color: var(--ac-fg-70);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* panel */
.ac-panel-box {
  background: #fff;
  border: 1px solid var(--ac-border);
  border-radius: var(--ac-radius-xl);
  padding: 28px;
}

/* callouts */
.ac-note {
  display: flex;
  gap: 16px;
  border-radius: var(--ac-radius-lg);
  padding: 20px 22px;
  border: 1px solid var(--ac-border);
  background: var(--ac-bg-soft);
}
.ac-note i { font-size: 20px; flex-shrink: 0; line-height: 1.3; color: var(--ac-fg); }
.ac-note b {
  color: var(--ac-fg);
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}
.ac-note p {
  font-size: 14.5px;
  color: var(--ac-fg-70);
  line-height: 1.6;
}
.ac-note-blue {
  background: var(--ac-bg-soft);
  border-color: var(--ac-border);
}
.ac-note-blue i { color: var(--ac-fg); }
.ac-note-blue b { color: var(--ac-fg); }
.ac-note-blue p { color: var(--ac-fg-70); }
.ac-note-grey {
  background: var(--ac-bg-soft);
  border-color: var(--ac-border);
}

/* numbered steps */
.ac-steps { list-style: none; padding: 0; margin: 0; }
.ac-step {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--ac-border);
}
.ac-step:first-child { padding-top: 4px; }
.ac-step:last-child { border-bottom: 0; padding-bottom: 0; }
.ac-step-n {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ac-fg);
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ac-step h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}
.ac-step p {
  font-size: 15px;
  color: var(--ac-fg-70);
  line-height: 1.65;
}

/* cost table */
.ac-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--ac-border);
  border-radius: var(--ac-radius-lg);
  overflow: hidden;
}
.ac-table thead th {
  background: var(--ac-bg-soft);
  text-align: left;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ac-fg-60);
  padding: 14px 18px;
  border-bottom: 1px solid var(--ac-border);
  font-weight: 500;
}
.ac-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--ac-border);
  font-size: 14.5px;
  vertical-align: top;
  color: var(--ac-fg-80);
}
.ac-table tr:last-child td { border-bottom: 0; }
.ac-table .ac-tname { font-weight: 500; color: var(--ac-fg); }
.ac-table .ac-tkind { font-size: 12.5px; color: var(--ac-fg-60); margin-top: 2px; }
.ac-table .ac-tcost { font-weight: 600; color: var(--ac-fg); white-space: nowrap; }
.ac-cost-note {
  font-size: 13.5px;
  color: var(--ac-fg-60);
  margin-top: 14px;
}

/* prompt block */
.ac-prompt {
  border: 1px solid var(--ac-border);
  border-radius: var(--ac-radius-lg);
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--ac-bg-soft);
}
.ac-prompt-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: #fff;
  border-bottom: 1px solid var(--ac-border);
}
.ac-prompt-head b { font-size: 13.5px; color: var(--ac-fg); font-weight: 500; }
.ac-prompt pre {
  margin: 0;
  padding: 18px;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ac-fg-80);
}
.ac-copy {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ac-fg);
  background: #fff;
  border: 1px solid var(--ac-border-2);
  border-radius: 6px;
  padding: 5px 12px;
  cursor: pointer;
  transition: background-color .15s ease;
}
.ac-copy:hover { background: var(--ac-bg-soft); }

/* video / slides */
.ac-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}
.ac-tab {
  font-size: 14px;
  font-weight: 500;
  height: 36px;
  padding: 0 16px;
  border-radius: 9999px;
  background: #fff;
  border: 1px solid var(--ac-border);
  color: var(--ac-fg-80);
  cursor: pointer;
  transition: all .15s ease;
}
.ac-tab:hover { background: var(--ac-bg-soft); color: var(--ac-fg); }
.ac-tab.is-active {
  background: var(--ac-fg);
  border-color: var(--ac-fg);
  color: #fff;
}
.ac-pane { display: none; }
.ac-pane.is-active { display: block; }
.ac-frame {
  aspect-ratio: 16 / 9;
  background: #0a0a0a;
  border-radius: var(--ac-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}
.ac-frame .ac-play {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  cursor: pointer;
  transition: transform .2s ease;
}
.ac-frame .ac-play:hover { transform: scale(1.06); }
.ac-frame .ac-play i { color: var(--ac-fg); font-size: 22px; margin-left: 2px; }
.ac-frame strong { color: #fff; display: block; font-size: 15px; font-weight: 500; }
.ac-frame small { color: rgba(255,255,255,.6); font-size: 13px; display: block; margin-top: 4px; }
.ac-slides {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ac-slide {
  flex: 1;
  min-width: 120px;
  aspect-ratio: 16/9;
  background: var(--ac-bg-soft);
  border: 1px solid var(--ac-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--ac-fg-60);
  font-weight: 500;
}

/* email gate */
.ac-gate-preview {
  position: relative;
  max-height: 200px;
  overflow: hidden;
}
.ac-gate-preview::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(255,255,255,0), #fff);
}
.ac-gate {
  text-align: center;
  background: var(--ac-bg-soft);
  border: 1px solid var(--ac-border);
  border-radius: var(--ac-radius-xl);
  padding: 40px 24px;
  margin-top: 16px;
}
.ac-gate .ac-gate-ic {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ac-fg);
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.ac-gate h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--ac-fg);
  letter-spacing: -0.02em;
}
.ac-gate > p {
  font-size: 15px;
  color: var(--ac-fg-70);
  line-height: 1.6;
  max-width: 480px;
  margin: 10px auto 0;
}
.ac-gate-form {
  display: flex;
  gap: 8px;
  max-width: 460px;
  margin: 22px auto 0;
}
.ac-gate-form input {
  flex: 1;
  min-width: 0;
  /* iOS Safari ignores `height` on inputs in many cases and applies its own
     intrinsic chrome. Drive the size from padding + min-height instead, with
     !important to win over Webflow's `font:inherit` reset and similar UA
     overrides. Font-size 16px prevents Safari's auto-zoom-on-focus. */
  -webkit-appearance: none !important;
  appearance: none !important;
  box-sizing: border-box !important;
  display: block !important;
  width: 100%;
  min-height: 48px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 13px 16px !important;
  font-family: inherit !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  border: 1px solid var(--ac-border-2);
  border-radius: var(--ac-radius);
  color: var(--ac-fg);
  background: #fff;
  transition: border-color .15s ease;
}
.ac-gate-form input:focus {
  outline: none;
  border-color: var(--ac-fg);
}
.ac-gate-fine {
  font-size: 12.5px;
  color: var(--ac-fg-60);
  margin-top: 14px;
}

/* sidebar cards */
.ac-side-card {
  background: #fff;
  border: 1px solid var(--ac-border);
  border-radius: var(--ac-radius-xl);
  padding: 22px;
}
.ac-side-card h4 {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ac-fg-60);
  margin-bottom: 14px;
}
.ac-facts { display: flex; flex-direction: column; }
.ac-fact {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--ac-border);
  font-size: 14px;
}
.ac-fact:last-child { border-bottom: 0; }
.ac-fact span { color: var(--ac-fg-60); }
.ac-fact b { color: var(--ac-fg); font-weight: 500; text-align: right; }

/* done-for-you sidebar card */
.ac-dfy {
  background: var(--ac-bg-soft);
  border: 1px solid var(--ac-border);
  border-radius: var(--ac-radius-xl);
  padding: 22px;
}
.ac-dfy .ac-dfy-tag {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ac-fg-60);
  display: block;
  margin-bottom: 8px;
}
.ac-dfy h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ac-fg);
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.ac-dfy p {
  font-size: 14.5px;
  color: var(--ac-fg-70);
  line-height: 1.6;
  margin: 10px 0 16px;
}
.ac-dfy small {
  display: block;
  text-align: center;
  font-size: 12.5px;
  color: var(--ac-fg-60);
  margin-top: 12px;
}

/* done-for-you wide CTA band */
.ac-ctaband {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ac-bg-soft);
  border: 1px solid var(--ac-border);
  border-radius: var(--ac-radius-2xl);
  padding: 64px 32px;
  text-align: center;
}
.ac-ctaband::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("../images/academy-grid.svg");
  background-repeat: repeat;
  background-position: center;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 0%, transparent 80%);
          mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 0%, transparent 80%);
  opacity: .9;
  pointer-events: none;
}
.ac-ctaband h2 {
  font-size: 36px;
  font-weight: 600;
  color: var(--ac-fg);
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.ac-ctaband p {
  font-size: 17px;
  color: var(--ac-fg-70);
  line-height: 1.55;
  max-width: 560px;
  margin: 14px auto 28px;
}

/* ============================================================
   CLUBS
   ============================================================ */
.ac-club-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--ac-border);
  border-radius: var(--ac-radius-xl);
  padding: 24px;
  text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease;
}
.ac-club-card:hover {
  background: var(--ac-bg-soft);
  border-color: var(--ac-border-2);
}
.ac-club-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}
.ac-club-ic {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--ac-bg-tint);
  color: var(--ac-fg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.ac-club-card h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--ac-fg);
  letter-spacing: -0.015em;
}
.ac-club-card .ac-club-tag {
  font-size: 14.5px;
  color: var(--ac-fg-70);
  line-height: 1.6;
  margin-top: 8px;
  flex-grow: 1;
}
.ac-club-foot {
  display: flex;
  gap: 16px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--ac-border);
}
.ac-vetted {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ac-accent);
  background: var(--ac-accent-soft);
  border: 1px solid #bfe9d4;     /* light brand-green tint */
  padding: 4px 8px;
  border-radius: 6px;
}
.ac-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ac-accent);
  display: inline-block;
}

/* threads */
.ac-threads { display: flex; flex-direction: column; }
.ac-thread {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--ac-border);
}
.ac-thread:first-child { padding-top: 0; }
.ac-thread:last-child { border-bottom: 0; padding-bottom: 0; }
.ac-thread-av {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ac-bg-tint);
  color: var(--ac-fg);
  font-weight: 500;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ac-thread-main { flex: 1; min-width: 0; }
.ac-thread-main h4 {
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ac-fg);
  line-height: 1.35;
}
.ac-thread-by {
  font-size: 13px;
  color: var(--ac-fg-60);
  margin-top: 4px;
}
.ac-thread-stats {
  flex-shrink: 0;
  text-align: right;
  font-size: 12.5px;
  color: var(--ac-fg-60);
  line-height: 1.4;
}
.ac-thread-stats b { color: var(--ac-fg); font-weight: 500; }

/* ============================================================
   HEADER OVERRIDES (Webflow navbar → shadcn-style sticky)
   ============================================================ */
.navbar-logo-left,
.navbar-logo-left-container {
  position: sticky !important;
  top: 0 !important;
  z-index: 50 !important;
  width: 100% !important;
  height: 64px !important;
  background-color: rgba(255,255,255,.95) !important;
  backdrop-filter: saturate(180%) blur(8px) !important;
  -webkit-backdrop-filter: saturate(180%) blur(8px) !important;
  border-bottom: 1px solid rgba(231,229,228,.6) !important;
  box-shadow: none !important;
  padding: 0 !important;
  /* iOS Safari: a backdrop-filter sticky header can blank out after the page
     reflows (e.g. the quiz collapsing). Pinning it to its own GPU layer keeps
     it painted across reflows. */
  -webkit-transform: translateZ(0) !important;
  transform: translateZ(0) !important;
}

.navbar-logo-left-container .container {
  max-width: 1152px !important;
  height: 100% !important;
  padding: 0 24px !important;
}

.navbar-wrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 100% !important;
  padding: 0 !important;
}

.navbar-brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px;
  text-decoration: none !important;
}
.navbar-brand img {
  height: 34px !important;
  width: auto !important;
}
.navbar-brand::after {
  content: "AI Academy";
  font-size: 16.5px;
  font-weight: 500;
  color: var(--ac-fg);
  letter-spacing: -0.01em;
  line-height: 1;
  padding-left: 10px;
  border-left: 1px solid var(--ac-fg-15);
}

.nav-menu-two {
  gap: 0;
  align-items: center;
  display: flex;
  margin: 0 !important;
}
.nav-menu-two > li { padding: 0 !important; margin: 0 !important; list-style: none; }
.nav-menu-two li { list-style: none; }

.nav-link {
  font-size: 14px !important;
  font-weight: 400 !important;
  color: var(--ac-fg-80) !important;
  padding: 6px 9px !important;
  border-radius: 6px !important;
  transition: color .15s ease, background-color .15s ease !important;
  background: transparent !important;
}
.nav-link:hover {
  color: var(--ac-fg) !important;
  background: var(--ac-bg-tint) !important;
}

.nav-link-accent {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--ac-fg) !important;
  padding: 6px 9px !important;
  transition: color .15s ease !important;
}
.nav-link-accent:hover { color: var(--ac-fg-70) !important; }

/* Header sign-up CTA → black pill */
.navbar-wrapper .button-primary,
.navbar-wrapper a.button-primary.w-button {
  background-color: var(--ac-fg) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  height: 40px !important;
  padding: 0 22px !important;
  border-radius: var(--ac-radius) !important;
  border: 1px solid transparent !important;
  box-shadow: none !important;
  display: inline-flex !important;
  align-items: center !important;
  letter-spacing: 0 !important;
  transition: background-color .15s ease !important;
}
.navbar-wrapper .button-primary:hover,
.navbar-wrapper a.button-primary.w-button:hover {
  background-color: rgba(10,10,10,.9) !important;
  transform: none !important;
}

.nav-divider {
  background-color: var(--ac-fg-15) !important;
  width: 1px !important;
  height: 18px !important;
  margin: 0 2px !important;
}

/* Hide injected mobile menu header by default — only visible inside the
   full-screen overlay on phones (rules below in the max-width 991 block). */
.ac-menu-head { display: none; }

/* ---- Mobile menu ---- */
.menu-button.w-nav-button {
  position: relative;
  padding: 10px !important;
  margin: 0 !important;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  color: var(--ac-fg);
  transition: background-color .15s ease;
}
.menu-button.w-nav-button:hover { background: var(--ac-bg-tint); }
.menu-button.w-nav-button.w--open { background: var(--ac-bg-tint); }
.menu-button .w-icon-nav-menu {
  font-size: 22px;
  color: var(--ac-fg);
}

@media (max-width: 991px) {
  /* Full-screen mobile menu (topklinikos pattern).
     !important on every offset because Webflow's .w-nav-menu defaults set
     top/right/etc., and we may also be re-parented to <body> at runtime —
     defensive overrides keep the overlay glued to the viewport edges. */
  .nav-menu-wrapper.w-nav-menu {
    display: none !important;
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: #fff !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow-y: auto !important;
    z-index: 100 !important;
    -webkit-overflow-scrolling: touch;
  }
  .nav-menu-wrapper.w-nav-menu.is-open {
    display: flex !important;
    flex-direction: column;
    animation: ac-menu-fade .18s ease-out;
  }
  @keyframes ac-menu-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
  }

  /* Internal header inside the menu (injected by JS) */
  .ac-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    min-height: 64px;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1;
  }
  .ac-menu-head-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
  }
  .ac-menu-head-logo img { height: 30px; width: auto; }
  .ac-menu-head-label {
    font-size: 16.5px;
    font-weight: 500;
    color: var(--ac-fg);
    letter-spacing: -0.01em;
    padding-left: 10px;
    border-left: 1px solid var(--ac-fg-15);
    line-height: 1;
  }
  .ac-menu-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f3f4f6;
    border: 0;
    color: #111827;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: background-color .15s ease;
  }
  .ac-menu-close:hover, .ac-menu-close:active { background: #e5e7eb; }
  .ac-menu-close svg { width: 16px; height: 16px; }

  /* Body — flat list */
  .nav-menu-two {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    padding: 0 !important;
  }
  /* Divider lives on the <li> so it always spans full viewport width,
     regardless of how the inner <a> sizes itself. */
  .nav-menu-two > li {
    width: 100%;
    border-bottom: 1px solid #f3f4f6;
  }
  .nav-link, .nav-link-accent {
    display: flex !important;
    align-items: center;
    width: 100% !important;
    min-height: 56px;
    padding: 14px 20px !important;
    border-radius: 0 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #111827 !important;
    background: #fff !important;
    border-bottom: 0 !important;
  }
  .nav-link:hover, .nav-link-accent:hover,
  .nav-link:active, .nav-link-accent:active {
    background: #f9fafb !important;
  }
  .list-item.divider, .nav-divider { display: none !important; }
  /* CTA button — sits in its own block below the list with padding */
  .nav-menu-two .mobile-margin-top-10 {
    padding: 20px 20px 28px !important;
    border-bottom: 0;
  }
  .navbar-wrapper .button-primary,
  .navbar-wrapper a.button-primary.w-button {
    width: 100% !important;
    height: 52px !important;
    margin: 0 !important;
    font-size: 16px !important;
    justify-content: center !important;
    border-radius: 10px !important;
  }
  body.ac-menu-open { overflow: hidden !important; }
}

@media (min-width: 992px) {
  .menu-button.w-nav-button { display: none !important; }
}

/* ============================================================
   FOOTER — light, minimal (rankpill-style)
   ============================================================ */
.ac-footer {
  margin-top: 80px;
  background: #fff;
  color: var(--ac-fg-80);
  padding: 64px 0 32px;
  border-top: 1px solid var(--ac-border);
}
.ac-footer .ac-container { max-width: 1152px; }

.ac-footer-top {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--ac-border);
}

.ac-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.ac-footer-logo img {
  height: 30px;
  width: auto;
}
.ac-footer-logo-label {
  font-size: 16px;
  font-weight: 500;
  color: var(--ac-fg);
  letter-spacing: -0.01em;
  padding-left: 10px;
  border-left: 1px solid var(--ac-fg-15);
  line-height: 1;
}
.ac-footer-tag {
  margin-top: 18px;
  font-size: 14.5px;
  color: var(--ac-fg-60);
  line-height: 1.6;
  max-width: 360px;
}

.ac-footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.ac-footer-col h5 {
  font-size: 13px;
  font-weight: 600;
  color: var(--ac-fg);
  margin: 0 0 14px;
  letter-spacing: -0.005em;
}
.ac-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ac-footer-col a {
  color: var(--ac-fg-60);
  font-size: 14px;
  font-weight: 400;
  transition: color .15s ease;
}
.ac-footer-col a:hover { color: var(--ac-fg); }

.ac-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 28px;
  font-size: 13.5px;
  color: var(--ac-fg-60);
  flex-wrap: wrap;
}
.ac-footer-mini { color: var(--ac-fg-60); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1040px) {
  .ac-grid { grid-template-columns: repeat(2, 1fr); }
  .ac-hero h1 { font-size: 48px; }
}
@media (max-width: 940px) {
  .ac-cols {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .ac-side { position: static; }
  .ac-footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}
@media (max-width: 920px) {
  .ac-hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .ac-section { padding: 48px 0; }
  .ac-grid { grid-template-columns: 1fr; }
  .ac-hero {
    padding: 64px 0 56px;
  }
  .ac-hero h1 { font-size: 40px; letter-spacing: -0.03em; }
  .ac-hero-sub { font-size: 17px; }
  .ac-hero-stats { gap: 14px 18px; margin-top: 32px; padding-top: 24px; }
  .ac-hero-stat .ac-num { font-size: 22px; }
  .ac-stat-ic { width: 36px; height: 36px; font-size: 16px; }
  .ac-subhero { padding: 36px 0 24px; }
  .ac-subhero h1 { font-size: 30px; }
  .ac-head h2 { font-size: 28px; }
  .ac-gate-form { flex-direction: column; }
  .ac-ctaband { padding: 48px 24px; }
  .ac-ctaband h2 { font-size: 28px; }
  .ac-footer-cols { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .ac-footer { padding: 48px 0 24px; }
}

/* ============================================================
   PHONE — kill horizontal overflow on lesson / club / hub pages
   ============================================================ */
@media (max-width: 600px) {
  /* Tighter container padding leaves more room for content */
  .ac-container { padding: 0 16px; }

  /* The full-bleed grid background uses 100vw which iOS can leak past the
     viewport; on phones keep it within the parent container instead. */
  .ac-subhero::before {
    left: 0;
    width: 100%;
    max-width: 100%;
    transform: none;
  }
  .ac-subhero { padding: 28px 0 20px; }
  .ac-subhero h1 { font-size: 26px; }
  .ac-subhero .ac-lead { font-size: 16px; }

  /* Breadcrumbs — let them wrap rather than push the page */
  .ac-crumbs {
    font-size: 13px;
    line-height: 1.6;
    word-break: break-word;
  }
  .ac-crumbs span { margin: 0 6px; }

  /* Meta row — tighter gaps so chips don't overflow */
  .ac-meta-row { gap: 8px 14px; margin-top: 16px; }
  .ac-meta { font-size: 13px; }

  /* Tables can't size below their content — wrap text and drop nowrap so
     the cost column can break instead of forcing the table wider. */
  .ac-table { font-size: 13.5px; table-layout: auto; }
  .ac-table thead th { padding: 10px 12px; font-size: 11px; }
  .ac-table td { padding: 12px; word-break: break-word; }
  .ac-table .ac-tcost { white-space: normal; }

  /* Prompt blocks */
  .ac-prompt-head { padding: 10px 14px; }
  .ac-prompt pre { padding: 14px; font-size: 12.5px; }

  /* Steps — tighter gutter so the number bubble doesn't squeeze the body */
  .ac-step { gap: 14px; padding: 20px 0; }
  .ac-step h4 { font-size: 16px; }
  .ac-step p { font-size: 14.5px; }

  /* Sidebar cards — full width minus container padding, lighter inner padding */
  .ac-side-card, .ac-dfy { padding: 18px; }
  .ac-fact { gap: 10px; font-size: 13.5px; }
  .ac-fact span { flex-shrink: 0; }
  .ac-fact b { word-break: break-word; min-width: 0; }

  /* Notes / callouts */
  .ac-note { padding: 16px; gap: 12px; }

  /* Block headings */
  .ac-block { margin-bottom: 32px; }
  .ac-block > h2 { font-size: 22px; }

  /* Email gate form — already stacks at 760px; tighten spacing */
  .ac-gate { padding: 24px 18px; }
  .ac-gate h3 { font-size: 20px; }
}

/* ──────────────────────────────────────────────────────────────────────────
   Client import (May 2026): real video embeds, intro prose, source links.
   ────────────────────────────────────────────────────────────────────────── */
.ac-video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #0f172a;
  margin-top: 14px;
}
.ac-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Step-by-step intro narrative ("The idea / The win") */
.ac-prose { color: #334155; line-height: 1.7; font-size: 16px; }
.ac-prose p { margin: 0 0 12px; }
.ac-prose strong { color: #0f172a; }
.ac-prose ul, .ac-prose ol { margin: 0 0 12px; padding-left: 22px; }
.ac-prose a { color: var(--ac-fg, #2563eb); text-decoration: underline; }

/* Authoritative sources */
.ac-sources .ac-source-list { list-style: none; margin: 14px 0 0; padding: 0; }
.ac-sources .ac-source-list li {
  display: flex; align-items: baseline; gap: 8px;
  padding: 10px 0; border-bottom: 1px solid #eef2f7; font-size: 15px;
}
.ac-sources .ac-source-list li:last-child { border-bottom: 0; }
.ac-sources .ac-source-list i { color: #94a3b8; }
.ac-sources .ac-source-list a { color: #2563eb; text-decoration: none; word-break: break-word; }
.ac-sources .ac-source-list a:hover { text-decoration: underline; }

/* ── Academy auth (login / register) ──────────────────────────────────────── */
.ac-auth{max-width:460px}
.ac-auth h1{font-size:28px}
.ac-auth-card{margin-top:22px;background:#fff;border:1px solid #eaecf0;border-radius:16px;padding:26px}
.ac-field{display:block;margin-bottom:14px}
.ac-field span{display:block;font-size:13px;font-weight:600;color:#0f172a;margin-bottom:6px}
.ac-field input{width:100%;padding:11px 13px;border:1px solid #d8dee8;border-radius:10px;font:inherit;font-size:15px}
.ac-field input:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 3px rgba(99,102,241,.12)}
.ac-auth-or{display:flex;align-items:center;text-align:center;color:#94a3b8;font-size:13px;margin:16px 0}
.ac-auth-or::before,.ac-auth-or::after{content:"";flex:1;height:1px;background:#eaecf0}
.ac-auth-or span{padding:0 12px}
.ac-auth-alt{margin-top:16px;font-size:14px;color:#475569;text-align:center}
.ac-auth-alt a{color:#2563eb;font-weight:600;text-decoration:none}

/* ── Vetted Club forum (May 2026) ─────────────────────────────────────────── */
a.ac-thread{text-decoration:none;color:inherit;cursor:pointer;transition:background .12s}
a.ac-thread:hover{background:#f8fafc}
.ac-thread-main h4 .bi{color:#94a3b8;font-size:14px}

.ac-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0}
.ac-composer{display:flex;flex-direction:column;gap:10px}
.ac-composer-row{display:flex;gap:10px}
.ac-input{width:100%;padding:11px 13px;border:1px solid #d8dee8;border-radius:10px;font:inherit;font-size:15px;background:#fff}
.ac-input:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 3px rgba(99,102,241,.12)}
textarea.ac-input{resize:vertical;min-height:90px}
.ac-composer .ac-btn{align-self:flex-start}

.ac-post{display:flex;gap:14px;padding:18px 0;border-bottom:1px solid #eef2f7}
.ac-post-op{background:#f8fafc;border:1px solid #eaecf0;border-radius:14px;padding:18px;margin-bottom:22px}
.ac-post-av{flex:0 0 auto;width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:15px}
.ac-post-body{flex:1;min-width:0}
.ac-post-by{font-size:14px;color:#0f172a;margin-bottom:6px}
.ac-post-by .ac-muted{color:#94a3b8;font-weight:400}
.ac-replies-h{font-size:18px;margin:8px 0 6px}
.ac-reply-box{margin-top:26px}
.ac-reply-box h3{font-size:17px;margin-bottom:12px}

/* ── "Share something useful" card ────────────────────────────────────────── */
.ac-share{margin:26px 0;padding:22px;border:1px solid #e2e8f0;border-radius:16px;background:linear-gradient(180deg,#fafbff,#fff)}
.ac-share-head{display:flex;gap:12px;align-items:flex-start;margin-bottom:14px}
.ac-share-head .bi{font-size:22px;color:#6366f1;flex:0 0 auto;margin-top:2px}
.ac-share-head b{display:block;color:#0f172a;font-size:16px}
.ac-share-head p{margin:4px 0 0;color:#475569;font-size:14px;line-height:1.5}
.ac-share-as{font-size:13px;color:#64748b;margin:0}

/* ============================================================
   GUIDED QUIZ + PROMINENT CTAs  (added 2026-06)
   Brand blue (#1f75fe) for primary CTAs, brand green (#12b76a) for
   accents — so course CTAs stop disappearing into the greyscale.
   ============================================================ */

/* Primary CTA button — the high-intent "enroll / start" action.
   Uses the WhiteBridge brand blue (the main brand colour) so the most
   important action stands out instead of blending into the greyscale. */
.ac a.ac-btn-accent,
.ac .ac-btn-accent {
  background: var(--ac-blue);
  color: #fff;
  border-color: var(--ac-blue);
}
.ac a.ac-btn-accent:hover,
.ac .ac-btn-accent:hover {
  background: var(--ac-blue-strong);
  color: #fff;
  border-color: var(--ac-blue-strong);
}

/* Guided "where do I start?" quiz */
.ac-quiz {
  border: 1px solid var(--ac-border);
  border-radius: var(--ac-radius-xl);
  background: var(--ac-accent-soft);
  padding: 28px;
}
.ac-quiz-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--ac-accent);
  text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px;
}
.ac-quiz-head h2 { font-size: 24px; margin: 0 0 6px; }
.ac-quiz-head p { color: var(--ac-fg-70); margin: 0 0 18px; max-width: 560px; }
.ac-quiz-q { font-weight: 600; margin: 0 0 12px; }
.ac-quiz-step { margin-top: 8px; }
.ac-quiz-step[data-step="3"] {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
}
.ac-quiz-step[data-step="3"] .ac-quiz-q { width: 100%; }
/* The [data-step="3"] rule above outranks the UA [hidden] { display:none }, so
   the final "Show my trainings" step would stay visible even when JS marks it
   hidden. Re-assert display:none for the hidden state (higher specificity wins)
   — keeps the step (and its active CTA) out until both questions are answered. */
.ac-quiz-step[data-step="3"][hidden] { display: none; }
.ac-quiz button.ac-chip { font-family: inherit; }
.ac-quiz-skip { margin-top: 16px; }
.ac-quiz-restart,
.ac-quiz-skiplink {
  background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--ac-fg-60); font-size: 14px; text-decoration: underline;
}
.ac-quiz-restart:hover,
.ac-quiz-skiplink:hover { color: var(--ac-fg); }

/* Per-card CTA — makes every course visibly clickable */
.ac-card-cta {
  margin-top: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 14px; color: var(--ac-blue);
}
.ac-card-cta i { transition: transform .15s ease; }
.ac-card:hover .ac-card-cta i { transform: translateX(3px); }

/* Above-the-fold enroll CTA on the lesson page */
.ac-hero-cta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  margin-top: 24px;
}
.ac-hero-cta-note {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; color: var(--ac-fg-60);
}

/* ───────────────────────── Account dashboard ───────────────────────── */
.ac-account { max-width: 1040px; }

.ac-acct-head {
  display: flex; align-items: center; gap: 18px;
  padding: 22px; margin-bottom: 18px;
  background: var(--ac-bg-soft); border: 1px solid var(--ac-border);
  border-radius: var(--ac-radius-lg);
}
.ac-avatar {
  width: 68px; height: 68px; flex-shrink: 0; border-radius: 50%;
  overflow: hidden; background: var(--ac-blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 700;
}
.ac-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ac-acct-id { flex: 1 1 auto; min-width: 0; }
.ac-acct-id h1 { font-size: 24px; margin: 0 0 2px; }
.ac-acct-sub { margin: 0 0 6px; color: var(--ac-fg-70); font-weight: 500; }
.ac-acct-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; font-size: 13px; color: var(--ac-fg-60); }
.ac-acct-meta span { display: inline-flex; align-items: center; gap: 5px; }
.ac-acct-logout { flex-shrink: 0; }

.ac-acct-grid { display: grid; grid-template-columns: 1fr 340px; gap: 18px; align-items: start; }
.ac-acct-main, .ac-acct-side { display: flex; flex-direction: column; gap: 18px; }

.ac-acct-card {
  padding: 22px; background: var(--ac-bg);
  border: 1px solid var(--ac-border); border-radius: var(--ac-radius-lg);
}
.ac-acct-card h2 {
  display: flex; align-items: center; gap: 8px;
  font-size: 17px; margin: 0 0 4px;
}
.ac-acct-card h2 i { color: var(--ac-blue); }
.ac-acct-hint { margin: 0 0 16px; font-size: 14px; color: var(--ac-fg-60); }
.ac-acct-card .ac-field { margin-bottom: 14px; }
.ac-acct-card .ac-field em { color: var(--ac-fg-60); font-style: normal; }
.ac-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.ac-acct-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; text-align: center; }
.ac-acct-stats > div { padding: 12px 6px; background: var(--ac-bg-soft); border-radius: var(--ac-radius); }
.ac-acct-stats b { display: block; font-size: 22px; line-height: 1; }
.ac-acct-stats span { font-size: 12px; color: var(--ac-fg-60); }

.ac-acct-clubs, .ac-acct-threads, .ac-acct-discover { list-style: none; margin: 0; padding: 0; }
.ac-acct-clubs li {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--ac-border);
}
.ac-acct-clubs li:last-child { border-bottom: 0; }
.ac-acct-club-name { min-width: 0; }
.ac-acct-club-name a { font-weight: 600; }
.ac-acct-club-name em { display: block; font-style: normal; font-size: 12px; color: var(--ac-fg-60); }

.ac-badge {
  display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0;
  font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 999px; white-space: nowrap;
}
.ac-badge-approved { background: var(--ac-accent-soft); color: #0f7a47; }
.ac-badge-pending  { background: #fef3c7; color: #92600a; }
.ac-badge-banned   { background: #fde2e1; color: #b42318; }

.ac-acct-threads li { padding: 9px 0; border-bottom: 1px solid var(--ac-border); }
.ac-acct-threads li:last-child { border-bottom: 0; }
.ac-acct-threads a { font-weight: 600; }
.ac-acct-thread-meta { display: block; font-size: 12px; color: var(--ac-fg-60); margin-top: 2px; }

.ac-acct-discover li { padding: 8px 0; border-bottom: 1px solid var(--ac-border); }
.ac-acct-discover a { display: flex; align-items: center; justify-content: space-between; font-weight: 500; }
.ac-acct-discover + .ac-btn { margin-top: 14px; }

.ac-acct-empty { margin: 0; color: var(--ac-fg-60); font-size: 14px; }

@media (max-width: 860px) {
  .ac-acct-grid { grid-template-columns: 1fr; }
  .ac-field-row { grid-template-columns: 1fr; }
  .ac-acct-head { flex-wrap: wrap; }
  .ac-acct-logout { width: 100%; }
}

/* ---- Sidebar "Done for you" — deliberately quiet, not a hard sell ---- */
.ac-side-dfy p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ac-fg-60);
  margin: 6px 0 12px;
}
.ac-side-dfy-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ac-blue);
}
.ac-side-dfy-link:hover { color: var(--ac-blue-strong); }
.ac-side-dfy-link i { transition: transform .15s ease; }
.ac-side-dfy-link:hover i { transform: translateX(3px); }

/* ---- FAQ (hub) — accordion, GEO/structured-data friendly ---- */
.ac-faq {
  max-width: 760px;
  margin: 8px auto 0;
}
.ac-faq details {
  background: var(--ac-bg);
  border: 1px solid var(--ac-border);
  border-radius: var(--ac-radius-lg);
  padding: 0 20px;
  margin-bottom: 10px;
  transition: border-color .15s ease;
}
.ac-faq details[open] { border-color: var(--ac-border-2); }
.ac-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--ac-fg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.ac-faq summary::-webkit-details-marker { display: none; }
.ac-faq summary::after {
  content: "\F64D";                         /* bootstrap-icons plus */
  font-family: "bootstrap-icons";
  font-weight: 400;
  font-size: 17px;
  color: var(--ac-fg-40);
  transition: transform .2s ease;
  flex: none;
}
.ac-faq details[open] summary::after { transform: rotate(45deg); }
.ac-faq-a {
  padding: 0 0 18px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ac-fg-70);
}
