:root {
  --bg: #08090b;
  --bg-elevated: #0d0e11;
  --bg-card: #101114;
  --text: #e7e8ea;
  --text-muted: #8a8e96;
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.22);
  --accent: #3b82f6;
  --accent-dim: rgba(59, 130, 246, 0.35);
  --accent-warn: #e0a83a;
  --accent-warn-dim: rgba(224, 168, 58, 0.35);
  /* Reserved for the logo mark only, not used decoratively elsewhere. */
  --accent-1: #a855f7;
  --accent-2: #3b82f6;
  --gradient: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  --radius: 4px;
  --radius-sm: 2px;
  --max-width: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

img {
  max-width: 100%;
  display: block;
}

h1, h2, h3 {
  line-height: 1.2;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
}

p {
  color: var(--text-muted);
  margin: 0 0 16px;
  text-align: justify;
  hyphens: auto;
}

.gradient-text {
  color: var(--accent);
}

.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(8, 9, 11, 0.94);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
}

.brand__mark {
  width: 26px;
  height: 26px;
}

.brand__mark svg {
  width: 100%;
  height: 100%;
}

.brand__name {
  color: var(--text);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: var(--mono);
  font-size: 0.82rem;
}

.site-nav a:not(.btn) {
  position: relative;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.site-nav a:not(.btn):hover {
  color: var(--text);
}

.site-nav a:not(.btn).active {
  color: var(--accent);
  font-weight: 600;
}

.site-nav a:not(.btn).active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -21px;
  height: 2px;
  background: var(--accent);
}

/* The Contact link is already styled as a solid button, so its active
   state needs its own unambiguous treatment rather than the underline
   used for plain nav links. */
.site-nav a.btn.active {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.site-nav a:focus-visible,
.brand:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  background: #2f6fdb;
  border-color: #2f6fdb;
}

.btn--sm {
  padding: 8px 16px;
  font-size: 0.78rem;
}

.btn--ghost {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- Hero ---------- */

.hero {
  padding: 88px 0 64px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  font-weight: 800;
}

.hero__lead {
  font-size: 1.1rem;
  max-width: 46ch;
}

.hero__cta {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero__art {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.stat-row {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.stat-row .stat strong {
  display: block;
  font-family: var(--mono);
  font-size: 1.5rem;
  color: var(--text);
}

.stat-row .stat span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- Sections ---------- */

section {
  padding: 88px 0;
}

section + section {
  border-top: 1px solid var(--border);
}

.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head.left {
  margin: 0 0 48px;
  text-align: left;
}

/* ---------- Services grid ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color 0.15s ease;
}

.card:hover {
  border-color: var(--border-strong);
}

.card h3 {
  font-size: 1.02rem;
  color: var(--text);
}

.card p {
  font-size: 0.95rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.card__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid var(--accent-dim);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--accent);
}

/* ---------- Spotlight (Evidenx) ---------- */

.spotlight {
  background: var(--bg-elevated);
}

.spotlight__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.spotlight__logo {
  width: 220px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}

.badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent-dim);
  color: var(--accent);
  margin-bottom: 14px;
}

/* ---------- Black Hat MasterClass ---------- */

.blackhat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.blackhat__banner {
  display: block;
  width: 100%;
  height: auto;
}

.blackhat__body {
  padding: 32px 40px;
}

/* ---------- Training / course teaser ---------- */

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

.kompass__panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.kompass__panel ul {
  margin: 0;
  padding-left: 20px;
  color: var(--text-muted);
}

.kompass__panel li {
  margin-bottom: 10px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.status-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--accent);
}

/* ---------- About ---------- */

.about__inner {
  max-width: 760px;
}

/* ---------- Contact ---------- */

.contact {
  text-align: center;
}

.contact p:not(.contact__email) {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.contact__email {
  text-align: center;
  font-family: var(--mono);
  font-size: 1.2rem;
  font-weight: 700;
}

.contact__email .gradient-text {
  display: inline-block;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-nav {
  display: flex;
  gap: 20px;
}

.footer-nav a {
  color: var(--text-muted);
}

.footer-nav a:hover {
  color: var(--text);
}

/* ---------- Legal pages ---------- */

.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 72px 24px;
}

.legal h1 {
  font-size: 2rem;
}

.legal h2 {
  font-size: 1.2rem;
  margin-top: 36px;
}

.legal address {
  font-style: normal;
  color: var(--text-muted);
}

/* ---------- Pills / tags ---------- */

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.pill strong {
  color: var(--text);
  font-weight: 600;
}

.tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tool-tag {
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--text);
}

/* ---------- Course sub-nav ---------- */

.subnav {
  position: sticky;
  top: 64px;
  z-index: 9;
  background: rgba(8, 9, 11, 0.96);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}

.subnav::-webkit-scrollbar {
  display: none;
}

.subnav__inner {
  display: flex;
  gap: 4px;
  padding: 12px 24px;
  white-space: nowrap;
  max-width: var(--max-width);
  margin: 0 auto;
}

.subnav a {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: color 0.15s ease, background 0.15s ease;
}

.subnav a:hover {
  color: var(--text);
  background: var(--bg-card);
}

/* ---------- Fit / compare grid ---------- */

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.compare-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.compare-card--yes {
  border-left: 2px solid var(--accent);
}

.compare-card--no {
  border-left: 2px dashed var(--border-strong);
}

.compare-card h3 {
  font-size: 1rem;
  color: var(--text);
}

.compare-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.compare-card li {
  margin-bottom: 10px;
}

/* ---------- Outcomes checklist ---------- */

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--text-muted);
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--mono);
  font-weight: 700;
  color: var(--accent);
}

/* ---------- Competency details ---------- */

.comp-details {
  margin-top: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  background: var(--bg-card);
}

.comp-details summary {
  cursor: pointer;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  list-style: none;
}

.comp-details summary::-webkit-details-marker {
  display: none;
}

.comp-details summary::before {
  content: "+ ";
  color: var(--accent);
}

.comp-details[open] summary::before {
  content: "\2212 ";
}

.comp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 8px 24px;
  margin-top: 18px;
}

.comp-grid div {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 6px 0;
  border-top: 1px solid var(--border);
}

.comp-grid strong {
  font-family: var(--mono);
  color: var(--accent);
  margin-right: 6px;
}

/* ---------- Timeline ---------- */

.timeline {
  display: grid;
  gap: 12px;
}

.timeline__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
}

.step-num {
  font-family: var(--mono);
  color: var(--accent);
  margin-right: 12px;
}

.timeline__item h3 {
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 6px;
}

.timeline__item p {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.timeline__hours {
  display: inline-flex;
  gap: 12px;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
}

.timeline__review {
  background: var(--bg-card);
  border: 1px solid var(--accent-warn-dim);
  border-radius: var(--radius);
  padding: 24px 28px;
}

.timeline__review strong {
  font-size: 1.15rem;
  color: var(--text);
}

.timeline__review .step-num {
  color: var(--accent-warn);
}

.timeline__review p {
  margin: 6px 0 0;
  font-size: 0.95rem;
}

/* ---------- Instructor ---------- */

.cred-list {
  display: grid;
  gap: 18px;
  margin-top: 8px;
}

.cred-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.cred-row:first-child {
  padding-top: 0;
  border-top: none;
}

.cred-row dt {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

.cred-row dd {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- Testimonial ---------- */

.testimonial {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px;
  position: relative;
}

.testimonial::before {
  content: "\201C";
  position: absolute;
  top: 8px;
  left: 28px;
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  opacity: 0.4;
}

.testimonial blockquote {
  margin: 20px 0 24px;
  padding: 0;
  font-size: 1.05rem;
  color: var(--text);
}

.testimonial blockquote p {
  color: var(--text);
  margin-bottom: 14px;
}

.testimonial cite {
  font-style: normal;
  font-weight: 600;
  color: var(--text);
  display: block;
}

.testimonial .testimonial__role {
  display: block;
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 2px;
}

.testimonial__note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---------- Pricing ---------- */

.price-card {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
}

.price-amount {
  font-family: var(--mono);
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.price-amount + p {
  text-align: center;
}

.price-card .check-list {
  text-align: left;
  margin: 28px 0;
}

.price-note {
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 8px;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__art {
    order: -1;
    max-width: 320px;
  }

  .kompass {
    grid-template-columns: 1fr;
  }

  .spotlight__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .spotlight__logo {
    margin: 0 auto;
  }

  .site-nav {
    gap: 16px;
    font-size: 0.78rem;
  }

  .compare-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .site-nav a:not(.btn) {
    display: none;
  }

  section {
    padding: 64px 0;
  }

  .timeline__item {
    padding: 20px;
  }

  .cred-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .price-card {
    padding: 32px 20px;
  }

  .price-amount {
    font-size: 2rem;
  }

  .subnav__inner {
    padding: 10px 16px;
  }
}
