:root {
  color-scheme: light;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --border: rgba(34, 71, 140, 0.14);
  --text: #13233f;
  --muted: #61708d;
  --muted-soft: #7b89a4;
  --brand: #265fd5;
  --brand-deep: #161d5f;
  --brand-soft: #eff4ff;
  --brand-warm: #ff9c3d;
  --success: #1aa36f;
  --danger: #db4b4b;
  --shadow: 0 24px 64px rgba(17, 39, 79, 0.12);
  --radius: 28px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: "Poppins", ui-sans-serif, system-ui, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(38, 95, 213, 0.22), transparent 25%),
    radial-gradient(circle at 100% 0%, rgba(255, 156, 61, 0.16), transparent 20%),
    linear-gradient(180deg, #f6f9ff, #eef4ff, #f5f8ff);
  overflow-x: hidden;
}

button,
input,
textarea {
  font: inherit;
}

body.is-ready .hero,
body.is-ready .card {
  animation: float-in 0.7s ease both;
}

body.is-ready .card {
  animation-delay: 0.08s;
}

.bg-orb {
  position: fixed;
  inset: auto;
  border-radius: 999px;
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.orb-a {
  width: 18rem;
  height: 18rem;
  top: 8rem;
  right: -6rem;
  background: rgba(38, 95, 213, 0.14);
}

.orb-b {
  width: 16rem;
  height: 16rem;
  bottom: 8rem;
  left: -5rem;
  background: rgba(255, 156, 61, 0.1);
}

.shell {
  position: relative;
  z-index: 1;
  padding: 24px 20px 40px;
}

.page {
  width: 100%;
}

.page-landing {
  min-height: calc(100vh - 64px);
}

.page-mentorship {
  padding: 12px 0 28px;
}

.page-notselected {
  min-height: calc(100vh - 64px);
  display: grid;
  place-items: center;
  padding: 24px 0 40px;
}

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(370px, 0.94fr);
  gap: 20px;
  align-items: start;
  max-width: 1220px;
  margin: 0 auto;
}

.hero,
.card {
  position: relative;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero {
  min-height: calc(100vh - 64px);
  padding: 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(38, 95, 213, 0.16);
  background: rgba(38, 95, 213, 0.07);
  color: var(--brand-deep);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
}

.hero h1 {
  margin: 18px 0 22px;
  max-width: 13ch;
  color: var(--brand-deep);
  font-size: clamp(42px, 4.2vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin: 10px 0 0;
  padding: 10px 0 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.hero-copy-avatar {
  width: 152px;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  align-self: flex-end;
  margin: -6px 10px 0 0;
}

.hero-copy-bubble {
  position: relative;
  max-width: 100%;
  padding: 16px 18px 18px;
  border-radius: 26px;
  border: 1px solid rgba(38, 95, 213, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 247, 255, 0.98));
  box-shadow: 0 20px 44px rgba(17, 39, 79, 0.08);
}

.hero-copy-bubble::after {
  content: '';
  position: absolute;
  right: 24px;
  bottom: -9px;
  width: 18px;
  height: 18px;
  transform: rotate(45deg);
  border-right: 1px solid rgba(38, 95, 213, 0.12);
  border-bottom: 1px solid rgba(38, 95, 213, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 247, 255, 0.98));
}

.hero-copy-bubble strong {
  display: block;
  margin-bottom: 6px;
  color: var(--brand-deep);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.hero-copy-bubble span {
  display: block;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.hero-guide {
  display: none;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 24px;
  border: 1px solid rgba(38, 95, 213, 0.1);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(239, 244, 255, 0.96));
}

.hero-guide-avatar {
  width: 84px;
  flex: 0 0 auto;
  object-fit: contain;
}

.hero-guide p {
  margin: 0;
  color: var(--brand-deep);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 600;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  max-width: 42rem;
}

.no-wrap-link {
  display: inline-flex;
  width: fit-content;
  text-decoration: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.8);
  color: var(--brand-deep);
  font-size: 13px;
  font-weight: 700;
}

.schedule-box,
.form-section,
.result,
.cta-row {
  margin-top: 22px;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid rgba(34, 71, 140, 0.1);
  background: rgba(255, 255, 255, 0.76);
}

.schedule-head {
  margin-bottom: 16px;
}

.schedule-head h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}

.schedule-head p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

#scheduleList {
  display: grid;
  gap: 14px;
}

.schedule-card {
  border-radius: 22px;
  border: 1px solid rgba(34, 71, 140, 0.1);
  background: rgba(255, 255, 255, 0.84);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.schedule-card.active {
  border-color: rgba(38, 95, 213, 0.24);
  box-shadow: 0 16px 28px rgba(17, 39, 79, 0.08);
  transform: translateY(-1px);
}

.schedule-button {
  width: 100%;
  padding: 18px 18px 16px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.schedule-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.schedule-date {
  color: var(--brand-deep);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.schedule-time {
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.schedule-title {
  color: var(--brand-deep);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.schedule-benefit {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.section-head h2,
.section-head h3,
.card-title,
.result-head h2,
.cta-title {
  color: var(--brand-deep);
  letter-spacing: -0.02em;
}

.card {
  position: sticky;
  top: 24px;
  padding: 24px;
  background: var(--surface-strong);
}

.card-head,
.result-head,
.cta-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.card-title {
  font-size: 22px;
  font-weight: 800;
}

.status-pill,
.result-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(38, 95, 213, 0.12);
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.status-pill {
  display: none;
}

.live-status {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(38, 95, 213, 0.12);
  background: rgba(38, 95, 213, 0.06);
  color: var(--muted);
  line-height: 1.55;
}

.form-stack {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.field input {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(34, 71, 140, 0.16);
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.field input:focus {
  border-color: rgba(38, 95, 213, 0.55);
  box-shadow: 0 0 0 4px rgba(38, 95, 213, 0.1);
}

.field input::placeholder {
  color: #9daac2;
}

.primary-button,
.secondary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.primary-button {
  background: linear-gradient(135deg, #2d75ff, #1546b6);
  color: #fff;
  box-shadow: 0 18px 34px rgba(38, 95, 213, 0.22);
}

.secondary-button {
  background: linear-gradient(135deg, #ffb15a, #ff9c3d);
  color: #fff;
  box-shadow: 0 18px 34px rgba(255, 156, 61, 0.18);
}

.ghost-button {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.88);
  color: var(--brand-deep);
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover {
  transform: translateY(-1px);
}

.notice {
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

.hidden {
  display: none !important;
}

.section-head h2,
.section-head h3,
.result-head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.1;
}

.section-head p,
.result-head p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.detail {
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(34, 71, 140, 0.1);
  background: rgba(255, 255, 255, 0.82);
}

.detail-label {
  display: block;
  color: var(--muted-soft);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.detail-value {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  word-break: break-word;
}

.cta-row {
  align-items: center;
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(38, 95, 213, 0.08), rgba(255, 156, 61, 0.1));
}

.cta-copy {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.6;
}

.community-cta-row {
  flex-wrap: wrap;
}

.community-cta-row {
  margin-top: 18px;
}

.community-cta-row .primary-button,
.no-wrap-link {
  text-decoration: none;
}

.success-banner {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(26, 163, 111, 0.12);
  border: 1px solid rgba(26, 163, 111, 0.18);
  color: var(--success);
  font-weight: 700;
}

.error-banner {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(219, 75, 75, 0.12);
  border: 1px solid rgba(219, 75, 75, 0.18);
  color: #9b2d2d;
  font-weight: 700;
}

.mobile-action-bar {
  display: none;
  gap: 10px;
  margin-top: 18px;
}

.analysis-box {
  margin-top: 18px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(34, 71, 140, 0.1);
  background: rgba(255, 255, 255, 0.72);
}

.analysis-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.analysis-card {
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(34, 71, 140, 0.08);
  background: rgba(255, 255, 255, 0.88);
}

.analysis-chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.analysis-label {
  color: var(--muted-soft);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
}

.analysis-value {
  color: var(--brand-deep);
  font-size: 12px;
  font-weight: 700;
}

.pie-chart {
  position: relative;
  width: 180px;
  aspect-ratio: 1;
  margin: 14px auto 12px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 10px rgba(255, 255, 255, 0.65);
  overflow: hidden;
}

.pie-core {
  position: absolute;
  inset: 28px;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--brand-deep);
  box-shadow: 0 12px 24px rgba(17, 39, 79, 0.08);
}

.pie-core span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
}

.pie-core strong {
  display: block;
  margin-top: 4px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.analysis-legend {
  display: grid;
  gap: 8px;
}

.legend-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  color: var(--brand-deep);
  font-size: 13px;
  font-weight: 700;
}

.legend-swatch {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.legend-label {
  color: var(--muted);
  font-weight: 600;
}

.legend-value {
  color: var(--brand-deep);
}

.analysis-bars {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.analysis-bar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--brand-deep);
  font-size: 13px;
  font-weight: 700;
}

.analysis-bar-track {
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(38, 95, 213, 0.08);
}

.analysis-bar-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, #2d75ff, #1546b6);
}

.analysis-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.analysis-note {
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(38, 95, 213, 0.12);
  background: rgba(38, 95, 213, 0.06);
  color: var(--brand-deep);
  font-size: 13px;
  font-weight: 600;
}

.form-section,
.result {
  animation: none;
}

.mentorship-shell {
  max-width: 1220px;
  margin: 0 auto;
}

.notselected-shell {
  width: min(760px, 100%);
  margin: 0 auto;
}

.notselected-card {
  padding: 32px;
  border-radius: 32px;
  border: 1px solid rgba(34, 71, 140, 0.12);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  text-align: center;
}

.notselected-card h1 {
  margin: 16px auto 12px;
  max-width: 14ch;
  color: var(--brand-deep);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.notselected-card p {
  margin: 0 auto;
  max-width: 42rem;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.notselected-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.notselected-actions .primary-button,
.notselected-actions .secondary-button {
  min-width: 220px;
}

.mentorship-top {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
  padding: 4px 2px;
}

.mentorship-top .eyebrow {
  margin-top: 2px;
}

.mentorship-top h1 {
  margin: 0;
  color: var(--brand-deep);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.mentorship-top p {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  line-height: 1.7;
  font-size: 16px;
}

.back-link {
  width: fit-content;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

.page-mentorship .result {
  margin-top: 16px;
  padding: 24px;
}

.page-mentorship .detail-grid {
  margin-top: 18px;
}

.page-mentorship .schedule-box {
  margin-top: 18px;
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .hero {
    min-height: auto;
  }

  .card {
    position: static;
  }
}

@media (max-width: 720px) {
  .shell {
    padding: 12px;
  }

  .hero,
  .card {
    padding: 18px;
    border-radius: 24px;
  }

  .hero h1 {
    max-width: 10ch;
    font-size: clamp(34px, 12vw, 48px);
  }

  .hero-copy {
    flex-direction: column;
    font-size: 16px;
    gap: 10px;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .hero-guide {
    align-items: flex-start;
    padding: 14px 16px;
  }

  .hero-guide-avatar {
    width: 68px;
  }

  .hero-copy-avatar {
    display: block;
    width: 96px;
    align-self: flex-end;
    margin: -2px 4px 0 0;
  }

  .hero-copy-bubble {
    max-width: none;
    padding: 14px 16px 16px;
  }

  .hero-copy-bubble strong,
  .hero-copy-bubble span {
    font-size: 16px;
  }

  .card-head,
  .result-head,
  .cta-row {
    flex-direction: column;
  }

  .mobile-action-bar {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
  }

  .primary-button,
  .secondary-button,
  .ghost-button {
    width: 100%;
  }

  .schedule-box,
  .form-section,
  .result,
  .cta-row {
    border-radius: 20px;
  }

  .page-mentorship {
    padding-top: 4px;
  }

  .page-mentorship .result {
    padding: 18px;
  }

  .mentorship-top h1 {
    font-size: clamp(28px, 9vw, 40px);
  }

  .analysis-grid {
    grid-template-columns: 1fr;
  }

  .pie-chart {
    width: 160px;
  }

  .schedule-topline {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .schedule-title {
    font-size: 17px;
  }

  .schedule-benefit {
    font-size: 14px;
  }

  .notselected-card {
    padding: 24px;
    border-radius: 26px;
  }

  .notselected-actions {
    flex-direction: column;
  }

  .notselected-actions .primary-button,
  .notselected-actions .secondary-button {
    width: 100%;
    min-width: 0;
  }
}
