:root{color-scheme:dark;--blue:#66b7ff;--line:#24425f;--panel:#0b1929;--text:#f1f7ff;--muted:#9db0c5}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(circle at 80% 0,#17365d 0,transparent 38rem),#030a13;color:var(--text);font-family:Inter,system-ui,sans-serif}.coach-topbar{min-height:76px;display:flex;align-items:center;gap:14px;padding:12px max(20px,calc((100vw - 1180px)/2));border-bottom:1px solid var(--line);background:#040c16e8}.coach-topbar>a{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--line);border-radius:50%;color:#fff;text-decoration:none;font-size:22px}.coach-topbar div{display:grid}.coach-topbar span,.coach-hero>p,.area-card>p,.label{color:var(--blue);font-size:11px;font-weight:900;letter-spacing:.18em}.coach-topbar button{margin-left:auto;border:1px solid var(--line);border-radius:999px;padding:10px 16px;background:#0b1929;color:#fff}main{width:min(1180px,calc(100% - 32px));margin:auto;padding:52px 0}.coach-hero{max-width:850px}.coach-hero h1{font-size:clamp(42px,7vw,78px);line-height:.96;margin:14px 0 22px}.coach-hero>span,#status,.coach-panel p,.area-card>span{color:var(--muted);line-height:1.6}.coach-panel{margin-top:30px;padding:24px;border:1px solid var(--line);border-radius:20px;background:linear-gradient(145deg,#102137,#07121f)}.coach-panel button{border:0;border-radius:13px;padding:13px 18px;background:#438ee6;color:#fff;font-weight:900}.area-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:34px}.area-card{min-height:290px;display:flex;flex-direction:column;padding:28px;border:1px solid var(--line);border-radius:22px;background:linear-gradient(145deg,#10233a,#07121f);color:#fff;text-decoration:none;box-shadow:0 24px 60px #0005}.area-card.oral{background:linear-gradient(145deg,#18213b,#0a1020)}.area-card h2{font-size:clamp(28px,4vw,46px);margin:15px 0}.area-card strong{margin-top:auto;color:var(--blue)}.connection-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:28px}.connection{display:flex;gap:11px;align-items:center;padding:15px;border:1px solid var(--line);border-radius:14px;background:#091522}.connection>span{width:9px;height:9px;border-radius:50%;background:#6e7e90}.connection.connected>span{background:#55d18a;box-shadow:0 0 12px #55d18a}.connection div{display:grid;gap:4px}.connection small{color:var(--muted)}.study-layout{display:grid;grid-template-columns:1fr 1fr;gap:20px}.coach-conversation textarea{width:100%;min-height:130px;margin:16px 0;padding:14px;border:1px solid var(--line);border-radius:14px;background:#050d17;color:#fff}.coach-conversation small{display:block;margin-top:12px;color:var(--muted)}.coach-conversation a{color:var(--blue)}@media(max-width:800px){.area-grid,.study-layout{grid-template-columns:1fr}.connection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:500px){.connection-grid{grid-template-columns:1fr}}

/* PCAT Coaching landing hero */
.coach-hero {
  max-width: none;
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .75fr);
  align-items: center;
  gap: clamp(30px, 6vw, 82px);
  padding: clamp(28px, 5vw, 64px);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 82% 28%, rgba(63, 121, 224, .24), transparent 32%),
    linear-gradient(145deg, #0e2036, #050d17 66%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .38);
}

.coach-hero::before {
  content: "PCAT";
  position: absolute;
  left: -18px;
  bottom: -52px;
  color: rgba(255, 255, 255, .025);
  font-size: clamp(120px, 20vw, 270px);
  font-weight: 900;
  letter-spacing: -.08em;
  pointer-events: none;
}

.coach-hero-copy {
  position: relative;
  z-index: 2;
}

.coach-hero-copy > p {
  margin: 0;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
}

.coach-hero-copy > span {
  display: block;
  max-width: 670px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

.coach-hero-art {
  min-height: 430px;
  margin: 0;
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
}

.coach-hero-art::after {
  content: "";
  position: absolute;
  inset: 15% 10%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(65, 108, 255, .22);
  filter: blur(55px);
}

.coach-hero-art img {
  display: block;
  width: min(100%, 350px);
  max-height: 480px;
  object-fit: contain;
  filter: drop-shadow(0 28px 40px rgba(0, 0, 0, .44));
}

.area-card {
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.area-card:hover,
.area-card:focus-visible {
  transform: translateY(-3px);
  border-color: #6ea8ff;
  box-shadow: 0 28px 68px rgba(29, 90, 170, .22);
  outline: none;
}

@media (max-width: 800px) {
  .coach-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 30px 24px 0;
  }

  .coach-hero-art {
    min-height: 330px;
  }

  .coach-hero-art img {
    width: min(78vw, 300px);
    max-height: 360px;
  }
}

/* Stronger PCAT Coaching command-center hero */
.coach-hero {
  min-height: 620px;
  grid-template-columns: minmax(0, 1.08fr) minmax(400px, .92fr);
  padding: 0;
  gap: 0;
  background:
    linear-gradient(90deg, #07111f 0%, #081426 50%, rgba(6, 14, 26, .64) 72%, rgba(3, 8, 15, .2) 100%);
  border-color: rgba(93, 139, 255, .38);
}

.coach-hero::before {
  left: 28px;
  bottom: -68px;
  color: rgba(90, 135, 255, .045);
  font-size: clamp(150px, 23vw, 330px);
}

.coach-hero::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, transparent, #5d8bff 25%, #85b4ff 70%, transparent);
  box-shadow: 0 0 30px rgba(93, 139, 255, .65);
}

.coach-hero-copy {
  padding: clamp(40px, 6vw, 82px);
}

.coach-hero-copy > p {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #86b7ff;
}

.coach-hero-copy > p::before {
  content: "";
  width: 36px;
  height: 2px;
  background: #5d8bff;
  box-shadow: 0 0 12px rgba(93, 139, 255, .8);
}

.coach-hero h1 {
  max-width: 760px;
  margin: 24px 0 28px;
  font-size: clamp(50px, 6.5vw, 94px);
  line-height: .9;
  letter-spacing: -.055em;
  text-transform: uppercase;
  text-shadow: 0 8px 32px rgba(0, 0, 0, .42);
}

.coach-hero-copy > span {
  max-width: 690px;
  padding-left: 18px;
  border-left: 2px solid rgba(93, 139, 255, .55);
  color: #b4c9df;
  font-weight: 600;
}

.coach-hero-art {
  min-height: 620px;
  align-self: stretch;
  overflow: hidden;
}

.coach-hero-art::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, #081426 0%, transparent 34%),
    linear-gradient(180deg, rgba(3, 8, 15, .16), transparent 45%, rgba(3, 8, 15, .5));
  pointer-events: none;
}

.coach-hero-art img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center 34%;
  filter: contrast(1.08) saturate(1.12);
}

@media (max-width: 800px) {
  .coach-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .coach-hero-copy {
    padding: 42px 26px 34px;
  }

  .coach-hero h1 {
    font-size: clamp(43px, 13vw, 66px);
  }

  .coach-hero-art {
    min-height: 480px;
  }

  .coach-hero-art::before {
    background:
      linear-gradient(180deg, #081426 0%, transparent 30%, rgba(3, 8, 15, .38));
  }

  .coach-hero-art img {
    width: 100%;
    max-height: none;
  }
}

/* Compact command-center hero */
.coach-hero {
  min-height: 470px;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
}

.coach-hero-copy {
  padding: clamp(34px, 4.5vw, 62px);
}

.coach-hero h1 {
  margin: 20px 0 24px;
  font-size: clamp(44px, 5.1vw, 72px);
  line-height: .91;
}

.coach-hero-copy > span {
  font-size: clamp(15px, 1.5vw, 19px);
}

.coach-hero-art {
  min-height: 470px;
  max-height: 470px;
}

.coach-hero-art img {
  height: 470px;
}

@media (max-width: 800px) {
  .coach-hero-copy {
    padding: 34px 24px 28px;
  }

  .coach-hero h1 {
    font-size: clamp(40px, 11vw, 58px);
  }

  .coach-hero-art {
    min-height: 350px;
    max-height: 350px;
  }

  .coach-hero-art img {
    height: 350px;
  }
}

/* Wide PCAT Coach artwork preserves more of the lion */
.coach-hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

@media (max-width: 800px) {
  .coach-hero-art img {
    object-fit: cover;
    object-position: 62% center;
  }
}

/* Restore correct framing for the approved portrait artwork */
.coach-hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
}

@media (max-width: 800px) {
  .coach-hero-art img {
    object-position: center 30%;
  }
}

/* Make the lion artwork fill the full hero height */
.coach-hero-art {
  position: relative;
  align-self: stretch;
  height: auto;
  min-height: 100%;
  max-height: none;
}

.coach-hero-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center 34%;
}

@media (max-width: 800px) {
  .coach-hero-art {
    min-height: 390px;
    height: 390px;
  }

  .coach-hero-art img {
    object-position: center 30%;
  }
}

/* Lion on the left, message on the right */
.coach-hero {
  grid-template-columns: minmax(400px, .92fr) minmax(0, 1.08fr);
  background:
    linear-gradient(270deg, #07111f 0%, #081426 50%, rgba(6, 14, 26, .64) 72%, rgba(3, 8, 15, .2) 100%);
}

.coach-hero-art {
  grid-column: 1;
  grid-row: 1;
}

.coach-hero-copy {
  grid-column: 2;
  grid-row: 1;
}

.coach-hero-art::before {
  background:
    linear-gradient(270deg, #081426 0%, transparent 34%),
    linear-gradient(180deg, rgba(3, 8, 15, .16), transparent 45%, rgba(3, 8, 15, .5));
}

.coach-hero::after {
  left: auto;
  right: 0;
}

@media (max-width: 800px) {
  .coach-hero {
    grid-template-columns: 1fr;
  }

  .coach-hero-copy {
    grid-column: 1;
    grid-row: 1;
  }

  .coach-hero-art {
    grid-column: 1;
    grid-row: 2;
  }

  .coach-hero-art::before {
    background:
      linear-gradient(180deg, #081426 0%, transparent 30%, rgba(3, 8, 15, .38));
  }

  .coach-hero::after {
    left: 0;
    right: auto;
  }
}

@media (min-width: 801px) {
  .coach-hero-copy h1 {
    font-size: clamp(54px, 4.4vw, 76px);
    line-height: 1.04;
    letter-spacing: -.045em;
    white-space: nowrap;
  }
}

/* Signed-in account identity */
.coach-account {
  margin-left: auto;
  max-width: min(36vw, 360px);
  overflow: hidden;
  color: #b9cee5;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.coach-topbar .coach-account + button {
  margin-left: 0;
}

#status:empty {
  display: none;
}

@media (max-width: 600px) {
  .coach-account {
    max-width: 34vw;
    font-size: 11px;
  }
}

/* Full armored lion framing, contained and unfaded */
@media (min-width: 801px) {
  .coach-hero {
    min-height: 560px;
    overflow: hidden;
    margin-bottom: 0;
  }

  .coach-hero-art {
    align-self: stretch;
    min-height: 560px;
    height: 560px;
    max-height: 560px;
    overflow: hidden;
  }

  .coach-hero-art::before {
    background: none;
  }

  .coach-hero-art img {
    height: 100%;
    min-height: 100%;
    object-position: center 47%;
  }
}


/* Exam and Study Coach uses a text-only hero. Keep it independent from the landing hero artwork grid. */
.study-hero {
  display: block;
  min-height: 0;
  max-width: none;
  padding: clamp(44px, 7vw, 82px);
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 18%, rgba(75, 126, 229, .2), transparent 34%),
    linear-gradient(145deg, #0c1b30, #050d18 68%);
}

.study-hero::after {
  left: 0;
  right: auto;
}

.study-hero > p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: #86b7ff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
}

.study-hero h1 {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 22px 0 26px;
  font-size: clamp(48px, 6.2vw, 82px);
  line-height: .95;
  letter-spacing: -.05em;
  text-transform: uppercase;
  white-space: normal;
}

.study-hero > span {
  position: relative;
  z-index: 2;
  display: block;
  max-width: 720px;
  padding-left: 18px;
  border-left: 2px solid rgba(93, 139, 255, .55);
  color: #b4c9df;
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 600;
  line-height: 1.6;
}

@media (max-width: 800px) {
  .study-hero {
    display: block;
    padding: 38px 24px 42px;
  }

  .study-hero h1 {
    font-size: clamp(40px, 12vw, 60px);
  }
}
