/* =============================================================================
   KOMPAS — Marketing site styles
   Palette: navy + cobalt (trust/structure) · warm orange (energy/CTA)
   Type:    Bricolage Grotesque (display) · Inter (body) · IBM Plex Mono (data)
   Signature: fine-line compass rose with a settling needle
   ========================================================================== */

/* ------------------------------------------------------------------ Tokens */
:root {
  /* Brand */
  --navy:      #0A1E3F;
  --navy-700:  #12285A;
  --blue:      #2563EB;
  --blue-600:  #1D4ED8;
  --blue-100:  #DCE6FF;
  --orange:    #F97316;
  --orange-600:#EA580C;
  --orange-100:#FFEDD5;

  /* Neutrals */
  --paper:   #FCFBF9;
  --surface: #FFFFFF;
  --mist:    #F3F5FA;
  --line:    #E7E9F1;
  --ink:     #0A1E3F;
  --body:    #3A4351;
  --muted:   #6B7482;
  --muted-2: #99A0AD;
  --on-dark: #E8ECF6;
  --on-dark-muted: #9DB0D6;

  /* Type */
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body:    "Inter", "Segoe UI", system-ui, sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  /* Radii */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(10,30,63,.06), 0 1px 3px rgba(10,30,63,.05);
  --shadow-md: 0 10px 30px -12px rgba(10,30,63,.18);
  --shadow-lg: 0 30px 70px -24px rgba(10,30,63,.30);
  --shadow-orange: 0 12px 30px -10px rgba(249,115,22,.50);

  /* Layout */
  --wrap: 1180px;
  --pad: clamp(20px, 5vw, 40px);
}

/* --------------------------------------------------------------- Reset/base */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--paper);
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.no-scroll { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* --------------------------------------------------------------- Typography */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.08; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); letter-spacing: -0.025em; }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { text-wrap: pretty; }
strong { color: var(--ink); font-weight: 600; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: currentColor;
  opacity: .55;
}
.eyebrow--center { justify-content: center; }
.section--navy .eyebrow { color: var(--orange); }

/* ------------------------------------------------------------------ Layout */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(64px, 9vw, 122px); position: relative; }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); color: var(--on-dark); }
.section--navy h2, .section--navy h3 { color: #fff; }

.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 16px; font-size: 1.075rem; color: var(--muted); }
.section--navy .section-head p { color: var(--on-dark-muted); }

/* ----------------------------------------------------------------- Buttons */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  padding: 0.85em 1.4em;
  border-radius: var(--r-pill);
  font-weight: 600; font-size: 0.98rem;
  background: var(--btn-bg); color: var(--btn-fg);
  transition: transform .18s ease, box-shadow .25s ease, background-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

.btn--primary { --btn-bg: var(--orange); --btn-fg: #fff; box-shadow: var(--shadow-orange); }
.btn--primary:hover { --btn-bg: var(--orange-600); }
.btn--blue { --btn-bg: var(--blue); box-shadow: 0 12px 30px -12px rgba(37,99,235,.55); }
.btn--blue:hover { --btn-bg: var(--blue-600); }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--ink);
  border: 1.5px solid var(--line);
  box-shadow: none;
}
.btn--ghost:hover { border-color: var(--ink); background: var(--surface); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--navy); }
.btn--sm { padding: 0.6em 1em; font-size: 0.9rem; }
.btn--block { width: 100%; }

/* App-store badges */
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 10px 18px 10px 15px;
  border-radius: 14px;
  background: var(--ink); color: #fff;
  border: 1px solid rgba(255,255,255,.08);
  transition: transform .18s ease, box-shadow .25s ease;
}
.store-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge .sb-top { font-size: 0.62rem; letter-spacing: 0.05em; text-transform: uppercase; opacity: .8; line-height: 1; }
.store-badge .sb-main { font-family: var(--font-display); font-size: 1.06rem; font-weight: 600; line-height: 1.2; }
.store-badge--light { background: #fff; color: var(--navy); border-color: var(--line); }

/* ------------------------------------------------------------------ Header */
.header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--paper) 80%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background-color .3s ease;
}
.header.is-scrolled { border-bottom-color: var(--line); background: color-mix(in srgb, var(--paper) 92%, transparent); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; }

.brand { display: inline-flex; align-items: center; }
.brand__word {
  display: inline-flex; align-items: center; line-height: 1;
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem;
  letter-spacing: 0.005em; color: var(--orange);
}
.brand__o { width: 1.44em; height: 1.44em; margin: 0 -0.13em; flex: none; }

.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__link { font-size: 0.95rem; font-weight: 500; color: var(--body); position: relative; padding: 4px 0; transition: color .18s ease; }
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--orange); transition: right .25s ease;
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { right: 0; }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__menu { display: none; }

.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; }
.nav__toggle svg { width: 24px; height: 24px; }

/* --------------------------------------------------------------------- Hero */
.hero { position: relative; padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 110px); overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 82% 18%, rgba(37,99,235,.12), transparent 70%),
    radial-gradient(46% 50% at 12% 88%, rgba(249,115,22,.10), transparent 72%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }

.hero__pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px 7px 8px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: 0.82rem; font-weight: 500; color: var(--body); margin-bottom: 26px;
}
.hero__pill b { color: var(--ink); font-weight: 600; }
.hero__pill .tag {
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: .08em; text-transform: uppercase;
  background: var(--orange-100); color: var(--orange-600); padding: 4px 9px; border-radius: var(--r-pill);
}
.hero h1 { margin-bottom: 22px; }
.hero h1 .accent {
  color: var(--blue);
  background: linear-gradient(var(--orange), var(--orange)) 0 92% / 100% 0.1em no-repeat;
  padding-bottom: 0.04em;
}
.hero__lead { font-size: clamp(1.06rem, 1.6vw, 1.28rem); color: var(--muted); max-width: 33ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__note { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 0.86rem; color: var(--muted); }
.hero__note svg { width: 17px; height: 17px; color: var(--blue); flex: none; }
.hero__note .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--muted-2); }

/* Hero product visual — the live KOMPAS compass, drawn from the brand mark */
.compass-wrap { display: grid; place-items: center; position: relative; }
.klive {
  width: min(100%, 430px); height: auto; overflow: visible;
  filter: drop-shadow(0 30px 55px -18px rgba(30,64,175,.5));
  animation: klive-float 7s ease-in-out infinite;
}
.klive__ticks { transform-box: fill-box; transform-origin: center; animation: klive-spin 80s linear infinite; }
.klive__needle { transform-box: fill-box; transform-origin: center; animation: klive-settle 2.8s cubic-bezier(.2,.8,.2,1) both; }
@keyframes klive-spin { to { transform: rotate(360deg); } }
@keyframes klive-settle {
  0%   { transform: rotate(-28deg); }
  58%  { transform: rotate(59deg); }
  80%  { transform: rotate(40deg); }
  100% { transform: rotate(45deg); }
}
@keyframes klive-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.compass__float {
  position: absolute; display: flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-md);
  padding: 9px 13px; border-radius: 14px; font-size: 0.82rem; font-weight: 600; color: var(--ink);
  animation: float 6s ease-in-out infinite;
}
.compass__float small { display: block; font-weight: 500; font-size: 0.7rem; color: var(--muted); }
.compass__float .ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.compass__float--a { top: 6%; right: -4%; }
.compass__float--b { bottom: 8%; left: -6%; animation-delay: -3s; }
.compass__float--a .ico { background: var(--blue-100); color: var(--blue); }
.compass__float--b .ico { background: var(--orange-100); color: var(--orange-600); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* --------------------------------------------------------------- Trust bar */
.trust { border-block: 1px solid var(--line); background: var(--surface); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { padding: 30px 10px; text-align: center; border-left: 1px solid var(--line); }
.trust__item:first-child { border-left: 0; }
.trust__num { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.trust__num .u { color: var(--orange); }
.trust__label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

/* --------------------------------------------------------------------- Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; padding-top: 26px; }
.step__no {
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500; color: var(--blue);
  letter-spacing: .1em; display: block; margin-bottom: 14px;
}
.step__ico { width: 46px; height: 46px; border-radius: 13px; background: var(--blue-100); color: var(--blue); display: grid; place-items: center; margin-bottom: 16px; }
.step__ico svg { width: 23px; height: 23px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.96rem; }
.step::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--blue), transparent);
  border-radius: 2px;
}
.step:nth-child(4)::before { background: linear-gradient(90deg, var(--orange), transparent); }
.step:nth-child(4) .step__ico { background: var(--orange-100); color: var(--orange-600); }
.step:nth-child(4) .step__no { color: var(--orange-600); }

/* ------------------------------------------------------------------ Mentors */
.mentors__toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 30px; }
.search {
  position: relative; flex: 1 1 280px; max-width: 380px;
}
.search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted-2); }
.search input {
  width: 100%; padding: 13px 16px 13px 44px; border-radius: var(--r-pill);
  border: 1.5px solid var(--line); background: var(--surface); font: inherit; color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.search input::placeholder { color: var(--muted-2); }
.search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-100); }

.filters { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  padding: 9px 16px; border-radius: var(--r-pill); font-size: 0.88rem; font-weight: 500;
  border: 1.5px solid var(--line); background: var(--surface); color: var(--body);
  transition: all .18s ease;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.mentor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(292px, 1fr)); gap: 22px; }

.mcard {
  position: relative; text-align: left; width: 100%;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 24px; box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .28s ease, border-color .22s ease;
  display: flex; flex-direction: column;
}
.mcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.mcard__top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.mcard__avatar { width: 58px; height: 58px; border-radius: 15px; object-fit: cover; flex: none; box-shadow: var(--shadow-sm); }
.mcard__name { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; color: var(--ink); letter-spacing: -0.01em; }
.mcard__headline { font-size: 0.86rem; color: var(--muted); margin-top: 2px; }
.mcard__cat {
  position: absolute; top: 18px; right: 18px;
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue); background: var(--blue-100); padding: 4px 9px; border-radius: var(--r-pill);
}
.mcard__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.mtag { font-size: 0.76rem; color: var(--body); background: var(--mist); border: 1px solid var(--line); padding: 4px 10px; border-radius: var(--r-pill); }
.mcard__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.mcard__price { font-weight: 600; color: var(--ink); font-size: 0.92rem; }
.mcard__price span { color: var(--muted); font-weight: 400; font-size: 0.8rem; }
.mcard__view { display: inline-flex; align-items: center; gap: 5px; font-size: 0.86rem; font-weight: 600; color: var(--blue); }
.mcard__view svg { width: 15px; height: 15px; transition: transform .2s ease; }
.mcard:hover .mcard__view svg { transform: translateX(3px); }

/* Rating */
.rating { display: inline-flex; align-items: center; gap: 6px; }
.stars { display: inline-flex; gap: 1px; }
.stars svg { width: 15px; height: 15px; color: var(--orange); }
.stars .empty { color: var(--line); }
.rating__val { font-weight: 600; color: var(--ink); font-size: 0.88rem; }
.rating__count { color: var(--muted); font-size: 0.82rem; }

/* Skeleton / empty / error */
.mcard--skeleton { pointer-events: none; }
.sk { background: linear-gradient(100deg, var(--mist) 30%, #eef1f7 50%, var(--mist) 70%); background-size: 200% 100%; animation: sk 1.3s ease-in-out infinite; border-radius: 8px; }
.sk--avatar { width: 58px; height: 58px; border-radius: 15px; }
.sk--line { height: 12px; margin-bottom: 8px; }
@keyframes sk { to { background-position: -200% 0; } }

.state { text-align: center; padding: 60px 20px; grid-column: 1 / -1; }
.state__ico { width: 60px; height: 60px; border-radius: 18px; background: var(--mist); display: grid; place-items: center; margin: 0 auto 18px; color: var(--muted); }
.state__ico svg { width: 28px; height: 28px; }
.state h3 { margin-bottom: 6px; }
.state p { color: var(--muted); max-width: 380px; margin: 0 auto 18px; }

.data-notice {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.82rem; color: var(--muted); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-pill); padding: 7px 15px; margin-bottom: 22px;
}
.data-notice svg { width: 15px; height: 15px; color: var(--orange); flex: none; }

/* ------------------------------------------------------ Profile slide-over */
.overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(10,30,63,.45); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
}
.overlay.is-open { opacity: 1; visibility: visible; }
.panel {
  position: fixed; top: 0; right: 0; z-index: 101; height: 100dvh; width: min(560px, 100%);
  background: var(--paper); box-shadow: var(--shadow-lg);
  transform: translateX(100%); transition: transform .38s cubic-bezier(.22,.8,.26,1);
  display: flex; flex-direction: column;
}
.panel.is-open { transform: translateX(0); }
.panel__scroll { overflow-y: auto; padding: 0 0 20px; }
.panel__close {
  position: absolute; top: 18px; right: 18px; z-index: 3;
  width: 42px; height: 42px; border-radius: 12px; background: var(--surface);
  border: 1px solid var(--line); display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.panel__close svg { width: 20px; height: 20px; }
.panel__hero { padding: 34px var(--pad) 26px; background: linear-gradient(180deg, var(--mist), var(--paper)); border-bottom: 1px solid var(--line); }
.panel__avatar { width: 88px; height: 88px; border-radius: 22px; box-shadow: var(--shadow-md); margin-bottom: 16px; }
.panel__name { font-size: 1.75rem; }
.panel__headline { color: var(--muted); margin-top: 4px; font-size: 1rem; }
.panel__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; align-items: center; }
.panel__meta .rating { margin-right: 4px; }
.meta-item { display: inline-flex; align-items: center; gap: 6px; font-size: 0.86rem; color: var(--muted); }
.meta-item svg { width: 15px; height: 15px; color: var(--blue); }

.panel__body { padding: 26px var(--pad); }
.panel__body h4 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 12px; }
.panel__section { margin-bottom: 28px; }
.panel__bio { color: var(--body); font-size: 1rem; line-height: 1.7; }
.panel__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.review { border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-md); padding: 16px 18px; margin-bottom: 12px; }
.review__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.review__author { font-weight: 600; color: var(--ink); font-size: 0.92rem; }
.review__date { font-size: 0.78rem; color: var(--muted-2); }
.review p { font-size: 0.92rem; color: var(--body); }

.panel__foot {
  padding: 18px var(--pad); border-top: 1px solid var(--line); background: var(--surface);
  display: flex; gap: 12px; align-items: center;
}
.panel__price { flex: none; }
.panel__price .p { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.panel__price .s { font-size: 0.76rem; color: var(--muted); }
.panel__foot .btn { flex: 1; }

/* ------------------------------------------------------------------ Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { padding: 30px; border-radius: var(--r-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); }
.feature__ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; background: rgba(249,115,22,.18); color: var(--orange); }
.feature__ico svg { width: 25px; height: 25px; }
.feature:nth-child(even) .feature__ico { background: rgba(37,99,235,.26); color: #93b4ff; }
.feature h3 { margin-bottom: 10px; }
.feature p { color: var(--on-dark-muted); font-size: 0.96rem; }

/* --------------------------------------------------------------- Categories */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat {
  display: flex; align-items: center; gap: 14px; padding: 20px 22px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease; text-align: left; width: 100%;
}
.cat:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.cat__ico { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-100); color: var(--blue); display: grid; place-items: center; flex: none; }
.cat__ico svg { width: 22px; height: 22px; }
.cat__name { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1.02rem; }
.cat__count { font-size: 0.82rem; color: var(--muted); }
.cat__arrow { margin-left: auto; color: var(--muted-2); transition: transform .2s ease, color .2s ease; }
.cat:hover .cat__arrow { transform: translateX(3px); color: var(--orange); }

/* ------------------------------------------------------------- Testimonials */
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.tcard__quote { font-family: var(--font-display); font-size: 1.12rem; line-height: 1.45; color: var(--ink); letter-spacing: -0.01em; margin-bottom: 22px; }
.tcard__mark { font-family: var(--font-display); font-size: 3rem; line-height: 0.4; color: var(--orange); display: block; height: 22px; }
.tcard__author { font-weight: 600; color: var(--ink); }
.tcard__role { font-size: 0.84rem; color: var(--muted); }

/* --------------------------------------------------------------- CTA band */
.cta {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  background: linear-gradient(120deg, var(--navy) 0%, var(--blue-600) 55%, var(--orange) 135%);
  padding: clamp(40px, 6vw, 72px);
  color: #fff; text-align: center;
}
.cta::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background: radial-gradient(40% 60% at 80% 10%, rgba(255,255,255,.18), transparent 60%);
}
.cta > * { position: relative; }
.cta__icon { width: 84px; height: 84px; margin: 0 auto 20px; filter: drop-shadow(0 16px 28px rgba(0,0,0,.30)); }
.cta h2 { color: #fff; max-width: 18ch; margin: 0 auto 16px; }
.cta p { color: rgba(255,255,255,.86); max-width: 46ch; margin: 0 auto 30px; font-size: 1.08rem; }
.cta .store-badges { justify-content: center; }

/* ------------------------------------------------------------------ Footer */
.footer { background: var(--navy); color: var(--on-dark-muted); padding-block: 64px 32px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 44px; }
.footer .brand__name { color: #fff; }
.footer__about { margin-top: 16px; max-width: 30ch; font-size: 0.92rem; line-height: 1.65; }
.footer h4 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark); font-weight: 500; margin-bottom: 16px; }
.footer li { margin-bottom: 11px; }
.footer a { font-size: 0.92rem; transition: color .18s ease; }
.footer a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; font-size: 0.85rem; }
.footer__socials { display: flex; gap: 10px; }
.footer__socials a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255,255,255,.12); display: grid; place-items: center; }
.footer__socials a:hover { border-color: var(--orange); color: var(--orange); }
.footer__socials svg { width: 18px; height: 18px; }

/* ------------------------------------------------------------------- Toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 130%);
  z-index: 200; background: var(--ink); color: #fff;
  padding: 13px 20px; border-radius: var(--r-pill); box-shadow: var(--shadow-lg);
  font-size: 0.9rem; font-weight: 500; display: flex; align-items: center; gap: 10px;
  transition: transform .4s cubic-bezier(.22,.8,.26,1); max-width: calc(100% - 40px);
}
.toast.is-visible { transform: translate(-50%, 0); }
.toast svg { width: 18px; height: 18px; color: var(--orange); flex: none; }

/* ----------------------------------------------------------------- Reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.mentor-grid .reveal:nth-child(2) { transition-delay: .05s; }
.mentor-grid .reveal:nth-child(3) { transition-delay: .1s; }
.mentor-grid .reveal:nth-child(4) { transition-delay: .15s; }

/* ------------------------------------------------------------- Responsive */
@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; }
  .compass-wrap { order: -1; max-width: 380px; margin-inline: auto; }
  .compass__float--a { right: 2%; }
  .compass__float--b { left: 2%; }
  .features, .cat-grid, .tgrid, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav__links, .nav__actions .btn { display: none; }
  .nav__toggle { display: grid; }
  .nav__menu.is-open { display: flex; }
  .nav__menu {
    display: none; position: absolute; left: var(--pad); right: var(--pad); top: 78px;
    flex-direction: column; gap: 4px; background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-md); padding: 12px; box-shadow: var(--shadow-lg);
  }
  .nav__menu a { padding: 12px 14px; border-radius: 10px; font-weight: 500; }
  .nav__menu a:hover { background: var(--mist); }
  .nav__menu .btn { margin-top: 6px; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .trust__item:nth-child(odd) { border-left: 0; }
  .steps { grid-template-columns: 1fr; gap: 14px; }
  .step { padding-top: 20px; }
  .mentor-grid { grid-template-columns: 1fr; }
  .panel { width: 100%; }
}
@media (max-width: 480px) {
  .features, .cat-grid, .tgrid, .footer__grid { grid-template-columns: 1fr; }
  .hero__cta .btn { flex: 1; }
}

/* --------------------------------------------------- Reduced motion / print */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
