/* CyberWithJohann global shell: navigation, mobile sheet and footer.
   Every selector is namespaced with .cwj- so it can sit on top of any page's own
   stylesheet without inheriting from it or leaking into it. Load it last. */

.cwj-nav,
.cwj-nav *,
.cwj-footer,
.cwj-footer * {
  box-sizing: border-box;
}

.cwj-nav {
  --cwj-bg: rgba(16, 17, 20, 0.66);
  --cwj-bg-solid: rgba(16, 17, 20, 0.86);
  --cwj-sheet: #101114;
  --cwj-ink: #f5f5f7;
  --cwj-soft: rgba(245, 245, 247, 0.74);
  --cwj-mute: rgba(245, 245, 247, 0.56);
  --cwj-line: rgba(255, 255, 255, 0.1);
  --cwj-accent: #ff6b35;
  --cwj-accent-ink: #1a0f0a;
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  color: var(--cwj-ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", sans-serif;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

.cwj-nav[data-tone="light"] {
  --cwj-bg: rgba(251, 251, 253, 0.72);
  --cwj-bg-solid: rgba(251, 251, 253, 0.9);
  --cwj-sheet: #fbfbfd;
  --cwj-ink: #1d1d1f;
  --cwj-soft: rgba(29, 29, 31, 0.78);
  --cwj-mute: rgba(29, 29, 31, 0.62);
  --cwj-line: rgba(0, 0, 0, 0.09);
  --cwj-accent: #ff6b35;
  --cwj-accent-ink: #1a0f0a;
}

.cwj-nav__bar {
  position: relative;
  height: 52px;
  border-bottom: 1px solid transparent;
  background: var(--cwj-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  transition: background-color 240ms ease, border-color 240ms ease;
}

.cwj-nav.is-scrolled .cwj-nav__bar,
.cwj-nav.is-open .cwj-nav__bar {
  border-bottom-color: var(--cwj-line);
  background: var(--cwj-bg-solid);
}

.cwj-nav__inner {
  width: min(1180px, calc(100% - 44px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.cwj-nav a {
  color: inherit;
  text-decoration: none;
}

.cwj-nav__brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cwj-ink);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.cwj-nav__brand svg {
  width: 16px;
  height: 19px;
  flex: 0 0 auto;
}

.cwj-nav__links {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
}

.cwj-nav__links a {
  position: relative;
  padding: 8px 0;
  color: var(--cwj-soft);
  font-weight: 500;
  white-space: nowrap;
  transition: color 160ms ease;
}

.cwj-nav__links a:hover,
.cwj-nav__links a[aria-current="page"] {
  color: var(--cwj-ink);
}

.cwj-nav__links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cwj-accent);
  transform: translateX(-50%);
}

/* Academy menu: everything that leads to the Academy sits behind one item. */
.cwj-drop {
  position: relative;
}

.cwj-nav__links .cwj-drop__top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cwj-drop__chev {
  width: 9px;
  height: 6px;
  opacity: 0.7;
  transition: transform 200ms ease;
}

.cwj-drop:hover .cwj-drop__chev,
.cwj-drop:focus-within .cwj-drop__chev {
  transform: rotate(180deg);
}

.cwj-drop__panel {
  position: absolute;
  top: 100%;
  left: 50%;
  padding-top: 12px;
  visibility: hidden;
  opacity: 0;
  transform: translate(-50%, -6px);
  transition: opacity 200ms ease, transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 200ms;
}

.cwj-drop:hover .cwj-drop__panel,
.cwj-drop:focus-within .cwj-drop__panel {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
  transition: opacity 200ms ease, transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s;
}

.cwj-drop__card {
  width: 330px;
  padding: 8px;
  border: 1px solid var(--cwj-line);
  border-radius: 18px;
  background: var(--cwj-bg-solid);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  backdrop-filter: saturate(180%) blur(24px);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.55);
}

.cwj-nav__links a.cwj-drop__item {
  padding: 10px 14px;
  border-radius: 12px;
  display: block;
  white-space: normal;
  transition: background-color 160ms ease;
}

.cwj-nav__links a.cwj-drop__item:hover,
.cwj-nav__links a.cwj-drop__item:focus-visible {
  background: rgba(127, 127, 127, 0.14);
}

.cwj-nav__links a.cwj-drop__item::after {
  display: none;
}

.cwj-drop__item strong {
  display: block;
  color: var(--cwj-ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

.cwj-drop__item span {
  display: block;
  margin-top: 3px;
  color: var(--cwj-mute);
  font-size: 12px;
  line-height: 1.35;
}

.cwj-drop__item[aria-current="page"] strong {
  color: var(--cwj-accent);
}

/* Focused bar for the sales page: always there, one clear action */
.cwj-nav--focus .cwj-nav__inner {
  justify-content: flex-end;
}

.cwj-nav--focus .cwj-nav__brand {
  margin-right: auto;
}

.cwj-nav__quiet {
  color: var(--cwj-soft);
  font-size: 13px;
  font-weight: 500;
  transition: color 160ms ease;
}

.cwj-nav__quiet:hover {
  color: var(--cwj-ink);
}

.cwj-nav__cta {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 0 15px;
  border-radius: 999px;
  background: var(--cwj-accent);
  color: var(--cwj-accent-ink) !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 650;
  white-space: nowrap;
  transition: transform 160ms ease, background-color 160ms ease;
}

.cwj-nav__cta:hover {
  background: #ff875c;
  transform: translateY(-1px);
}

.cwj-nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  margin: 0 -8px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cwj-ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.cwj-nav__toggle span,
.cwj-nav__toggle span::before {
  display: block;
  width: 17px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cwj-nav__toggle span {
  position: relative;
  transform: translateY(-3.5px);
}

.cwj-nav__toggle span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
}

.cwj-nav.is-open .cwj-nav__toggle span {
  transform: translateY(0) rotate(45deg);
}

.cwj-nav.is-open .cwj-nav__toggle span::before {
  transform: translateY(-7px) rotate(-90deg);
}

/* Mobile sheet */
.cwj-sheet {
  position: fixed;
  inset: 52px 0 0;
  overflow-y: auto;
  padding: 28px 0 40px;
  background: var(--cwj-sheet);
  visibility: hidden;
  opacity: 0;
  transition: opacity 240ms ease, visibility 0s linear 240ms;
}

.cwj-nav.is-open .cwj-sheet {
  visibility: visible;
  opacity: 1;
  transition: opacity 240ms ease, visibility 0s;
}

.cwj-sheet__inner {
  width: min(560px, calc(100% - 44px));
  margin: 0 auto;
}

.cwj-sheet__label {
  margin: 26px 0 8px;
  color: var(--cwj-mute);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cwj-sheet__label:first-child {
  margin-top: 0;
}

.cwj-sheet a.cwj-sheet__link {
  display: block;
  padding: 9px 0;
  color: var(--cwj-ink);
  font-size: 27px;
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 320ms ease, transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: calc(var(--i, 0) * 28ms);
}

.cwj-sheet a.cwj-sheet__link small {
  display: block;
  margin-top: 5px;
  color: var(--cwj-mute);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
}

.cwj-nav.is-open .cwj-sheet a.cwj-sheet__link {
  opacity: 1;
  transform: none;
}

.cwj-sheet a.cwj-sheet__link[aria-current="page"] {
  color: var(--cwj-accent);
}

.cwj-sheet__cta {
  margin-top: 34px;
  min-height: 50px;
  border-radius: 999px;
  background: var(--cwj-accent);
  color: var(--cwj-accent-ink) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 650;
}

@media (max-width: 920px) {
  .cwj-nav__links,
  .cwj-nav__cta {
    display: none;
  }

  .cwj-nav--focus .cwj-nav__cta {
    display: inline-flex;
  }

  .cwj-nav__quiet {
    display: none;
  }

  .cwj-nav__inner {
    justify-content: space-between;
  }

  .cwj-nav__toggle {
    display: inline-flex;
  }
}

@media (min-width: 921px) {
  .cwj-sheet {
    display: none;
  }
}

/* Roadmap ribbon (Apple-style promo strip under the bar) */
.academy-bonus-banner {
  position: relative;
  z-index: 10;
  margin: 52px 0 0;
  padding: 12px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #161618;
  color: #e8e8ed;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 12px;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", sans-serif;
}

.academy-bonus-banner p {
  margin: 0;
  color: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.academy-bonus-banner a {
  color: #ff8a5f;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.academy-bonus-banner a::after {
  content: " \203A";
}

.academy-bonus-banner a:hover {
  text-decoration: underline;
}

/* Footer */
.cwj-footer {
  position: relative;
  z-index: 2;
  padding: 72px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #0a0b0d;
  color: #f5f5f7;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

.cwj-footer a {
  color: inherit;
  text-decoration: none;
}

.cwj-footer__inner {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.cwj-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
}

.cwj-footer__brand a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.cwj-footer__brand svg {
  width: 16px;
  height: 19px;
}

.cwj-footer__brand p {
  margin: 16px 0 0;
  max-width: 300px;
  color: #a1a4ab;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 26px;
  font-style: italic;
  line-height: 1.15;
}

.cwj-footer__col h2 {
  margin: 0 0 14px;
  color: #8d9097;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cwj-footer__col a {
  display: table;
  margin-top: 9px;
  color: #c8cad0;
  transition: color 160ms ease;
}

.cwj-footer__col a:hover {
  color: #ffffff;
}

.cwj-footer__bottom {
  margin-top: 60px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 24px;
  color: #8d9097;
  font-size: 12px;
}

.cwj-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.cwj-footer__legal a:hover {
  color: #ffffff;
}

@media (max-width: 860px) {
  .cwj-footer__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 38px 28px;
  }

  .cwj-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .cwj-footer {
    padding-top: 56px;
  }

  .cwj-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .cwj-footer__col:last-child {
    grid-column: 1 / -1;
  }

  .cwj-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cwj-nav *,
  .cwj-sheet,
  .cwj-sheet a.cwj-sheet__link {
    transition: none !important;
  }
}

@media print {
  .cwj-nav,
  .cwj-footer,
  .academy-bonus-banner {
    display: none;
  }
}

/* Sales page footer */
.cwj-footer--focus { padding: 34px 0; }
.cwj-footer--focus .cwj-footer__bottom { margin-top: 0; padding-top: 0; border-top: 0; }

.cwj-footer__mark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #f5f5f7;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.cwj-footer__mark svg { width: 14px; height: 17px; }

/* Identity details shared by every page. */
::selection { background: #ff6b35; color: #111; }

/* Ticks sit in the brand shield instead of a circle. */
.ac-stack li::before,
.hm-ticks li::before,
.cs-ticks li::before,
.dv-points li::before {
  border-radius: 0;
  background-position: 50% 42%;
  clip-path: polygon(50% 0, 100% 18%, 93% 66%, 50% 100%, 7% 66%, 0 18%);
}
.ac-stack li::before,
.hm-ticks li::before,
.cs-ticks li::before { height: 26px; }
.dv-points li::before { height: 18px; }
