:root {
  --bg: #fff8ef;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: #fffdf8;
  --text: #172033;
  --muted: #56627a;
  --line: rgba(23, 32, 51, 0.1);
  --orange: #ff7a18;
  --orange-deep: #d95400;
  --blue: #0f6fff;
  --blue-soft: #dce9ff;
  --gold: #ffc145;
  --green: #1f9d68;
  --shadow: 0 30px 70px rgba(23, 32, 51, 0.12);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 193, 69, 0.3), transparent 28%),
    radial-gradient(circle at top right, rgba(15, 111, 255, 0.14), transparent 32%),
    linear-gradient(180deg, #fff5e5 0%, #fffdf8 42%, #fff8ef 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.45) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.45) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.4;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-badge {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  box-shadow: 0 20px 45px rgba(255, 122, 24, 0.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text strong,
.main-nav a,
.button,
h1,
h2,
h3 {
  font-family: "Sora", sans-serif;
}

.brand-text small {
  color: var(--muted);
}

.main-nav {
  display: flex;
  gap: 22px;
  font-weight: 600;
}

.main-nav a {
  color: var(--muted);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta,
.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #0552c9);
  box-shadow: 0 18px 40px rgba(15, 111, 255, 0.28);
}

.button-secondary {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
  padding: 48px 0 40px;
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--orange-deep);
}

h1 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 5.6rem);
  line-height: 0.98;
  max-width: 12ch;
}

.hero-title-soft {
  font-size: clamp(2.25rem, 4vw, 4.3rem);
  line-height: 1.04;
  font-weight: 700;
}

.hero-text,
.results-copy p,
.feature-card p,
.journey-grid p,
.results-cards p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.02rem;
}

.hero-text {
  max-width: 62ch;
  margin: 20px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-points li {
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(23, 32, 51, 0.06);
  font-weight: 700;
  font-size: 0.94rem;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 248, 239, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
}

.panel-glow {
  position: absolute;
  inset: auto -40px -40px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 193, 69, 0.48), transparent 65%);
}

.score-card,
.chat-card,
.feature-card,
.journey-grid article,
.results-cards article,
.contact-banner {
  backdrop-filter: blur(14px);
}

.score-card,
.chat-card {
  position: relative;
  z-index: 1;
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(23, 32, 51, 0.08);
}

.score-card span,
.chat-label {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
}

.score-card strong {
  display: block;
  font-size: 1.3rem;
  margin: 8px 0;
}

.score-card small {
  display: block;
  color: var(--muted);
  line-height: 1.6;
}

.chat-card {
  margin-top: 18px;
}

.chat-bubble {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  line-height: 1.6;
}

.chat-bubble.student {
  background: #f2f6ff;
}

.chat-bubble.ai {
  background: #fff1dc;
}

.stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.stats-grid article {
  padding: 18px;
  border-radius: 20px;
  background: rgba(23, 32, 51, 0.96);
  color: #fff;
}

.stats-grid strong {
  display: block;
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.stats-grid span {
  color: rgba(255, 255, 255, 0.75);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 8px 0 0;
}

.trust-strip p {
  margin: 0;
  padding: 18px 20px;
  border-radius: 18px;
  text-align: center;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(23, 32, 51, 0.06);
}

.section {
  padding: 92px 0 0;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 30px;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 1.06;
}

.feature-grid,
.journey-grid,
.results-cards {
  display: grid;
  gap: 20px;
}

.feature-grid {
  grid-template-columns: repeat(2, 1fr);
}

.feature-card {
  padding: 28px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(23, 32, 51, 0.08);
  box-shadow: var(--shadow);
}

.feature-card h3,
.journey-grid h3,
.results-cards strong {
  font-size: 1.3rem;
}

.accent-orange {
  background: linear-gradient(180deg, rgba(255, 244, 232, 0.95), rgba(255, 255, 255, 0.84));
}

.accent-blue {
  background: linear-gradient(180deg, rgba(232, 241, 255, 0.95), rgba(255, 255, 255, 0.84));
}

.accent-gold {
  background: linear-gradient(180deg, rgba(255, 247, 223, 0.95), rgba(255, 255, 255, 0.84));
}

.accent-green {
  background: linear-gradient(180deg, rgba(230, 249, 241, 0.95), rgba(255, 255, 255, 0.84));
}

.journey-grid {
  grid-template-columns: repeat(4, 1fr);
}

.journey-grid article {
  padding: 28px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(23, 32, 51, 0.07);
}

.journey-grid span {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 18px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--orange), var(--blue));
}

.results {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: start;
}

.results-cards {
  grid-template-columns: repeat(3, 1fr);
}

.results-cards article {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(23, 32, 51, 0.08);
  box-shadow: var(--shadow);
}

.contact-banner {
  margin-bottom: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(23, 32, 51, 0.98), rgba(8, 86, 197, 0.95)),
    linear-gradient(135deg, rgba(255, 122, 24, 0.3), transparent);
  color: #fff;
}

.contact-banner .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.contact-banner h2 {
  max-width: 13ch;
}

.contact-banner .button-primary {
  white-space: nowrap;
  background: linear-gradient(135deg, var(--gold), #ff9f1c);
  color: #172033;
  box-shadow: none;
}

.banner-mail {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.banner-mail a {
  color: #fff;
  font-weight: 700;
}

.contact-page {
  padding-bottom: 72px;
}

.join-page {
  padding-bottom: 72px;
}

.about-page {
  padding-bottom: 72px;
}

.careers-page {
  padding-bottom: 72px;
}

.contact-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: stretch;
  padding: 52px 0 24px;
}

.join-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
  padding: 52px 0 24px;
}

.about-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
  padding: 52px 0 24px;
}

.careers-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
  padding: 52px 0 24px;
}

.contact-card,
.address-card,
.join-highlight {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(23, 32, 51, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.contact-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(232, 241, 255, 0.94), rgba(255, 255, 255, 0.92));
}

.join-highlight {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(255, 244, 232, 0.95), rgba(255, 255, 255, 0.92));
}

.join-highlight h3 {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2.4rem);
  line-height: 1.15;
}

.join-highlight p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.contact-card-label {
  margin: 0 0 10px;
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
}

.contact-sub-label {
  margin-top: 18px;
}

.contact-email,
.inline-mail {
  color: var(--blue);
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  word-break: break-word;
}

.contact-note,
.address-card p,
.address-card address {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.8;
  font-style: normal;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.about-story {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
}

.vision-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
}

.achievement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.story-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(23, 32, 51, 0.08);
  box-shadow: var(--shadow);
}

.story-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.85;
}

.story-card p:last-child {
  margin-bottom: 0;
}

.legacy-grid {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.legacy-grid div {
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 248, 239, 0.9);
  border: 1px solid rgba(23, 32, 51, 0.06);
}

.legacy-grid strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.legacy-grid span {
  color: var(--muted);
  line-height: 1.7;
}

.achievement-card {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(23, 32, 51, 0.08);
  box-shadow: var(--shadow);
}

.achievement-card strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 10px;
}

.achievement-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.mission-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.mission-list li {
  line-height: 1.85;
  margin-bottom: 12px;
}

.mission-list li:last-child {
  margin-bottom: 0;
}

.role-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.role-card {
  width: 100%;
  padding: 24px;
  border: 1px solid rgba(23, 32, 51, 0.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: var(--text);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.role-card:hover {
  transform: translateY(-4px);
}

.role-card span,
.role-card small {
  display: block;
}

.role-card span {
  margin-bottom: 12px;
  color: var(--orange-deep);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
}

.role-card strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.role-card small {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.96rem;
}

.modal-open {
  overflow: hidden;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(23, 32, 51, 0.55);
  backdrop-filter: blur(4px);
  z-index: 20;
}

.role-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(760px, calc(100% - 24px));
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 239, 0.98));
  box-shadow: var(--shadow);
  z-index: 21;
}

.modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-bottom: 14px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(23, 32, 51, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.role-modal h2 {
  margin-bottom: 12px;
}

.role-description,
.resume-note,
.modal-section li {
  color: var(--muted);
  line-height: 1.8;
}

.modal-section {
  margin-top: 22px;
}

.modal-section h3 {
  margin: 0 0 10px;
}

.modal-section ul {
  margin: 0;
  padding-left: 20px;
}

.resume-note {
  margin: 24px 0 18px;
}

.address-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.quick-contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.quick-contact-card .inline-mail {
  display: block;
  margin-top: 12px;
}

.quick-contact-card p {
  margin-bottom: 4px;
}

.contact-button {
  margin-top: 22px;
  width: fit-content;
}

@media (max-width: 1080px) {
  .hero,
  .results,
  .contact-hero,
  .join-hero,
  .about-hero,
  .about-story,
  .vision-grid,
  .achievement-grid,
  .careers-hero {
    grid-template-columns: 1fr;
  }

  .journey-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .results-cards {
    grid-template-columns: 1fr;
  }

  .trust-strip,
  .contact-grid,
  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    flex-wrap: wrap;
  }

  .feature-grid,
  .journey-grid,
  .stats-grid,
  .trust-strip,
  .contact-grid,
  .partner-grid,
  .role-grid {
    grid-template-columns: 1fr;
  }

  .contact-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .role-modal {
    padding: 22px;
    border-radius: 24px;
  }

  h1 {
    max-width: 100%;
  }

  .hero-panel,
  .contact-card,
  .address-card,
  .join-highlight,
  .story-card,
  .feature-card,
  .journey-grid article,
  .results-cards article,
  .contact-banner {
    border-radius: 24px;
  }
}
