/* Mentors — design system: Claymorphism (educational)
   Primary #4F46E5 · Accent #EA580C · Bg #EEF2FF · Baloo 2 / Comic Neue */
:root {
  --color-primary: #4F46E5;
  --color-primary-dark: #4338CA;
  --color-secondary: #818CF8;
  --color-accent: #EA580C;
  --color-accent-dark: #C2410C;
  --color-background: #EEF2FF;
  --color-foreground: #1E1B4B;
  --color-card: #FFFFFF;
  --color-muted: #EBEEF8;
  --color-muted-fg: #475569;
  --color-border: #1E1B4B;
  --color-ring: #4F46E5;
  --font-display: 'Baloo 2', system-ui, sans-serif;
  --font-body: 'Comic Neue', 'Segoe Print', system-ui, cursive;
  --radius: 22px;
  --clay-shadow: inset 0 2px 0 rgba(255, 255, 255, .9), inset 0 -3px 0 rgba(79, 70, 229, .12), 6px 6px 0 var(--color-border);
  --clay-shadow-sm: inset 0 2px 0 rgba(255, 255, 255, .9), 4px 4px 0 var(--color-border);
  --clay-press: inset 0 2px 0 rgba(255, 255, 255, .9), 2px 2px 0 var(--color-border);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 14px); }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-foreground);
  background: var(--color-background);
  background-image: radial-gradient(rgba(79, 70, 229, .12) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  line-height: 1.7;
  font-size: 1.06rem;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: 0; margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: .35em; }
p { margin: 0 0 1em; }
img { max-width: 100%; display: block; }

.container { width: min(1140px, 100% - 2.5rem); margin-inline: auto; }
.container.narrow { max-width: 780px; }

.section { padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
.section-alt { background: rgba(255, 255, 255, .55); border-block: 3px solid var(--color-border); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display); font-weight: 700; font-size: .85rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--color-primary-dark);
  background: #fff; border: 3px solid var(--color-border); border-radius: 999px;
  padding: .3rem 1rem; box-shadow: var(--clay-shadow-sm);
  margin-bottom: 1em;
}
.pill {
  display: inline-block;
  font-family: var(--font-display); font-weight: 700; font-size: .9rem;
  background: #FEF3C7; border: 3px solid var(--color-border); border-radius: 999px;
  padding: .35rem 1.1rem; box-shadow: var(--clay-shadow-sm); margin-bottom: 1em;
}
.section-lead { color: var(--color-muted-fg); font-size: 1.12rem; max-width: 660px; font-weight: 700; }

/* Dots divider */
.dots { display: flex; gap: 12px; justify-content: center; padding: 2.2rem 0 .4rem; }
.dots span { width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--color-border); }
.dots span:nth-child(1) { background: #EF4444; }
.dots span:nth-child(2) { background: #F97316; }
.dots span:nth-child(3) { background: #FACC15; }
.dots span:nth-child(4) { background: #22C55E; }
.dots span:nth-child(5) { background: #38BDF8; }
.dots span:nth-child(6) { background: #4F46E5; }
.dots span:nth-child(7) { background: #A855F7; }
.dots-light span { border-color: #fff; }

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--color-foreground); color: #fff; padding: .7rem 1.2rem; border-radius: 0 0 12px 0;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

/* Header */
.site-header {
  position: sticky; top: 12px; z-index: 100;
  margin-top: 12px;
}
.header-inner {
  display: flex; align-items: center; gap: 1.4rem;
  background: var(--color-card); border: 3px solid var(--color-border);
  border-radius: 20px; box-shadow: var(--clay-shadow-sm);
  padding: .6rem 1.1rem; min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--color-foreground); margin-right: auto; }
.brand-mark {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 15px;
  background: var(--color-primary); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem;
  border: 3px solid var(--color-border); box-shadow: 3px 3px 0 var(--color-border);
}
.brand-text { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: .05em; line-height: 1.05; }
.brand-text small { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .18em; color: var(--color-muted-fg); }

.main-nav { display: flex; gap: .2rem; }
.main-nav a {
  color: var(--color-foreground); text-decoration: none; font-weight: 700; font-size: .98rem;
  padding: .5rem .85rem; border-radius: 12px; border: 3px solid transparent;
  transition: background 200ms ease, border-color 200ms ease;
}
.main-nav a:hover { background: #E0E7FF; border-color: var(--color-border); }
.main-nav a.active { background: var(--color-primary); color: #fff; border-color: var(--color-border); }

.nav-toggle { display: none; background: #fff; border: 3px solid var(--color-border); border-radius: 12px; padding: .55rem; cursor: pointer; box-shadow: 3px 3px 0 var(--color-border); }
.nav-toggle span { display: block; width: 22px; height: 3px; border-radius: 2px; background: var(--color-foreground); margin: 4px 0; transition: transform 200ms ease, opacity 200ms ease; }

/* Buttons */
.btn {
  display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  padding: .8rem 1.6rem; border-radius: 16px; text-decoration: none; cursor: pointer;
  border: 3px solid var(--color-border);
  transition: transform 200ms ease-out, box-shadow 200ms ease-out, background 200ms ease;
}
.btn-primary { background: var(--color-accent); color: #1E1B4B; box-shadow: 5px 5px 0 var(--color-border); }
.btn-primary:hover { background: #F97316; transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--color-border); }
.btn-soft { background: #fff; color: var(--color-foreground); box-shadow: 5px 5px 0 var(--color-border); }
.btn-soft:hover { background: #E0E7FF; transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--color-border); }
.btn-light { background: #fff; color: var(--color-foreground); box-shadow: 4px 4px 0 rgba(30, 27, 75, .9); border-color: var(--color-foreground); }
.btn-light:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 rgba(30, 27, 75, .9); }
.btn-sm { padding: .55rem 1.1rem; font-size: .92rem; border-radius: 14px; }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 4px solid var(--color-accent); outline-offset: 3px; border-radius: 8px;
}

/* Hero */
.hero { padding: clamp(2rem, 5vw, 4rem) 0 .5rem; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.hero .lead { font-size: 1.15rem; font-weight: 400; }
.hero-cta { display: flex; gap: .9rem; flex-wrap: wrap; margin: 1.6rem 0; }
.hero-trust { list-style: none; display: grid; gap: .7rem; margin: 1.4rem 0 0; padding: 0; }
.hero-trust li {
  display: flex; align-items: center; gap: .7rem; font-size: 1rem;
  background: #fff; border: 3px solid var(--color-border); border-radius: 14px;
  padding: .55rem .9rem; box-shadow: var(--clay-shadow-sm); max-width: 440px;
}
.hero-trust svg { width: 24px; height: 24px; color: var(--color-primary); flex-shrink: 0; }
.hero-media { position: relative; }
.hero-media img {
  width: 100%; height: clamp(320px, 40vw, 470px); object-fit: cover;
  border: 3px solid var(--color-border); border-radius: 26px; box-shadow: var(--clay-shadow);
}
.bubble {
  position: absolute; font-family: var(--font-display); font-weight: 800;
  background: #fff; border: 3px solid var(--color-border); border-radius: 16px;
  padding: .4rem .9rem; box-shadow: 4px 4px 0 var(--color-border);
}
.bubble-1 { top: 1.2rem; left: -0.8rem; transform: rotate(-6deg); color: var(--color-primary-dark); }
.bubble-2 { bottom: 1.4rem; right: -0.4rem; transform: rotate(4deg); color: var(--color-accent-dark); }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.split-media img {
  width: 100%; height: clamp(300px, 34vw, 430px); object-fit: cover;
  border: 3px solid var(--color-border); border-radius: 26px; box-shadow: var(--clay-shadow);
  transform: rotate(-1.2deg);
}
.split:nth-of-type(odd) .split-media img { transform: rotate(1.2deg); }

.check-list { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: .7rem; }
.check-list li {
  position: relative; padding: .6rem 1rem .6rem 3rem; font-weight: 700;
  background: #fff; border: 3px solid var(--color-border); border-radius: 14px;
  box-shadow: var(--clay-shadow-sm);
}
.check-list li::before {
  content: ""; position: absolute; left: .9rem; top: 50%; translate: 0 -50%;
  width: 1.3em; height: 1.3em; border-radius: 50%; border: 2.5px solid var(--color-border);
  background: #22C55E url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.6'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/62% no-repeat;
}

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: 2.2rem; }
.card {
  background: var(--color-card); border: 3px solid var(--color-border); border-radius: var(--radius);
  padding: 1.6rem 1.4rem; box-shadow: var(--clay-shadow);
  transition: transform 200ms ease-out, box-shadow 200ms ease-out;
  display: flex; flex-direction: column; gap: .2rem;
}
.card:hover { transform: translate(2px, 2px); box-shadow: var(--clay-press); }
.card-emoji {
  width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center;
  border: 3px solid var(--color-border); margin-bottom: .9rem; box-shadow: 3px 3px 0 var(--color-border);
}
.card-emoji svg { width: 30px; height: 30px; }
.card-a .card-emoji { background: #DBEAFE; color: #1D4ED8; }
.card-b .card-emoji { background: #FEF3C7; color: #B45309; }
.card-c .card-emoji { background: #FCE7F3; color: #BE185D; }
.card-d .card-emoji { background: #E0E7FF; color: #4F46E5; }
.card-e .card-emoji { background: #DCFCE7; color: #15803D; }
.card-f .card-emoji { background: #FFEDD5; color: #C2410C; }
.card p { color: #334155; margin: 0 0 .9rem; }
.tag {
  align-self: flex-start; margin-top: auto;
  font-family: var(--font-display); font-weight: 700; font-size: .8rem;
  background: var(--color-muted); border: 2.5px solid var(--color-border);
  border-radius: 999px; padding: .15rem .8rem;
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; margin-top: 2.2rem; }
.step {
  background: #fff; border: 3px solid var(--color-border); border-radius: var(--radius);
  padding: 1.5rem 1.2rem; box-shadow: var(--clay-shadow); position: relative;
}
.step-num {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--color-primary); color: #fff; font-family: var(--font-display);
  font-weight: 800; font-size: 1.2rem; border: 3px solid var(--color-border);
  box-shadow: 3px 3px 0 var(--color-border); margin-bottom: .8rem;
}
.step p { margin: 0; color: #334155; }

/* Banner */
.banner {
  margin-top: 2.4rem; display: grid; grid-template-columns: 1fr 1.2fr;
  background: var(--color-primary); border: 3px solid var(--color-border);
  border-radius: 26px; overflow: hidden; box-shadow: var(--clay-shadow);
}
.banner img { height: 100%; min-height: 260px; object-fit: cover; border-radius: 0; }
.banner-copy { padding: clamp(1.6rem, 4vw, 2.8rem); color: #fff; align-self: center; }
.banner-copy h3 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); }
.banner-copy p { color: #E0E7FF; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: 2.2rem; }
.gallery figure {
  margin: 0; position: relative; overflow: hidden;
  border: 3px solid var(--color-border); border-radius: var(--radius); box-shadow: var(--clay-shadow);
}
.gallery figure:nth-child(odd) { transform: rotate(-.8deg); }
.gallery figure:nth-child(even) { transform: rotate(.8deg); }
.gallery img { height: 230px; width: 100%; object-fit: cover; border-radius: 0; transition: transform 300ms ease; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute; left: 12px; bottom: 12px;
  background: #fff; border: 2.5px solid var(--color-border); border-radius: 999px;
  padding: .2rem .9rem; font-family: var(--font-display); font-weight: 700; font-size: .85rem;
}

/* FAQ */
.faq { display: grid; gap: 1rem; margin-top: 2.2rem; }
.faq details {
  background: #fff; border: 3px solid var(--color-border); border-radius: 18px;
  padding: 1.1rem 1.3rem; box-shadow: var(--clay-shadow-sm);
}
.faq summary {
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::after {
  content: "+"; font-size: 1.5rem; color: #fff; background: var(--color-accent);
  border: 2.5px solid var(--color-border); border-radius: 50%; width: 34px; height: 34px;
  display: grid; place-items: center; flex-shrink: 0; transition: transform 200ms ease;
  line-height: 1;
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: .9rem 0 0; color: #334155; }

/* Info list */
.info-list { display: grid; gap: 1rem; margin: 1.5rem 0; }
.info-list > div {
  display: grid; grid-template-columns: 110px 1fr; gap: 1rem;
  background: #fff; border: 3px solid var(--color-border); border-radius: 18px;
  padding: 1rem 1.2rem; box-shadow: var(--clay-shadow-sm);
}
.info-list dt { font-family: var(--font-display); font-weight: 700; color: var(--color-primary-dark); }
.info-list dd { margin: 0; }

/* Footer */
.site-footer { background: var(--color-foreground); color: #E0E7FF; margin-top: 1rem; border-top: 3px solid var(--color-foreground); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; padding: 2.5rem 0; }
.footer-brand .brand-mark { margin-bottom: .8rem; }
.footer-brand p { margin: .4em 0; }
.footer-muted { color: #A5B4FC; font-size: .95rem; }
.footer-nav { display: grid; gap: .5rem; align-content: start; }
.footer-nav a { color: #E0E7FF; text-decoration: none; font-weight: 700; font-size: .95rem; }
.footer-nav a:hover { color: #FBBF24; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .18); padding: 1.1rem 0; font-size: .88rem; color: #A5B4FC; }
.footer-bottom p { margin: 0; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 500ms ease, transform 500ms ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .split, .banner { grid-template-columns: 1fr; }
  .hero-media img { height: 300px; }
  .banner img { min-height: 220px; max-height: 280px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed; top: calc(var(--header-h) + 24px); left: 1.25rem; right: 1.25rem; flex-direction: column; gap: .3rem;
    background: var(--color-card); border: 3px solid var(--color-border); border-radius: 18px;
    box-shadow: var(--clay-shadow); padding: .8rem; display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { font-size: 1.05rem; }
  .nav-toggle { display: block; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header-inner .btn { display: none; }
  .cards, .steps, .gallery { grid-template-columns: 1fr; }
  .gallery img { height: 210px; }
  .footer-grid { grid-template-columns: 1fr; }
  .info-list > div { grid-template-columns: 1fr; gap: .2rem; }
  .bubble-1 { left: .4rem; }
  .bubble-2 { right: .4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
