/* Study Buddy public site */
:root {
  --lime: #CEDC29; --red: #EE3524; --teal: #46C3D3; --orange: #FAA734; --yellow: #FDB94A; --purple: #C86DE0;
  --ink: #111; --text: #333; --muted: #666; --line: #eee; --soft: #f4f4f4;
  --head: 'Roboto', system-ui, sans-serif; --body: 'Lato', system-ui, sans-serif; --accent: 'Work Sans', system-ui, sans-serif;
  --radius: 10px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.7 var(--body); color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(32px, 3.4vw, 54px); } h2 { font-size: clamp(30px, 3.4vw, 56px); line-height: 1.12; } h3 { font-size: 26px; } h4 { font-size: 20px; }
p { margin: 0 0 1em; }
/* Divi-style fluid rows: 80% of the window, like the original site */
.wrap { width: 80%; max-width: 1600px; margin: 0 auto; }
.wide { width: 94%; max-width: none; }
.narrow { max-width: 760px; }
.pad { padding-top: 60px; padding-bottom: 60px; }
.center { text-align: center; }
.sr, .skip { position: absolute; left: -9999px; }
.skip:focus { left: 10px; top: 10px; background: #000; color: #fff; padding: 8px 12px; z-index: 99; }
.bg-teal { background: var(--teal); } .bg-lime { background: var(--lime); } .bg-red { background: var(--red); } .bg-orange { background: var(--orange); }
.eyebrow { font: 700 14px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; display: block; }
.eyebrow.teal { color: var(--teal); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 999px; padding: 18px 24px; font: 700 14px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; cursor: pointer; color: #fff; transition: transform .15s, filter .15s; }
.btn:hover { filter: brightness(.95); transform: translateY(-1px); }
.btn-lime { background: var(--lime); color: #2b2b2b; } .btn-teal { background: var(--teal); } .btn-orange { background: var(--orange); } .btn-yellow { background: var(--yellow); }
.btn-red { background: var(--red); } .btn-black { background: #000; } .btn-outline { background: #fff; color: var(--ink); border: 1.5px solid #ddd; }
.btn-block { width: 100%; } .btn-lg { padding: 15px 30px; font-size: 13px; }

/* top bar + header */
.topbar { color: #fff; font-size: 17px; font-weight: 700; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; min-height: 62px; gap: 16px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; margin-right: 60px; }
.topbar-links a { margin: 0 0 0 18px; }
.header { background: #fff; position: relative; z-index: 40; }
.header-in { display: flex; align-items: center; gap: 30px; min-height: 126px; }
.logo img { width: 60px; height: auto; }
.logo img { display: block; }
.nav { display: flex; align-items: center; flex: 1; justify-content: space-between; }
.nav > ul { list-style: none; display: flex; gap: 14px; margin: 0; padding: 0; }
.nav li { position: relative; }
.nav > ul > li > a { display: flex; align-items: center; gap: 2px; padding: 10px 6px; font-size: 17px; text-decoration: none; color: #222; white-space: nowrap; }
.nav > ul > li > a:hover { color: var(--teal); }
.caret .ico { opacity: .6; }
.sub { display: none; position: absolute; top: 100%; left: 0; min-width: 230px; background: #fff; list-style: none; margin: 0; padding: 10px 0; border-top: 3px solid var(--teal); box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.sub a { display: block; padding: 8px 20px; font-size: 16px; text-decoration: none; color: #444; }
.sub a:hover { background: var(--soft); color: var(--teal); }
.has-sub:hover > .sub, .has-sub:focus-within > .sub { display: block; }
.nav-cta { padding: 24px 42px; font-size: 14.5px; }
.navtoggle, .navbtn { display: none; }

/* values strip */
.values { display: grid; grid-template-columns: repeat(6, 1fr); }
.value { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 83px; padding: 10px 12px; color: #fff; font: 700 15px/1.45 var(--body); letter-spacing: .03em; text-transform: uppercase; }
.value.bg-lime { color: #8a7fb3; }

/* flashes */
.flashes { padding-top: 16px; }
.flash { padding: 12px 16px; border-radius: 8px; margin-bottom: 10px; font-weight: 700; }
.flash-success { background: #ecf8d4; color: #4b5a00; } .flash-error { background: #fde6e3; color: #9b1c10; } .flash-info { background: #e3f6f8; color: #0f6b77; }

/* hero */
.hero { padding: 96px 0 60px; }
.hero-in { display: grid; grid-template-columns: 31fr 66fr; gap: 3%; align-items: center; }
.hero-img { display: block; width: 100%; }
.hero h1 { font-size: clamp(34px, 3.4vw, 54px); line-height: 1.04; margin-bottom: 36px; }
.hero .btn { padding: 20px 24px; }
.hero-art { position: relative; height: 420px; }
.hero-art .block-lime { position: absolute; left: 0; top: 0; width: 46%; height: 100%; background: var(--lime); border-radius: 6px; }
.hero-art .block-teal { position: absolute; left: 50%; top: 9%; width: 24%; height: 58%; background: var(--teal); clip-path: polygon(0 0, 60% 0, 100% 50%, 60% 100%, 0 100%); }
.hero-art .girl { position: absolute; left: 10%; bottom: -1px; width: 62%; }
.hero-art .boy { position: absolute; right: 0; top: 10%; width: 36%; }

/* subject carousel */
.section { padding: 80px 0; }
.carousel { position: relative; }
.track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 6 * 3%) / 7); gap: 3%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 10px; }
.track::-webkit-scrollbar { display: none; }
.track > * { scroll-snap-align: start; }
.subject { text-align: center; text-decoration: none; color: #222; font-size: 16px; }
.subject img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; transition: transform .2s; }
.subject:hover img { transform: translateY(-3px); }
.subject span { display: block; margin-top: 10px; line-height: 1.35; }
.car-btn { position: absolute; top: 38%; width: 36px; height: 36px; border-radius: 50%; border: 1px solid #ccc; background: #fff; display: grid; place-items: center; cursor: pointer; color: #888; }
.car-btn.prev { left: -56px; } .car-btn.next { right: -56px; }

/* about blurb */
.lead-orange { font: 500 clamp(19px, 1.7vw, 26px)/1.6 var(--accent); color: var(--orange); max-width: 1180px; margin: 0 auto 40px; text-align: center; }
.small-center { max-width: 1180px; margin: 0 auto 34px; text-align: center; font-size: 17px; color: #333; }

/* bundles */
.bundles-section { padding: 40px 0; }
.bundles { background: var(--teal); border-radius: 10px; width: 96%; margin: 0 auto; padding: 70px 0 95px; position: relative; overflow: hidden; }
.bundles > * { position: relative; }
.bundles h2 { text-align: center; }
.bundles h2 { font-size: clamp(30px, 3vw, 48px); margin-bottom: 26px; }
.bundles .intro { max-width: 600px; margin: 0 auto 70px; text-align: center; font-size: 17px; color: #111; }
.bundles .bundle-cards { width: 80%; margin: 0 auto; }
.bundle-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 3%; }
.bundle-card { border-radius: 8px; padding: 40px 40px 38px; background: #fff; font-size: 17px; }
.bundle-card.lime { background: var(--lime); color: #fff; } .bundle-card.lime h3 { color: #fff; }
.bundle-card h3 { font-size: 26px; margin-bottom: 18px; } .bundle-card .offer { font: 700 20px/1.4 var(--head); color: #111; margin: 18px 0 26px; } .bundle-card.lime .offer { color: #fff; }
.squiggle { position: absolute !important; width: clamp(110px, 13vw, 230px); opacity: .95; }

/* teachers */
.teachers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3%; row-gap: 40px; align-items: start; }
.teacher { background: #fff; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.08); padding: 20px 30px 30px; font-size: 17px; color: #444; }
.teacher .circle { width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin: 0 0 30px; }
.teacher .circle img { width: 100%; height: 100%; object-fit: cover; display: block; }
.teacher h4 { font-size: 21px; margin-bottom: 14px; }
.teacher .more { font: 700 15px/1 var(--body); letter-spacing: .05em; text-transform: uppercase; text-decoration: none; }
.teacher-aside h3 { font: 500 clamp(24px, 2vw, 30px)/1.1 var(--accent); color: var(--orange); margin-bottom: 40px; }
.teacher-aside { font-size: 17px; padding: 0 4%; align-self: center; }

/* how to */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3%; align-items: center; }
.acc { margin: 36px 0 20px; }
.acc details { background: #f4f4f4; border-radius: 16px; margin-bottom: 14px; }
.acc summary { list-style: none; cursor: pointer; padding: 26px 20px; font: 500 22px/1.3 var(--accent); color: #111; display: flex; justify-content: space-between; align-items: center; }
.acc summary::after { content: '+'; color: #555; } .acc details[open] summary::after { content: ''; }
.acc summary::-webkit-details-marker { display: none; }
.acc .acc-body { padding: 0 20px 20px; font-size: 17px; color: #444; }
.panel-art { border-radius: 12px; aspect-ratio: 472 / 528; position: relative; overflow: hidden; }
.panel-art img { position: absolute; left: 21%; top: 9%; width: 120%; max-width: none; transition: opacity .35s; }
.panel-art img.off { opacity: 0; }
.panel-art img.contain { left: 8%; top: 50%; width: 84%; transform: translateY(-50%); }


/* features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3%; row-gap: 32px; }
.feature { background: #f4f4f4; border-radius: 16px; padding: 50px 12%; text-align: center; font-size: 17px; color: #444; }
.feature .ico { color: #111; margin-bottom: 18px; }
.feature h4 { font: 500 20px/1.3 var(--accent); margin-bottom: 18px; }
.feature.big { background: var(--teal); color: #222; grid-row: span 2; display: flex; flex-direction: column; padding: 60px 0 0; overflow: hidden; }
.feature.big p { padding: 0 12%; }
.feature.big img { display: block; width: 82%; margin: 20px 0 0 auto; }
.feature.big h3 { font: 500 clamp(28px, 2.4vw, 40px)/1.2 var(--accent); color: #111; margin-bottom: 30px; padding: 0 10%; }

/* testimonials */
.quotes { grid-auto-columns: calc((100% - 2 * 3%) / 3); gap: 3%; }
.quote { background: #fff; border-radius: 8px; box-shadow: 0 30px 70px rgba(0,0,0,.09); padding: 34px 34px 40px; font-size: 16px; margin: 10px 0 50px; align-self: start; }
.quote:before { content: '\201C'; display: block; font: 700 40px/0.6 var(--head); color: #111; margin-bottom: 12px; }
.quote cite { display: block; font: 700 17px/1.3 var(--head); font-style: normal; color: #111; margin-top: 14px; }

/* CTA */
.cta { background: #f49b2f; border-radius: 4px; display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; overflow: hidden; }
.cta-text { padding: 60px 0 60px 6%; font-size: 16px; color: #111; align-self: center; } .cta-text h2 { font-size: clamp(28px, 2.6vw, 44px); margin-bottom: 26px; } .cta-art img { display: block; max-height: 420px; margin: 20px 4% 0 auto; }

/* footer */
.footer { padding: 80px 0 40px; font-size: 16px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1.1fr; gap: 30px; }
.wordmark { font: 700 clamp(34px, 3.2vw, 52px)/1.05 var(--head); color: var(--lime); margin-bottom: 30px; }
.footer h5 { font: 500 19px/1.3 var(--accent); color: #111; margin: 0 0 22px; }
.footer a { display: block; text-decoration: none; color: #333; margin-bottom: 12px; }
.subscribe input { width: 100%; border: 0; background: #eee; border-radius: 4px; padding: 11px 12px; margin-bottom: 10px; font: inherit; }
.join-card { color: #fff !important; border-radius: 6px; padding: 16px 20px; font: 500 20px/1.3 var(--accent); margin-bottom: 12px !important; }
.join-card { display: flex !important; gap: 14px; align-items: center; } .jc-ico { width: 30px; height: 30px; flex: none; }
.join-card small { display: block; font: 700 11px/1.4 var(--body); text-transform: uppercase; letter-spacing: .05em; }
.footer-bottom { padding-top: 36px; }
.tagline { font: 700 21px/1.4 var(--body); color: var(--orange); margin-bottom: 6px; }
.copy { font-size: 15px; color: #555; }


/* ---------- about page (matches the original Divi layout) */
.about-hero { padding: 90px 0 60px; }
.about-hero-in { display: grid; grid-template-columns: 1fr 1.25fr; gap: 3%; align-items: center; }
.about-hero h1 { font-size: clamp(32px, 3vw, 48px); margin-bottom: 70px; }
.about-hero p { font-size: 15.5px; color: #333; margin-bottom: 60px; }
.about-hero img { width: 100%; display: block; }
.lead-teal { font: 500 clamp(17px, 1.5vw, 23px)/1.5 var(--accent); letter-spacing: .02em; color: var(--teal); text-align: center; max-width: 1300px; margin: 0 auto 60px; }
.why-section { padding: 90px 0 30px; }
.why { position: relative; background: var(--teal); border-radius: 8px; width: 96%; margin: 0 auto; padding: 100px 0 70px; }
.why-art { position: absolute; left: 44%; top: -62px; width: clamp(260px, 33vw, 560px); }
.why .wrap { position: relative; }
.why-text { max-width: 420px; color: #fff; font-size: 15.5px; font-weight: 700; margin-bottom: 40px; }
.why-text h2 { color: #fff; font-size: clamp(30px, 3vw, 46px); margin-bottom: 30px; }
.why-cards { display: grid; grid-template-columns: 1fr 2.6fr; gap: 3%; }
.why-card { background: #fff; border-radius: 8px; padding: 36px 30px; font-size: 15px; color: #555; box-shadow: 0 20px 50px rgba(0,0,0,.08); }
.why-card h3 { font-size: 24px; margin-bottom: 26px; }
.why-card.results p { color: #333; margin-bottom: 26px; } .why-card.results b { color: var(--orange); font-weight: 400; }
.alumni-wrap { padding: 20px 0; }
.alumni { grid-auto-columns: 31%; gap: 2%; padding: 6px 2% 14px; }
.alumnus { border: 4px solid; padding: 24px 22px; font-size: 14px; color: #555; background: #fff; }
.alumnus h4 { font: 500 19px/1.3 var(--accent); margin: 0 0 12px; }
.alumni-wrap .car-btn.prev { left: 1%; } .alumni-wrap .car-btn.next { right: 1%; }
.team summary { color: var(--teal); }
.team-role { font: 700 13px/1.3 var(--head); color: #111; margin-bottom: 14px; }
.team-photo { background: #f4f4f4; border-radius: 16px; padding: 60px; font-weight: 700; font-size: 15px; color: #333; min-height: 420px; }
.cta-yellow { background: #fec144; align-items: end; }
.cta-photo { display: block; width: 100%; max-width: 640px; margin-left: auto; }


/* ---------- How it Works (Tutor LMS "what's new" style) */
.hiw { --hiw-line: #e9ecef; --hiw-soft: #f6f7f9; }
.hiw h2 { font-size: clamp(30px, 3.2vw, 50px); letter-spacing: -.01em; }
.hiw-hero { padding: 90px 0 40px; background: linear-gradient(180deg, #eaf8fa 0%, #fff 70%); }
.hiw-hero h1 { font-size: clamp(38px, 5vw, 76px); line-height: 1.04; letter-spacing: -.02em; margin: 22px 0 22px; }
.hiw-badge { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #cfeef2; background: #fff; border-radius: 999px; padding: 7px 16px; font: 700 13px/1 var(--body); color: #138796; }
.hiw-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px #f1f6c2; }
.hiw-sub { max-width: 760px; margin: 0 auto 30px; font-size: 18px; color: #555; }
.hiw-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.hiw-frame { background: #fff; border: 1px solid var(--hiw-line); border-radius: 16px; overflow: hidden; box-shadow: 0 40px 90px rgba(17, 60, 70, .14); }
.hiw-frame img { display: block; width: 100%; }
.hiw-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #f5f6f8; border-bottom: 1px solid var(--hiw-line); }
.hiw-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; } .hiw-bar i:nth-child(2) { background: #febc2e; } .hiw-bar i:nth-child(3) { background: #28c840; }
.hiw-bar span { margin: 0 auto; background: #fff; border: 1px solid var(--hiw-line); border-radius: 6px; padding: 3px 40px; font-size: 12px; color: #888; }
.hiw-sec { padding: 90px 0; }
.hiw-soft { background: var(--hiw-soft); }
.hiw-eyebrow { display: block; font: 700 12.5px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.hiw-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 6%; align-items: end; margin-bottom: 40px; }
.hiw-head h2 { margin: 0; } .hiw-head p { margin: 0; color: #555; font-size: 16.5px; }
.hiw-bento { display: grid; gap: 20px; margin-bottom: 20px; }
.b-1 { grid-template-columns: 1fr; } .b-2 { grid-template-columns: 1fr 1fr; } .b-3 { grid-template-columns: repeat(3, 1fr); } .b-4 { grid-template-columns: repeat(4, 1fr); } .b-2-1 { grid-template-columns: 2fr 1fr; }
.hiw-card { background: #fff; border: 1px solid var(--hiw-line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.hiw-soft .hiw-card { box-shadow: 0 1px 2px rgba(0,0,0,.03); }
.hiw-card-text { padding: 30px 32px 22px; }
.hiw-card h3 { font: 600 21px/1.3 var(--accent); margin-bottom: 8px; } .hiw-card p { color: #5b6170; font-size: 15.5px; margin: 0 0 10px; }
.hiw-shot { margin-top: auto; padding: 0 0 0 32px; }
.hiw-shot img { display: block; width: 100%; border: 1px solid var(--hiw-line); border-right: 0; border-bottom: 0; border-radius: 12px 0 0 0; box-shadow: 0 10px 40px rgba(0,0,0,.06); }
.hiw-shot.wide { padding: 0 32px; } .hiw-shot.wide img { border-right: 1px solid var(--hiw-line); border-radius: 12px 12px 0 0; }
.hiw-shot.tall { max-height: 520px; overflow: hidden; }
.hiw-card-teal { background: var(--teal); border-color: var(--teal); } .hiw-card-teal h3, .hiw-card-teal p { color: #fff; }
.hiw-card-lime { background: var(--lime); border-color: var(--lime); justify-content: center; } .hiw-card-lime h3, .hiw-card-lime p { color: #2b2f05; } .hiw-card-lime .ico { margin-bottom: 14px; }
.hiw-robot { display: block; width: 46%; max-width: 190px; margin: auto 0 0 auto; padding: 0 22px 22px 0; }
.hiw-badges { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin: 18px 0 20px; } .hiw-badges .badge { font-size: 12px; padding: 7px 10px; }
.hiw-mini { padding: 28px 28px 22px; } .hiw-mini .ico { color: var(--teal); margin-bottom: 14px; } .hiw-mini h4 { font: 600 18px/1.3 var(--accent); margin-bottom: 6px; }
.hiw-q { display: inline-grid; place-items: center; min-width: 46px; height: 34px; padding: 0 10px; border-radius: 8px; background: #eaf8fa; color: #138796; font: 700 13px/1 var(--head); margin-bottom: 14px; align-self: flex-start; }
.hiw-num { display: block; font: 700 34px/1 var(--head); margin-bottom: 14px; }
.hiw-dark { background: radial-gradient(1200px 500px at 50% 0, #18485a 0%, #0b1418 60%); color: #cfd8dc; padding: 110px 0 90px; }
.hiw-dark h2 { color: #fff; } .hiw-dark .hiw-sub { color: #b7c4c9; } .hiw-dark .hiw-eyebrow { color: var(--lime); }
.hiw-phones { display: flex; justify-content: center; align-items: flex-start; gap: 4%; margin: 30px 0 70px; }
.hiw-phone { margin: 0; width: 23%; max-width: 300px; border: 10px solid #1f2a30; border-radius: 40px; overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.hiw-phone.up { margin-top: -30px; } .hiw-phone img { display: block; width: 100%; }
.hiw-dark-cards .hiw-card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); padding: 28px; }
.hiw-dark-cards .hiw-card h4 { color: #fff; font: 600 18px/1.3 var(--accent); margin: 12px 0 6px; } .hiw-dark-cards .hiw-card p { color: #aab7bc; margin: 0; } .hiw-dark-cards .ico { color: var(--lime); }
.hiw-steps-sec { padding: 20px 0 60px; }
.hiw-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.hiw-step { position: relative; padding: 26px 24px; border-radius: 16px; background: var(--hiw-soft); }
.hiw-step b { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--teal); color: #fff; font: 700 16px/1 var(--head); margin-bottom: 16px; }
.hiw-step:nth-child(2) b { background: var(--lime); color: #333; } .hiw-step:nth-child(3) b { background: var(--orange); } .hiw-step:nth-child(4) b { background: var(--red); }
.hiw-step h4 { font: 600 18px/1.3 var(--accent); margin-bottom: 6px; } .hiw-step p { font-size: 15px; color: #5b6170; margin: 0; }
.hiw-final { padding: 110px 0 120px; }
.hiw-big { display: inline-block; font: 700 clamp(90px, 14vw, 200px)/1 var(--head); letter-spacing: -.04em; background: linear-gradient(90deg, var(--teal), var(--lime) 45%, var(--orange) 75%, var(--red)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 14px; }
.hiw-final .hiw-ctas { margin-bottom: 0; }
@media (max-width: 960px) {
  .hiw-head, .b-2, .b-2-1 { grid-template-columns: 1fr; } .b-3, .b-4, .hiw-steps { grid-template-columns: 1fr 1fr; }
  .hiw-phones { gap: 3%; } .hiw-phone { width: 31%; border-width: 6px; border-radius: 24px; }
}
@media (max-width: 600px) {
  .b-3, .b-4, .hiw-steps { grid-template-columns: 1fr; } .hiw-sec { padding: 60px 0; } .hiw-hero { padding-top: 60px; }
  .hiw-card-text { padding: 24px 22px 18px; } .hiw-shot { padding-left: 22px; } .hiw-shot.wide { padding: 0 16px; }
  .hiw-phone.up { margin-top: 0; width: 64%; } .hiw-phone:not(.up) { display: none; }
}

/* ---------- catalogue + course page (Tutor LMS layout, Study Buddy colours) */
.page-hero { background: var(--soft); padding: 46px 0; }
.page-hero p { max-width: 640px; color: #555; }
.catalogue { display: grid; grid-template-columns: 240px 1fr; gap: 34px; padding: 40px 20px 70px; }
.filters h4 { font-size: 14px; margin: 22px 0 10px; }
.filters label { display: flex; gap: 8px; align-items: center; font-size: 14px; margin-bottom: 6px; cursor: pointer; }
.filters input[type=search] { width: 100%; padding: 10px 12px; border: 1px solid #ddd; border-radius: 6px; font: inherit; }
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.course-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .2s; }
.course-card:hover { box-shadow: 0 12px 30px rgba(0,0,0,.08); }
.course-card .body { padding: 14px 16px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.course-card h3 { font-size: 16px; margin: 0; }
.course-card .meta { font-size: 12.5px; color: var(--muted); }
.course-card .foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding: 12px 16px; font-weight: 700; font-size: 14px; }
.cover { aspect-ratio: 16/9; overflow: hidden; background: #eee; position: relative; }
.cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover-gen { background: var(--cover); color: #fff; padding: 14px 16px; display: flex; flex-direction: column; justify-content: center; }
.cover-grade { font: 700 clamp(16px, 2.2vw, 26px)/1 var(--head); letter-spacing: -.01em; }
.cover-subject { font: 700 clamp(20px, 3vw, 36px)/1 var(--head); text-transform: lowercase; }
.cover-icon { position: absolute !important; right: 10px; bottom: 10px; width: 34% !important; height: auto !important; filter: brightness(0) invert(1); opacity: .9; }
.badge { display: inline-block; font: 700 10.5px/1 var(--body); letter-spacing: .04em; text-transform: uppercase; padding: 5px 8px; border-radius: 4px; }
.badge-official { background: #e6f7f9; color: #138796; } .badge-tutor { background: #fdf0dc; color: #a35d00; }
.badge-type { background: #f1f1f1; color: #555; }
.course-head { display: grid; grid-template-columns: 1fr 340px; gap: 40px; padding: 40px 20px 70px; }
.course-head .crumbs { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.course-head .crumbs a { color: var(--muted); }
.tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--line); margin: 26px 0 20px; }
.tabs a { padding: 10px 0; text-decoration: none; font-weight: 700; color: #777; }
.tabs a.on { color: var(--ink); box-shadow: inset 0 -2px 0 var(--teal); }
.checklist { list-style: none; padding: 0; columns: 2; } .checklist li { padding-left: 24px; position: relative; margin-bottom: 8px; break-inside: avoid; font-size: 14px; }
.checklist li:before { content: '✓'; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.curr details { border: 1px solid var(--line); border-radius: 8px; margin-bottom: 10px; }
.curr summary { cursor: pointer; padding: 14px 16px; font-weight: 700; display: flex; justify-content: space-between; gap: 10px; }
.curr ul { list-style: none; margin: 0; padding: 0 16px 10px; }
.curr li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.curr li .grow { flex: 1; } .curr .muted { color: var(--muted); font-size: 12.5px; }
.enrol-box { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; position: sticky; top: 110px; align-self: start; background: #fff; }
.enrol-box .inner { padding: 20px; }
.enrol-box .price { font: 700 26px/1 var(--head); color: var(--ink); margin-bottom: 14px; }
.enrol-box ul { list-style: none; padding: 0; margin: 18px 0 0; font-size: 14px; } .enrol-box li { display: flex; gap: 8px; align-items: center; padding: 5px 0; }
.instructor { display: flex; gap: 12px; align-items: center; border-top: 1px solid var(--line); padding: 16px 20px; font-size: 14px; }
.avatar { border-radius: 50%; object-fit: cover; flex: none; }
.avatar-initials { display: inline-grid; place-items: center; background: var(--teal); color: #fff; font-weight: 700; }
.video { position: relative; aspect-ratio: 16/9; background: #000; border-radius: 8px; overflow: hidden; }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* tutors list */
.tutor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }
.tutor-card { text-align: center; border: 1px solid var(--line); border-radius: 10px; padding: 26px 18px; text-decoration: none; color: inherit; background: #fff; }
.tutor-card img { width: 110px; height: 110px; margin-bottom: 12px; }
.tutor-card h4 { margin: 0 0 4px; } .tutor-card p { font-size: 13px; color: var(--muted); margin: 0; }

/* forms */
.form-card { max-width: 560px; margin: 50px auto 70px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 34px; box-shadow: 0 20px 50px rgba(0,0,0,.05); }
.form-card.wide { max-width: 860px; }
.form-card.full { max-width: none; margin: 0; padding: 50px 5%; } .form-card.full h2 { font-size: clamp(28px, 2.6vw, 42px); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 6px; color: #222; }
.field input, .field select, .field textarea { width: 100%; padding: 11px 12px; border: 1px solid #d9d9d9; border-radius: 6px; font: inherit; background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--teal); border-color: var(--teal); }
.field input[type=checkbox], .field input[type=radio] { width: auto; padding: 0; margin: 0; flex: none; accent-color: var(--teal); }
.field label.tick { display: flex; align-items: center; gap: 10px; font-weight: 400; margin: 0; padding: 6px 0; cursor: pointer; }
.field label.tick input { width: 18px; height: 18px; }
.doc-uploads { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.doc-up { border: 1px solid #e3e3e3; border-radius: 8px; padding: 12px 14px; background: #fafafa; }
.doc-up input[type=file] { padding: 6px; background: #fff; font-size: 13px; }
@media (max-width: 600px) { .doc-uploads { grid-template-columns: 1fr; } }
.field .hint { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.avatar-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 10px; max-height: 330px; overflow-y: auto; padding: 4px; border: 1px solid var(--line); border-radius: 8px; }
.avatar-option { position: relative; cursor: pointer; }
.avatar-option input { position: absolute; opacity: 0; }
.avatar-option img { width: 100%; height: auto; border-radius: 50%; border: 3px solid transparent; display: block; }
.avatar-option input:checked + img { border-color: #111; box-shadow: 0 0 0 3px var(--lime); }
.avatar-option input:focus-visible + img { outline: 2px solid var(--teal); }
.muted { color: var(--muted); }

@media (max-width: 1100px) { .car-btn.prev { left: -6px; } .car-btn.next { right: -6px; } }
@media (max-width: 960px) {
  .navbtn { display: block; margin-left: auto; cursor: pointer; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; padding: 10px 20px 20px; box-shadow: 0 10px 20px rgba(0,0,0,.08); }
  .navtoggle:checked ~ .nav { display: flex; }
  .nav > ul { flex-direction: column; }
  .sub { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 14px; }
  .hero-in, .split, .cta, .course-head, .catalogue, .about-hero-in, .why-cards { grid-template-columns: 1fr; }
  .why-art { position: static; display: block; width: 70%; margin: -120px auto 20px; } .why-section { padding-top: 120px; }
  .alumni { grid-auto-columns: 80%; }
  .hero-art { height: 320px; }
  .values { grid-template-columns: repeat(3, 1fr); }
  .track { grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; }
  .quotes { grid-auto-columns: 85%; }
  .teachers, .features { grid-template-columns: 1fr 1fr; }
  .bundles { padding: 40px 24px; } .bundle-cards, .footer-grid { grid-template-columns: 1fr 1fr; }
  .enrol-box { position: static; }
}
@media (max-width: 600px) {
  .wrap, .bundles .bundle-cards { width: 88%; }
  .squiggle { display: none; } .bundles .intro { padding: 0 6%; margin-bottom: 40px; }
  .header-in { min-height: 86px; } .topbar { font-size: 14px; } .topbar a { margin-right: 18px; }
  .value { min-height: 56px; font-size: 12px; } .hero { padding-top: 50px; } .section { padding: 54px 0; }
  .bundles { padding: 50px 0 60px; } .bundle-card { padding: 28px; } .cta-text { padding: 40px 7%; }
  .values { grid-template-columns: 1fr 1fr; }
  .track { grid-auto-columns: calc((100% - 2 * 14px) / 3); }
  .teachers, .features, .bundle-cards, .footer-grid, .row2 { grid-template-columns: 1fr; }
  .checklist { columns: 1; } .form-card { padding: 22px; margin: 24px 14px 50px; }
  .topbar-contact a:last-child { display: none; }
}
