:root {
  --ink: #242724;
  --muted: #71766f;
  --paper: #f7f5f0;
  --paper-deep: #efede6;
  --line: #d9d8d0;
  --purple: #b7a4ea;
  --purple-deep: #8d72d2;
  --mint: #b8d9c6;
  --orange: #ffd2af;
  --yellow: #ece79b;
  --blue: #b7d9e5;
  --pink: #f2c6d1;
  --white: #fffefa;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --mono: "DM Mono", monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

body.modal-open { overflow: hidden; }

button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

.site-header {
  align-items: center;
  display: flex;
  height: 87px;
  justify-content: space-between;
  padding: 0 5.6vw;
}

.brand { align-items: center; display: flex; gap: 9px; }
.brand-mark { align-items: center; background: var(--ink); border-radius: 9px; color: var(--white); display: inline-flex; height: 32px; justify-content: center; transform: rotate(-4deg); width: 32px; }
.brand-mark svg { height: 22px; width: 22px; }
.brand-name { font-size: 22px; font-weight: 700; letter-spacing: -.06em; }
.brand-name span { color: var(--purple-deep); }
.site-header .brand { gap: 15px; }.site-header .brand-mark { background: var(--purple-deep); border-radius: 17px; box-shadow: 0 12px 28px rgba(141,114,210,.3); height: 62px; transform: rotate(-6deg); width: 62px; }.site-header .brand-mark svg { height: 43px; width: 43px; }.site-header .brand-name { font-size: 37px; letter-spacing: -.08em; }.site-header .brand-name span { color: var(--orange); }
.main-nav { display: flex; gap: 38px; margin-left: 70px; }
.main-nav a, .text-button { color: #555b54; font-size: 13px; transition: color .2s ease; }
.main-nav a:hover, .text-button:hover { color: var(--purple-deep); }
.header-actions { align-items: center; display: flex; gap: 27px; }
.text-button { background: none; padding: 10px 0; }
.button { align-items: center; border-radius: 2px; display: inline-flex; font-size: 12px; font-weight: 700; gap: 22px; justify-content: center; letter-spacing: .02em; min-height: 49px; padding: 0 20px; transition: background .2s ease, color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button span { font-size: 16px; font-weight: 400; line-height: 1; }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: #404640; }
.button-outline { background: transparent; border: 1px solid var(--ink); color: var(--ink); }
.button-outline:hover { background: var(--ink); color: var(--white); }
.button-small { min-height: 42px; padding: 0 16px; }
.button-full { width: 100%; }
.menu-toggle { background: none; display: none; padding: 8px 0 8px 8px; }
.menu-toggle span { background: var(--ink); display: block; height: 1px; margin: 5px 0; width: 22px; }

.section-pad { padding-left: 5.6vw; padding-right: 5.6vw; }
.hero { align-items: center; display: grid; gap: 6vw; grid-template-columns: .87fr 1.13fr; min-height: 650px; overflow: hidden; padding-bottom: 87px; padding-top: 67px; }
.eyebrow { align-items: center; color: var(--purple-deep); display: flex; font-family: var(--mono); font-size: 10px; gap: 10px; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow-line { background: currentColor; display: inline-block; height: 1px; width: 23px; }
.hero h1 { font-size: clamp(58px, 6.3vw, 95px); font-weight: 500; letter-spacing: -.075em; line-height: .92; margin: 26px 0 27px; max-width: 650px; }
h1 em, h2 em, blockquote em { font-family: var(--serif); font-weight: 400; letter-spacing: -.03em; }
.hero h1 em { color: var(--purple-deep); }
.hero-intro { color: var(--muted); font-size: 16px; line-height: 1.65; margin: 0; max-width: 425px; }
.hero-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 24px; margin-top: 34px; }
.hero-proof { align-items: center; color: var(--muted); display: flex; font-size: 11px; gap: 13px; margin-top: 68px; }
.hero-proof strong { color: var(--ink); font-weight: 700; }
.avatar-stack { display: flex; padding-left: 8px; }
.avatar-stack span, .mini-avatar { align-items: center; background: var(--purple); border: 2px solid var(--paper); border-radius: 50%; color: var(--ink); display: flex; font-family: var(--mono); font-size: 8px; height: 29px; justify-content: center; margin-left: -8px; width: 29px; }
.avatar-stack span:nth-child(2) { background: var(--mint); }
.avatar-stack span:nth-child(3) { background: var(--orange); }
.avatar-stack span:last-child { background: var(--ink); color: var(--white); }

.hero-visual { min-height: 520px; position: relative; }
.visual-glow { background: var(--purple); border-radius: 50%; filter: blur(1px); height: 330px; opacity: .28; position: absolute; right: 4%; top: 8%; width: 330px; }
.visual-orbit { border: 1px solid rgba(141,114,210,.3); border-radius: 50%; height: 465px; position: absolute; right: 4%; top: 0; transform: rotate(34deg); width: 365px; }
.orbit-two { border-color: rgba(141,114,210,.18); height: 400px; right: 0; top: 77px; transform: rotate(-39deg); width: 480px; }
.planner-card { background: var(--white); box-shadow: 0 22px 60px rgba(38,39,36,.12); left: 15%; min-height: 426px; padding: 27px 30px 20px; position: absolute; top: 45px; transform: rotate(-2deg); width: min(100%, 400px); z-index: 2; }
.planner-topline, .progress-copy, .plan-row, .planner-footer, .floating-note, .tutor-info, .subject-card-top, .subject-bottom, .tutor-note, .footer-bottom { align-items: center; display: flex; justify-content: space-between; }
.planner-topline { color: #7c827a; font-family: var(--mono); font-size: 9px; letter-spacing: .13em; }
.live-pill { align-items: center; background: #eef6f0; border-radius: 20px; color: #5e8b68; display: flex; font-size: 8px; gap: 5px; letter-spacing: .1em; padding: 5px 8px; }
.live-pill i { background: #77be87; border-radius: 50%; display: inline-block; height: 5px; width: 5px; }
.planner-title { font-size: 34px; letter-spacing: -.06em; line-height: .95; margin: 29px 0 27px; }
.planner-title em { color: var(--purple-deep); font-family: var(--serif); font-size: 40px; font-weight: 400; }
.progress-track { background: var(--paper-deep); height: 6px; overflow: hidden; width: 100%; }
.progress-track span { background: var(--purple-deep); display: block; height: 100%; width: 68%; }
.progress-copy { color: #858a83; font-size: 9px; margin: 10px 0 20px; }
.progress-copy strong { color: var(--purple-deep); font-family: var(--mono); font-size: 10px; }
.plan-row { border-top: 1px solid #ebe9e3; gap: 12px; padding: 14px 0; }
.plan-date { color: #8b9089; display: flex; flex-direction: column; font-family: var(--mono); line-height: 1.15; text-align: center; width: 29px; }
.plan-date span { font-size: 7px; }
.plan-date strong { color: var(--ink); font-family: var(--sans); font-size: 16px; font-weight: 500; margin-top: 2px; }
.plan-session { align-items: center; display: flex; flex: 1; gap: 10px; }
.session-dot { border-radius: 50%; height: 9px; width: 9px; }
.session-dot.purple { background: var(--purple); }.session-dot.mint { background: var(--mint); }.session-dot.orange { background: var(--orange); }
.plan-session strong, .plan-session small { display: block; }
.plan-session strong { font-size: 11px; font-weight: 600; }
.plan-session small { color: #8b9089; font-size: 9px; margin-top: 3px; }
.session-arrow { color: #9ca099; font-size: 14px; }
.planner-footer { background: none; border-top: 1px solid #ebe9e3; color: var(--purple-deep); font-family: var(--mono); font-size: 9px; letter-spacing: .04em; padding: 17px 0 0; width: 100%; }
.planner-footer span { font-size: 14px; }
.floating-note { background: var(--white); box-shadow: 0 12px 32px rgba(38,39,36,.1); font-size: 10px; gap: 9px; padding: 12px 14px; position: absolute; z-index: 3; }
.floating-note strong, .floating-note small { display: block; }
.floating-note small { color: #8b9089; font-size: 9px; margin-top: 2px; }
.note-icon { align-items: center; background: var(--yellow); border-radius: 50%; color: var(--ink); display: flex; font-size: 13px; height: 28px; justify-content: center; width: 28px; }
.note-top { right: 2%; top: 12%; transform: rotate(5deg); }
.note-icon-dark { background: var(--ink); color: var(--mint); }.note-bottom { bottom: 4%; left: 2%; transform: rotate(3deg); }.mini-arrow { color: var(--purple-deep); font-size: 15px; margin-left: 7px; }

.stats-bar { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); padding-bottom: 24px; padding-top: 24px; }
.stat { align-items: baseline; border-right: 1px solid var(--line); display: flex; gap: 11px; justify-content: center; }
.stat:last-child { border-right: 0; }
.stat strong { font-size: 25px; font-weight: 500; letter-spacing: -.07em; }
.stat strong span { color: var(--purple-deep); font-family: var(--serif); font-size: 21px; }
.stat > span { color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: .04em; text-transform: uppercase; }
.specialties-strip { align-items: center; background: var(--orange); display: flex; min-height: 54px; overflow: hidden; }
.strip-label { background: var(--orange); box-shadow: 18px 0 26px -18px rgba(36,39,36,.28); flex: 0 0 auto; font-family: var(--mono); font-size: 9px; letter-spacing: .12em; min-width: 205px; padding: 20px 40px 20px 5.6vw; position: relative; text-transform: uppercase; z-index: 2; }
.ticker-track { align-items: center; animation: drift 24s linear infinite; display: flex; font-family: var(--serif); font-size: 18px; gap: 25px; min-width: max-content; padding-left: 30px; white-space: nowrap; }
.ticker-track i { font-family: var(--sans); font-size: 13px; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-25%); } }

.subjects-section { padding-bottom: 132px; padding-top: 132px; }
.section-heading { align-items: flex-end; display: flex; justify-content: space-between; }
.section-heading h2, .final-cta h2 { font-size: clamp(48px, 5.1vw, 72px); font-weight: 500; letter-spacing: -.075em; line-height: .94; margin: 24px 0 0; }
.section-heading h2 em, .final-cta h2 em { color: var(--purple-deep); }
.subjects-heading > p { color: var(--muted); font-size: 14px; line-height: 1.65; margin: 0 0 4px; max-width: 335px; }
.subject-filter { display: flex; gap: 8px; margin: 58px 0 23px; }
.filter-button { background: transparent; border: 1px solid var(--line); border-radius: 20px; color: var(--muted); font-family: var(--mono); font-size: 10px; padding: 10px 15px; transition: all .2s ease; }
.filter-button:hover, .filter-button.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.subjects-grid { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
.subject-card { background: var(--paper-deep); min-height: 292px; padding: 23px 24px 19px; position: relative; transition: transform .2s ease, box-shadow .2s ease; }
.subject-card:hover { box-shadow: 0 14px 35px rgba(38,39,36,.1); transform: translateY(-4px); }
.subject-card:nth-child(2) { background: var(--orange); }.subject-card:nth-child(3) { background: var(--mint); }.subject-card:nth-child(4) { background: var(--blue); }.subject-card:nth-child(5) { background: var(--yellow); }.subject-card:nth-child(6) { background: var(--pink); }
.subject-card.is-hidden { display: none; }
.subject-number { color: rgba(36,39,36,.6); font-family: var(--mono); font-size: 10px; }
.subject-icon { align-items: center; border: 1px solid rgba(36,39,36,.5); border-radius: 50%; display: flex; font-family: var(--serif); font-size: 23px; height: 40px; justify-content: center; width: 40px; }
.icon-purple { background: var(--purple); }.icon-orange { background: var(--orange); }.icon-mint { background: var(--mint); }.icon-blue { background: var(--blue); }.icon-yellow { background: var(--yellow); }.icon-pink { background: var(--pink); }
.subject-card h3 { font-size: 29px; font-weight: 500; letter-spacing: -.07em; line-height: .93; margin: 42px 0 14px; }
.subject-card p { color: rgba(36,39,36,.7); font-size: 11px; line-height: 1.45; margin: 0; max-width: 205px; }
.subject-bottom { border-top: 1px solid rgba(36,39,36,.2); bottom: 19px; left: 24px; position: absolute; right: 24px; padding-top: 12px; }
.subject-bottom > span { color: rgba(36,39,36,.65); font-family: var(--mono); font-size: 9px; }
.arrow-button { align-items: center; background: var(--ink); border-radius: 50%; color: var(--white); display: flex; font-size: 15px; height: 27px; justify-content: center; transition: transform .2s ease; width: 27px; }
.arrow-button:hover { transform: rotate(45deg); }
.subjects-cta { align-items: center; display: flex; font-size: 12px; gap: 15px; justify-content: flex-end; margin-top: 21px; }
.subjects-cta > span { color: var(--muted); }.underlined-button { background: none; border-bottom: 1px solid var(--ink); color: var(--ink); font-size: 12px; padding: 2px 0; }.underlined-button span { color: var(--purple-deep); font-size: 15px; margin-left: 9px; }.underlined-button:hover { border-color: var(--purple-deep); color: var(--purple-deep); }
.catalog-note { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1.55; margin: 30px 0 23px; padding: 13px 0; }.catalog-note span { color: var(--purple-deep); font-family: var(--mono); font-size: 9px; letter-spacing: .12em; margin-right: 13px; }.catalog-card { min-height: 430px; padding-bottom: 57px; }.catalog-card[data-tone="purple"] { background: var(--purple); }.catalog-card[data-tone="mint"] { background: var(--mint); }.catalog-card[data-tone="orange"] { background: var(--orange); }.catalog-card[data-tone="blue"] { background: var(--blue); }.catalog-card[data-tone="yellow"] { background: var(--yellow); }.catalog-card[data-tone="pink"] { background: var(--pink); }.catalog-badge { color: rgba(36,39,36,.65); font-family: var(--mono); font-size: 8px; letter-spacing: .11em; }.catalog-card h3 { font-size: 28px; margin: 31px 0 12px; max-width: 260px; }.catalog-card p { max-width: 270px; }.catalog-subjects { display: grid; gap: 8px 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; margin: 20px 0 0; padding: 0; }.catalog-subjects li { color: rgba(36,39,36,.72); font-size: 10px; line-height: 1.25; padding-left: 10px; position: relative; }.catalog-subjects li::before { color: var(--purple-deep); content: "·"; font-size: 17px; left: 0; line-height: 10px; position: absolute; top: 0; }.catalog-card[data-tone="purple"] .catalog-subjects li::before, .catalog-card[data-tone="blue"] .catalog-subjects li::before { color: var(--ink); }

.tutors-section { padding-bottom: 118px; padding-top: 133px; }.tutors-heading { align-items: flex-end; }.tutors-heading .underlined-button { margin-bottom: 8px; }.tutor-grid { display: grid; gap: 12px; grid-template-columns: 1.18fr 1fr 1fr; margin-top: 63px; }.tutor-card { background: var(--paper-deep); padding: 10px 10px 16px; }.tutor-card-large { background: var(--purple); }.tutor-photo { align-items: flex-end; display: flex; height: 246px; justify-content: center; overflow: hidden; position: relative; }.tutor-photo::before, .tutor-photo::after { border-radius: 50%; content: ""; position: absolute; }.photo-noura { background: #8c99a8; }.photo-noura::before { background: #303d4b; height: 228px; top: -46px; width: 228px; }.photo-noura::after { background: #b47e66; bottom: -57px; height: 195px; width: 141px; }.photo-adam { background: #d8b8a5; }.photo-adam::before { background: #3f3b3c; height: 210px; top: -37px; width: 206px; }.photo-adam::after { background: #9a624a; bottom: -59px; height: 194px; width: 131px; }.photo-saif { background: #829a95; }.photo-saif::before { background: #171d20; height: 220px; top: -44px; width: 218px; }.photo-saif::after { background: #a56e5c; bottom: -63px; height: 205px; width: 140px; }.tutor-photo > span { color: rgba(255,255,255,.28); font-family: var(--mono); font-size: 58px; letter-spacing: -.1em; position: relative; z-index: 1; }.photo-badge { align-items: center; background: var(--white); border-radius: 50%; bottom: 12px; color: var(--ink); display: flex; font-size: 14px; height: 33px; justify-content: center; position: absolute; right: 12px; width: 33px; z-index: 2; }.tutor-info { align-items: flex-start; padding: 19px 8px 0; }.tutor-info h3 { font-size: 16px; font-weight: 600; letter-spacing: -.03em; margin: 0; }.tutor-info p { color: var(--muted); font-size: 10px; margin: 4px 0 0; }.tutor-rating { font-family: var(--mono); font-size: 9px; }.tutor-rating span { color: var(--purple-deep); font-size: 12px; }.tutor-rating small { color: var(--muted); font-size: 9px; }.tutor-tags { display: flex; gap: 5px; padding: 18px 8px 15px; }.tutor-tags span { border: 1px solid var(--line); border-radius: 14px; color: var(--muted); font-family: var(--mono); font-size: 8px; padding: 6px 8px; }.tutor-card-large .tutor-tags span { border-color: rgba(36,39,36,.3); color: rgba(36,39,36,.72); }.tutor-book { background: transparent; border-top: 1px solid var(--line); color: var(--ink); display: flex; font-size: 11px; justify-content: space-between; padding: 14px 8px 0; text-align: left; width: calc(100% - 16px); }.tutor-card-large .tutor-book { border-color: rgba(36,39,36,.3); }.tutor-book span { color: var(--purple-deep); font-size: 15px; }.tutor-book:hover span { transform: translate(2px, -2px); }.tutor-note { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; margin-top: 37px; padding: 18px 0; }.note-star { color: var(--purple-deep); font-size: 19px; margin-right: 8px; }.tutor-note .underlined-button { margin-left: auto; }

.testimonial-section { background: var(--yellow); padding-bottom: 103px; padding-top: 103px; position: relative; text-align: center; }.quote-mark { color: var(--purple-deep); font-family: var(--serif); font-size: 80px; height: 50px; line-height: 1; }.testimonial-section blockquote { font-size: clamp(29px, 3.4vw, 49px); letter-spacing: -.05em; line-height: 1.02; margin: 24px auto 33px; max-width: 810px; }.testimonial-section blockquote em { color: var(--purple-deep); }.quote-byline { align-items: center; display: inline-flex; gap: 10px; text-align: left; }.mini-avatar { background: var(--orange); border-color: var(--yellow); height: 33px; width: 33px; }.quote-byline strong, .quote-byline small { display: block; }.quote-byline strong { font-size: 11px; }.quote-byline small { color: rgba(36,39,36,.62); font-size: 9px; margin-top: 3px; }.quote-controls { display: flex; gap: 7px; justify-content: center; margin-top: 38px; }.quote-control { background: rgba(36,39,36,.25); border-radius: 50%; height: 5px; padding: 0; width: 5px; }.quote-control.is-active { background: var(--ink); width: 18px; border-radius: 4px; }

.final-cta { padding-bottom: 125px; padding-top: 125px; }.final-cta-inner { align-items: center; background: var(--orange); display: grid; grid-template-columns: 1fr 1.3fr; min-height: 386px; overflow: hidden; padding: 64px 9%; position: relative; }.final-cta h2 { margin-top: 20px; }.final-cta p { color: rgba(36,39,36,.7); font-size: 14px; margin: 20px 0 0; }.final-cta .hero-actions { margin-top: 28px; }.cta-stamp { align-items: center; border: 1px solid rgba(36,39,36,.45); border-radius: 50%; color: var(--ink); display: flex; flex-direction: column; font-family: var(--mono); font-size: 11px; height: 205px; justify-content: center; letter-spacing: .1em; line-height: 1.25; position: relative; text-align: center; transform: rotate(-11deg); width: 205px; }.cta-stamp::after { border: 1px dashed rgba(36,39,36,.35); border-radius: 50%; content: ""; height: 183px; position: absolute; width: 183px; }.cta-stamp span { color: var(--purple-deep); font-family: var(--serif); font-size: 24px; letter-spacing: 0; line-height: .85; margin-top: 7px; }.site-footer { background: var(--ink); color: var(--white); padding-bottom: 30px; padding-top: 64px; }.brand-footer .brand-mark { background: var(--white); color: var(--ink); }.footer-top { display: flex; justify-content: space-between; }.footer-links { display: grid; gap: 75px; grid-template-columns: repeat(3, minmax(110px, 1fr)); }.footer-links > div { display: flex; flex-direction: column; gap: 10px; }.footer-label { color: var(--mint); font-family: var(--mono); font-size: 9px; letter-spacing: .13em; margin-bottom: 7px; text-transform: uppercase; }.footer-links a, .footer-links button { background: none; color: #b3bbb2; font-size: 11px; padding: 0; text-align: left; }.footer-links a:hover, .footer-links button:hover { color: var(--white); }.footer-bottom { border-top: 1px solid #4c524c; color: #899189; font-family: var(--mono); font-size: 8px; letter-spacing: .04em; margin-top: 72px; padding-top: 16px; }.footer-heart { color: var(--purple); font-size: 13px; margin: 0 3px; }

.hero-cta-visual { align-self: stretch; align-items: center; display: flex; min-height: 520px; }
.hero-cta-panel { align-items: center; background: var(--orange); display: grid; gap: 38px; grid-template-columns: minmax(135px, .75fr) minmax(0, 1.4fr); min-height: 386px; overflow: hidden; padding: 48px 8%; width: 100%; }
.hero-cta-copy h2 { font-size: clamp(48px, 5.1vw, 72px); font-weight: 500; letter-spacing: -.075em; line-height: .94; margin: 20px 0 0; }
.hero-cta-copy h2 em { color: var(--purple-deep); }
.hero-cta-copy p { color: rgba(36,39,36,.7); font-size: 14px; margin: 20px 0 0; }
.hero-cta-copy .hero-actions { margin-top: 28px; }
.hero-cta-logo { align-items: center; display: flex; flex-direction: column; gap: 18px; transform: rotate(-5deg); }
.hero-cta-logo .brand-mark { background: var(--purple-deep); border-radius: 26px; box-shadow: 0 16px 30px rgba(141,114,210,.3); color: var(--white); height: 132px; width: 132px; }
.hero-cta-logo .brand-mark svg { height: 88px; width: 88px; }
.hero-cta-logo .brand-name { font-size: 48px; letter-spacing: -.09em; }
.hero-cta-logo .brand-name span { color: var(--purple-deep); }
.final-cta-planner { background: var(--paper); min-height: 520px; overflow: hidden; position: relative; }
.final-cta-planner .hero-visual { margin: 0 auto; max-width: 1000px; }

.modal-backdrop { align-items: center; background: rgba(24,27,24,.7); display: flex; inset: 0; justify-content: center; opacity: 0; padding: 20px; pointer-events: none; position: fixed; transition: opacity .25s ease, visibility .25s ease; visibility: hidden; z-index: 20; }.modal-backdrop.is-open { opacity: 1; pointer-events: auto; visibility: visible; }.modal { background: var(--paper); box-shadow: 0 30px 90px rgba(0,0,0,.28); max-height: calc(100vh - 40px); overflow: auto; position: relative; transform: translateY(15px); transition: transform .25s ease; width: min(100%, 470px); }.modal-backdrop.is-open .modal { transform: translateY(0); }.modal-close { align-items: center; background: var(--paper-deep); border-radius: 50%; color: var(--ink); display: flex; font-size: 22px; height: 31px; justify-content: center; line-height: 1; position: absolute; right: 18px; top: 18px; width: 31px; z-index: 2; }.modal-close:hover { background: var(--ink); color: var(--white); }.auth-modal { padding: 46px 45px 32px; }.modal-kicker { color: var(--purple-deep); font-family: var(--mono); font-size: 9px; letter-spacing: .15em; }.modal h2 { font-size: 43px; font-weight: 500; letter-spacing: -.075em; line-height: .95; margin: 14px 0 10px; }.modal h2 em { color: var(--purple-deep); }.modal-subtitle { color: var(--muted); font-size: 13px; margin: 0; }.auth-tabs { border-bottom: 1px solid var(--line); display: flex; gap: 22px; margin: 30px 0 24px; }.auth-tab { background: none; border-bottom: 2px solid transparent; color: var(--muted); font-size: 11px; padding: 0 0 11px; }.auth-tab.is-active { border-color: var(--purple-deep); color: var(--ink); }.modal form { display: flex; flex-direction: column; gap: 17px; }.modal label > span { color: var(--ink); display: block; font-size: 10px; font-weight: 600; margin-bottom: 7px; }.modal input, .modal select { background: var(--white); border: 1px solid var(--line); border-radius: 1px; color: var(--ink); height: 44px; outline: none; padding: 0 12px; width: 100%; }.modal input:focus, .modal select:focus { border-color: var(--purple-deep); box-shadow: 0 0 0 2px rgba(141,114,210,.15); }.modal select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 16px) 18px, calc(100% - 12px) 18px; background-repeat: no-repeat; background-size: 4px 4px, 4px 4px; }.form-grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }.checkbox-label { align-items: flex-start; display: flex; gap: 8px; }.checkbox-label input { height: 15px; margin: 2px 0 0; width: 15px; }.checkbox-label > span { color: var(--muted); font-size: 10px !important; font-weight: 400 !important; line-height: 1.4; }.checkbox-label u { color: var(--ink); }.form-footnote { color: var(--muted); font-size: 10px; margin: 22px 0 0; text-align: center; }.inline-button { background: none; color: var(--purple-deep); font-size: 10px; padding: 0; }.booking-modal { display: grid; grid-template-columns: 1.12fr .88fr; width: min(100%, 800px); }.booking-content { padding: 47px 42px 40px; }.booking-content h2 { margin-top: 12px; }.booking-content .modal-subtitle { margin-bottom: 28px; }.booking-aside { align-items: center; background: var(--mint); display: flex; flex-direction: column; justify-content: center; min-height: 550px; padding: 30px; text-align: center; }.aside-illustration { margin-bottom: 28px; width: 160px; }.booking-aside p { font-family: var(--serif); font-size: 22px; line-height: 1.05; margin: 0; max-width: 220px; }.aside-signature { color: var(--muted); font-family: var(--mono); font-size: 9px; margin-top: 18px; }

.join-choice-modal { padding: 48px; width: min(100%, 900px); }
.join-choice-modal > h2 { font-size: clamp(52px, 6vw, 78px); margin: 18px 0 16px; max-width: 720px; }
.join-choice-modal > p { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0; max-width: 520px; }
.join-choice-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 36px; }
.join-choice-grid > button { background: var(--purple); border: 1px solid rgba(36,39,36,.14); color: var(--ink); display: grid; min-height: 340px; padding: 25px; position: relative; text-align: left; transition: box-shadow .22s ease, transform .22s ease; }
.join-choice-grid > button:nth-child(2) { background: var(--orange); }
.join-choice-grid > button:hover { box-shadow: 0 20px 44px rgba(44,38,54,.16); transform: translateY(-4px); }
.join-choice-number { font-family: var(--mono); font-size: 9px; letter-spacing: .12em; }
.join-choice-icon { align-items: center; background: var(--white); border-radius: 50%; display: flex; font-size: 24px; height: 58px; justify-content: center; margin-top: 26px; width: 58px; }
.join-choice-grid strong { font-size: clamp(34px, 4vw, 48px); font-weight: 500; letter-spacing: -.065em; line-height: .92; margin-top: 22px; }
.join-choice-grid small { color: rgba(36,39,36,.68); font-size: 11px; line-height: 1.5; margin-top: 15px; max-width: 280px; }
.join-choice-grid b { align-items: center; border-top: 1px solid rgba(36,39,36,.2); display: flex; font-size: 11px; justify-content: space-between; margin-top: 22px; padding-top: 15px; }

@media (max-width: 680px) {
  .join-choice-modal { padding: 44px 20px 24px; }
  .join-choice-modal > h2 { font-size: 48px; }
  .join-choice-grid { grid-template-columns: 1fr; }
  .join-choice-grid > button { min-height: 280px; }
}
.toast { align-items: center; background: var(--ink); bottom: 25px; box-shadow: 0 10px 30px rgba(0,0,0,.2); color: var(--white); display: flex; font-size: 12px; gap: 10px; opacity: 0; padding: 13px 17px; pointer-events: none; position: fixed; right: 25px; transform: translateY(15px); transition: all .25s ease; z-index: 30; }.toast.is-visible { opacity: 1; transform: translateY(0); }.toast-icon { color: var(--mint); font-size: 16px; }
.success-panel { align-items: flex-start; display: flex; flex-direction: column; justify-content: center; min-height: 455px; }.success-mark { align-items: center; background: var(--mint); border-radius: 50%; color: var(--ink); display: flex; font-size: 22px; height: 46px; justify-content: center; margin-bottom: 26px; width: 46px; }.success-panel h2 { margin-bottom: 20px; }.success-panel p { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 0; max-width: 305px; }.success-details { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: flex; font-family: var(--mono); font-size: 10px; gap: 19px; margin: 25px 0; padding: 15px 0; width: 100%; }.success-details span:first-child { color: var(--purple-deep); }
.success-window-status { align-items: center; background: var(--paper-deep); color: var(--muted); display: flex; font-family: var(--mono); font-size: 9px; gap: 8px; margin: 3px 0 16px; padding: 10px 12px; width: 100%; }.success-window-status strong { color: var(--purple-deep); font-weight: 500; }.status-orb { background: var(--orange); border-radius: 50%; height: 7px; width: 7px; }.success-panel .button-full:disabled { background: #c3c5bf; color: #f2f2ed; cursor: not-allowed; transform: none; }.success-panel .button-full.is-live { background: var(--purple-deep); }.success-dismiss { background: none; color: var(--muted); font-size: 10px; margin: 15px auto 0; padding: 2px 0; }.success-dismiss:hover { color: var(--ink); }.lesson-room-modal { background: #171a18; color: var(--white); max-width: 900px; padding: 34px; width: min(100%, 900px); }.lesson-room-header { align-items: flex-start; display: flex; justify-content: space-between; }.lesson-room-header h2 { margin: 12px 0 7px; }.lesson-room-header h2 em { color: var(--mint); }.lesson-room-header p { color: #9da59c; font-size: 12px; margin: 0; }.recording-pill { align-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.13); color: #ffad8c; display: inline-flex; font-family: var(--mono); font-size: 9px; gap: 7px; letter-spacing: .1em; padding: 8px 10px; }.recording-pill i { background: #ff745a; border-radius: 50%; box-shadow: 0 0 0 4px rgba(255,116,90,.13); height: 6px; width: 6px; }.lesson-stage { display: grid; gap: 10px; grid-template-columns: 1.55fr 1fr; margin: 29px 0 15px; }.video-tile { min-height: 300px; position: relative; }.video-background { align-items: center; background: #33474b; display: flex; height: 100%; justify-content: center; min-height: 300px; overflow: hidden; position: relative; }.video-background::before, .video-background::after { border-radius: 50%; content: ""; position: absolute; }.video-background::before { background: rgba(183,164,234,.72); height: 245px; top: -63px; width: 245px; }.video-background::after { background: rgba(54,61,64,.93); bottom: -88px; height: 265px; width: 175px; }.video-background-teacher { background: #4d5f61; }.video-background-student { background: #354743; }.video-background-student::before { background: rgba(184,217,198,.68); }.video-initials { color: rgba(255,255,255,.3); font-family: var(--mono); font-size: 60px; letter-spacing: -.1em; position: relative; z-index: 1; }.video-caption { bottom: 16px; display: flex; flex-direction: column; left: 16px; position: absolute; z-index: 2; }.video-caption strong { font-size: 12px; font-weight: 600; }.video-caption small { color: #c1cac0; font-family: var(--mono); font-size: 8px; margin-top: 4px; }.connection-pill { background: rgba(23,26,24,.68); bottom: 14px; color: var(--mint); font-family: var(--mono); font-size: 8px; padding: 6px 8px; position: absolute; right: 14px; }.lesson-room-meta { align-items: center; color: #8d978d; display: flex; font-family: var(--mono); font-size: 9px; justify-content: space-between; }.lesson-room-meta i { background: var(--orange); border-radius: 50%; display: inline-block; height: 5px; margin-right: 5px; width: 5px; }.lesson-controls { align-items: center; border-top: 1px solid rgba(255,255,255,.12); display: flex; gap: 8px; margin-top: 24px; padding-top: 19px; }.lesson-control { background: rgba(255,255,255,.09); color: #dce3dc; font-size: 10px; padding: 11px 13px; }.lesson-control span { color: var(--mint); margin-right: 5px; }.lesson-control.is-on { background: rgba(184,217,198,.18); }.lesson-control:hover { background: rgba(255,255,255,.18); }.lesson-control.lesson-leave { background: #8e554d; margin-left: auto; }.lesson-control.lesson-leave:hover { background: #b16c60; }

@media (max-width: 1050px) {
  .site-header { padding-left: 4vw; padding-right: 4vw; }
  .section-pad { padding-left: 4vw; padding-right: 4vw; }
  .main-nav { gap: 23px; margin-left: 25px; }
  .hero { gap: 3vw; grid-template-columns: .9fr 1.1fr; }
  .planner-card { left: 7%; }.note-top { right: 0; }.note-bottom { left: -4%; }
  .strip-label { padding-left: 4vw; }
  .subject-card h3 { font-size: 25px; }
  .tutor-grid { grid-template-columns: repeat(3, 1fr); }.tutor-photo { height: 200px; }
  .footer-links { gap: 34px; }
}

@media (max-width: 760px) {
  .site-header { height: 74px; }.main-nav, .header-actions { display: none; }.menu-toggle { display: block; }
  .site-header.menu-open { align-items: flex-start; height: auto; min-height: 74px; padding-bottom: 22px; }.site-header.menu-open .main-nav { background: var(--paper); display: flex; flex-direction: column; gap: 20px; left: 0; padding: 21px 4vw; position: absolute; right: 0; top: 74px; z-index: 10; }.site-header.menu-open .header-actions { align-items: flex-start; display: flex; flex-direction: column; gap: 7px; left: 4vw; position: absolute; top: 166px; z-index: 10; }.site-header.menu-open .main-nav + .header-actions .button { display: none; }
  .hero { display: block; min-height: 0; padding-bottom: 65px; padding-top: 56px; }.hero h1 { font-size: clamp(56px, 16vw, 78px); max-width: 550px; }.hero-proof { margin-top: 43px; }.hero-visual { margin: 42px -4vw 0; min-height: 485px; }.planner-card { left: 12%; padding: 23px; top: 30px; width: 74%; }.floating-note { font-size: 9px; }.note-top { right: 2%; top: 8%; }.note-bottom { bottom: 3%; left: 3%; }
  .stats-bar { gap: 16px 8px; grid-template-columns: repeat(2, 1fr); padding-bottom: 17px; padding-top: 17px; }.stat { justify-content: flex-start; }.stat:nth-child(2) { border-right: 0; }.stat:nth-child(3) { border-top: 1px solid var(--line); padding-top: 14px; }.stat:nth-child(4) { border-top: 1px solid var(--line); padding-top: 14px; }
  .strip-label { display: none; }.ticker-track { padding-left: 4vw; }
  .subjects-section { padding-bottom: 82px; padding-top: 83px; }.section-heading { align-items: flex-start; display: block; }.section-heading h2, .final-cta h2 { font-size: clamp(48px, 14vw, 65px); }.subjects-heading > p { margin-top: 28px; }.subject-filter { margin-top: 39px; overflow-x: auto; padding-bottom: 4px; white-space: nowrap; }.subjects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.subject-card { min-height: 270px; padding-left: 18px; padding-right: 18px; }.subject-card h3 { font-size: 24px; margin-top: 34px; }.subject-bottom { left: 18px; right: 18px; }.subjects-cta { justify-content: flex-start; }
  .tutors-section { padding-bottom: 80px; padding-top: 83px; }.tutors-heading .underlined-button { margin-top: 31px; }.tutor-grid { grid-template-columns: 1fr; margin-top: 40px; }.tutor-card:not(:first-child) { display: none; }.tutor-photo { height: 260px; }.tutor-note { align-items: flex-start; flex-wrap: wrap; gap: 10px; }.tutor-note .underlined-button { margin-left: 27px; }
  .testimonial-section { padding-bottom: 74px; padding-top: 74px; }.testimonial-section blockquote { font-size: 35px; }.quote-byline { max-width: 260px; text-align: left; }
  .final-cta { padding-bottom: 78px; padding-top: 78px; }.final-cta-inner { display: block; padding: 52px 8%; }.cta-stamp { height: 145px; margin-bottom: 47px; width: 145px; }.cta-stamp::after { height: 127px; width: 127px; }.cta-stamp span { font-size: 18px; }
  .site-footer { padding-bottom: 24px; padding-top: 55px; }.footer-top { display: block; }.footer-links { gap: 15px; grid-template-columns: repeat(3, 1fr); margin-top: 55px; }.footer-bottom { align-items: flex-start; flex-direction: column; gap: 9px; margin-top: 50px; }
  .booking-modal { display: block; }.booking-aside { display: none; }.booking-content { padding: 45px 25px 28px; }
}

@media (max-width: 430px) {
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; }.hero-proof { align-items: flex-start; }.hero-visual { margin-top: 36px; min-height: 415px; }.planner-card { left: 4%; min-height: 375px; padding: 20px 17px; top: 30px; width: 86%; }.planner-title { font-size: 29px; margin: 22px 0; }.planner-title em { font-size: 34px; }.plan-row { padding: 10px 0; }.note-top { right: 0; }.note-bottom { bottom: -1%; left: 0; }.floating-note { padding: 9px 10px; }.note-icon { height: 24px; width: 24px; }
  .stat { align-items: flex-start; flex-direction: column; gap: 0; }.stat strong { font-size: 22px; }.stat > span { font-size: 8px; }.subjects-grid { gap: 8px; }.subject-card { min-height: 250px; padding: 15px 14px; }.subject-card h3 { font-size: 20px; }.subject-card p { font-size: 10px; }.subject-bottom { bottom: 14px; left: 14px; right: 14px; }.subject-icon { height: 34px; width: 34px; }.subject-number { font-size: 8px; }
  .final-cta .hero-actions { align-items: flex-start; }.footer-links { gap: 18px; }.footer-links a, .footer-links button { font-size: 10px; }
  .auth-modal { padding: 43px 22px 26px; }.modal h2 { font-size: 38px; }.form-grid { gap: 8px; }
}

@media (max-width: 760px) {
  .catalog-card { min-height: 438px; }
  .catalog-card h3 { font-size: 25px; }
}

@media (max-width: 760px) {
  .hero-cta-visual { margin: 42px -4vw 0; min-height: 386px; }
  .hero-cta-panel { display: block; padding: 52px 8%; }
  .hero-cta-logo { align-items: flex-start; margin-bottom: 47px; }
  .hero-cta-logo .brand-mark { height: 104px; width: 104px; }
  .hero-cta-logo .brand-mark svg { height: 70px; width: 70px; }
  .hero-cta-logo .brand-name { font-size: 39px; }
  .final-cta-planner { margin: 0 -4vw; min-height: 485px; }
  .final-cta-planner .hero-visual { min-height: 485px; }
}

@media (max-width: 430px) {
  .hero-cta-visual { margin-top: 36px; }
  .final-cta-planner .hero-visual { margin-top: 0; min-height: 415px; }
}

@media (max-width: 430px) {
  .catalog-card { min-height: 450px; }
  .catalog-subjects { gap: 7px 8px; }
  .catalog-subjects li { font-size: 9px; }
}

@media (max-width: 760px) {
  .site-header .brand-mark { height: 52px; width: 52px; }.site-header .brand-mark svg { height: 36px; width: 36px; }.site-header .brand-name { font-size: 31px; }
  .lesson-room-modal { padding: 24px 18px 20px; }.lesson-room-header { display: block; }.recording-pill { margin-top: 20px; }.lesson-stage { grid-template-columns: 1fr; }.video-tile, .video-background { min-height: 230px; }.lesson-room-meta { align-items: flex-start; flex-direction: column; gap: 9px; }.lesson-controls { flex-wrap: wrap; }.lesson-control.lesson-leave { margin-left: 0; }
}

:root { --shadow-soft: 0 18px 50px rgba(38,39,36,.1); --shadow-card: 0 20px 46px rgba(38,39,36,.13); }

body {
  background: radial-gradient(circle at 8% 8%, rgba(183,164,234,.12), transparent 22%), radial-gradient(circle at 92% 42%, rgba(255,210,175,.12), transparent 25%), var(--paper);
  overflow-x: clip;
}

html { overflow-x: clip; }
.catalog-card { overflow: hidden; }
.catalog-subjects li { min-width: 0; overflow-wrap: anywhere; }

.site-header { backdrop-filter: blur(18px); background: rgba(247,245,240,.84); border-bottom: 1px solid rgba(217,216,208,.7); position: sticky; top: 0; z-index: 12; }
.site-header .brand-mark { box-shadow: 0 12px 28px rgba(141,114,210,.3), 0 0 0 7px rgba(183,164,234,.11); transition: box-shadow .25s ease, transform .25s ease; }
.site-header .brand:hover .brand-mark { box-shadow: 0 15px 34px rgba(141,114,210,.4), 0 0 0 9px rgba(183,164,234,.16); transform: rotate(-3deg) translateY(-2px); }
.main-nav a { position: relative; }
.main-nav a::after { background: var(--purple-deep); bottom: -7px; content: ""; height: 1px; left: 0; position: absolute; transform: scaleX(0); transform-origin: left; transition: transform .25s ease; width: 100%; }
.main-nav a:hover::after { transform: scaleX(1); }

.button { border-radius: 5px; box-shadow: 0 8px 18px rgba(38,39,36,.08); transition: background .2s ease, box-shadow .2s ease, color .2s ease, transform .2s ease; }
.button:hover { box-shadow: 0 14px 26px rgba(38,39,36,.15); }
.button-dark { box-shadow: 0 10px 22px rgba(36,39,36,.18); }
.button-outline { box-shadow: none; }
.button-outline:hover { box-shadow: 0 10px 22px rgba(36,39,36,.14); }

.hero { isolation: isolate; position: relative; }
.hero::before { background: radial-gradient(circle, rgba(183,164,234,.2) 0, rgba(183,164,234,0) 68%); content: ""; height: 480px; pointer-events: none; position: absolute; right: -140px; top: -100px; width: 480px; z-index: -1; }
.hero::after { border: 1px solid rgba(141,114,210,.1); border-radius: 50%; content: ""; height: 440px; pointer-events: none; position: absolute; right: 2%; top: -135px; transform: rotate(24deg); width: 610px; z-index: -1; }
.hero-copy { position: relative; z-index: 1; }
.hero-cta-panel { background: linear-gradient(135deg, var(--orange), #ffd9bc 56%, var(--yellow)); border: 1px solid rgba(36,39,36,.08); border-radius: 8px; box-shadow: var(--shadow-card); isolation: isolate; position: relative; }
.hero-cta-panel::before { background: rgba(255,254,250,.25); border: 1px solid rgba(255,254,250,.42); border-radius: 50%; content: ""; height: 300px; position: absolute; right: -150px; top: -145px; width: 300px; z-index: -1; }
.hero-cta-panel::after { border: 1px solid rgba(141,114,210,.15); border-radius: 50%; bottom: -120px; content: ""; height: 260px; left: 12%; position: absolute; width: 260px; z-index: -1; }
.hero-cta-logo .brand-mark { position: relative; }
.hero-cta-logo .brand-mark::after { border: 1px solid rgba(255,254,250,.38); border-radius: 22px; content: ""; inset: 8px; pointer-events: none; position: absolute; }
.hero-cta-logo .brand-mark { animation: logoFloat 5s ease-in-out infinite; }
.floating-note { border: 1px solid rgba(36,39,36,.06); border-radius: 5px; box-shadow: 0 16px 32px rgba(38,39,36,.12); }
.note-top { animation: noteFloatTop 6s ease-in-out infinite; }
.note-bottom { animation: noteFloatBottom 6s ease-in-out -2s infinite; }
.planner-card { border: 1px solid rgba(36,39,36,.06); border-radius: 4px; box-shadow: var(--shadow-card); transition: box-shadow .3s ease, transform .3s ease; }
.planner-card:hover { box-shadow: 0 28px 62px rgba(38,39,36,.17); transform: rotate(-1deg) translateY(-5px); }

.stats-bar { background: rgba(255,254,250,.58); box-shadow: 0 1px 0 rgba(255,255,255,.8) inset; }
.stat { transition: transform .2s ease; }
.stat:hover { transform: translateY(-3px); }
.specialties-strip { background: linear-gradient(90deg, var(--orange), #ffe0c5 50%, var(--orange)); }

.subjects-section { background: linear-gradient(180deg, rgba(255,254,250,.18), rgba(239,237,230,.45)); position: relative; }
.subjects-section::before { border: 1px solid rgba(141,114,210,.08); border-radius: 50%; content: ""; height: 420px; pointer-events: none; position: absolute; right: -230px; top: 80px; width: 420px; }
.subject-filter { position: relative; z-index: 1; }
.filter-button { box-shadow: 0 3px 10px rgba(38,39,36,.03); }
.filter-button:hover, .filter-button.is-active { box-shadow: 0 8px 18px rgba(36,39,36,.15); }
.catalog-card { border: 1px solid rgba(36,39,36,.05); border-radius: 8px; box-shadow: 0 8px 18px rgba(38,39,36,.05); isolation: isolate; overflow: hidden; transition: box-shadow .3s ease, transform .3s ease; }
.catalog-card::before { background: rgba(255,254,250,.22); border-radius: 50%; content: ""; height: 160px; position: absolute; right: -75px; top: -80px; transition: transform .35s ease; width: 160px; z-index: -1; }
.catalog-card::after { border: 1px solid rgba(36,39,36,.13); border-radius: 50%; content: ""; height: 110px; position: absolute; right: -51px; top: -55px; transition: transform .35s ease; width: 110px; z-index: -1; }
.catalog-card:hover { box-shadow: var(--shadow-card); transform: translateY(-7px); }
.catalog-card:hover::before { transform: scale(1.3); }
.catalog-card:hover::after { transform: scale(1.15) rotate(18deg); }
.catalog-badge { letter-spacing: .15em; }
.arrow-button { box-shadow: 0 7px 14px rgba(36,39,36,.14); }

.tutor-card { border-radius: 7px; box-shadow: 0 10px 22px rgba(38,39,36,.06); overflow: hidden; transition: box-shadow .3s ease, transform .3s ease; }
.tutor-card:hover { box-shadow: var(--shadow-card); transform: translateY(-6px); }
.tutor-photo { filter: saturate(1.08); }
.photo-badge { box-shadow: 0 7px 15px rgba(36,39,36,.16); }
.tutor-tags span { transition: background .2s ease, color .2s ease; }
.tutor-tags span:hover { background: rgba(255,254,250,.42); color: var(--ink); }

.testimonial-section { background: linear-gradient(135deg, var(--yellow), #f4efb4 55%, var(--orange)); overflow: hidden; }
.testimonial-section::before { border: 1px solid rgba(141,114,210,.14); border-radius: 50%; content: ""; height: 360px; left: -140px; position: absolute; top: -180px; width: 360px; }
.quote-mark { position: relative; z-index: 1; }
.final-cta-planner { border: 1px solid rgba(36,39,36,.05); border-radius: 8px; box-shadow: var(--shadow-soft); }
.site-footer { background: radial-gradient(circle at 85% 15%, rgba(183,164,234,.16), transparent 22%), var(--ink); }
.brand-footer .brand-mark { box-shadow: 0 8px 18px rgba(0,0,0,.2); }
.modal { border: 1px solid rgba(36,39,36,.08); border-radius: 9px; }
.modal-close { box-shadow: 0 5px 14px rgba(36,39,36,.1); transition: background .2s ease, color .2s ease, transform .2s ease; }
.modal-close:hover { transform: rotate(90deg); }
.toast { border: 1px solid rgba(255,255,255,.08); border-radius: 5px; box-shadow: 0 15px 35px rgba(0,0,0,.25); }

@keyframes logoFloat { 0%, 100% { transform: translateY(0) rotate(-5deg); } 50% { transform: translateY(-8px) rotate(-3deg); } }
@keyframes noteFloatTop { 0%, 100% { transform: translateY(0) rotate(5deg); } 50% { transform: translateY(-7px) rotate(4deg); } }
@keyframes noteFloatBottom { 0%, 100% { transform: translateY(0) rotate(3deg); } 50% { transform: translateY(6px) rotate(4deg); } }

@media (max-width: 760px) {
  .site-header { background: rgba(247,245,240,.94); }
  .hero::after { right: -35%; }
  .hero-cta-panel { border-radius: 7px; }
  .catalog-card { border-radius: 6px; }
  .tutor-card:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

.main-nav { gap: 10px; margin-left: 42px; }
.main-nav a { border: 1px solid var(--ink); border-radius: 4px; color: var(--ink); font-size: 14px; font-weight: 600; padding: 10px 15px; transition: background .2s ease, color .2s ease, transform .2s ease; }
.main-nav a::after { display: none; }
.main-nav a:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); }
.tutor-book { background: var(--ink); border: 1px solid var(--ink); border-radius: 4px; color: var(--white); font-size: 12px; font-weight: 700; margin: 15px 8px 0; padding: 13px 12px; transition: background .2s ease, box-shadow .2s ease, transform .2s ease; width: calc(100% - 16px); }
.tutor-card-large .tutor-book { border-color: var(--ink); }
.tutor-book span { color: var(--orange); font-size: 17px; }
.tutor-book:hover { background: var(--purple-deep); box-shadow: 0 10px 20px rgba(36,39,36,.18); transform: translateY(-2px); }
.tutor-info p { font-size: 11px; line-height: 1.45; max-width: 245px; }
.tutor-photo { align-items: center; background: var(--paper-deep); border-radius: 4px; filter: none; }
.tutor-photo::before, .tutor-photo::after { border: 1px solid rgba(255,254,250,.5); box-shadow: 0 16px 30px rgba(36,39,36,.08); }
.tutor-photo::before { background: rgba(255,254,250,.27); height: 245px; right: -42px; top: -42px; width: 245px; }
.tutor-photo::after { background: rgba(255,254,250,.32); bottom: -68px; height: 180px; left: -48px; width: 180px; }
.tutor-photo > span { align-items: center; background: rgba(255,254,250,.82); border: 1px solid rgba(36,39,36,.16); border-radius: 50%; box-shadow: 0 14px 26px rgba(36,39,36,.13); color: var(--ink); display: flex; font-size: 32px; height: 112px; justify-content: center; letter-spacing: -.12em; width: 112px; z-index: 1; }
.photo-noura { background: linear-gradient(145deg, #a995e0, #d7c9f0 52%, #f2d7ca); }
.photo-noura::before { background: rgba(255,254,250,.25); }
.photo-noura::after { background: rgba(255,210,175,.46); }
.photo-adam { background: linear-gradient(145deg, #b8d9c6, #d7e9df 52%, #b7d9e5); }
.photo-adam::before { background: rgba(255,254,250,.32); }
.photo-adam::after { background: rgba(183,164,234,.3); }
.photo-saif { background: linear-gradient(145deg, #ffd2af, #f5e7a6 52%, #f2c6d1); }
.photo-saif::before { background: rgba(255,254,250,.3); }
.photo-saif::after { background: rgba(183,164,234,.24); }
.subject-card h3, .catalog-card h3 { color: var(--ink); font-size: clamp(29px, 2.5vw, 38px); font-weight: 700; letter-spacing: -.075em; line-height: .96; text-shadow: 0 1px 0 rgba(255,254,250,.35); }
.catalog-card h3 { background: rgba(255,254,250,.24); border-left: 3px solid var(--ink); border-radius: 3px; max-width: 290px; padding: 7px 10px 9px; }
.catalog-badge { color: var(--ink); font-weight: 700; }
.subject-filter .filter-button { background: var(--white); border: 1.5px solid var(--ink); color: var(--ink); font-size: 13px; font-weight: 700; min-height: 46px; padding: 11px 19px; }
.subject-filter .filter-button:hover, .subject-filter .filter-button.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); transform: translateY(-2px); }

@media (max-width: 1050px) {
  .main-nav { gap: 7px; margin-left: 18px; }
  .main-nav a { font-size: 12px; padding: 9px 11px; }
}

@media (max-width: 760px) {
  .site-header.menu-open .main-nav a { align-self: flex-start; font-size: 13px; padding: 10px 14px; }
}

.section-heading h2, .final-cta h2 { font-size: clamp(56px, 6vw, 84px); }
.text-button { background: var(--white); border: 1px solid var(--ink); border-radius: 4px; color: var(--ink); font-weight: 700; padding: 10px 14px; transition: background .2s ease, color .2s ease, transform .2s ease; }
.text-button:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); }
.underlined-button { align-items: center; background: var(--white); border: 1px solid var(--ink); border-radius: 4px; display: inline-flex; font-size: 12px; font-weight: 700; gap: 12px; padding: 11px 14px; transition: background .2s ease, color .2s ease, transform .2s ease; }
.underlined-button span { margin-left: 0; }
.underlined-button:hover { background: var(--ink); border-color: var(--ink); color: var(--white); transform: translateY(-2px); }
.underlined-button:hover span { color: var(--orange); }
.planner-footer { border: 1px solid var(--ink); border-radius: 4px; font-weight: 700; padding: 12px 13px; transition: background .2s ease, color .2s ease, transform .2s ease; }
.planner-footer:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); }
.planner-footer:hover span { color: var(--orange); }

[hidden] { display: none !important; }
.auth-view-tabs { margin-bottom: 20px; }
.auth-view-tabs .auth-tab { font-size: 12px; font-weight: 700; }
.auth-role-tabs { border-bottom: 1px solid var(--line); display: flex; gap: 22px; margin: 0 0 24px; }
.auth-role-tabs .auth-tab { font-size: 11px; }
.auth-error { color: #9e4f42; font-size: 11px; line-height: 1.4; margin: -5px 0 0; min-height: 16px; }
.auth-form button:disabled, .verification-panel button:disabled { cursor: wait; opacity: .65; transform: none; }
.verification-panel { padding-top: 6px; text-align: center; }
.verification-panel .success-mark { align-items: center; background: var(--mint); border-radius: 50%; color: var(--ink); display: flex; font-size: 22px; height: 58px; justify-content: center; margin: 0 auto 20px; width: 58px; }
.verification-panel h2 { margin-bottom: 14px; }
.verification-panel p { color: var(--muted); font-size: 12px; line-height: 1.55; margin: 0 auto 22px; max-width: 315px; }
.verification-panel p strong { color: var(--ink); overflow-wrap: anywhere; }
.verification-panel .success-dismiss { display: block; }
.verification-panel.is-verified .success-mark { background: var(--purple); font-size: 26px; }
.verification-panel.is-verified .modal-kicker { color: var(--purple-deep); }
.verification-live-status { align-items: center; background: rgba(183,220,202,.3); border: 1px solid rgba(71,119,91,.2); display: flex; gap: 10px; margin: 0 0 16px; padding: 12px 14px; text-align: left; }
.verification-live-status i { animation: verification-pulse 1.2s ease-in-out infinite; background: #47775b; border-radius: 50%; flex: 0 0 auto; height: 9px; width: 9px; }
.verification-live-status span { color: #355f47; font-size: 12px; line-height: 1.4; }
.verification-preview-link { margin-bottom: 10px; }
@keyframes verification-pulse { 50% { opacity: .35; transform: scale(.8); } }
.login-role-context { align-items: center; background: var(--paper); border-left: 3px solid var(--purple-deep); display: flex; justify-content: space-between; margin: 18px 0; padding: 12px 14px; }
.login-role-context span { color: var(--purple-deep); font-family: var(--mono); font-size: 11px; letter-spacing: .11em; }
.login-role-context button { background: none; color: var(--ink); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 760px) {
  .section-heading h2, .final-cta h2 { font-size: clamp(50px, 15vw, 70px); }
  .text-button { font-size: 12px; }
  .underlined-button { font-size: 12px; }
}

.hero-cta-panel { background: linear-gradient(135deg, #f5eff8, #e8dff2 58%, #f8e8dc); border-color: rgba(36,39,36,.12); box-shadow: 0 22px 52px rgba(82,65,103,.14); }
.hero-cta-panel::before { background: rgba(255,254,250,.42); border-color: rgba(255,254,250,.72); }
.hero-cta-panel::after { border-color: rgba(141,114,210,.2); }

/* Secure lessons, participant chat, recordings, and moderator console */
.lesson-room-modal { max-width: 1180px; width: min(100%, 1180px); }
.lesson-live-layout { display: grid; gap: 14px; grid-template-columns: minmax(0, 1.65fr) minmax(280px, .72fr); margin-top: 28px; }
.lesson-video-column { min-width: 0; }
.lesson-stage { margin: 0 0 13px; }
.video-background video { height: 100%; inset: 0; object-fit: cover; opacity: 0; position: absolute; transition: opacity .25s ease; width: 100%; z-index: 1; }
.video-background.has-video video { opacity: 1; }
.video-background.has-video::before, .video-background.has-video::after, .video-background.has-video .video-initials { opacity: 0; }
.recording-pill { transition: background .2s ease, color .2s ease; }
.recording-pill.is-recording { background: rgba(255,116,90,.15); color: #ffc0ae; }
.recording-pill.is-ready { background: rgba(184,217,198,.15); color: var(--mint); }
.recording-pill.is-uploading { background: rgba(183,164,234,.16); color: #d7c9ff; }
.lesson-chat-panel { background: #202421; border: 1px solid rgba(255,255,255,.12); display: grid; grid-template-rows: auto minmax(250px, 1fr) auto; min-height: 365px; }
.lesson-chat-heading { align-items: flex-start; border-bottom: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; padding: 16px; }
.lesson-chat-heading div { display: grid; gap: 5px; }
.lesson-chat-heading span, .lesson-chat-heading small { color: #8f998f; font-family: var(--mono); font-size: 8px; letter-spacing: .1em; }
.lesson-chat-heading strong { font-size: 13px; }
.lesson-chat-heading small { color: var(--mint); }
.lesson-chat-messages { display: flex; flex-direction: column; gap: 9px; max-height: 360px; overflow-y: auto; padding: 14px; }
.lesson-chat-empty { color: #8f998f; font-size: 11px; margin: auto; text-align: center; }
.lesson-chat-message { align-self: flex-start; background: rgba(255,255,255,.07); border-radius: 10px 10px 10px 2px; max-width: 88%; padding: 9px 11px; }
.lesson-chat-message.is-mine { align-self: flex-end; background: rgba(184,217,198,.16); border-radius: 10px 10px 2px 10px; }
.lesson-chat-message strong, .lesson-chat-message span, .lesson-chat-message small { display: block; }
.lesson-chat-message strong { color: var(--mint); font-family: var(--mono); font-size: 8px; letter-spacing: .06em; }
.lesson-chat-message span { color: #f3f5f2; font-size: 11px; line-height: 1.45; margin-top: 4px; overflow-wrap: anywhere; }
.lesson-chat-message small { color: #7f897f; font-family: var(--mono); font-size: 7px; margin-top: 5px; }
#lesson-chat-form { border-top: 1px solid rgba(255,255,255,.1); display: block; padding: 12px; }
#lesson-chat-form label { color: #8f998f; font-family: var(--mono); font-size: 8px; letter-spacing: .08em; }
#lesson-chat-form > div { display: flex; gap: 7px; margin-top: 7px; }
#lesson-chat-form input { background: #171a18; border: 1px solid rgba(255,255,255,.14); color: var(--white); flex: 1; font-size: 11px; height: 38px; min-width: 0; padding: 0 10px; }
#lesson-chat-form button { background: var(--mint); color: var(--ink); font-size: 9px; font-weight: 700; padding: 0 11px; }
.secure-chat-shell, .moderator-shell { display: grid; gap: 16px; grid-template-columns: 320px minmax(0, 1fr); }
.secure-room-list { display: grid; gap: 8px; }
.secure-room-button { background: var(--paper-deep); border: 1px solid var(--line); display: grid; gap: 6px; padding: 14px; text-align: left; width: 100%; }
.secure-room-button.is-active { background: var(--mint); border-color: rgba(36,39,36,.3); }
.secure-room-button span { color: var(--purple-deep); font-family: var(--mono); font-size: 8px; letter-spacing: .1em; }
.secure-room-button strong { font-size: 13px; }
.secure-room-button small { color: var(--muted); font-size: 10px; }
.secure-chat-card { min-height: 480px; }
.secure-chat-history { display: flex; flex-direction: column; gap: 10px; margin: 20px 0; max-height: 430px; overflow-y: auto; }
.secure-chat-history article { background: var(--paper-deep); border-left: 3px solid var(--purple); padding: 12px 14px; }
.secure-chat-history article.is-mine { border-left-color: var(--mint); margin-left: 8%; }
.secure-chat-history strong, .secure-chat-history span, .secure-chat-history small { display: block; }
.secure-chat-history strong { font-size: 10px; }
.secure-chat-history span { font-size: 13px; line-height: 1.45; margin-top: 5px; overflow-wrap: anywhere; }
.secure-chat-history small { color: var(--muted); font-family: var(--mono); font-size: 8px; margin-top: 6px; }
.secure-chat-form { display: flex; gap: 8px; }
.secure-chat-form input { border: 1px solid var(--line); flex: 1; min-width: 0; padding: 0 12px; }
.secure-chat-form button { background: var(--ink); color: var(--white); font-size: 10px; padding: 11px 14px; }
.moderator-security-note { background: var(--ink); color: var(--mint); font-family: var(--mono); font-size: 9px; letter-spacing: .06em; margin-bottom: 18px; padding: 12px 14px; }
.moderator-room-meta { display: grid; gap: 4px; margin-top: 5px; }
.moderator-room-meta small { color: var(--muted); }
.secure-recording-list { display: grid; gap: 8px; margin-top: 14px; }
.secure-recording-list article { align-items: center; background: var(--paper-deep); display: grid; gap: 10px; grid-template-columns: 1fr auto; justify-content: space-between; padding: 11px 12px; }
.secure-recording-list button { background: var(--purple-deep); color: var(--white); font-size: 9px; padding: 8px 10px; }
.secure-recording-list video { background: #171a18; grid-column: 1 / -1; max-height: 430px; width: 100%; }
.member-moderator-nav { border: 1px solid rgba(184,217,198,.2) !important; color: var(--mint) !important; margin-top: 10px; }

@media (max-width: 900px) {
  .lesson-live-layout, .secure-chat-shell, .moderator-shell { grid-template-columns: 1fr; }
  .lesson-chat-panel { min-height: 320px; }
}

@media (max-width: 600px) {
  .lesson-room-modal { padding: 22px 14px 18px; }
  .lesson-stage { grid-template-columns: 1fr; }
  .lesson-chat-messages { max-height: 280px; }
  .secure-chat-form { align-items: stretch; flex-direction: column; }
}
.hero-cta-copy .eyebrow { color: var(--purple-deep); }
.hero-cta-copy h2 { color: var(--ink); }
.hero-cta-copy h2 em { color: var(--purple-deep); }
.hero-cta-copy p { color: rgba(36,39,36,.68); }
.hero-cta-copy .button-dark { background: var(--ink); color: var(--white); }
.hero-cta-copy .button-dark:hover { background: var(--purple-deep); }
.hero-cta-copy .button-outline { border-color: var(--ink); color: var(--ink); }
.hero-cta-copy .button-outline:hover { background: var(--ink); color: var(--white); }
.hero-cta-logo .brand-name { color: var(--ink); }
.hero-cta-logo .brand-mark { background: var(--purple-deep); color: var(--white); box-shadow: 0 16px 30px rgba(141,114,210,.24); }
.hero-cta-logo .brand-name span { color: var(--purple-deep); }
.hero-cta-panel { grid-template-columns: minmax(175px, .9fr) minmax(0, 1.35fr); min-height: 470px; }
.hero-cta-logo { gap: 8px; justify-content: flex-end; min-height: 100%; transform: rotate(-3deg); }
.cta-dentist { align-items: flex-end; display: flex; filter: drop-shadow(0 18px 24px rgba(141,114,210,.12)); height: 350px; isolation: isolate; justify-content: center; max-width: 230px; position: relative; width: 100%; }
.cta-dentist::before { background: radial-gradient(circle, rgba(229,217,249,.78) 0%, rgba(229,217,249,.36) 42%, rgba(229,217,249,0) 74%); border-radius: 50%; content: ""; inset: 28px -14px 18px; filter: blur(10px); position: absolute; z-index: -1; }
.cta-dentist img { display: block; height: 100%; object-fit: contain; width: 100%; }
.hero-cta-logo .brand-name { line-height: 1; }
.hero { background: var(--paper); }
.hero-cta-panel { background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.hero-cta-panel::before { background: transparent; border-color: transparent; }

@media (max-width: 760px) {
  .hero-cta-panel { min-height: 0; }
  .hero-cta-logo { align-items: center; margin-bottom: 42px; }
  .cta-dentist { height: 310px; max-width: 225px; }
}

/* Authenticated member space */
body.is-member #header-account-button { color: var(--purple-deep); font-weight: 600; }
.member-modal { padding: 43px; width: min(100%, 760px); }
.member-header { align-items: flex-start; display: flex; gap: 24px; justify-content: space-between; padding-right: 34px; }
.member-header h2 { max-width: 520px; }
.member-header p, .member-detail-subtitle { color: var(--muted); font-size: 13px; line-height: 1.55; margin: 0; }
.member-badge { background: var(--mint); color: var(--ink); font-family: var(--mono); font-size: 9px; letter-spacing: .12em; padding: 8px 10px; }
.member-stats { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); margin: 30px 0; }
.member-stat { display: flex; flex-direction: column; gap: 4px; padding: 18px 16px; }
.member-stat + .member-stat { border-left: 1px solid var(--line); }
.member-stat strong { font-family: var(--serif); font-size: 31px; font-weight: 400; }
.member-stat span { color: var(--muted); font-family: var(--mono); font-size: 8px; letter-spacing: .05em; text-transform: uppercase; }
.member-actions { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.member-action { background: var(--paper-deep); color: var(--ink); display: grid; gap: 6px 10px; grid-template-columns: 28px 1fr 18px; padding: 18px; text-align: left; transition: background .2s ease, transform .2s ease; }
.member-action:hover { background: var(--purple); transform: translateY(-2px); }
.member-action > span { color: var(--purple-deep); font-family: var(--mono); font-size: 9px; grid-row: 1 / 3; padding-top: 3px; }
.member-action strong { font-size: 13px; font-weight: 600; }
.member-action small { color: var(--muted); font-size: 10px; grid-column: 2; }
.member-action b { color: var(--purple-deep); font-size: 17px; font-weight: 400; grid-column: 3; grid-row: 1 / 3; }
.member-next { background: var(--white); border-left: 3px solid var(--purple-deep); margin-top: 22px; padding: 18px 20px; }
.member-next > strong { display: block; font-size: 14px; margin-top: 8px; }
.member-next p { color: var(--muted); font-size: 10px; margin: 5px 0 0; }
.member-signout { display: block; }
.member-detail[hidden], #member-hub-view[hidden] { display: none; }
.member-back { background: none; color: var(--purple-deep); font-size: 10px; margin-bottom: 28px; padding: 0; }
.member-detail h2 { margin-bottom: 10px; }
.member-detail-list { display: grid; gap: 10px; margin-top: 28px; }
.member-booking-card { background: var(--white); border: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; padding: 18px 20px; }
.member-booking-status { color: var(--purple-deep); font-family: var(--mono); font-size: 8px; grid-column: 1 / -1; letter-spacing: .1em; margin-bottom: 9px; }
.member-booking-card > strong { font-size: 14px; }
.member-booking-card p { color: var(--muted); font-size: 10px; grid-column: 1; margin: 5px 0 0; }
.member-booking-card small { color: var(--ink); font-family: var(--mono); font-size: 10px; grid-column: 2; grid-row: 2; }
.member-room-button { background: none; color: var(--purple-deep); font-size: 10px; grid-column: 1 / -1; justify-self: start; margin-top: 14px; padding: 0; }
.member-empty-state { background: var(--mint); padding: 28px; }
.member-empty-state > strong { display: block; font-family: var(--serif); font-size: 24px; font-weight: 400; }
.member-empty-state p { color: rgba(36,39,36,.68); font-size: 11px; line-height: 1.5; margin: 9px 0 20px; }

@media (max-width: 760px) {
  .member-modal { padding: 42px 24px 28px; }
  .member-actions { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .member-header { display: block; padding-right: 20px; }
  .member-badge { display: inline-block; margin-top: 16px; }
  .member-stats { grid-template-columns: 1fr; }
  .member-stat { padding: 13px 5px; }
  .member-stat + .member-stat { border-left: 0; border-top: 1px solid var(--line); }
  .member-booking-card { grid-template-columns: 1fr; }
  .member-booking-card small { grid-column: 1; grid-row: auto; margin-top: 9px; }
}

/* Full authenticated member application */
body.member-dashboard-open { background: #f4f2ed; overflow: auto; }
body.member-dashboard-open > .site-header,
body.member-dashboard-open > main,
body.member-dashboard-open > .site-footer { display: none; }
.member-app[hidden] { display: none; }
.member-app { background: #f4f2ed; display: grid; grid-template-columns: 258px minmax(0, 1fr); min-height: 100vh; }
.member-sidebar { background: #20231f; color: var(--white); display: flex; flex-direction: column; height: 100vh; justify-content: space-between; left: 0; overflow-y: auto; padding: 26px 18px 20px; position: fixed; top: 0; width: 258px; z-index: 18; }
.member-app-brand { align-items: center; background: none; color: var(--white); display: flex; gap: 11px; padding: 0 8px; }
.member-app-brand .brand-mark { background: var(--purple-deep); border-radius: 9px; height: 38px; width: 38px; }
.member-app-brand .brand-mark svg { height: 26px; width: 26px; }
.member-app-brand .brand-name { font-size: 25px; }
.member-profile-chip { align-items: center; border-bottom: 1px solid rgba(255,255,255,.12); border-top: 1px solid rgba(255,255,255,.12); display: flex; gap: 11px; margin: 27px 0 21px; padding: 17px 8px; }
.member-avatar { align-items: center; background: var(--purple); border-radius: 50%; color: var(--ink); display: inline-flex; flex: 0 0 auto; font-family: var(--mono); font-size: 10px; height: 36px; justify-content: center; width: 36px; }
.member-profile-chip strong, .member-profile-chip small { display: block; }
.member-profile-chip strong { font-size: 11px; font-weight: 600; }
.member-profile-chip small { color: #91988f; font-family: var(--mono); font-size: 8px; margin-top: 4px; text-transform: uppercase; }
.member-dashboard-nav { display: flex; flex-direction: column; gap: 4px; }
.member-dashboard-nav button, .member-sidebar-bottom button { align-items: center; background: none; border-radius: 2px; color: #aeb5ac; display: flex; font-size: 10px; gap: 11px; padding: 11px 12px; text-align: left; width: 100%; }
.member-dashboard-nav button > b, .member-sidebar-bottom button > b { font: inherit; font-weight: 500; }
.member-dashboard-nav button > span, .member-sidebar-bottom button > span { color: #7d857c; font-family: var(--mono); font-size: 13px; text-align: center; width: 18px; }
.member-dashboard-nav button:hover, .member-dashboard-nav button.is-active, .member-sidebar-bottom button:hover { background: rgba(255,255,255,.08); color: var(--white); }
.member-dashboard-nav button.is-active > span { color: var(--mint); }
.member-sidebar-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 13px; }
.member-workspace { grid-column: 2; min-width: 0; }
.member-topbar { align-items: center; background: rgba(255,254,250,.94); border-bottom: 1px solid var(--line); display: flex; height: 74px; justify-content: space-between; padding: 0 4vw; position: sticky; top: 0; z-index: 12; }
.member-topbar-kicker, .dashboard-eyebrow { color: var(--purple-deep); display: block; font-family: var(--mono); font-size: 8px; letter-spacing: .13em; text-transform: uppercase; }
.member-topbar > div > strong { display: block; font-size: 13px; margin-top: 4px; }
.member-topbar-actions { align-items: center; display: flex; gap: 9px; }
.member-notification { align-items: center; background: var(--paper-deep); border-radius: 50%; color: var(--purple-deep); display: flex; font-size: 8px; height: 34px; justify-content: center; width: 34px; }
.member-topbar-profile { align-items: center; background: none; color: var(--ink); display: flex; font-size: 10px; gap: 9px; }
.member-topbar-profile b { align-items: center; background: var(--mint); border-radius: 50%; display: flex; font-family: var(--mono); font-size: 8px; height: 34px; justify-content: center; width: 34px; }
.member-mobile-menu { background: none; display: none; font-size: 22px; padding: 3px; }
.member-page { margin: 0 auto; max-width: 1500px; outline: none; padding: 43px 4vw 70px; }
.dashboard-welcome, .dashboard-page-heading { align-items: flex-end; display: flex; gap: 30px; justify-content: space-between; margin-bottom: 31px; }
.dashboard-welcome h1, .dashboard-page-heading h1 { font-size: clamp(46px, 5vw, 72px); font-weight: 500; letter-spacing: -.07em; line-height: .92; margin: 13px 0 13px; }
.dashboard-welcome h1 em, .dashboard-page-heading h1 em { color: var(--purple-deep); }
.dashboard-welcome p, .dashboard-page-heading p { color: var(--muted); font-size: 12px; line-height: 1.6; margin: 0; max-width: 560px; }
.dashboard-welcome > .button, .dashboard-page-heading > .button { flex: 0 0 auto; margin-bottom: 4px; }
.dashboard-stats { display: grid; gap: 1px; grid-template-columns: repeat(4, 1fr); margin-bottom: 18px; }
.dashboard-stats article { background: var(--white); border: 1px solid var(--line); min-height: 132px; padding: 20px; }
.dashboard-stats article > span { color: var(--muted); font-family: var(--mono); font-size: 8px; letter-spacing: .09em; }
.dashboard-stats strong { display: block; font-family: var(--serif); font-size: 39px; font-weight: 400; line-height: 1; margin: 17px 0 7px; }
.dashboard-stats small { color: var(--muted); font-size: 9px; }
.dashboard-overview-grid { display: grid; gap: 18px; grid-template-columns: minmax(0, 1.5fr) minmax(285px, .75fr); }
.dashboard-panel { background: var(--white); border: 1px solid var(--line); padding: 25px; }
.dashboard-panel-heading { align-items: flex-start; display: flex; gap: 22px; justify-content: space-between; }
.dashboard-panel-heading h2 { font-size: 21px; font-weight: 600; letter-spacing: -.04em; margin: 7px 0 0; }
.dashboard-panel-heading > button, .dashboard-text-action { background: none; color: var(--purple-deep); font-size: 9px; padding: 0; }
.dashboard-lesson-list { display: grid; gap: 9px; margin-top: 22px; }
.dashboard-lesson-row { align-items: center; background: var(--paper); display: grid; gap: 15px; grid-template-columns: 49px 4px minmax(0, 1fr) auto; min-height: 105px; padding: 13px 17px; }
.dashboard-lesson-date { text-align: center; }
.dashboard-lesson-date small, .dashboard-lesson-date strong { display: block; }
.dashboard-lesson-date small { color: var(--purple-deep); font-family: var(--mono); font-size: 8px; }
.dashboard-lesson-date strong { font-family: var(--serif); font-size: 27px; font-weight: 400; margin-top: 2px; }
.dashboard-lesson-tone { background: var(--purple); height: 45px; width: 4px; }
.dashboard-lesson-copy > small { color: var(--purple-deep); font-family: var(--mono); font-size: 7px; letter-spacing: .08em; }
.dashboard-lesson-copy > strong { display: block; font-size: 12px; margin-top: 7px; }
.dashboard-lesson-copy p { color: var(--muted); font-size: 9px; margin: 5px 0 0; }
.dashboard-lesson-meta { align-items: flex-end; display: flex; flex-direction: column; gap: 3px; text-align: right; }
.dashboard-lesson-meta > strong { font-size: 11px; }
.dashboard-lesson-meta > small { color: var(--muted); font-family: var(--mono); font-size: 7px; }
.dashboard-lesson-meta .dashboard-text-action { margin-top: 9px; }
.dashboard-empty { align-items: flex-start; background: var(--paper); display: flex; flex-direction: column; margin-top: 20px; padding: 26px; }
.dashboard-empty > span { color: var(--purple-deep); font-size: 22px; }
.dashboard-empty h3 { font-family: var(--serif); font-size: 25px; font-weight: 400; margin: 11px 0 6px; }
.dashboard-empty p { color: var(--muted); font-size: 10px; line-height: 1.5; margin: 0 0 18px; }
.dashboard-empty .button { padding: 11px 14px; }
.dashboard-plan-card { display: grid; grid-template-columns: 112px 1fr; }
.dashboard-plan-card .dashboard-panel-heading { grid-column: 1 / -1; }
.dashboard-progress-ring { align-items: center; background: conic-gradient(var(--purple-deep) var(--progress), var(--paper-deep) 0); border-radius: 50%; display: flex; height: 102px; justify-content: center; margin-top: 29px; width: 102px; }
.dashboard-progress-ring::before { background: var(--white); border-radius: 50%; content: ""; height: 76px; position: absolute; width: 76px; }
.dashboard-progress-ring span { position: relative; text-align: center; z-index: 1; }
.dashboard-progress-ring strong, .dashboard-progress-ring small { display: block; }
.dashboard-progress-ring strong { font-family: var(--serif); font-size: 25px; font-weight: 400; }
.dashboard-progress-ring small { color: var(--muted); font-family: var(--mono); font-size: 6px; }
.dashboard-plan-copy { align-self: center; margin: 28px 0 0 12px; }
.dashboard-plan-copy strong { font-size: 12px; }
.dashboard-plan-copy p { color: var(--muted); font-size: 9px; line-height: 1.5; margin: 6px 0 0; }
.dashboard-quick-section { margin-top: 18px; }
.dashboard-quick-grid { display: grid; gap: 9px; grid-template-columns: repeat(4, 1fr); margin-top: 22px; }
.dashboard-quick-grid button { background: var(--paper); color: var(--ink); min-height: 132px; padding: 17px; text-align: left; transition: background .2s ease, transform .2s ease; }
.dashboard-quick-grid button:hover { background: var(--purple); transform: translateY(-2px); }
.dashboard-quick-grid span, .dashboard-quick-grid strong, .dashboard-quick-grid small { display: block; }
.dashboard-quick-grid span { color: var(--purple-deep); font-family: var(--mono); font-size: 8px; }
.dashboard-quick-grid strong { font-size: 12px; margin-top: 20px; }
.dashboard-quick-grid small { color: var(--muted); font-size: 9px; margin-top: 6px; }
.dashboard-quick-grid b { color: var(--purple-deep); float: right; font-size: 15px; font-weight: 400; margin-top: 12px; }
.dashboard-filter-row { align-items: center; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; padding-bottom: 17px; }
.dashboard-filter-row strong { font-size: 11px; }
.dashboard-filter-row span { color: var(--muted); font-size: 9px; }
.dashboard-list-panel .dashboard-lesson-list { margin-top: 18px; }
.dashboard-plan-layout, .dashboard-message-layout, .dashboard-profile-layout { display: grid; gap: 18px; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .65fr); }
.dashboard-roadmap .dashboard-panel-heading > strong { color: var(--purple-deep); font-family: var(--serif); font-size: 29px; font-weight: 400; }
.dashboard-progress-bar { background: var(--paper-deep); height: 7px; margin: 23px 0 26px; overflow: hidden; }
.dashboard-progress-bar span { background: var(--purple-deep); display: block; height: 100%; }
.dashboard-milestones { display: grid; }
.dashboard-milestones article { align-items: center; border-top: 1px solid var(--line); display: grid; gap: 16px; grid-template-columns: 35px 1fr auto; padding: 17px 0; }
.dashboard-milestones article > span { align-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); display: flex; font-family: var(--mono); font-size: 8px; height: 30px; justify-content: center; width: 30px; }
.dashboard-milestones article.is-complete > span { background: var(--mint); border-color: var(--mint); color: var(--ink); }
.dashboard-milestones strong { font-size: 11px; }
.dashboard-milestones p { color: var(--muted); font-size: 9px; margin: 4px 0 0; }
.dashboard-milestones small { color: var(--purple-deep); font-family: var(--mono); font-size: 7px; }
.dashboard-plan-aside { background: var(--ink); color: var(--white); }
.dashboard-plan-aside h2 { font-family: var(--serif); font-size: 32px; font-weight: 400; line-height: 1; margin: 28px 0 15px; }
.dashboard-plan-aside p { color: #aeb5ac; font-size: 10px; line-height: 1.65; }
.dashboard-plan-aside button { background: none; border-top: 1px solid rgba(255,255,255,.14); color: var(--mint); display: block; font-size: 10px; margin-top: 24px; padding: 15px 0 0; text-align: left; width: 100%; }
.dashboard-library-section + .dashboard-library-section { margin-top: 18px; }
.dashboard-resource-grid { display: grid; gap: 10px; grid-template-columns: repeat(4, 1fr); margin-top: 22px; }
.dashboard-resource-grid article { background: var(--paper); min-height: 210px; padding: 19px; }
.dashboard-resource-grid article > span { color: var(--purple-deep); font-family: var(--mono); font-size: 8px; }
.dashboard-resource-grid h3 { font-size: 13px; margin: 24px 0 9px; }
.dashboard-resource-grid p, .dashboard-resource-detail { color: var(--muted); font-size: 9px; line-height: 1.55; }
.dashboard-resource-detail { background: var(--white); border-left: 2px solid var(--purple-deep); margin-top: 13px; padding: 10px; }
.dashboard-resource-grid button { background: none; color: var(--purple-deep); font-size: 9px; margin-top: 20px; padding: 0; }
.dashboard-subject-grid { display: grid; gap: 13px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dashboard-subject-card { background: var(--white); border-top: 5px solid var(--purple); min-height: 330px; padding: 24px; }
.dashboard-subject-card[data-tone="mint"] { border-color: var(--mint); }.dashboard-subject-card[data-tone="orange"] { border-color: var(--orange); }.dashboard-subject-card[data-tone="blue"] { border-color: var(--blue); }.dashboard-subject-card[data-tone="yellow"] { border-color: var(--yellow); }.dashboard-subject-card[data-tone="pink"] { border-color: var(--pink); }
.dashboard-subject-card > span { color: var(--purple-deep); font-family: var(--mono); font-size: 8px; letter-spacing: .09em; }
.dashboard-subject-card h2 { font-family: var(--serif); font-size: 29px; font-weight: 400; line-height: 1; margin: 23px 0 11px; }
.dashboard-subject-card > p { color: var(--muted); font-size: 10px; line-height: 1.5; min-height: 44px; }
.dashboard-subject-card > div { border-top: 1px solid var(--line); display: grid; margin-top: 19px; padding-top: 12px; }
.dashboard-subject-card button { background: none; color: var(--ink); display: flex; font-size: 9px; justify-content: space-between; padding: 7px 0; text-align: left; }
.dashboard-subject-card button:hover { color: var(--purple-deep); }
.dashboard-subject-card b { color: var(--purple-deep); font-weight: 400; }
.dashboard-tutor-grid { display: grid; gap: 15px; grid-template-columns: repeat(3, 1fr); }
.dashboard-tutor-grid > article { background: var(--white); border: 1px solid var(--line); }
.dashboard-tutor-portrait { align-items: center; background: #8c99a8; display: flex; height: 210px; justify-content: center; overflow: hidden; position: relative; }
.dashboard-tutor-portrait::before { background: rgba(36,39,36,.45); border-radius: 50%; content: ""; height: 185px; position: absolute; top: -47px; width: 185px; }
.dashboard-tutor-portrait > span { color: rgba(255,255,255,.43); font-family: var(--mono); font-size: 50px; position: relative; }
.dashboard-tutor-portrait > b { background: var(--mint); bottom: 13px; color: var(--ink); font-family: var(--mono); font-size: 7px; font-weight: 500; letter-spacing: .08em; padding: 7px 9px; position: absolute; right: 13px; }
.dashboard-tutor-portrait.portrait-2 { background: #caa793; }.dashboard-tutor-portrait.portrait-3 { background: #829a95; }
.dashboard-tutor-copy { padding: 21px; }
.dashboard-tutor-copy > span { color: var(--purple-deep); font-family: var(--mono); font-size: 8px; text-transform: uppercase; }
.dashboard-tutor-copy h2 { font-size: 17px; margin: 9px 0; }
.dashboard-tutor-copy p { color: var(--muted); font-size: 9px; line-height: 1.55; min-height: 44px; }
.dashboard-tutor-copy > div { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: flex; justify-content: space-between; margin: 18px 0; padding: 12px 0; }
.dashboard-tutor-copy small { color: var(--muted); font-family: var(--mono); font-size: 8px; }
.dashboard-message-list { display: grid; gap: 9px; margin-top: 23px; }
.dashboard-message-list article { background: var(--paper); display: flex; flex-direction: column; padding: 17px; }
.dashboard-message-list article > span { color: var(--purple-deep); font-family: var(--mono); font-size: 7px; letter-spacing: .08em; }
.dashboard-message-list article strong { font-size: 10px; font-weight: 500; line-height: 1.5; margin: 8px 0; }
.dashboard-message-list article small { color: var(--muted); font-family: var(--mono); font-size: 7px; }
.dashboard-message-empty { color: var(--muted); padding: 45px 0; text-align: center; }
.dashboard-message-empty > span { color: var(--purple-deep); display: block; font-size: 24px; }
.dashboard-message-empty strong { color: var(--ink); display: block; font-size: 12px; margin: 12px 0 6px; }
.dashboard-message-empty p { font-size: 9px; }
.dashboard-support-form h2 { font-family: var(--serif); font-size: 31px; font-weight: 400; margin: 15px 0 23px; }
.dashboard-support-form form, .dashboard-profile-form form { display: flex; flex-direction: column; gap: 15px; }
.dashboard-support-form label > span, .dashboard-profile-form label > span { display: block; font-size: 9px; font-weight: 600; margin-bottom: 7px; }
.dashboard-support-form select, .dashboard-support-form textarea, .dashboard-profile-form input, .dashboard-profile-form textarea, .dashboard-profile-form select { background: var(--paper); border: 1px solid var(--line); color: var(--ink); outline: none; padding: 12px; width: 100%; }
.dashboard-support-form select, .dashboard-profile-form input, .dashboard-profile-form select { height: 43px; }
.dashboard-support-form textarea, .dashboard-profile-form textarea { font-family: var(--sans); resize: vertical; }
.dashboard-support-form select:focus, .dashboard-support-form textarea:focus, .dashboard-profile-form input:focus, .dashboard-profile-form textarea:focus, .dashboard-profile-form select:focus { border-color: var(--purple-deep); box-shadow: 0 0 0 2px rgba(141,114,210,.13); }
.dashboard-support-form > small { color: var(--muted); display: block; font-size: 8px; line-height: 1.5; margin-top: 13px; }
.dashboard-profile-layout { grid-template-columns: minmax(240px, .55fr) minmax(0, 1.3fr); }
.dashboard-profile-card { align-self: start; text-align: center; }
.dashboard-profile-avatar { height: 72px; width: 72px; }
.dashboard-profile-card h2 { font-family: var(--serif); font-size: 29px; font-weight: 400; margin: 18px 0 6px; }
.dashboard-profile-card p { color: var(--muted); font-size: 9px; margin: 0; }
.dashboard-profile-card > span:last-child { background: var(--mint); display: inline-block; font-family: var(--mono); font-size: 7px; margin-top: 20px; padding: 8px 10px; text-transform: uppercase; }
.tutor-status-strip { align-items: center; background: var(--ink); color: var(--white); display: grid; gap: 14px; grid-template-columns: auto 1fr auto; margin-bottom: 18px; padding: 16px 20px; }
.tutor-status-strip > span { color: var(--mint); font-family: var(--mono); font-size: 10px; letter-spacing: .09em; }
.tutor-status-strip i { background: var(--mint); border-radius: 50%; display: inline-block; height: 8px; margin-right: 9px; width: 8px; }
.tutor-status-strip strong { font-size: 13px; font-weight: 500; }
.tutor-status-strip small { color: #aeb5ac; font-size: 11px; }
.tutor-student-list { display: grid; gap: 10px; }
.tutor-student-list > article { align-items: center; background: var(--paper); display: grid; gap: 18px; grid-template-columns: auto minmax(0, 1fr) auto auto; padding: 18px; }
.tutor-student-list article > div > span { color: var(--purple-deep); font-family: var(--mono); font-size: 9px; letter-spacing: .08em; }
.tutor-student-list h3 { font-size: 16px; margin: 6px 0; }
.tutor-student-list p { color: var(--muted); font-size: 12px; margin: 0; }
.tutor-student-list dl { display: flex; gap: 24px; margin: 0; }
.tutor-student-list dl div { text-align: center; }
.tutor-student-list dt { color: var(--muted); font-family: var(--mono); font-size: 8px; }
.tutor-student-list dd { font-family: var(--serif); font-size: 28px; margin: 4px 0 0; }
.tutor-student-list article > button { background: var(--ink); color: var(--white); font-size: 11px; padding: 12px 14px; }
.tutor-subject-panel > .button { margin-top: 24px; }
.tutor-subject-options { display: grid; gap: 9px; grid-template-columns: repeat(3, 1fr); margin-top: 24px; }
.tutor-subject-options button { align-items: center; background: var(--paper); border: 1px solid var(--line); color: var(--ink); display: flex; font-size: 13px; gap: 10px; min-height: 54px; padding: 12px; text-align: left; }
.tutor-subject-options button span { align-items: center; border: 1px solid var(--line); border-radius: 50%; display: flex; flex: 0 0 auto; height: 25px; justify-content: center; width: 25px; }
.tutor-subject-options button.is-selected { background: var(--purple); border-color: var(--purple-deep); }
.tutor-subject-options button.is-selected span { background: var(--white); border-color: transparent; }
.dashboard-profile-form fieldset { border: 0; margin: 0; padding: 0; }
.dashboard-profile-form legend { font-size: 12px; font-weight: 600; margin-bottom: 9px; }
.tutor-day-grid { display: grid; gap: 7px; grid-template-columns: repeat(7, 1fr); }
.tutor-day-grid label { cursor: pointer; }
.tutor-day-grid input { height: 1px !important; opacity: 0; position: absolute; width: 1px !important; }
.tutor-day-grid span { align-items: center; background: var(--paper); border: 1px solid var(--line); display: flex; font-size: 11px; height: 43px; justify-content: center; }
.tutor-day-grid input:checked + span { background: var(--purple); border-color: var(--purple-deep); }
.tutor-availability-summary { align-self: start; background: var(--ink); color: var(--white); }
.tutor-availability-summary h2 { font-family: var(--serif); font-size: 36px; font-weight: 400; margin: 25px 0 10px; }
.tutor-availability-summary p, .tutor-availability-summary small { color: #aeb5ac; display: block; font-size: 12px; line-height: 1.6; }
.tutor-availability-summary > strong { color: var(--mint); display: block; font-family: var(--serif); font-size: 32px; font-weight: 400; margin: 25px 0 8px; }
.tutor-availability-summary > div { border-top: 1px solid rgba(255,255,255,.14); font-size: 11px; margin-top: 25px; padding-top: 17px; }
.tutor-availability-summary i { background: var(--mint); border-radius: 50%; display: inline-block; height: 8px; margin-right: 8px; width: 8px; }
.tutor-cv-summary { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 17px; text-align: left; }
.tutor-cv-summary strong, .tutor-cv-summary small { display: block; }
.tutor-cv-summary strong { color: var(--purple-deep); font-family: var(--mono); font-size: 9px; }
.tutor-cv-summary small { font-size: 12px; margin-top: 8px; overflow-wrap: anywhere; }
.tutor-cv-summary p { font-size: 11px; line-height: 1.5; margin-top: 8px; }

@media (max-width: 1050px) {
  .dashboard-quick-grid, .dashboard-resource-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-subject-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .tutor-status-strip { grid-template-columns: 1fr; }
  .tutor-subject-options { grid-template-columns: 1fr; }
  .tutor-student-list > article { align-items: start; grid-template-columns: auto 1fr; }
  .tutor-student-list dl, .tutor-student-list article > button { grid-column: 1 / -1; }
  .tutor-day-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
  .member-app { display: block; }
  .member-sidebar { box-shadow: 12px 0 45px rgba(0,0,0,.2); transform: translateX(-105%); transition: transform .25s ease; }
  .member-sidebar.is-open { transform: translateX(0); }
  .member-workspace { width: 100%; }
  .member-mobile-menu { display: block; }
  .member-topbar > div:nth-child(2) { margin-right: auto; margin-left: 14px; }
  .dashboard-overview-grid, .dashboard-plan-layout, .dashboard-message-layout { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .member-topbar { padding: 0 18px; }
  .member-topbar-profile > span { display: none; }
  .member-page { padding: 30px 18px 55px; }
  .dashboard-welcome, .dashboard-page-heading { align-items: flex-start; flex-direction: column; }
  .dashboard-welcome h1, .dashboard-page-heading h1 { font-size: 51px; }
  .dashboard-stats { grid-template-columns: repeat(2, 1fr); }
  .dashboard-overview-grid, .dashboard-profile-layout { grid-template-columns: 1fr; }
  .dashboard-quick-grid, .dashboard-resource-grid, .dashboard-subject-grid, .dashboard-tutor-grid { grid-template-columns: 1fr; }
  .dashboard-lesson-row { align-items: flex-start; grid-template-columns: 42px 4px 1fr; }
  .dashboard-lesson-meta { align-items: flex-start; grid-column: 3; text-align: left; }
  .dashboard-plan-card { grid-template-columns: 105px 1fr; }
  .dashboard-filter-row { align-items: flex-start; flex-direction: column; gap: 7px; }
}

/* Member hub readability pass */
.member-app { font-size: 16px; grid-template-columns: 285px minmax(0, 1fr); }
.member-sidebar { padding-left: 22px; padding-right: 22px; width: 285px; }
.member-avatar { font-size: 12px; height: 42px; width: 42px; }
.member-profile-chip strong { font-size: 15px; }
.member-profile-chip small { font-size: 12px; letter-spacing: .04em; }
.member-dashboard-nav button, .member-sidebar-bottom button { font-size: 14px; gap: 13px; min-height: 46px; padding: 13px 14px; }
.member-dashboard-nav button > span, .member-sidebar-bottom button > span { font-size: 16px; width: 21px; }
.member-topbar { height: 82px; }
.member-topbar-kicker, .dashboard-eyebrow { font-size: 11px; }
.member-topbar > div > strong { font-size: 17px; }
.member-topbar-profile { font-size: 14px; }
.member-topbar-profile b { font-size: 10px; height: 40px; width: 40px; }
.member-notification { font-size: 10px; height: 40px; width: 40px; }
.member-page { padding-top: 50px; }
.member-app .button { font-size: 15px; min-height: 52px; }
.dashboard-welcome p, .dashboard-page-heading p { font-size: 16px; line-height: 1.65; }
.dashboard-stats article { min-height: 150px; padding: 24px; }
.dashboard-stats article > span { font-size: 11px; }
.dashboard-stats strong { font-size: 43px; }
.dashboard-stats small { font-size: 13px; line-height: 1.45; }
.dashboard-panel { padding: 30px; }
.dashboard-panel-heading h2 { font-size: 26px; }
.dashboard-panel-heading > button, .dashboard-text-action { font-size: 13px; }
.dashboard-lesson-row { min-height: 125px; padding: 17px 20px; }
.dashboard-lesson-date small { font-size: 11px; }
.dashboard-lesson-date strong { font-size: 30px; }
.dashboard-lesson-copy > small { font-size: 11px; }
.dashboard-lesson-copy > strong { font-size: 16px; }
.dashboard-lesson-copy p { font-size: 13px; line-height: 1.45; }
.dashboard-lesson-meta > strong { font-size: 15px; }
.dashboard-lesson-meta > small { font-size: 12px; }
.dashboard-empty h3 { font-size: 30px; }
.dashboard-empty p { font-size: 14px; line-height: 1.55; }
.dashboard-progress-ring small { font-size: 10px; }
.dashboard-plan-copy strong { font-size: 16px; }
.dashboard-plan-copy p { font-size: 13px; line-height: 1.55; }
.dashboard-quick-grid button { min-height: 158px; padding: 22px; }
.dashboard-quick-grid span { font-size: 11px; }
.dashboard-quick-grid strong { font-size: 16px; }
.dashboard-quick-grid small { font-size: 13px; line-height: 1.45; }
.dashboard-filter-row strong { font-size: 15px; }
.dashboard-filter-row span { font-size: 13px; }
.dashboard-milestones article > span { font-size: 11px; height: 36px; width: 36px; }
.dashboard-milestones strong { font-size: 15px; }
.dashboard-milestones p { font-size: 13px; line-height: 1.5; }
.dashboard-milestones small { font-size: 11px; }
.dashboard-plan-aside p { font-size: 14px; line-height: 1.7; }
.dashboard-plan-aside button { font-size: 14px; }
.dashboard-resource-grid article { min-height: 245px; padding: 23px; }
.dashboard-resource-grid article > span { font-size: 11px; }
.dashboard-resource-grid h3 { font-size: 17px; }
.dashboard-resource-grid p, .dashboard-resource-detail { font-size: 13px; line-height: 1.6; }
.dashboard-resource-grid button { font-size: 13px; }
.dashboard-subject-card > span { font-size: 11px; }
.dashboard-subject-card h2 { font-size: 33px; }
.dashboard-subject-card > p { font-size: 14px; line-height: 1.6; min-height: 68px; }
.dashboard-subject-card button { font-size: 13px; min-height: 36px; }
.dashboard-tutor-portrait > b { font-size: 10px; }
.dashboard-tutor-copy > span { font-size: 11px; }
.dashboard-tutor-copy h2 { font-size: 22px; }
.dashboard-tutor-copy p { font-size: 13px; line-height: 1.6; min-height: 66px; }
.dashboard-tutor-copy small { font-size: 12px; }
.dashboard-message-list article > span { font-size: 11px; }
.dashboard-message-list article strong { font-size: 14px; }
.dashboard-message-list article small { font-size: 12px; }
.dashboard-message-empty strong { font-size: 16px; }
.dashboard-message-empty p { font-size: 13px; }
.dashboard-support-form label > span, .dashboard-profile-form label > span { font-size: 12px; }
.dashboard-support-form select, .dashboard-support-form textarea, .dashboard-profile-form input, .dashboard-profile-form textarea, .dashboard-profile-form select { font-size: 15px; }
.dashboard-support-form > small { font-size: 12px; }
.dashboard-profile-card p { font-size: 13px; }
.dashboard-profile-card > span:last-child { font-size: 11px; }

@media (max-width: 900px) {
  .member-app { display: block; }
  .member-sidebar { width: 285px; }
}

@media (max-width: 680px) {
  .member-page { padding-top: 36px; }
  .dashboard-welcome p, .dashboard-page-heading p { font-size: 15px; }
  .dashboard-panel { padding: 22px; }
  .dashboard-stats article { min-height: 138px; padding: 19px; }
  .dashboard-stats small { font-size: 12px; }
}

/* Demo booking confirmation */
.demo-booking-note {
  background: var(--mint);
  border: 1px solid rgba(36, 39, 36, .12);
  display: grid;
  gap: 5px;
  padding: 15px 16px;
}

.demo-booking-note strong {
  font-size: 14px;
}

.demo-booking-note small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

/* Password reset flow */
.forgot-password-row {
  display: flex;
  justify-content: flex-end;
  margin-top: -8px;
}

.forgot-password-row .inline-button {
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.password-reset-panel {
  padding-top: 6px;
  text-align: center;
}

.password-reset-panel .success-mark {
  height: 58px;
  margin: 0 auto 20px;
  width: 58px;
}

.password-reset-panel h2 {
  margin-bottom: 14px;
}

.password-reset-panel > p:not(.auth-error) {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin: 0 auto 22px;
  max-width: 330px;
}

.password-reset-panel form {
  text-align: left;
}

.password-reset-panel .auth-error {
  font-size: 12px;
  margin: 16px 0 0;
  min-height: 18px;
}

.password-reset-panel .auth-error.is-success {
  color: #32654b;
}

.password-reset-preview-link {
  margin-top: 12px;
}

.auth-modal.is-password-reset-mode {
  padding: 72px 45px 46px;
  width: min(100%, 520px);
}

.auth-modal.is-password-reset-mode > .modal-kicker,
.auth-modal.is-password-reset-mode > #auth-title,
.auth-modal.is-password-reset-mode > .modal-subtitle,
.auth-modal.is-password-reset-mode > .auth-view-tabs,
.auth-modal.is-password-reset-mode > .auth-role-tabs,
.auth-modal.is-password-reset-mode > .form-footnote {
  display: none !important;
}

.password-reset-update-panel {
  padding: 0;
  text-align: left;
}

.password-reset-update-panel h2 {
  font-size: 52px;
  margin: 0 0 32px;
}

.password-reset-update-panel label > span {
  font-size: 13px;
}

.password-reset-update-panel input {
  font-size: 17px;
  height: 54px;
}

.password-reset-update-panel .button {
  font-size: 15px;
  min-height: 54px;
}

#auth-form button:disabled,
.password-reset-panel button:disabled {
  cursor: wait;
  opacity: .65;
  transform: none;
}

@media (max-width: 520px) {
  .auth-modal.is-password-reset-mode { padding: 68px 22px 34px; }
  .password-reset-update-panel h2 { font-size: 43px; }
}

/* Student profiles and reviewed tutor applications */
.auth-modal.is-signup-mode {
  padding: 45px 48px 38px;
  width: min(100%, 720px);
}

.auth-modal.is-tutor-onboarding { width: min(100%, 780px); }
.auth-modal.is-signup-mode > h2 { font-size: clamp(44px, 5vw, 64px); }
.auth-modal.is-signup-mode > .modal-subtitle { font-size: 15px; line-height: 1.55; max-width: 610px; }
.auth-modal.is-signup-mode .auth-role-tabs { margin-top: 30px; }
.auth-modal.is-signup-mode .auth-role-tabs .auth-tab { font-size: 14px; font-weight: 700; }
.auth-modal.is-signup-mode #auth-form { gap: 20px; }
.auth-modal.is-signup-mode .modal-close { height: 40px; right: 22px; top: 22px; width: 40px; }
.auth-modal.is-signup-mode label > span { font-size: 13px; line-height: 1.35; margin-bottom: 8px; }
.auth-modal.is-signup-mode label > span small { color: var(--muted); font-size: 11px; font-weight: 500; }
.auth-modal.is-signup-mode input:not([type="checkbox"]):not([type="file"]),
.auth-modal.is-signup-mode select {
  font-size: 15px;
  height: 52px;
  padding-left: 15px;
}
.auth-modal.is-signup-mode textarea {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1px;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  line-height: 1.55;
  min-height: 116px;
  outline: none;
  padding: 13px 15px;
  resize: vertical;
  width: 100%;
}
.auth-modal.is-signup-mode textarea:focus { border-color: var(--purple-deep); box-shadow: 0 0 0 2px rgba(141,114,210,.15); }
.auth-modal.is-signup-mode .checkbox-label > span { font-size: 12px !important; line-height: 1.55; }
.auth-modal.is-signup-mode .checkbox-label input { flex: 0 0 17px; height: 17px; width: 17px; }
.auth-modal.is-signup-mode .button-full { font-size: 15px; min-height: 56px; }
.onboarding-fields { border-top: 1px solid var(--line); display: grid; gap: 20px; padding-top: 24px; }
.onboarding-section-heading { align-items: flex-start; display: flex; gap: 22px; justify-content: space-between; }
.onboarding-section-heading > span { color: var(--purple-deep); flex: 0 0 auto; font-family: var(--mono); font-size: 10px; letter-spacing: .13em; }
.onboarding-section-heading > p { color: var(--muted); font-size: 13px; line-height: 1.5; margin: -3px 0 0; max-width: 390px; text-align: right; }
.onboarding-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field-counter { color: var(--muted); display: block; font-size: 11px; margin-top: 7px; text-align: right; }
.field-counter.is-ready { color: #32654b; }
.cv-upload-field { cursor: pointer; position: relative; }
.cv-upload-field > input[type="file"] { height: 1px; opacity: 0; overflow: hidden; position: absolute; width: 1px; }
.cv-upload-box { align-items: center; background: color-mix(in srgb, var(--purple) 28%, var(--white)); border: 1.5px dashed var(--purple-deep); display: grid !important; gap: 5px; grid-template-columns: 1fr auto; margin: 0 !important; min-height: 88px; padding: 17px 18px; transition: background .2s ease, border-color .2s ease; }
.cv-upload-field:hover .cv-upload-box, .cv-upload-field:focus-within .cv-upload-box { background: color-mix(in srgb, var(--purple) 42%, var(--white)); border-style: solid; }
.cv-upload-box b { font-size: 15px; grid-column: 1; }
.cv-upload-box small { color: var(--muted); font-size: 12px; font-weight: 500; grid-column: 1; overflow-wrap: anywhere; }
.cv-upload-box small.is-error { color: #9e4f42; }
.cv-upload-box i { font-size: 14px; font-style: normal; font-weight: 700; grid-column: 2; grid-row: 1 / span 2; }
.signup-honeypot { left: -10000px; position: absolute; }

.moderator-applications { margin-top: 18px; }
.moderator-application-list { display: grid; gap: 12px; }
.moderator-application-card { border: 1px solid var(--line); display: grid; gap: 18px; grid-template-columns: minmax(180px, .7fr) minmax(260px, 1.3fr) auto; padding: 18px; }
.moderator-application-card h3 { font-size: 21px; letter-spacing: -.04em; margin: 4px 0; }
.moderator-application-card p, .moderator-application-card small { color: var(--muted); font-size: 12px; line-height: 1.5; margin: 0; }
.moderator-application-card > div > span { color: var(--purple-deep); font-family: var(--mono); font-size: 9px; letter-spacing: .08em; }
.moderator-application-details { display: flex; flex-wrap: wrap; gap: 7px; }
.moderator-application-details span { background: var(--paper-deep); border: 1px solid var(--line); font-size: 11px; padding: 7px 9px; }
.moderator-cv-button { align-self: center; background: var(--ink); color: var(--white); font-size: 12px; font-weight: 700; min-height: 44px; padding: 0 15px; white-space: nowrap; }
.moderator-cv-button:disabled { cursor: wait; opacity: .6; }

@media (max-width: 760px) {
  .auth-modal.is-signup-mode, .auth-modal.is-tutor-onboarding { padding: 62px 22px 30px; width: min(100%, 720px); }
  .auth-modal.is-signup-mode > h2 { font-size: 45px; }
  .onboarding-grid { grid-template-columns: 1fr; }
  .onboarding-section-heading { display: grid; gap: 10px; }
  .onboarding-section-heading > p { text-align: left; }
  .moderator-application-card { grid-template-columns: 1fr; }
  .moderator-cv-button { width: 100%; }
  .site-header.menu-open #header-primary-action { display: inline-flex; }
}

/* Complete footer and legal interactions */
.footer-legal {
  align-items: center;
  display: inline-flex;
  gap: 6px;
}

.footer-legal button {
  background: none;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  padding: 0;
}

.footer-legal button:hover { color: var(--white); }

.legal-inline {
  background: none;
  color: var(--ink);
  display: inline;
  font-size: inherit;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-modal {
  padding: 48px 45px 38px;
  width: min(100%, 600px);
}

.legal-modal h2 { margin-bottom: 28px; }
.legal-copy { display: grid; gap: 20px; margin-bottom: 30px; }
.legal-copy section { border-top: 1px solid var(--line); padding-top: 16px; }
.legal-copy h3 { font-size: 15px; margin: 0 0 7px; }
.legal-copy p { color: var(--muted); font-size: 13px; line-height: 1.65; margin: 0; }

@media (max-width: 520px) {
  .legal-modal { padding: 46px 22px 28px; }
}

/* Goal-first tutor discovery */
.hero-match-wrap { align-items: center; display: flex; min-height: 560px; position: relative; }
.match-card { background: var(--white); border: 1px solid var(--line); box-shadow: 0 28px 72px rgba(58,49,71,.13); display: grid; gap: 17px; padding: 38px; position: relative; width: 100%; }
.match-card::before { background: var(--purple); content: ""; height: 6px; left: -1px; position: absolute; right: -1px; top: -1px; }
.match-card-top { align-items: center; display: flex; justify-content: space-between; }
.match-step, .match-verified { font-family: var(--mono); font-size: 9px; letter-spacing: .11em; }
.match-step { color: var(--purple-deep); }
.match-verified { color: #47765b; }
.match-card h2 { font-size: clamp(38px, 4vw, 57px); font-weight: 500; letter-spacing: -.07em; line-height: .94; margin: 7px 0 0; max-width: 560px; }
.match-card h2 em { color: var(--purple-deep); font-family: var(--serif); font-weight: 400; }
.match-card > p { color: var(--muted); font-size: 13px; line-height: 1.55; margin: -4px 0 3px; max-width: 490px; }
.match-card label > span { color: var(--ink); display: block; font-size: 11px; font-weight: 600; margin-bottom: 8px; }
.match-card select { appearance: none; background: var(--paper) linear-gradient(45deg, transparent 50%, var(--ink) 50%) calc(100% - 18px) 22px/5px 5px no-repeat; border: 1px solid var(--line); color: var(--ink); font: 500 13px var(--sans); height: 50px; outline: none; padding: 0 40px 0 14px; width: 100%; }
.match-card select:focus { border-color: var(--purple-deep); box-shadow: 0 0 0 3px rgba(141,114,210,.13); }
.match-secondary-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.match-secondary-grid label { min-width: 0; }
.match-field-help { color: var(--purple-deep); display: block; font-family: var(--mono); font-size: 8px; letter-spacing: .04em; margin-top: 7px; }
.match-card .button { margin-top: 3px; }
.match-note { color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: .03em; text-align: center; }
.match-result { background: var(--ink); bottom: 17px; color: var(--white); display: grid; gap: 4px; padding: 17px 18px; position: absolute; right: -24px; transform: translateY(100%); width: min(310px, 90%); z-index: 4; }
.match-result[hidden] { display: none; }
.match-result > span { color: var(--mint); font-family: var(--mono); font-size: 8px; letter-spacing: .12em; }
.match-result strong { font-size: 15px; }
.match-result small { color: #aeb6ae; font-size: 10px; }
.match-result button { background: none; color: var(--mint); font-size: 10px; margin-top: 4px; padding: 0; text-align: left; }
.hero-proof { margin-top: 48px; max-width: 420px; }
.hero-proof-mark { align-items: center; background: var(--mint); border-radius: 50%; color: #315842; display: inline-flex; flex: 0 0 auto; font-weight: 700; height: 29px; justify-content: center; width: 29px; }

/* First lesson experience */
.how-section { background: var(--ink); color: var(--white); padding-bottom: 112px; padding-top: 112px; scroll-margin-top: 75px; }
.how-heading { align-items: flex-end; }
.how-heading .eyebrow { color: var(--mint); }
.how-heading h2 { color: var(--white); }
.how-heading h2 em { color: var(--mint); }
.how-heading > p { color: #abb2aa; font-size: 14px; line-height: 1.65; margin: 0; max-width: 390px; }
.how-grid { display: grid; gap: 1px; grid-template-columns: repeat(3, 1fr); margin-top: 60px; }
.how-grid article { background: #292d29; border: 1px solid #3b413b; min-height: 310px; padding: 27px; position: relative; }
.how-grid article > span { color: #849087; font-family: var(--mono); font-size: 9px; }
.how-icon { align-items: center; background: var(--mint); border-radius: 50%; color: var(--ink); display: flex; font-size: 22px; height: 55px; justify-content: center; margin: 52px 0 25px; width: 55px; }
.how-grid article:nth-child(2) .how-icon { background: var(--purple); }
.how-grid article:nth-child(3) .how-icon { background: var(--orange); }
.how-grid h3 { font-size: 22px; letter-spacing: -.04em; margin: 0 0 11px; }
.how-grid p { color: #9ca49c; font-size: 12px; line-height: 1.6; margin: 0; max-width: 320px; }
.first-lesson-strip { align-items: center; border-bottom: 1px solid #464b46; border-top: 1px solid #464b46; color: #c3cac3; display: flex; font-size: 11px; gap: 20px; margin-top: 42px; overflow-x: auto; padding: 18px 0; white-space: nowrap; }
.first-lesson-strip strong { color: var(--mint); font-family: var(--mono); font-size: 8px; letter-spacing: .12em; margin-right: auto; }
.first-lesson-strip i { color: var(--purple); font-style: normal; }

/* Rich tutor marketplace */
.tutors-heading > p { color: var(--muted); font-size: 14px; line-height: 1.65; margin: 0 0 5px; max-width: 350px; }
.tutor-market-toolbar { border-bottom: 1px solid var(--line); display: flex; gap: 8px; margin-top: 50px; overflow-x: auto; padding-bottom: 17px; }
.tutor-market-toolbar button { background: transparent; border: 1px solid var(--line); border-radius: 24px; color: var(--muted); font-family: var(--mono); font-size: 9px; padding: 10px 14px; white-space: nowrap; }
.tutor-market-toolbar button:hover, .tutor-market-toolbar button.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.tutor-market-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 24px; }
.tutor-market-card { background: var(--white); border: 1px solid var(--line); padding: 10px; transition: box-shadow .25s ease, transform .25s ease; }
.tutor-market-card:hover, .tutor-market-card.is-match { box-shadow: 0 22px 50px rgba(49,43,57,.13); transform: translateY(-5px); }
.tutor-market-card.is-match { outline: 2px solid var(--purple-deep); outline-offset: 3px; }
.tutor-market-card .tutor-photo { height: 230px; }
.tutor-availability { align-items: center; background: rgba(34,37,34,.82); color: #d6dcd6; display: flex; font-family: var(--mono); font-size: 7px; gap: 6px; left: 10px; letter-spacing: .08em; padding: 7px 9px; position: absolute; top: 10px; z-index: 3; }
.tutor-availability i { background: #929892; border-radius: 50%; height: 6px; width: 6px; }
.tutor-availability.is-available { color: var(--mint); }
.tutor-availability.is-available i { background: #82d09b; box-shadow: 0 0 0 3px rgba(130,208,155,.14); }
.tutor-market-copy { padding: 20px 10px 8px; }
.tutor-market-head { align-items: flex-start; display: flex; gap: 12px; justify-content: space-between; }
.tutor-specialty { color: var(--purple-deep); font-family: var(--mono); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.tutor-market-head h3 { font-size: 19px; letter-spacing: -.04em; margin: 5px 0 0; }
.tutor-market-head .tutor-rating { text-align: right; white-space: nowrap; }
.tutor-market-head .tutor-rating small { display: block; margin-top: 4px; }
.tutor-market-copy > p { color: var(--muted); font-size: 12px; line-height: 1.55; margin: 16px 0; min-height: 57px; }
.tutor-credentials { display: grid; gap: 8px; }
.tutor-credentials span { color: #596159; font-size: 10px; }
.tutor-credentials span:first-child { color: #397052; }
.tutor-market-card .tutor-tags { flex-wrap: wrap; padding: 18px 0 15px; }
.tutor-market-card .tutor-tags span { font-size: 8px; }
.tutor-next { align-items: center; border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: flex; gap: 10px; justify-content: space-between; min-height: 51px; }
.tutor-next > span { color: var(--ink); font-size: 9px; font-weight: 600; }
.tutor-next button { background: none; color: var(--purple-deep); font-size: 9px; padding: 0; white-space: nowrap; }
.tutor-market-actions { display: flex; gap: 8px; padding-top: 14px; }
.tutor-market-actions .button { flex: 1; font-size: 10px; justify-content: center; min-height: 43px; padding: 0 12px; }

/* Tutor profile */
.tutor-profile-modal { display: grid; grid-template-columns: .8fr 1.2fr; width: min(100%, 900px); }
.tutor-profile-portrait { align-items: center; background: #8c99a8; display: flex; justify-content: center; min-height: 650px; overflow: hidden; position: relative; }
.tutor-profile-portrait::before, .tutor-profile-portrait::after { border-radius: 50%; content: ""; position: absolute; }
.tutor-profile-portrait::before { background: #303d4b; height: 390px; top: -72px; width: 390px; }
.tutor-profile-portrait::after { background: #b47e66; bottom: -85px; height: 380px; width: 245px; }
.tutor-profile-portrait.profile-adam { background: #d8b8a5; }
.tutor-profile-portrait.profile-adam::before { background: #3f3b3c; }
.tutor-profile-portrait.profile-adam::after { background: #9a624a; }
.tutor-profile-portrait.profile-saif { background: #829a95; }
.tutor-profile-portrait.profile-saif::before { background: #171d20; }
.tutor-profile-portrait.profile-saif::after { background: #a56e5c; }
.tutor-profile-portrait > span { color: rgba(255,255,255,.3); font-family: var(--mono); font-size: 83px; position: relative; z-index: 2; }
.tutor-profile-portrait > b { background: var(--white); bottom: 20px; font-family: var(--mono); font-size: 8px; left: 20px; letter-spacing: .08em; padding: 9px 11px; position: absolute; z-index: 3; }
.tutor-profile-content { padding: 52px 44px 38px; }
.tutor-profile-content h2 { font-size: 50px; }
.tutor-profile-intro { color: var(--muted); font-size: 13px; line-height: 1.6; }
.tutor-profile-facts { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: grid; gap: 1px; grid-template-columns: repeat(3, 1fr); margin: 25px 0; padding: 17px 0; }
.tutor-profile-facts span { display: grid; gap: 4px; padding-right: 10px; }
.tutor-profile-facts strong { font-size: 10px; }
.tutor-profile-facts small { color: var(--muted); font-size: 8px; }
.tutor-profile-content section { border-bottom: 1px solid var(--line); padding: 4px 0 19px; }
.tutor-profile-content section > span { color: var(--purple-deep); font-family: var(--mono); font-size: 8px; letter-spacing: .11em; }
.tutor-profile-content section p, .tutor-profile-content section li { color: var(--muted); font-size: 11px; line-height: 1.55; }
.tutor-profile-content section ul { margin: 12px 0 0; padding-left: 18px; }
.tutor-profile-actions { display: flex; gap: 10px; margin-top: 24px; }
.tutor-profile-actions .button { flex: 1; font-size: 10px; justify-content: center; }

/* Member retention loop */
.dashboard-learning-loop { margin-top: 18px; }
.dashboard-learning-loop .dashboard-panel-heading > strong { color: var(--purple-deep); font-family: var(--mono); font-size: 11px; }
.dashboard-loop-tasks { display: grid; gap: 8px; grid-template-columns: repeat(3, 1fr); }
.dashboard-loop-tasks > button { align-items: flex-start; background: var(--paper); border: 1px solid var(--line); color: var(--ink); display: flex; gap: 12px; min-height: 126px; padding: 17px; text-align: left; }
.dashboard-loop-tasks > button:hover { border-color: var(--purple-deep); transform: translateY(-2px); }
.dashboard-loop-tasks > button > span { align-items: center; border: 1px solid #aeb2aa; border-radius: 50%; display: flex; flex: 0 0 auto; height: 22px; justify-content: center; width: 22px; }
.dashboard-loop-tasks > button strong, .dashboard-loop-tasks > button small { display: block; }
.dashboard-loop-tasks > button strong { font-size: 13px; line-height: 1.35; }
.dashboard-loop-tasks > button small { color: var(--muted); font-size: 10px; line-height: 1.45; margin-top: 7px; }
.dashboard-loop-tasks > button.is-complete { background: #edf6ef; border-color: #b8d9c3; }
.dashboard-loop-tasks > button.is-complete > span { background: #47765b; border-color: #47765b; color: var(--white); }
.dashboard-loop-tasks > button.is-complete strong { text-decoration: line-through; text-decoration-color: #7a8d7e; }
.dashboard-loop-footer { align-items: center; border-top: 1px solid var(--line); color: var(--muted); display: flex; font-size: 10px; justify-content: space-between; margin-top: 18px; padding-top: 16px; }
.dashboard-loop-footer button { background: none; color: var(--purple-deep); font-size: 10px; padding: 0; }
.dashboard-tutor-next { color: var(--purple-deep) !important; font-family: var(--mono); font-size: 9px !important; min-height: auto !important; }

@media (max-width: 1050px) {
  .hero { gap: 4vw; grid-template-columns: .84fr 1.16fr; }
  .match-card { padding: 31px; }
  .tutor-market-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .site-header.menu-open { padding-bottom: 175px; }
  .site-header.menu-open .header-actions { top: 220px; }
  .hero-match-wrap { margin-top: 48px; min-height: 0; }
  .match-card { padding: 31px 22px; }
  .match-secondary-grid { grid-template-columns: 1fr; }
  .match-result { position: static; transform: none; width: 100%; }
  .how-section { padding-bottom: 80px; padding-top: 80px; }
  .how-heading > p, .tutors-heading > p { margin-top: 28px; }
  .how-grid { grid-template-columns: 1fr; margin-top: 40px; }
  .how-grid article { min-height: 260px; }
  .how-icon { margin-top: 35px; }
  .first-lesson-strip strong { margin-right: 12px; }
  .tutor-market-grid { grid-template-columns: 1fr; }
  .tutor-market-grid .tutor-card { display: block; }
  .tutor-market-card .tutor-photo { height: 310px; }
  .tutor-profile-modal { display: block; }
  .tutor-profile-portrait { min-height: 280px; }
  .tutor-profile-portrait::before { height: 260px; top: -95px; width: 260px; }
  .tutor-profile-portrait::after { bottom: -150px; height: 310px; width: 190px; }
  .tutor-profile-portrait > span { font-size: 62px; }
  .tutor-profile-content { padding: 38px 24px 28px; }
  .tutor-profile-content h2 { font-size: 43px; }
  .tutor-profile-actions { flex-direction: column; }
  .dashboard-loop-tasks { grid-template-columns: 1fr; }
  .dashboard-loop-tasks > button { min-height: 0; }
  .dashboard-loop-footer { align-items: flex-start; flex-direction: column; gap: 12px; }
}

@media (max-width: 430px) {
  .match-card-top { align-items: flex-start; flex-direction: column; gap: 7px; }
  .match-card h2 { font-size: 40px; }
  .tutor-market-card .tutor-photo { height: 260px; }
  .tutor-profile-facts { grid-template-columns: 1fr; }
  .tutor-profile-facts span { border-bottom: 1px solid var(--line); padding: 9px 0; }
}
