/* =====================================================================
   KayScience — Tutors landing page CSS
   Exact static rebuild of KS_Tutors.pdf. Builds ONLY the tutor-specific
   sections; header, footer, tokens, buttons and section helpers come from
   ks-common.css. Namespaced under .ks-tutor / kt- to avoid collisions.
   ===================================================================== */

/* The hero is a full-bleed gradient that must sit UNDER the floating menu
   bar (same trick the homepage hero uses), so the <main> top padding is
   removed and the hero reserves the header space with its own padding. */
.ks-scope main:has(.kt-hero) { padding-top: 0; }

.ks-tutor { overflow-x: clip; }

/* =====================================================================
   1. HERO
   ===================================================================== */
.kt-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(90% 120% at 88% 40%, rgba(120, 214, 197, .55) 0%, rgba(120, 214, 197, 0) 55%),
    radial-gradient(70% 90% at 62% 30%, rgba(150, 200, 245, .35) 0%, rgba(150, 200, 245, 0) 60%),
    linear-gradient(103deg, #f8f7fe 0%, #ece9fb 24%, #e2ebf6 46%, #c7ebe1 74%, #a8e2d3 100%);
}
/* faint concentric ring motif on the right, as in the PDF */
.kt-hero::after {
  content: "";
  position: absolute;
  top: 50%; right: -6%;
  width: 760px; height: 760px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0) 58%, rgba(255,255,255,.28) 59%, rgba(255,255,255,0) 63%);
  pointer-events: none;
}
.kt-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 150px 24px 90px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 20px;
}
.kt-hero__content { max-width: 560px; }
.kt-hero h1 {
  font-weight: 700;
  font-size: clamp(38px, 4.6vw, 58px);
  line-height: 1.08;
  color: var(--ks-navy);
  margin: 0 0 22px;
  letter-spacing: -.01em;
}
.kt-hero h1 span { display: block; }
.kt-hero__sub {
  font-weight: 700;
  font-size: clamp(19px, 1.7vw, 24px);
  color: var(--ks-navy);
  margin: 0 0 18px;
}
.kt-hero__desc {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ks-navy-soft);
  margin: 0 0 30px;
  max-width: 500px;
}
.kt-hero .ks-btn { margin-bottom: 30px; }
.kt-hero__proof {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.kt-hero__proof span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 13px;
  font-weight: 600;
  color: var(--ks-navy-soft);
}
.kt-hero__proof img.ks-tick { width: 18px; height: 18px; flex: none; }

/* ---- Hero media (man + floating cards) ---- */
.kt-hero__media {
  position: relative;
  min-height: 560px;
  align-self: stretch;
}
.kt-hero__photo {
  position: absolute;
  bottom: -90px;
  left: 50%;
  transform: translateX(-46%);
  width: auto;
  height: 640px;
  max-width: none;
  z-index: 1;
}

/* Floating stat cards — shared shell */
.kt-fcard {
  position: absolute;
  z-index: 2;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(72, 72, 168, .16);
  padding: 14px 16px;
}
.kt-fcard__ico {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  flex: none;
}
.kt-fcard__ico svg { width: 20px; height: 20px; }

/* Homework Set (top-left of media) */
.kt-fcard--hw {
  top: 40px; left: -6px;
  display: flex; align-items: center; gap: 12px;
}
.kt-fcard--hw .kt-fcard__ico { background: #d8f3ec; color: #3bb59e; }
.kt-fcard__label { font-size: 13px; font-weight: 600; color: var(--ks-navy); line-height: 1.2; }
.kt-fcard__num { font-size: 22px; font-weight: 700; color: var(--ks-teal); line-height: 1.1; }
.kt-fcard__foot { font-size: 11px; color: var(--ks-muted); }

/* Topics Taught (top-right) */
.kt-fcard--topics { top: 6px; right: -18px; width: 250px; }
.kt-fcard--topics h4 { margin: 0 0 12px; font-size: 15px; font-weight: 700; color: var(--ks-navy); }
.kt-topic { margin-bottom: 12px; }
.kt-topic:last-child { margin-bottom: 0; }
.kt-topic__row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.kt-topic__ico { width: 22px; height: 22px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.kt-topic__ico svg { width: 13px; height: 13px; }
.kt-topic__name { font-size: 13px; color: var(--ks-navy-soft); font-weight: 500; }
.kt-topic__pct { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--ks-navy); }
.kt-topic__bar { height: 6px; border-radius: 4px; background: #eef0f6; overflow: hidden; }
.kt-topic__bar i { display: block; height: 100%; border-radius: 4px; }
.kt-topic--bio  .kt-topic__ico { background: #d8f3ec; color: #3bb59e; }
.kt-topic--bio  .kt-topic__bar i { background: #4cc0ab; }
.kt-topic--chem .kt-topic__ico { background: #e6e2f8; color: #8477d6; }
.kt-topic--chem .kt-topic__bar i { background: #8f86d6; }
.kt-topic--phys .kt-topic__ico { background: #dcebf9; color: #5b95d6; }
.kt-topic--phys .kt-topic__bar i { background: #7bb8e0; }

/* Active Students (bottom-left) */
.kt-fcard--active {
  bottom: 74px; left: -30px;
  display: flex; align-items: center; gap: 12px;
}
.kt-fcard--active .kt-fcard__ico { background: #d8f3ec; color: #3bb59e; }
.kt-fcard--active .kt-fcard__num { color: var(--ks-navy); display: flex; align-items: baseline; gap: 8px; }
.kt-fcard__delta { font-size: 12px; font-weight: 700; color: var(--ks-teal); display: inline-flex; align-items: center; gap: 3px; }
.kt-fcard__delta svg { width: 13px; height: 13px; }

/* Student Progress (bottom-right) */
.kt-fcard--progress { bottom: 8px; right: -12px; width: 176px; }
.kt-fcard--progress .kt-fcard__label { margin-bottom: 8px; display: block; }
.kt-fcard__chart { position: relative; }
.kt-fcard__chart svg { width: 100%; height: 46px; display: block; color: var(--ks-teal); }
.kt-fcard__chip {
  position: absolute; right: 4px; bottom: 2px; text-align: right;
}
.kt-fcard__chip b { display: block; font-size: 14px; font-weight: 700; color: var(--ks-purple); }
.kt-fcard__chip span { font-size: 10px; color: var(--ks-muted); }

/* =====================================================================
   2. TRUST STRIP
   ===================================================================== */
.kt-trust { margin-top: -40px; position: relative; z-index: 3; }
.kt-trust__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 40px;
  border-radius: 30px;
  background: linear-gradient(120deg, #d6efe9 0%, #e9f5f4 48%, #d7f0ea 100%);
  box-shadow: 0 20px 50px rgba(72, 72, 168, .10);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.kt-trust__item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 6px 30px;
  position: relative;
}
.kt-trust__item + .kt-trust__item::before {
  content: "";
  position: absolute; left: 0; top: 10%; bottom: 10%;
  width: 1px; background: rgba(72, 72, 168, .12);
}
.kt-trust__ico {
  width: 84px; height: 84px; flex: none;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(255,255,255,.9) 0%, rgba(255,255,255,.35) 70%, rgba(255,255,255,0) 100%);
  display: flex; align-items: center; justify-content: center;
}
.kt-trust__ico img { width: 50px; height: 50px; object-fit: contain; }
.kt-trust__item h3 { margin: 0 0 4px; font-size: 18px; font-weight: 700; color: var(--ks-navy); }
.kt-trust__item p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--ks-navy-soft); }

/* =====================================================================
   3. HELPS YOU TEACH
   ===================================================================== */
.kt-help { padding: 84px 0 40px; }
.kt-help__head { margin-bottom: 46px; }
.kt-help__head h2 { margin: 0 0 12px; }
.kt-help__head p { margin: 0; font-weight: 700; font-size: 18px; color: var(--ks-navy); }

.kt-help__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px 48px;
}
.kt-help__card {
  display: flex;
  gap: 26px;
  align-items: flex-start;
  background: linear-gradient(180deg, #fbfbfe 0%, #f5f6fb 100%);
  border: 1px solid rgba(72, 72, 168, .05);
  border-radius: 20px;
  padding: 30px 32px;
  box-shadow: 0 10px 30px rgba(72, 72, 168, .05);
}
.kt-help__ico {
  width: 104px; height: 104px; flex: none;
  border-radius: 22px;
  display: flex; align-items: center; justify-content: center;
}
/* Icons are light line-art; let them nearly fill the tile so they read
   clearly (matches the PDF), instead of sitting small and washed-out. The
   source PNG strokes are lighter than the PDF, and the green/teal strokes
   land on same-tone tiles — so deepen the stroke (toward the PDF tone) and
   keep the tile centres light for contrast. */
.kt-help__ico img { width: 78px; height: 78px; object-fit: contain; filter: brightness(.86) saturate(1.25) contrast(1.05); }
.kt-help__ico--green  { background: linear-gradient(150deg, #e2f8f0 0%, #a7e6d3 100%); }
.kt-help__ico--teal   { background: linear-gradient(150deg, #ddf5ef 0%, #9fe2da 100%); }
.kt-help__ico--blue   { background: linear-gradient(150deg, #e0f1fd 0%, #a6d3f2 100%); }
.kt-help__ico--purple { background: linear-gradient(150deg, #ece7fb 0%, #c4b8f2 100%); }
.kt-help__card h3 { margin: 4px 0 10px; font-size: 20px; font-weight: 700; color: var(--ks-navy); line-height: 1.3; }
.kt-help__card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ks-navy-soft); }

/* =====================================================================
   4. HOW TUTORS USE KAY SCIENCE (workflow)
   ===================================================================== */
.kt-flow {
  position: relative;
  padding: 90px 0 80px;
  margin-top: 30px;
}
/* big soft arc/blob behind the workflow */
.kt-flow::before {
  content: "";
  position: absolute;
  left: 50%; top: 0;
  width: 150%; height: 150%;
  transform: translateX(-50%);
  background:
    radial-gradient(60% 80% at 50% 12%, #e7e3f7 0%, #dfe6f6 34%, #d2ecf4 60%, rgba(234,246,249,0) 82%);
  border-radius: 0 0 50% 50%;
  z-index: 0;
  pointer-events: none;
}
.kt-flow__inner { position: relative; z-index: 1; }
.kt-flow__head { text-align: center; margin-bottom: 60px; }
.kt-flow__head h2 { margin: 0 0 14px; }
.kt-flow__head p {
  margin: 0 auto;
  max-width: 560px;
  font-weight: 700;
  font-size: 18px;
  color: var(--ks-navy);
  line-height: 1.5;
}
.kt-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
}
.kt-step { text-align: center; width: 130px; flex: none; }
.kt-step__circle {
  width: 108px; height: 108px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 14px 30px rgba(72, 72, 168, .12);
  display: flex; align-items: center; justify-content: center;
}
.kt-step__circle img { width: 58px; height: 58px; object-fit: contain; }
.kt-step__label {
  font-size: 15px; font-weight: 600; color: var(--ks-navy); line-height: 1.3;
}
.kt-step__arrow {
  flex: none;
  margin-top: 44px;
  color: var(--ks-navy);
}
.kt-step__arrow svg { width: 22px; height: 22px; display: block; }

/* =====================================================================
   5. DEPARTMENT
   ===================================================================== */
.kt-dept {
  position: relative;
  margin-top: 10px;
  padding: 74px 0 90px;
  background: linear-gradient(170deg, #8adfca 0%, #8fd2da 34%, #a7b6ea 78%, #b0a7e8 100%);
  border-bottom-left-radius: 54px;
  border-bottom-right-radius: 54px;
  overflow: hidden;
}
.kt-dept__head { text-align: center; max-width: 760px; margin: 0 auto 36px; }
.kt-dept__head h2 { color: var(--ks-navy); margin: 0 0 20px; }
.kt-dept__head h2 .a-purple { color: #7a6fd0; }
.kt-dept__head p { margin: 0; font-size: 18px; line-height: 1.6; color: #3f3f80; font-weight: 500; }
.kt-dept__cta { text-align: center; margin-bottom: 54px; }

.kt-dept__grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 30px;
  align-items: start;
}
/* frosted glass card shell */
.kt-glass {
  background: linear-gradient(150deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.28) 100%);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 26px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(72, 72, 168, .12);
}
.kt-features { padding: 40px 44px 44px; }
.kt-features__head { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.kt-features__ico { width: 54px; height: 54px; flex: none; }
.kt-features__ico img { width: 100%; height: 100%; object-fit: contain; }
.kt-features__head h3 { margin: 0 0 2px; font-size: 26px; font-weight: 700; color: var(--ks-navy); }
.kt-features__head p { margin: 0; font-size: 15px; color: #4c4c85; }
.kt-features__list {
  list-style: none; margin: 0 0 30px; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px;
}
.kt-features__list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--ks-navy); }
.kt-features__list img.ks-tick { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.kt-features .ks-btn--outline {
  border-color: rgba(72,72,168,.35);
  background: rgba(255,255,255,.35);
  color: var(--ks-navy);
}

.kt-mini { display: flex; flex-direction: column; gap: 22px; }
.kt-mini__card {
  display: flex; align-items: center; gap: 18px;
  padding: 24px 26px;
}
.kt-mini__ico { width: 56px; height: 56px; flex: none; }
.kt-mini__ico img { width: 100%; height: 100%; object-fit: contain; }
.kt-mini__card p { margin: 0; font-size: 17px; font-weight: 600; color: var(--ks-navy); line-height: 1.4; }

/* =====================================================================
   6. JOIN TUTORS (bottom signup)
   ===================================================================== */
.kt-join { padding: 84px 0 90px; }
.kt-join__inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 50px;
  align-items: center;
}
.kt-join__title { font-size: clamp(30px, 3.4vw, 40px); font-weight: 700; line-height: 1.1; margin: 0 0 20px; color: var(--ks-navy); }
.kt-join__title .kt-grad { -webkit-text-fill-color: transparent; background: linear-gradient(95deg, #8b7fd6 0%, #7cc7d0 60%, #6fd0c8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kt-join__desc { font-size: 19px; font-weight: 700; color: var(--ks-navy); line-height: 1.45; margin: 0 0 30px; max-width: 420px; }
.kt-join__cta { margin-bottom: 40px; }
.kt-join__brain { display: flex; align-items: flex-end; gap: 6px; }
.kt-join__brain img { width: 150px; height: auto; }
.kt-bubble {
  position: relative;
  background: #f4f5fb;
  border-radius: 20px;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 17px;
  text-align: center;
  color: var(--ks-navy);
  box-shadow: 0 10px 26px rgba(72,72,168,.08);
  margin-bottom: 20px;
}
.kt-bubble::after {
  content: "";
  position: absolute; left: 30px; bottom: -12px;
  border: 12px solid transparent;
  border-top-color: #f4f5fb;
  border-bottom: 0;
}

/* form panel */
.kt-join__form {
  background: linear-gradient(135deg, #9a8ce4 0%, #7fc0d9 55%, #77d3c7 100%);
  border-radius: 28px;
  padding: 34px;
}
.kt-form-card {
  background: linear-gradient(150deg, rgba(255,255,255,.62) 0%, rgba(255,255,255,.34) 100%);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 20px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 30px;
}
.kt-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.kt-field {
  width: 100%;
  border: 0;
  background: rgba(255,255,255,.75);
  border-radius: 12px;
  padding: 17px 20px;
  font-family: var(--ks-font);
  font-size: 16px;
  color: var(--ks-navy);
  margin-bottom: 16px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.5);
}
.kt-form-row .kt-field { margin-bottom: 16px; }
.kt-field::placeholder { color: #7a7aa5; }
.kt-field:focus { outline: 2px solid rgba(255,255,255,.9); }
.kt-form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 4px; }
.kt-form-foot p { margin: 0; font-size: 14px; color: #3f3f80; line-height: 1.4; }
.kt-form-foot p b { color: var(--ks-navy); }
.kt-form-foot .ks-btn {
  background: linear-gradient(90deg, rgba(154,140,228,.55), rgba(119,211,199,.55));
  box-shadow: none;
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1120px) {
  .kt-steps { flex-wrap: wrap; gap: 20px 4px; max-width: 720px; margin: 0 auto; }
  .kt-step__arrow { display: none; }
}
@media (max-width: 980px) {
  .kt-hero__inner { grid-template-columns: 1fr; gap: 40px; padding-top: 130px; }
  .kt-hero__content { max-width: none; }
  .kt-hero__media { min-height: 520px; }
  .kt-hero__photo { position: relative; bottom: 0; left: 0; transform: none; height: 480px; margin: 0 auto; display: block; }
  .kt-fcard--hw { left: 0; }
  .kt-fcard--active { left: 0; }
  .kt-fcard--progress { right: 0; }
  .kt-fcard--topics { right: 0; }
  .kt-help__grid { grid-template-columns: 1fr; }
  .kt-dept__grid { grid-template-columns: 1fr; }
  .kt-mini { flex-direction: row; flex-wrap: wrap; }
  .kt-mini__card { flex: 1 1 260px; }
  .kt-join__inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 720px) {
  .kt-trust__inner { grid-template-columns: 1fr; gap: 10px; }
  .kt-trust__item { padding: 14px 6px; }
  .kt-trust__item + .kt-trust__item::before { display: none; }
  .kt-features__list { grid-template-columns: 1fr; }
  .kt-help__card { flex-direction: column; }
}
@media (max-width: 560px) {
  .kt-hero__proof { gap: 18px; }
  .kt-form-row { grid-template-columns: 1fr; }
  .kt-form-foot { flex-direction: column; align-items: flex-start; }
}
