/* =============================================================
   明师智能 MingShi AI — Theme Stylesheet
   Design system: 玉青 jade × 靛青 indigo on cool paper,
   Song-serif display, teacher's seal「师」brand mark.
   ============================================================= */

/* ---------- Tokens ---------- */
:root{
  --ink:#141823;
  --ink-2:#3A4150;
  --mist:#69727F;
  --paper:#F6F7F3;
  --white:#FFFFFF;
  --line:#E4E7DE;
  --line-dark:rgba(255,255,255,.14);

  --jade:#157F63;
  --jade-deep:#0B5B46;
  --jade-tint:#E3F0E9;
  --jade-ghost:rgba(21,127,99,.08);
  --indigo:#3742E0;
  --indigo-soft:#5A63E8;
  --indigo-tint:#E8EAFC;
  --gold:#C2952F;

  --font-display:"Noto Serif SC","Songti SC","STSong","SimSun",serif;
  --font-body:"Noto Sans SC","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  --font-mono:"IBM Plex Mono",ui-monospace,"SF Mono",Consolas,monospace;

  --radius-s:10px;
  --radius:16px;
  --radius-l:24px;
  --shadow-s:0 1px 2px rgba(20,24,35,.05),0 2px 8px rgba(20,24,35,.05);
  --shadow-m:0 2px 6px rgba(20,24,35,.05),0 14px 34px rgba(20,24,35,.09);
  --shadow-l:0 6px 16px rgba(20,24,35,.08),0 30px 70px rgba(20,24,35,.14);

  --wrap:1160px;
  --gutter:24px;
  --section-y:clamp(72px,9vw,116px);
  --header-h:76px;
}

/* ---------- Reset & base ---------- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  font-family:var(--font-body);
  font-size:16.5px;
  line-height:1.85;
  color:var(--ink);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--jade-deep);text-decoration:none}
a:hover{color:var(--jade)}
ul,ol{list-style:none}
button{font:inherit;background:none;border:0;cursor:pointer;color:inherit}
::selection{background:var(--jade-tint);color:var(--jade-deep)}
:focus{outline:none}
:focus-visible{outline:2px solid var(--indigo);outline-offset:3px;border-radius:4px}

.skip-link{
  position:absolute;left:-9999px;top:0;z-index:999;
  background:var(--ink);color:#fff;padding:10px 18px;border-radius:0 0 10px 0;
}
.skip-link:focus{left:0;color:#fff}

.wrap{max-width:var(--wrap);margin-inline:auto;padding-inline:var(--gutter)}

h1,h2,h3,.font-display{font-family:var(--font-display);font-weight:900;line-height:1.22;letter-spacing:.015em}
.mono{font-family:var(--font-mono)}

/* ---------- Shared devices ---------- */
/* 1对1 pairing mark: jade + indigo dot joined by a hairline */
.pair{display:inline-flex;align-items:center;gap:0;margin-right:12px;vertical-align:middle}
.pair i{width:7px;height:7px;border-radius:50%;display:block}
.pair i:first-child{background:var(--jade)}
.pair i:last-child{background:var(--indigo)}
.pair::after{content:"";display:none}
.pair b{display:block;width:16px;height:1px;background:linear-gradient(90deg,var(--jade),var(--indigo))}

.eyebrow{
  font-family:var(--font-mono);font-size:12px;font-weight:500;
  letter-spacing:.22em;color:var(--mist);
  display:flex;align-items:center;margin-bottom:18px;
}
.section-head{max-width:640px;margin-bottom:clamp(40px,5vw,64px)}
.section-head h2{font-size:clamp(28px,3.6vw,42px);color:var(--ink)}
.section-head p{margin-top:14px;color:var(--mist);font-size:17px}
.section-head--center{margin-inline:auto;text-align:center}
.section-head--center .eyebrow{justify-content:center}

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  font-family:var(--font-body);font-weight:700;font-size:15.5px;
  padding:14px 30px;border-radius:999px;line-height:1;
  transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease,color .18s ease,border-color .18s ease;
  border:1.5px solid transparent;white-space:nowrap;
}
.btn svg{width:15px;height:15px;flex:none}
.btn-primary{background:var(--jade-deep);color:#fff;box-shadow:0 10px 24px rgba(11,91,70,.28)}
.btn-primary:hover{background:#0A4F3D;color:#fff;transform:translateY(-2px);box-shadow:0 14px 30px rgba(11,91,70,.34)}
.btn-ghost{border-color:rgba(20,24,35,.22);color:var(--ink);background:transparent}
.btn-ghost:hover{border-color:var(--ink);color:var(--ink);transform:translateY(-2px)}
.btn-paper{background:var(--paper);color:var(--jade-deep)}
.btn-paper:hover{background:#fff;color:var(--jade-deep);transform:translateY(-2px)}
.btn-block{width:100%}

/* Teacher's seal — brand mark */
.seal{
  display:inline-flex;align-items:center;justify-content:center;flex:none;
  width:34px;height:34px;border-radius:8px;
  background:var(--jade-deep);color:#fff;
  font-family:var(--font-display);font-weight:900;font-size:19px;line-height:1;
  box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.22);
}
.seal--indigo{background:var(--indigo)}

/* Scroll reveal */
.rv{opacity:0;transform:translateY(16px);transition:opacity .7s ease,transform .7s ease;transition-delay:var(--d,0s)}
.rv.in{opacity:1;transform:none}

/* ---------- Header ---------- */
.site-header{
  position:fixed;inset:0 0 auto 0;z-index:80;height:var(--header-h);
  display:flex;align-items:center;
  background:rgba(246,247,243,.78);
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid transparent;
  transition:border-color .25s ease,background-color .25s ease;
}
.site-header.scrolled{border-bottom-color:var(--line);background:rgba(246,247,243,.92)}
.header-inner{display:flex;align-items:center;gap:32px;width:100%}
.brand{display:flex;align-items:center;gap:11px;color:var(--ink)}
.brand:hover{color:var(--ink)}
.brand-name{font-family:var(--font-display);font-weight:900;font-size:21px;letter-spacing:.04em}
.brand-sub{font-family:var(--font-mono);font-size:9.5px;letter-spacing:.3em;color:var(--mist);display:block;line-height:1;margin-top:2px}
.brand-text{line-height:1.15}
.custom-logo{max-height:38px;width:auto}

.main-nav{margin-left:auto}
.main-nav ul{display:flex;gap:6px}
.main-nav a{
  display:block;padding:9px 14px;border-radius:999px;
  font-size:15px;font-weight:500;color:var(--ink-2);
  transition:background-color .15s ease,color .15s ease;
}
.main-nav a:hover{background:rgba(20,24,35,.06);color:var(--ink)}
.header-cta{flex:none}
.header-cta .btn{padding:11px 22px;font-size:14.5px}

.nav-toggle{display:none;flex:none;width:44px;height:44px;border-radius:12px;position:relative;z-index:90}
.nav-toggle span{position:absolute;left:12px;right:12px;height:2px;background:var(--ink);border-radius:2px;transition:transform .25s ease,opacity .2s ease,top .25s ease}
.nav-toggle span:nth-child(1){top:15px}
.nav-toggle span:nth-child(2){top:21px}
.nav-toggle span:nth-child(3){top:27px}
.nav-open .nav-toggle span:nth-child(1){top:21px;transform:rotate(45deg)}
.nav-open .nav-toggle span:nth-child(2){opacity:0}
.nav-open .nav-toggle span:nth-child(3){top:21px;transform:rotate(-45deg)}

/* ---------- Hero ---------- */
.hero{
  padding-top:calc(var(--header-h) + clamp(48px,7vw,88px));
  padding-bottom:clamp(56px,7vw,88px);
  position:relative;
}
.hero-grid{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:clamp(36px,5vw,72px);align-items:center}
.hero h1{
  font-size:clamp(38px,5.6vw,66px);
  line-height:1.18;color:var(--ink);
  margin:22px 0 24px;
}
.hero h1 .hl{color:var(--jade-deep)}
.hero h1 .qm{color:var(--gold);font-weight:700}
.hero-sub{font-size:clamp(16px,1.5vw,18px);color:var(--ink-2);max-width:34em}
.hero-sub strong{color:var(--ink);font-weight:700}
.hero-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:34px}
.hero-note{margin-top:18px;font-family:var(--font-mono);font-size:12.5px;color:var(--mist);letter-spacing:.06em}
.hero-note em{font-style:normal;color:var(--jade-deep)}

/* Chat demo — the signature */
.chat-card{
  background:var(--white);border:1px solid var(--line);border-radius:var(--radius-l);
  box-shadow:var(--shadow-l);overflow:hidden;
  max-width:460px;justify-self:end;width:100%;
  position:relative;
}
.chat-top{
  display:flex;align-items:center;gap:11px;
  padding:14px 18px;border-bottom:1px solid var(--line);
  background:linear-gradient(180deg,#FDFDFB,#F8F9F5);
}
.chat-top .seal{width:30px;height:30px;font-size:16px;border-radius:7px}
.chat-id{line-height:1.25}
.chat-id strong{display:block;font-size:14px;font-weight:700}
.chat-status{font-size:12px;color:var(--mist);display:flex;align-items:center;gap:6px}
.chat-status::before{content:"";width:6px;height:6px;border-radius:50%;background:#2FB57C;box-shadow:0 0 0 3px rgba(47,181,124,.16)}
.chat-tag{margin-left:auto;font-family:var(--font-mono);font-size:10.5px;letter-spacing:.16em;color:var(--indigo);background:var(--indigo-tint);padding:5px 10px;border-radius:999px}

.chat-body{
  padding:20px 18px 8px;height:342px;overflow-y:auto;
  display:flex;flex-direction:column;gap:12px;
  scrollbar-width:thin;scrollbar-color:var(--line) transparent;
}
.msg{max-width:82%;opacity:0;transform:translateY(8px);transition:opacity .4s ease,transform .4s ease}
.msg.show{opacity:1;transform:none}
.msg-bubble{padding:11px 15px;border-radius:16px;font-size:14px;line-height:1.7}
.msg-ai{align-self:flex-start;display:flex;gap:9px}
.msg-ai .seal{width:26px;height:26px;font-size:13.5px;border-radius:6px;margin-top:2px}
.msg-ai .msg-bubble{background:var(--paper);border:1px solid var(--line);border-top-left-radius:5px;color:var(--ink)}
.msg-user{align-self:flex-end}
.msg-user .msg-bubble{background:var(--jade-deep);color:#fff;border-top-right-radius:5px}
.msg-bubble .caret{display:inline-block;width:1px;height:1em;background:var(--indigo);vertical-align:-2px;margin-left:1px;animation:blink 1s steps(1) infinite}
@keyframes blink{50%{opacity:0}}

.typing{display:inline-flex;gap:4px;padding:4px 2px}
.typing i{width:5px;height:5px;border-radius:50%;background:var(--mist);animation:tp 1.1s ease-in-out infinite}
.typing i:nth-child(2){animation-delay:.15s}
.typing i:nth-child(3){animation-delay:.3s}
@keyframes tp{0%,100%{opacity:.25;transform:translateY(0)}50%{opacity:1;transform:translateY(-3px)}}

.chat-input{
  margin:8px 14px 14px;display:flex;align-items:center;gap:10px;
  border:1px solid var(--line);border-radius:999px;padding:10px 10px 10px 18px;
  background:#FCFCFA;color:var(--mist);font-size:13.5px;
}
.chat-input .send{
  margin-left:auto;flex:none;width:32px;height:32px;border-radius:50%;
  background:var(--indigo);display:flex;align-items:center;justify-content:center;color:#fff;
}
.chat-input .send svg{width:14px;height:14px}

/* Stats strip */
.stats{margin-top:clamp(48px,6vw,72px);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr)}
.stat{padding:26px 12px;text-align:center;position:relative}
.stat + .stat::before{content:"";position:absolute;left:0;top:22%;bottom:22%;width:1px;background:var(--line)}
.stat-num{font-family:var(--font-mono);font-weight:500;font-size:clamp(24px,2.8vw,32px);color:var(--ink);letter-spacing:-.01em}
.stat-num sup{font-size:.55em;color:var(--jade);top:-.5em;position:relative}
.stat-label{font-size:13px;color:var(--mist);margin-top:4px;letter-spacing:.08em}

/* ---------- Sections ---------- */
.section{padding-block:var(--section-y)}
.section--white{background:var(--white)}
.section--ink{background:var(--ink);color:#EDEFE9}

/* Why: 1对1 method */
.why-grid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(36px,5vw,80px);align-items:start}
.why-intro{position:sticky;top:calc(var(--header-h) + 32px)}
.why-intro .section-head{margin-bottom:26px}
.why-link{font-weight:700;display:inline-flex;align-items:center;gap:7px}
.why-link svg{width:15px;height:15px;transition:transform .18s ease}
.why-link:hover svg{transform:translateX(3px)}
.props{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.prop{
  background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);
  padding:28px 26px;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
.prop:hover{transform:translateY(-4px);box-shadow:var(--shadow-m);border-color:#D6DACF}
.prop-icon{
  width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;
  background:var(--jade-tint);color:var(--jade-deep);margin-bottom:18px;
}
.prop:nth-child(2n) .prop-icon{background:var(--indigo-tint);color:var(--indigo)}
.prop-icon svg{width:21px;height:21px}
.prop h3{font-size:18.5px;margin-bottom:8px}
.prop p{font-size:14.5px;color:var(--mist);line-height:1.8}

/* Courses */
.courses-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}
.course{
  background:var(--white);border:1px solid var(--line);border-radius:var(--radius-l);
  padding:32px 30px 26px;display:flex;flex-direction:column;
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;position:relative;
}
.course:hover{transform:translateY(-5px);box-shadow:var(--shadow-m);border-color:var(--jade)}
.course-top{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:16px}
.course-icon{width:46px;height:46px;border-radius:13px;background:var(--paper);border:1px solid var(--line);display:flex;align-items:center;justify-content:center;color:var(--ink)}
.course-icon svg{width:22px;height:22px}
.course-meta{font-family:var(--font-mono);font-size:11.5px;letter-spacing:.14em;color:var(--mist);background:var(--paper);border:1px solid var(--line);padding:6px 11px;border-radius:999px;white-space:nowrap}
.course h3{font-size:22px;margin-bottom:9px}
.course h3 a{color:var(--ink)}
.course h3 a:hover{color:var(--jade-deep)}
.course-desc{font-size:14.5px;color:var(--mist);line-height:1.8;margin-bottom:18px}
.course-list{display:grid;gap:8px;margin-bottom:22px}
.course-list li{display:flex;gap:9px;font-size:14px;color:var(--ink-2)}
.course-list svg{width:16px;height:16px;flex:none;color:var(--jade);margin-top:4px}
.course-foot{margin-top:auto;padding-top:18px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}
.course-price{font-family:var(--font-mono);font-size:14px;color:var(--ink);font-weight:500}
.course-price small{color:var(--mist);font-size:11.5px;margin-left:2px}
.course-more{font-size:14px;font-weight:700;display:inline-flex;align-items:center;gap:6px}
.course-more svg{width:14px;height:14px;transition:transform .18s ease}
.course:hover .course-more svg{transform:translateX(3px)}

/* Path — 5 steps, jade → indigo */
.path{display:grid;grid-template-columns:repeat(5,1fr);gap:0;position:relative;margin-top:8px}
.path::before{
  content:"";position:absolute;top:11px;left:calc(10% + 12px);right:calc(10% + 12px);height:2px;
  background:linear-gradient(90deg,var(--jade),var(--indigo));border-radius:2px;opacity:.85;
}
.step{padding:0 14px;text-align:center;position:relative}
.step-dot{
  width:24px;height:24px;border-radius:50%;margin:0 auto 20px;position:relative;z-index:1;
  background:var(--white);border:2px solid var(--jade);
  display:flex;align-items:center;justify-content:center;
}
.step-dot::after{content:"";width:8px;height:8px;border-radius:50%;background:var(--jade)}
.step:nth-child(4) .step-dot,.step:nth-child(5) .step-dot{border-color:var(--indigo)}
.step:nth-child(4) .step-dot::after,.step:nth-child(5) .step-dot::after{background:var(--indigo)}
.step-num{font-family:var(--font-mono);font-size:12px;letter-spacing:.2em;color:var(--mist);display:block;margin-bottom:8px}
.step h3{font-size:18px;margin-bottom:7px}
.step p{font-size:13.5px;color:var(--mist);line-height:1.75}

/* Mentors */
.mentors-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.mentor{
  background:var(--white);border:1px solid var(--line);border-radius:var(--radius-l);
  padding:30px 24px 26px;text-align:center;
  transition:transform .22s ease,box-shadow .22s ease;
}
.mentor:hover{transform:translateY(-5px);box-shadow:var(--shadow-m)}
.mentor-avatar{
  width:84px;height:84px;border-radius:50%;margin:0 auto 18px;overflow:hidden;
  display:flex;align-items:center;justify-content:center;
  font-family:var(--font-display);font-weight:900;font-size:32px;
  background:var(--jade-tint);color:var(--jade-deep);
  box-shadow:0 0 0 1px var(--line),0 0 0 6px var(--paper);
}
.mentor:nth-child(2n) .mentor-avatar{background:var(--indigo-tint);color:var(--indigo)}
.mentor-avatar img{width:100%;height:100%;object-fit:cover}
.mentor h3{font-size:19px;margin-bottom:5px}
.mentor-title{font-family:var(--font-mono);font-size:11.5px;letter-spacing:.06em;color:var(--mist);line-height:1.7;min-height:2.6em}
.mentor-tags{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin-top:14px}
.mentor-tags span{font-size:12px;color:var(--jade-deep);background:var(--jade-ghost);padding:4px 11px;border-radius:999px}
.mentor-stat{margin-top:16px;padding-top:14px;border-top:1px solid var(--line);font-size:12.5px;color:var(--mist)}
.mentor-stat b{color:var(--ink);font-family:var(--font-mono);font-weight:500}

/* Testimonials — dark movement */
.section--ink .section-head h2{color:#F4F5EF}
.section--ink .section-head p{color:rgba(237,239,233,.6)}
.section--ink .eyebrow{color:rgba(237,239,233,.5)}
.quotes-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.quote{
  background:rgba(255,255,255,.045);border:1px solid var(--line-dark);border-radius:var(--radius-l);
  padding:34px 30px 28px;display:flex;flex-direction:column;position:relative;
  transition:transform .22s ease,background-color .22s ease;
}
.quote:hover{transform:translateY(-4px);background:rgba(255,255,255,.07)}
.quote-mark{font-family:var(--font-display);font-weight:900;font-size:34px;color:var(--gold);line-height:1;margin-bottom:14px}
.quote p{font-family:var(--font-display);font-weight:700;font-size:17.5px;line-height:1.9;color:#F0F2EA;flex:1}
.quote-who{margin-top:24px;display:flex;align-items:center;gap:12px}
.quote-ava{
  width:38px;height:38px;border-radius:50%;flex:none;
  display:flex;align-items:center;justify-content:center;
  font-family:var(--font-display);font-weight:900;font-size:16px;
  background:rgba(21,127,99,.25);color:#7FD6BC;border:1px solid rgba(127,214,188,.3);
}
.quote:nth-child(2) .quote-ava{background:rgba(90,99,232,.22);color:#AEB4F5;border-color:rgba(174,180,245,.3)}
.quote-who strong{display:block;font-size:14px;color:#F0F2EA}
.quote-who small{font-family:var(--font-mono);font-size:11px;color:rgba(237,239,233,.5);letter-spacing:.08em}

/* Pricing */
.pricing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;align-items:stretch}
.plan{
  background:var(--white);border:1px solid var(--line);border-radius:var(--radius-l);
  padding:36px 32px 30px;display:flex;flex-direction:column;position:relative;
  transition:transform .22s ease,box-shadow .22s ease;
}
.plan:hover{transform:translateY(-5px);box-shadow:var(--shadow-m)}
.plan-name{font-size:20px;font-family:var(--font-display);font-weight:900}
.plan-for{font-size:13px;color:var(--mist);margin-top:5px}
.plan-price{margin:24px 0 6px;font-family:var(--font-mono);color:var(--ink)}
.plan-price .cur{font-size:18px;vertical-align:14px;margin-right:2px}
.plan-price .num{font-size:44px;font-weight:500;letter-spacing:-.02em}
.plan-price .per{font-size:13px;color:var(--mist);margin-left:6px}
.plan-desc{font-size:13.5px;color:var(--mist);margin-bottom:22px;padding-bottom:22px;border-bottom:1px solid var(--line)}
.plan-list{display:grid;gap:10px;margin-bottom:28px}
.plan-list li{display:flex;gap:10px;font-size:14px;color:var(--ink-2)}
.plan-list svg{width:16px;height:16px;flex:none;color:var(--jade);margin-top:4px}
.plan .btn{margin-top:auto}
.plan--featured{
  background:var(--ink);border-color:var(--ink);color:#EDEFE9;
  box-shadow:var(--shadow-l);
}
.plan--featured:hover{box-shadow:var(--shadow-l)}
.plan--featured .plan-name{color:#F4F5EF}
.plan--featured .plan-for{color:rgba(237,239,233,.55)}
.plan--featured .plan-price{color:#fff}
.plan--featured .plan-price .per{color:rgba(237,239,233,.55)}
.plan--featured .plan-desc{color:rgba(237,239,233,.6);border-bottom-color:var(--line-dark)}
.plan--featured .plan-list li{color:rgba(237,239,233,.85)}
.plan--featured .plan-list svg{color:#5FCBA8}
.plan-badge{
  position:absolute;top:-13px;left:32px;
  font-size:12px;font-weight:700;letter-spacing:.1em;
  background:var(--gold);color:#221A08;padding:5px 14px;border-radius:999px;
  box-shadow:0 6px 14px rgba(194,149,47,.35);
}
.plan--featured .btn-primary{background:var(--jade);box-shadow:0 10px 24px rgba(21,127,99,.4)}
.plan--featured .btn-primary:hover{background:#1B926F}
.pricing-note{text-align:center;margin-top:28px;font-family:var(--font-mono);font-size:12.5px;color:var(--mist);letter-spacing:.08em}

/* FAQ */
.faq{max-width:760px;margin-inline:auto}
.faq-item{border-bottom:1px solid var(--line)}
.faq-item:first-child{border-top:1px solid var(--line)}
.faq-q{
  width:100%;display:flex;align-items:center;justify-content:space-between;gap:20px;
  padding:24px 4px;text-align:left;
  font-family:var(--font-display);font-weight:700;font-size:18px;color:var(--ink);
  transition:color .15s ease;
}
.faq-q:hover{color:var(--jade-deep)}
.faq-q .ic{flex:none;width:30px;height:30px;border-radius:50%;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;transition:transform .3s ease,background-color .2s ease,border-color .2s ease}
.faq-q .ic svg{width:13px;height:13px}
.faq-item.open .faq-q .ic{transform:rotate(45deg);background:var(--jade-deep);border-color:var(--jade-deep);color:#fff}
.faq-a{max-height:0;overflow:hidden;transition:max-height .35s ease}
.faq-a-in{padding:0 44px 26px 4px;color:var(--mist);font-size:15px;line-height:1.9}

/* CTA band */
.cta-band{background:var(--jade-deep);position:relative;overflow:hidden}
.cta-band .wrap{position:relative;z-index:1;text-align:center;padding-block:clamp(72px,9vw,110px)}
.cta-watermark{
  position:absolute;right:-2%;top:50%;transform:translateY(-50%);
  font-family:var(--font-display);font-weight:900;font-size:clamp(240px,30vw,420px);line-height:1;
  color:transparent;-webkit-text-stroke:1.5px rgba(255,255,255,.12);
  user-select:none;pointer-events:none;
}
.cta-band h2{font-size:clamp(30px,4.4vw,50px);color:#fff}
.cta-band p{color:rgba(255,255,255,.78);margin:16px auto 34px;max-width:34em;font-size:17px}
.cta-band .hero-note{color:rgba(255,255,255,.55)}
.cta-band .hero-note em{color:#9FE3CC}

/* ---------- Footer ---------- */
.site-footer{background:var(--ink);color:rgba(237,239,233,.72);font-size:14px}
.footer-top{display:grid;grid-template-columns:2.2fr 1fr 1fr 1.4fr;gap:40px;padding-block:64px 52px}
.footer-brand .brand-name{color:#F4F5EF}
.footer-brand .brand-sub{color:rgba(237,239,233,.4)}
.footer-slogan{
  margin-top:20px;font-family:var(--font-display);font-weight:700;font-size:17px;
  color:rgba(237,239,233,.85);letter-spacing:.06em;
}
.footer-slogan small{display:block;font-family:var(--font-mono);font-weight:400;font-size:11px;color:rgba(237,239,233,.38);letter-spacing:.18em;margin-top:8px}
.footer-h{font-family:var(--font-mono);font-size:11.5px;letter-spacing:.22em;color:rgba(237,239,233,.45);margin-bottom:18px}
.footer-col ul{display:grid;gap:11px}
.site-footer a{color:rgba(237,239,233,.72)}
.site-footer a:hover{color:#fff}
.footer-contact li{display:flex;gap:10px;margin-bottom:11px;font-family:var(--font-mono);font-size:13px;letter-spacing:.02em}
.footer-contact svg{width:15px;height:15px;flex:none;margin-top:5px;color:var(--jade)}
.footer-bottom{
  border-top:1px solid var(--line-dark);padding-block:22px;
  display:flex;flex-wrap:wrap;gap:10px 28px;align-items:center;justify-content:space-between;
  font-family:var(--font-mono);font-size:11.5px;color:rgba(237,239,233,.4);letter-spacing:.06em;
}
.footer-bottom a{color:rgba(237,239,233,.4)}
.footer-bottom a:hover{color:rgba(237,239,233,.8)}

/* ---------- Blog / inner pages ---------- */
.page-hero{padding-top:calc(var(--header-h) + 56px);padding-bottom:48px}
.page-hero h1{font-size:clamp(30px,4.5vw,48px)}
.page-hero .eyebrow{margin-bottom:14px}
.posts-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;padding-bottom:var(--section-y)}
.post-card{
  background:var(--white);border:1px solid var(--line);border-radius:var(--radius-l);overflow:hidden;
  display:flex;flex-direction:column;transition:transform .22s ease,box-shadow .22s ease;
}
.post-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-m)}
.post-card-thumb{aspect-ratio:16/9;background:linear-gradient(135deg,var(--jade-tint),var(--indigo-tint));display:flex;align-items:center;justify-content:center}
.post-card-thumb img{width:100%;height:100%;object-fit:cover}
.post-card-thumb .seal{opacity:.85}
.post-card-body{padding:24px 24px 22px;display:flex;flex-direction:column;flex:1}
.post-card-meta{font-family:var(--font-mono);font-size:11.5px;letter-spacing:.12em;color:var(--mist);margin-bottom:10px}
.post-card h2{font-size:19px;line-height:1.5;margin-bottom:10px}
.post-card h2 a{color:var(--ink)}
.post-card h2 a:hover{color:var(--jade-deep)}
.post-card p{font-size:14px;color:var(--mist);line-height:1.8;flex:1}

.entry{max-width:760px;margin-inline:auto;padding-bottom:var(--section-y)}
.entry-meta{font-family:var(--font-mono);font-size:12px;letter-spacing:.12em;color:var(--mist)}
.entry-content{margin-top:28px;font-size:17px;line-height:2.05;color:var(--ink-2)}
.entry-content>*+*{margin-top:1.25em}
.entry-content h2{font-size:26px;color:var(--ink);margin-top:2em}
.entry-content h3{font-size:21px;color:var(--ink);margin-top:1.8em}
.entry-content a{text-decoration:underline;text-underline-offset:3px}
.entry-content ul,.entry-content ol{padding-left:1.4em;display:grid;gap:.5em}
.entry-content ul{list-style:disc}
.entry-content ol{list-style:decimal}
.entry-content blockquote{
  border-left:3px solid var(--jade);background:var(--jade-ghost);
  padding:18px 24px;border-radius:0 var(--radius-s) var(--radius-s) 0;
  font-family:var(--font-display);font-weight:700;color:var(--ink);
}
.entry-content code{font-family:var(--font-mono);font-size:.85em;background:var(--indigo-tint);color:var(--indigo);padding:2px 7px;border-radius:6px}
.entry-content pre{background:var(--ink);color:#E8EAE0;padding:22px 26px;border-radius:var(--radius);overflow-x:auto;font-size:14px;line-height:1.8}
.entry-content pre code{background:none;color:inherit;padding:0}
.entry-content img{border-radius:var(--radius)}
.entry-thumb{border-radius:var(--radius-l);overflow:hidden;margin-top:30px;box-shadow:var(--shadow-m)}
.pagination,.nav-links{display:flex;gap:8px;justify-content:center;padding-bottom:var(--section-y);font-family:var(--font-mono);font-size:14px}
.page-numbers{padding:9px 15px;border:1px solid var(--line);border-radius:10px;background:var(--white)}
.page-numbers.current{background:var(--jade-deep);color:#fff;border-color:var(--jade-deep)}
a.page-numbers:hover{border-color:var(--jade)}

/* 404 */
.err-wrap{min-height:60vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding-block:calc(var(--header-h) + 60px) 80px}
.err-code{font-family:var(--font-mono);font-size:15px;letter-spacing:.3em;color:var(--mist)}
.err-wrap h1{font-size:clamp(32px,5vw,52px);margin:14px 0 12px}
.err-wrap p{color:var(--mist);margin-bottom:30px}

/* Comments (light-touch) */
.comments-area{max-width:760px;margin-inline:auto;padding-bottom:var(--section-y)}
.comments-area .comment-list{display:grid;gap:18px;margin-top:24px}
.comments-area .comment-body{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:20px 22px;font-size:15px}
.comment-form textarea,.comment-form input[type=text],.comment-form input[type=email],.comment-form input[type=url]{
  width:100%;border:1px solid var(--line);border-radius:var(--radius-s);padding:12px 14px;font:inherit;background:var(--white);margin-top:6px;
}
.comment-form textarea:focus,.comment-form input:focus{border-color:var(--jade);outline:none}
.comment-form .submit{margin-top:14px;background:var(--jade-deep);color:#fff;border:0;border-radius:999px;padding:12px 28px;font-weight:700;cursor:pointer}

/* ---------- Responsive ---------- */
@media (max-width:1020px){
  .hero-grid{grid-template-columns:1fr;gap:44px}
  .chat-card{justify-self:start;max-width:520px}
  .why-grid{grid-template-columns:1fr}
  .why-intro{position:static}
  .mentors-grid{grid-template-columns:repeat(2,1fr)}
  .quotes-grid{grid-template-columns:1fr;max-width:640px;margin-inline:auto}
  .pricing-grid{grid-template-columns:1fr;max-width:520px;margin-inline:auto}
  .plan--featured{order:-1}
  .path{grid-template-columns:1fr;gap:26px;max-width:520px;margin-inline:auto}
  .path::before{left:11px;right:auto;top:12px;bottom:12px;width:2px;height:auto;background:linear-gradient(180deg,var(--jade),var(--indigo))}
  .step{display:grid;grid-template-columns:24px 1fr;gap:16px;text-align:left;padding:0}
  .step-dot{margin:0}
  .step-body{grid-column:2}
  .step-num{margin-bottom:4px}
  .footer-top{grid-template-columns:1fr 1fr;gap:36px}
  .posts-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:720px){
  body{font-size:16px}
  .main-nav{
    position:fixed;inset:0;z-index:85;margin:0;
    background:rgba(246,247,243,.98);backdrop-filter:blur(16px);
    display:flex;align-items:center;justify-content:center;
    opacity:0;visibility:hidden;transition:opacity .25s ease,visibility .25s ease;
  }
  .nav-open .main-nav{opacity:1;visibility:visible}
  .main-nav ul{flex-direction:column;text-align:center;gap:8px}
  .main-nav a{font-size:22px;font-family:var(--font-display);font-weight:700;padding:12px 22px}
  .nav-toggle{display:block;margin-left:auto}
  .header-cta{display:none}
  .hero-actions .btn{width:100%}
  .stats-grid{grid-template-columns:repeat(2,1fr)}
  .stat:nth-child(3)::before{display:none}
  .stat{padding:20px 8px}
  .props{grid-template-columns:1fr}
  .courses-grid{grid-template-columns:1fr}
  .mentors-grid{grid-template-columns:1fr;max-width:420px;margin-inline:auto}
  .footer-top{grid-template-columns:1fr;gap:32px;padding-block:48px 40px}
  .posts-grid{grid-template-columns:1fr}
  .cta-watermark{display:none}
  .chat-body{height:380px}
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
  .rv{opacity:1;transform:none}
  .msg{opacity:1;transform:none}
}
