.mentor-page {
  --mentor-deep: #10140f;
  --mentor-panel: #192018;
  --mentor-acid: #d7ff3f;
  overflow-x: hidden;
  background: #f4f4ee;
}

.mentor-page .mentor-header { grid-template-columns: 1fr auto 1fr; }
.mentor-header-label {
  color: #5b6459;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mentor-shell {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.mentor-hero {
  padding: clamp(72px, 9vw, 122px) 0 clamp(82px, 10vw, 132px);
  background:
    radial-gradient(circle at 78% 16%, rgba(215, 255, 63, .14), transparent 25%),
    linear-gradient(180deg, #f8f8f3, #f0f1e9);
}

.mentor-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
  gap: clamp(40px, 7vw, 92px);
  align-items: center;
}

.mentor-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #626b60;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.mentor-eyebrow span {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--mentor-acid);
  box-shadow: 0 0 0 4px rgba(215, 255, 63, .23);
}

.mentor-hero h1 {
  max-width: 690px;
  margin-bottom: 24px;
  font-size: clamp(52px, 5.8vw, 78px);
  line-height: 1.01;
}
.mentor-lead {
  max-width: 650px;
  margin-bottom: 26px;
  color: #3f483d;
  font-size: 18px;
  line-height: 1.68;
}

.mentor-offer {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 18px;
  align-items: center;
  max-width: 620px;
  margin-bottom: 24px;
  padding: 18px 20px;
  border: 1px solid #d5d8ce;
  border-radius: 10px;
  background: rgba(255, 255, 255, .72);
}
.mentor-offer strong {
  grid-row: span 2;
  max-width: 250px;
  color: #1b2319;
  font-size: clamp(24px, 2.5vw, 31px);
  line-height: 1.08;
}
.mentor-offer span { font-size: 14px; font-weight: 700; }
.mentor-offer small { color: #697168; font-size: 12px; line-height: 1.45; }
.mentor-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.mentor-page .mentor-primary { background: var(--mentor-deep); color: #fff; }
.mentor-page .mentor-primary:hover { background: #293127; }
.mentor-note { margin: 14px 0 0; color: #687067; font-size: 13px; line-height: 1.55; }

.mentor-workbench {
  padding: 22px;
  border: 1px solid #2c352b;
  border-radius: 14px;
  background: var(--mentor-deep);
  color: #fff;
  box-shadow: 0 34px 90px rgba(16, 20, 15, .18);
}
.mentor-workbench-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid #313a30;
  color: #9da79a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
}
.mentor-workbench-head i { color: var(--mentor-acid); font-style: normal; }
.mentor-inputs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px 0; }
.mentor-inputs span {
  min-height: 96px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  border: 1px solid #364035;
  border-radius: 8px;
  background: var(--mentor-panel);
}
.mentor-inputs b { color: var(--mentor-acid); font: 700 13px Consolas, monospace; }
.mentor-inputs small { color: #cbd2c8; font-size: 12px; line-height: 1.35; }
.mentor-build-line { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; color: #b5beb2; font-size: 11px; }
.mentor-build-line i { height: 1px; background: #3c473b; }
.mentor-output {
  margin-top: 18px;
  padding: 22px;
  border-radius: 10px;
  background: var(--mentor-acid);
  color: #162014;
}
.mentor-output > small { font-size: 10px; font-weight: 800; letter-spacing: .09em; }
.mentor-output > strong { display: block; margin-top: 8px; font-size: 22px; line-height: 1.2; }
.mentor-output ul { display: grid; gap: 7px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 12px; font-weight: 650; }
.mentor-output li::before { content: "✓"; margin-right: 7px; }

.mentor-usecases,
.mentor-process,
.mentor-boundary,
.mentor-contact { padding: clamp(78px, 9vw, 118px) 0; }
.mentor-heading { max-width: 790px; }
.mentor-heading h2,
.mentor-boundary h2,
.mentor-contact h2 {
  margin: 0;
  font-size: clamp(38px, 4.8vw, 58px);
  line-height: 1.07;
}
.mentor-heading > p:last-child { margin: 22px 0 0; color: #666f64; font-size: 17px; line-height: 1.65; }
.mentor-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 44px; }
.mentor-card-grid article {
  min-height: 270px;
  padding: 28px;
  border: 1px solid #dadcd3;
  border-radius: 10px;
  background: #fff;
}
.mentor-card-grid article > span { color: #3157ff; font: 700 13px Consolas, monospace; }
.mentor-card-grid h3 { margin: 72px 0 12px; font-size: 24px; line-height: 1.15; }
.mentor-card-grid p { margin: 0; color: #666d64; font-size: 14px; line-height: 1.65; }

.mentor-process { background: var(--mentor-deep); color: #fff; }
.mentor-process-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 8vw, 110px); }
.mentor-process .mentor-eyebrow,
.mentor-process .mentor-heading > p:last-child { color: #aeb7ab; }
.mentor-process ol { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.mentor-process li { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 23px 0; border-bottom: 1px solid #333c32; }
.mentor-process li:first-child { padding-top: 0; }
.mentor-process li > span { color: var(--mentor-acid); font: 700 13px Consolas, monospace; }
.mentor-process li strong { display: block; margin-bottom: 7px; font-size: 19px; }
.mentor-process li p { margin: 0; color: #bfc7bc; font-size: 14px; line-height: 1.6; }

.mentor-boundary { background: #e9ebe3; }
.mentor-boundary-grid { display: grid; grid-template-columns: 1.1fr .72fr .72fr; gap: 16px; }
.mentor-boundary-grid > div { padding: 28px; border-radius: 10px; }
.mentor-boundary-grid > div:first-child { padding-left: 0; }
.mentor-includes { background: #fff; }
.mentor-excludes { border: 1px solid #ccd0c5; }
.mentor-boundary h3 { margin: 0 0 18px; font-size: 18px; }
.mentor-boundary ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; color: #525a50; font-size: 14px; line-height: 1.55; }
.mentor-includes li::before { content: "✓"; margin-right: 8px; color: #426b2b; font-weight: 800; }
.mentor-excludes li::before { content: "·"; margin-right: 8px; color: #596257; font-weight: 800; }

.mentor-contact { background: #fff; }
.mentor-contact-card {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: clamp(38px, 7vw, 90px);
  align-items: center;
  padding: clamp(30px, 5vw, 62px);
  border: 1px solid #d8dbd2;
  border-radius: 14px;
  background: #f5f6ef;
}
.mentor-contact-card > div:first-child > p:last-child { max-width: 700px; margin: 22px 0 0; color: #60685e; font-size: 16px; line-height: 1.65; }
.mentor-instructor { display: flex; align-items: center; gap: 13px; margin-top: 22px; }
.mentor-instructor img { width: 54px; height: 66px; object-fit: cover; object-position: center 32%; border: 1px solid #d4d7ce; border-radius: 7px; background: #fff; }
.mentor-instructor span { display: grid; gap: 4px; }
.mentor-instructor strong { font-size: 14px; }
.mentor-instructor small { color: #6b7368; font-size: 11px; line-height: 1.4; }
.mentor-contact-actions { display: grid; gap: 10px; }
.mentor-phone {
  display: grid;
  gap: 4px;
  min-height: 72px;
  padding: 13px 16px;
  border: 1px solid #cfd3c8;
  border-radius: 8px;
  background: #fff;
}
.mentor-phone small { color: #697166; font-size: 11px; }
.mentor-phone strong { font-size: 19px; }
.mentor-mobile-contact { display: none; }

@media (max-width: 900px) {
  .mentor-hero-grid,
  .mentor-process-grid,
  .mentor-boundary-grid,
  .mentor-contact-card { grid-template-columns: 1fr; }
  .mentor-hero-copy { max-width: 720px; }
  .mentor-workbench { max-width: 680px; width: 100%; }
  .mentor-boundary-grid > div:first-child { padding: 0 0 24px; }
  .mentor-contact-actions { max-width: 420px; }
}

@media (max-width: 760px) {
  .mentor-page { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .mentor-page .mentor-header { grid-template-columns: 1fr auto; }
  .mentor-header-label { display: none; }
  .mentor-page .mentor-header .nav-cta { padding: 0 11px; font-size: 11px; }
  .mentor-page .mentor-header .nav-cta span { display: none; }
  .mentor-shell { width: min(100% - 32px, 1160px); }
  .mentor-hero { padding: 58px 0 78px; }
  .mentor-hero-grid { gap: 38px; }
  .mentor-hero h1 { max-width: 355px; font-size: 43px; }
  .mentor-lead { font-size: 16px; line-height: 1.62; }
  .mentor-offer { grid-template-columns: 1fr; gap: 8px; }
  .mentor-offer strong { grid-row: auto; }
  .mentor-actions { display: grid; }
  .mentor-inputs { grid-template-columns: 1fr; }
  .mentor-inputs span { min-height: 70px; }
  .mentor-build-line strong { text-align: center; }
  .mentor-usecases,
  .mentor-process,
  .mentor-boundary,
  .mentor-contact { padding: 76px 0; }
  .mentor-card-grid { grid-template-columns: 1fr; margin-top: 32px; }
  .mentor-card-grid article { min-height: 0; padding: 24px; }
  .mentor-card-grid h3 { margin-top: 38px; }
  .mentor-process-grid { gap: 42px; }
  .mentor-contact-card { width: calc(100% - 32px); padding: 26px 22px; }
  .mentor-page .mentor-footer { padding-bottom: 34px; }
  .mentor-mobile-contact {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 70;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    min-height: calc(64px + env(safe-area-inset-bottom));
    padding: 6px 6px env(safe-area-inset-bottom);
    background: var(--mentor-deep);
  }
  .mentor-mobile-contact a {
    min-height: 52px;
    display: grid;
    place-items: center;
    border: 1px solid #394237;
    border-radius: 6px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
  }
  .mentor-mobile-contact a:last-child { border-color: var(--mentor-acid); background: var(--mentor-acid); color: var(--mentor-deep); }
  .mentor-page .consent-banner { bottom: calc(76px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  .mentor-page .btn { transition: none; }
}
