/* Power Manthan v3
   A study-artifact visual system: ink, paper, checked work and visible progress.
   This layer intentionally overrides the v2 product-card styling. */

:root {
  --brand: #4338ca;
  --brand-strong: #312e81;
  --brand-soft: #e8eaff;
  --ink: #171a26;
  --ink-2: #505565;
  --paper: #fbfaf6;
  --paper-2: #f4f2eb;
  --line: #d9d8d1;
  --red-ink: #b74343;
  --green-ink: #1e765b;
  --gold: #f5b942;
  --shell: 1160px;
}

.v3 {
  color: var(--ink);
  background-color: var(--paper);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.58;
}

.v3::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .34;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(67, 56, 202, .06), transparent 31%),
    radial-gradient(circle at 80% 40%, rgba(23, 26, 38, .035) 0 1px, transparent 1.2px);
  background-size: auto, 7px 7px;
}

.v3 h1,
.v3 h2,
.v3 h3,
.v3 .wordmark,
.v3 .footer-word {
  font-family: "Manrope", system-ui, sans-serif;
}

.v3 h1 { font-size: clamp(2.8rem, 5.5vw, 5.2rem); line-height: .98; letter-spacing: -.055em; font-weight: 700; }
.v3 h2 { font-size: clamp(2rem, 3.7vw, 3.55rem); line-height: 1.06; letter-spacing: -.045em; font-weight: 650; }
.v3 h3 { font-size: 1.15rem; line-height: 1.25; letter-spacing: -.02em; }
.v3 p { color: var(--ink-2); }
.v3 a { color: var(--brand); }

.v3 .shell { max-width: var(--shell); padding-inline: 28px; }
.v3 .section { padding: 104px 0; }
.v3 .section-muted { background: var(--paper-2); border-block: 1px solid var(--line); }
.v3 .section-intro { max-width: 650px; margin: 16px 0 42px; font-size: 1.06rem; }
.v3 .eyebrow { color: var(--brand); letter-spacing: .16em; font-size: .69rem; font-weight: 600; margin-bottom: 14px; }

.v3 .announcement {
  color: #f8f7ff;
  background: var(--ink);
  min-height: 34px;
  display: grid;
  place-items: center;
  font-size: .72rem;
  letter-spacing: .04em;
}

.v3 .announcement-row { width: 100%; display: flex; justify-content: center; gap: 0; padding-block: 7px; }
.v3 .announcement-row span { color: #d8d9e1; padding: 0 22px; border-right: 1px solid #3b3e4b; }
.v3 .announcement-row span:last-child { border-right: 0; }
.v3 .announcement b { color: #fff; font-weight: 600; }

.v3 .site-header { top: 0; background: rgba(251, 250, 246, .92); border-color: rgba(23, 26, 38, .1); backdrop-filter: blur(16px); }
.v3 .header-row { height: 70px; }
.v3 .wordmark { font-size: .98rem; letter-spacing: -.025em; }
.v3 .mark { width: 38px; height: 38px; }
.v3 .main-nav a { color: #505463; font-size: .83rem; padding: 12px 0; }
.v3 .main-nav { gap: 25px; }
.v3 .main-nav a:hover { color: var(--ink); }
.v3 .header-actions { gap: 8px; }

.v3 .btn { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 17px; border-radius: 7px; font-family: "Manrope", sans-serif; font-size: .82rem; transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease; }
.v3 .btn-lg { min-height: 50px; padding: 13px 21px; font-size: .9rem; }
.v3 .btn-primary { color: #fff; background: var(--brand); box-shadow: 0 8px 24px rgba(67, 56, 202, .16); }
.v3 .btn-primary:hover { background: var(--brand-strong); transform: translateY(-2px); box-shadow: 0 13px 30px rgba(67, 56, 202, .22); }
.v3 .btn-ghost { background: rgba(251, 250, 246, .7); color: var(--ink); border-color: #cbcbd0; }
.v3 .btn-ghost:hover { border-color: #8c8e98; transform: translateY(-2px); }
.v3 .btn:active { transform: scale(.97); }

/* Hero */
.v3 .hero { min-height: 690px; display: grid; align-items: center; padding: 82px 0 94px; overflow: hidden; background: transparent; border-bottom: 0; }
.v3 .hero::before {
  inset: 0;
  opacity: .72;
  background-image:
    linear-gradient(90deg, rgba(67, 56, 202, .045) 1px, transparent 1px),
    linear-gradient(rgba(67, 56, 202, .045) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to right, #000, transparent 74%);
}
.v3 .hero::after { inset: -220px -180px auto auto; width: 620px; height: 620px; opacity: .55; background: radial-gradient(circle, rgba(199, 210, 254, .7), transparent 68%); }
.v3 .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(430px, .95fr); gap: 78px; }
.v3 .hero-copy { position: relative; z-index: 2; }
.v3 .hero-copy h1 { max-width: 9.5em; }
.v3 .hero-copy h1 span { color: var(--brand); }
.v3 .hero .lede { max-width: 650px; margin-top: 25px; color: #555a68; font-size: 1.08rem; line-height: 1.7; }
.v3 .hero-ctas { margin-top: 30px; gap: 10px; }
.v3 .stats { margin-top: 48px; padding-top: 20px; border-top: 1px solid #cdccd0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.v3 .stats div { padding: 0 17px; min-width: 0; border: 0; border-right: 1px solid #d9d8da; background: transparent; box-shadow: none; border-radius: 0; }
.v3 .stats div:first-child { padding-left: 0; }
.v3 .stats div:last-child { border-right: 0; }
.v3 .stats dt { font-family: "Manrope", sans-serif; font-size: 1.08rem; letter-spacing: -.03em; color: var(--ink); }
.v3 .stats dd { margin-top: 3px; font-size: .68rem; color: #737683; line-height: 1.35; }

.v3 .study-stack { position: relative; min-height: 480px; display: block; perspective: 1000px; transform-style: preserve-3d; }
.v3 .study-stack > * { animation: none; }
.v3 .stack-label { position: absolute; right: 12px; top: 2px; color: #777a86; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; }
.v3 .study-paper { position: absolute; width: 326px; min-height: 214px; padding: 24px; color: var(--ink); background-color: #fffefa; border: 1px solid #d4d2ca; border-radius: 3px; box-shadow: 0 24px 55px rgba(31, 34, 49, .13), 0 3px 8px rgba(31, 34, 49, .08); transform-style: preserve-3d; transition: transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease; }
.v3 .study-paper::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .18; background-image: radial-gradient(#5a5d69 .5px, transparent .7px); background-size: 4px 4px; mix-blend-mode: multiply; }
.v3 .study-paper:hover { z-index: 6; box-shadow: 0 34px 70px rgba(31, 34, 49, .19); }
.v3 .paper-plan { top: 40px; left: 4px; transform: translate3d(calc(var(--px, 0) * -6px), calc(var(--py, 0) * -5px), 0) rotate(-6deg); }
.v3 .paper-answer { top: 150px; right: 2px; z-index: 3; transform: translate3d(calc(var(--px, 0) * 9px), calc(var(--py, 0) * 7px), 22px) rotate(4deg); background-image: repeating-linear-gradient(to bottom, transparent 0 27px, rgba(77, 108, 180, .13) 27px 28px); }
.v3 .paper-quiz { bottom: 2px; left: 20px; z-index: 2; transform: translate3d(calc(var(--px, 0) * -3px), calc(var(--py, 0) * 8px), 10px) rotate(-1.5deg); }
.v3 .paper-meta { display: flex; justify-content: space-between; gap: 18px; color: #6b6f7d; font-size: .62rem; font-weight: 600; letter-spacing: .11em; }
.v3 .study-paper h2 { font-size: 1.28rem; margin: 18px 0; letter-spacing: -.035em; }
.v3 .paper-plan p { display: flex; align-items: center; gap: 10px; color: #3f4350; font-size: .8rem; margin: 9px 0; }
.v3 .check { width: 14px; height: 14px; border: 1px solid #9295a0; display: inline-block; border-radius: 2px; position: relative; }
.v3 .check.done { border-color: var(--green-ink); background: #e6f4ee; }
.v3 .check.done::after { content: ""; position: absolute; left: 3px; top: 1px; width: 5px; height: 8px; border: solid var(--green-ink); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.v3 .progress-line { height: 4px; background: #dedde2; margin-top: 18px; }
.v3 .progress-line span { display: block; width: 67%; height: 100%; background: var(--brand); transform-origin: left; animation: plan-grow 1s .7s cubic-bezier(.2, .7, .2, 1) both; }
.v3 .paper-plan small { color: #7b7e89; font-size: .66rem; }
.v3 .preview-stamp { color: var(--red-ink); border: 1px solid rgba(183, 67, 67, .45); padding: 2px 5px; transform: rotate(-3deg); }
.v3 .answer-question { max-width: 230px; margin-top: 16px; color: var(--ink); font: 600 .84rem/1.4 "Manrope", sans-serif; }
.v3 .answer-lines { max-width: 218px; margin-top: 35px; color: #3f4350; font-size: .75rem; line-height: 1.8; }
.v3 .margin-note { position: absolute; right: 17px; bottom: 22px; width: 88px; color: var(--red-ink); font: 500 .68rem/1.25 "IBM Plex Sans", sans-serif; transform: rotate(-5deg); }
.v3 .margin-note::before { content: ""; position: absolute; width: 38px; border-top: 1px solid var(--red-ink); left: -42px; top: 5px; transform: rotate(8deg); }
.v3 .score-ring { position: absolute; right: 20px; top: 53px; width: 55px; height: 55px; display: grid; place-items: center; color: var(--red-ink); border: 2px solid var(--red-ink); border-radius: 50%; font: 600 1rem "Manrope", sans-serif; transform: rotate(8deg); }
.v3 .score-ring span { font-size: .55rem; }
.v3 .quiz-kicker { margin: 25px 0 2px; color: var(--brand); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.v3 .paper-quiz h2 { margin-top: 8px; max-width: 270px; }
.v3 .quiz-options { display: flex; gap: 8px; margin-top: 20px; }
.v3 .quiz-options span { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid #c7c6cb; color: #656875; font-size: .73rem; border-radius: 50%; }
.v3 .quiz-options .selected { color: #fff; border-color: var(--brand); background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }

@keyframes plan-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Ticker */
.v3 .ticker { color: #f0f0f4; background: var(--ink); border: 0; height: 43px; }
.v3 .ticker-track { height: 43px; font-size: .66rem; letter-spacing: .13em; }
.v3 .ticker i { color: var(--gold); }

/* Preparation paths */
.v3 #tracks { background: var(--paper); }
.v3 .track-grid { display: block; margin-top: 52px; border-bottom: 1px solid var(--line); }
.v3 .path-row { position: relative; display: grid; grid-template-columns: 64px 1.05fr 1.5fr minmax(210px, auto); grid-template-rows: auto auto; gap: 8px 26px; align-items: center; margin: 0; padding: 34px 10px 34px 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; transition: padding-left .3s ease, background .3s ease; }
.v3 .path-row:hover { padding-left: 16px; background: linear-gradient(90deg, rgba(67, 56, 202, .055), transparent 72%); transform: none; box-shadow: none; }
.v3 .path-number { color: #92949c; font: 500 .72rem "Manrope", sans-serif; }
.v3 .path-row .path-number { grid-column: 1; grid-row: 1 / -1; }
.v3 .path-row .track-top { display: block; grid-column: 2; grid-row: 1; }
.v3 .path-row .track-top h3 { margin: 0 0 8px; font-size: 1.35rem; }
.v3 .path-row .badge { display: inline-flex; margin: 0; }
.v3 .path-row > p:not(.track-sub) { grid-column: 3; grid-row: 1 / -1; margin: 0; max-width: 460px; }
.v3 .path-row .track-sub { position: static; grid-column: 2; grid-row: 2; margin: 0; color: #777a86; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.v3 .path-row .exam-list { grid-column: 4; grid-row: 1; margin: 0; }
.v3 .path-row .path-link { grid-column: 4; grid-row: 2; justify-self: end; color: var(--ink); font-weight: 600; font-size: .79rem; text-decoration: none; white-space: nowrap; }
.v3 .path-link span { display: inline-block; margin-left: 8px; color: var(--brand); transition: transform .2s ease; }
.v3 .path-row:hover .path-link span { transform: translate(3px, -3px); }
.v3 .path-featured::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--brand); }

/* Course shelf */
.v3 #courses { position: relative; overflow: hidden; }
.v3 #courses::after { content: "LIBRARY  /  2027"; position: absolute; right: -20px; top: 150px; color: rgba(23, 26, 38, .035); font: 700 clamp(4rem, 9vw, 8rem) "Manrope", sans-serif; transform: rotate(90deg); pointer-events: none; }
.v3 .course-grid { grid-template-columns: 1.2fr .8fr; gap: 24px; margin-top: 40px; align-items: start; }
.v3 .course-card { position: relative; min-height: 420px; padding: 34px; border: 1px solid #d2d0c8; border-radius: 3px; background: #fffefa; box-shadow: 0 18px 45px rgba(31, 34, 49, .075); overflow: hidden; }
.v3 .course-card::before { content: "POWER IAS"; position: absolute; right: 20px; top: 24px; color: #a6a7ad; font: 600 .62rem "Manrope", sans-serif; letter-spacing: .16em; }
.v3 .course-card:nth-child(2) { margin-top: 70px; min-height: 370px; background: #eff0ff; border-color: #c8c9e8; }
.v3 .course-exams { margin-top: 48px; color: var(--brand); font-size: .66rem; letter-spacing: .12em; }
.v3 .course-card h3 { max-width: 510px; margin-top: 13px; font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.v3 .course-desc { max-width: 560px; margin-top: 16px; }
.v3 .course-card .ticks { margin-top: 24px; }
.v3 .course-card .ticks li { margin-bottom: 7px; }
.v3 .course-foot { margin-top: 32px; padding-top: 22px; border-top: 1px solid #d8d6cf; }
.v3 .price { font-family: "Manrope", sans-serif; font-size: 1.45rem; }
.v3 .resource-ledger { margin-top: 62px; border-top: 1px solid var(--ink); }
.v3 .resource-ledger > * { display: grid; grid-template-columns: 1fr 90px 180px; gap: 20px; align-items: center; min-height: 62px; padding: 0 12px; border-bottom: 1px solid var(--line); }
.v3 .ledger-head { min-height: 42px; color: #777a86; font-size: .67rem; text-transform: uppercase; letter-spacing: .11em; }
.v3 .resource-ledger a { color: var(--ink); text-decoration: none; transition: background .2s ease, padding-left .2s ease; }
.v3 .resource-ledger a:hover { background: #fff; padding-left: 20px; }
.v3 .resource-ledger b { color: var(--brand); font-family: "Manrope", sans-serif; }
.v3 .resource-ledger small { color: #737683; }

/* Free shelf */
.v3 #free { background: #fff; }
.v3 .free-grid { gap: 0; margin-top: 42px; border-block: 1px solid var(--line); }
.v3 .free-card { min-height: 270px; padding: 30px; border: 0; border-right: 1px solid var(--line); border-radius: 0; box-shadow: none; background: transparent; }
.v3 .free-card:last-child { border-right: 0; }
.v3 .free-card h3 { margin-top: 34px; font-size: 1.28rem; }
.v3 .free-card .btn { margin-top: 24px; }

/* Platform roadmap */
.v3 #platform { background: var(--ink); color: #f6f5fb; }
.v3 #platform h2 { color: #fff; max-width: 790px; }
.v3 #platform .eyebrow { color: #a9a4ff; }
.v3 #platform .section-intro { color: #adafbb; }
.v3 .feature-grid { grid-template-columns: repeat(12, 1fr); gap: 12px; margin-top: 50px; }
.v3 .feature-card { position: relative; min-height: 230px; padding: 30px; border: 1px solid #3d404d; border-radius: 4px; background: #20232f; box-shadow: none; overflow: hidden; }
.v3 .feature-card::after { content: ""; position: absolute; right: -50px; bottom: -70px; width: 160px; height: 160px; border: 1px solid rgba(169, 164, 255, .16); border-radius: 50%; }
.v3 .feature-card:nth-child(1) { grid-column: span 7; min-height: 280px; background: #2b285d; border-color: #504a9c; }
.v3 .feature-card:nth-child(2) { grid-column: span 5; min-height: 280px; }
.v3 .feature-card:nth-child(n+3) { grid-column: span 4; }
.v3 .feature-card h3 { max-width: 430px; margin-top: 32px; color: #fff; font-size: 1.4rem; }
.v3 .feature-card p { max-width: 470px; color: #b7b9c5; }
.v3 .feature-card a { color: #cbc8ff; }
.v3 .feature-index { color: #a9a4ff; font-size: .66rem; text-transform: uppercase; letter-spacing: .11em; }

/* Evaluation artifact */
.v3 #evaluation { background-color: #e7e8f6; background-image: linear-gradient(rgba(67, 56, 202, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(67, 56, 202, .045) 1px, transparent 1px); background-size: 28px 28px; }
.v3 .eval-grid { grid-template-columns: .82fr 1.18fr; gap: 90px; }
.v3 .eval-steps h2 { max-width: 570px; }
.v3 .steps { margin-top: 40px; }
.v3 .steps li { padding: 0 0 28px 45px; }
.v3 .steps li::before { color: var(--brand); background: transparent; border: 1px solid #999ac3; }
.v3 .answer-sheet { position: relative; border-radius: 2px; border-color: #c7c4bb; transform: rotate(1.2deg); box-shadow: 0 28px 70px rgba(35, 33, 72, .15); }
.v3 .answer-sheet::before { content: "EXPERIENCE PREVIEW"; position: absolute; right: 24px; top: -16px; z-index: 4; padding: 6px 10px; color: var(--red-ink); border: 1px solid var(--red-ink); background: #fffefa; font: 600 .62rem "IBM Plex Sans", sans-serif; letter-spacing: .08em; transform: rotate(2deg); }
.v3 .sheet-head { background: #fffefa; }
.v3 .sheet-body { background-color: #fffefa; background-image: repeating-linear-gradient(to bottom, transparent 0 30px, rgba(65, 93, 156, .13) 30px 31px); }
.v3 .sheet-note { color: var(--red-ink); }
.v3 .sheet-foot { background: #f6f4ec; }
.v3 .sheet-sign { max-width: 175px; text-align: right; color: var(--red-ink); line-height: 1.3; }

/* Mentor */
.v3 .about-grid { grid-template-columns: .82fr 1.18fr; gap: 92px; }
.v3 .about-photo { position: relative; min-height: 520px; display: flex; align-items: end; justify-content: center; border: 0; border-radius: 2px; background: #20232f; overflow: hidden; }
.v3 .about-photo::before { content: ""; position: absolute; width: 230px; height: 340px; bottom: 55px; background: linear-gradient(#a9a4ff, #625ac6); border-radius: 120px 120px 20px 20px; clip-path: polygon(28% 0, 72% 0, 84% 24%, 74% 40%, 100% 100%, 0 100%, 26% 40%, 16% 24%); opacity: .85; }
.v3 .about-photo::after { content: "Real portrait replaces this mentor study before production"; position: absolute; left: 26px; right: 26px; top: 28px; color: #b9bbc5; font-size: .68rem; text-transform: uppercase; letter-spacing: .11em; }
.v3 .about-initial { z-index: 2; margin-bottom: 180px; color: #fff; background: rgba(23, 26, 38, .25); border: 1px solid rgba(255,255,255,.35); }
.v3 .about-caption { position: absolute; z-index: 2; left: 26px; right: 26px; bottom: 24px; color: #fff; background: transparent; padding: 0; font-family: "Manrope", sans-serif; font-size: 1rem; }
.v3 .about-copy > p:not(.eyebrow) { max-width: 650px; margin-top: 18px; font-size: 1.08rem; }
.v3 .about-copy .ticks { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.v3 .pull-quote { margin-top: 34px; border-left: 3px solid var(--brand); color: var(--ink); font-family: "Manrope", sans-serif; font-size: 1.45rem; }

/* Community ledger */
.v3 #community { background: var(--paper-2); border-block: 1px solid var(--line); }
.v3 .community-grid { gap: 0; margin-top: 46px; border-block: 1px solid var(--ink); }
.v3 .community-tile { min-height: 180px; padding: 25px; border: 0; border-right: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; }
.v3 .community-tile:last-child { border-right: 0; }
.v3 .community-tile:hover { transform: none; background: #fff; box-shadow: none; }
.v3 .community-num { font-size: 2rem; }
.v3 .community-cta { margin-top: 32px; }

/* Preview quotes */
.v3 #testimonials { background: #fff; }
.v3 .quote-grid { gap: 18px; margin-top: 45px; }
.v3 .quote-card { position: relative; min-height: 260px; padding: 55px 28px 28px; border: 1px solid #d3d2ca; border-radius: 2px; background-color: #fffefa; background-image: repeating-linear-gradient(to bottom, transparent 0 29px, rgba(74, 100, 163, .08) 29px 30px); box-shadow: none; }
.v3 .quote-card::before { content: "“"; position: absolute; top: 6px; left: 22px; color: var(--brand); font: 600 3.2rem "Manrope", sans-serif; }
.v3 .quote-card blockquote { font-family: "Manrope", sans-serif; font-size: 1rem; line-height: 1.65; }
.v3 .quote-card figcaption { margin-top: 34px; color: #777a86; }

/* FAQ and close */
.v3 #faq details { margin: 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
.v3 #faq details:last-of-type { border-bottom: 1px solid var(--line); }
.v3 #faq summary { min-height: 66px; display: flex; align-items: center; padding: 0 6px; font-family: "Manrope", sans-serif; font-size: .95rem; }
.v3 #faq details p { padding: 0 45px 24px 6px; }
.v3 .closing { background: var(--brand); }
.v3 .closing-inner { max-width: 850px; text-align: left; }
.v3 .closing h2 { max-width: 800px; color: #fff; }
.v3 .closing p { max-width: 650px; color: #dedcff; font-size: 1.05rem; }
.v3 .closing .eyebrow { color: #cbc8ff; }
.v3 .closing .btn-primary { margin-top: 16px; color: var(--ink); background: #fff; box-shadow: none; }
.v3 .closing .btn-primary:hover { background: #f3f2ff; }

/* Footer */
.v3 .site-footer { color: #c7c9d1; background: var(--ink); }
.v3 .footer-grid { padding-top: 70px; }
.v3 .footer-word { display: flex; align-items: center; gap: 10px; color: #fff; }
.v3 .footer-word img { width: 36px; height: 36px; }
.v3 .footer-head { color: #fff; }
.v3 .site-footer a { color: #b4b6c0; }
.v3 .site-footer a:hover { color: #fff; }
.v3 .draft-inline { display: inline-block; margin-left: 4px; padding: 1px 5px; color: #d0ccff; border: 1px solid #55516e; font-size: .58rem; text-transform: uppercase; letter-spacing: .07em; }

/* Chat: compact bar to legible assistant */
.v3 .chat-root { inset: auto 0 20px; }
.v3 .chat-pill { width: min(410px, calc(100vw - 32px)); height: 52px; border: 1px solid rgba(255,255,255,.18); background: var(--ink); border-radius: 12px; box-shadow: 0 14px 38px rgba(23, 26, 38, .25); }
.v3 .chat-pill:hover { transform: translateY(-3px); background: #242836; box-shadow: 0 18px 48px rgba(23, 26, 38, .3); }
.v3 .chat-pill::after { display: none; }
.v3 .chat-pill-label { font-family: "Manrope", sans-serif; }
.v3 .chat-spark { color: #a9a4ff; }
.v3 .chat-panel { width: min(470px, calc(100vw - 28px)); height: min(650px, calc(100vh - 125px)); border: 1px solid #cac9d1; border-radius: 12px; box-shadow: 0 30px 90px rgba(23, 26, 38, .28); }
.v3 .chat-head { padding: 15px 16px; background: #f5f4ef; }
.v3 .chat-avatar { background: var(--ink); }
.v3 .chat-chips { padding: 10px 12px; background: #fffefa; }
.v3 .chat-chip { border-radius: 5px; background: #fff; }
.v3 .chat-log { padding: 16px; background-color: #f5f3ec; background-image: linear-gradient(rgba(67, 56, 202, .035) 1px, transparent 1px); background-size: 100% 26px; }
.v3 .chat-bubble-user { border-radius: 10px 10px 2px 10px; background: var(--brand); }
.v3 .chat-bubble-bot { border-radius: 2px 10px 10px 10px; }
.v3 .chat-form button { background: var(--ink); }
.v3 .chat-form button:hover { background: var(--brand); }
.v3 .chat-source::before { content: "Source · "; font-size: inherit; }

/* Never gate readable content behind JS */
.v3 .reveal,
.v3 .reveal:not(.in) { opacity: 1; transform: none; }
.v3 .v3-observed { transition: filter .7s ease; }
.v3 .answer-sheet .sheet-note { transition: clip-path .65s cubic-bezier(.2, .7, .2, 1); clip-path: inset(0 100% 0 0); }
.v3 .answer-sheet.is-visible .sheet-note { clip-path: inset(0); }

@media (max-width: 980px) {
  .v3 .announcement-row span { padding-inline: 12px; }
  .v3 .hero { min-height: auto; }
  .v3 .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .v3 .study-stack { max-width: 570px; width: 100%; margin-inline: auto; }
  .v3 .path-row { grid-template-columns: 48px 1fr 1.3fr; grid-template-rows: auto; }
  .v3 .path-row .path-number { grid-row: 1 / span 3; }
  .v3 .path-row .track-top { grid-row: 1; align-self: start; }
  .v3 .path-row > p:not(.track-sub) { grid-column: 3; grid-row: 1; }
  .v3 .path-row .exam-list { grid-column: 3; grid-row: 2; }
  .v3 .path-row .path-link { grid-column: 3; grid-row: 3; justify-self: start; }
  .v3 .path-row .track-sub { display: none; }
  .v3 .eval-grid,
  .v3 .about-grid { grid-template-columns: 1fr; gap: 55px; }
  .v3 .about-photo { max-width: 520px; width: 100%; }
}

@media (max-width: 760px) {
  .v3 { font-size: 15px; }
  .v3 .announcement { min-height: 32px; overflow: hidden; }
  .v3 .announcement-row { width: max-content; justify-content: flex-start; animation: announce-scroll 18s linear infinite; }
  .v3 .announcement-row span { white-space: nowrap; }
  .v3 .header-row { height: 62px; }
  .v3 .shell { padding-inline: 20px; }
  .v3 .section { padding: 76px 0; }
  .v3 .hero { padding: 62px 0 72px; }
  .v3 .hero .lede { font-size: 1rem; }
  .v3 .hero-ctas { display: grid; }
  .v3 .stats { grid-template-columns: 1fr 1fr; row-gap: 22px; }
  .v3 .stats div:nth-child(2) { border-right: 0; }
  .v3 .stats div:nth-child(3) { padding-left: 0; }
  .v3 .study-stack { min-height: 440px; transform: scale(.92); transform-origin: top center; margin-bottom: -34px; }
  .v3 .study-paper { width: min(305px, 82vw); }
  .v3 .paper-plan { left: 0; }
  .v3 .paper-answer { right: 0; }
  .v3 .paper-quiz { left: 5px; }
  .v3 .path-row { grid-template-columns: 34px 1fr; gap: 10px 16px; padding-block: 28px; }
  .v3 .path-row > p:not(.track-sub),
  .v3 .path-row .exam-list,
  .v3 .path-row .path-link { grid-column: 2; }
  .v3 .path-row .track-top { grid-column: 2; }
  .v3 .path-row .track-top { grid-row: auto; }
  .v3 .path-row > p:not(.track-sub),
  .v3 .path-row .exam-list,
  .v3 .path-row .path-link { grid-row: auto; }
  .v3 .path-row .path-number { grid-row: 1 / span 4; align-self: start; margin-top: 5px; }
  .v3 .path-row .track-top h3 { margin-right: 0; }
  .v3 .course-grid { grid-template-columns: 1fr; }
  .v3 .course-card,
  .v3 .course-card:nth-child(2) { min-height: auto; margin-top: 0; padding: 25px; }
  .v3 .resource-ledger > * { grid-template-columns: 1fr auto; padding-block: 13px; }
  .v3 .resource-ledger small { grid-column: 1 / -1; }
  .v3 .ledger-head span:last-child { display: none; }
  .v3 .free-grid { grid-template-columns: 1fr; }
  .v3 .free-card { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .v3 .free-card:last-child { border-bottom: 0; }
  .v3 .feature-card,
  .v3 .feature-card:nth-child(1),
  .v3 .feature-card:nth-child(2),
  .v3 .feature-card:nth-child(n+3) { grid-column: 1 / -1; min-height: 220px; }
  .v3 .answer-sheet { transform: none; }
  .v3 .about-photo { min-height: 440px; }
  .v3 .about-copy .ticks { grid-template-columns: 1fr; }
  .v3 .community-grid { grid-template-columns: 1fr 1fr; }
  .v3 .community-tile { border-bottom: 1px solid var(--line); }
  .v3 .quote-grid { grid-template-columns: 1fr; }
  .v3 .chat-tg { display: none; }
  .v3 .chat-panel { height: min(650px, calc(100vh - 90px)); bottom: 4px; }
  .v3 .chat-pill-hint { display: none; }
}

@keyframes announce-scroll { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .v3 *, .v3 *::before, .v3 *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .v3 .paper-plan { transform: rotate(-6deg); }
  .v3 .paper-answer { transform: rotate(4deg); }
  .v3 .paper-quiz { transform: rotate(-1.5deg); }
}
