:root {
  color-scheme: light;
  --ink: #172f2b;
  --muted: #52665f;
  --accent: #286343;
  --brand-green: #4caf50;
  --lime: #c5ee92;
  --paper: #fff;
  --surface: #f3f6f2;
  --line: #dce5dc;
  --dark: #102b25;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 0.25em; }
a:hover { color: var(--accent); }
a:focus-visible, main:focus-visible {
  outline: 3px solid #286343;
  outline-offset: 5px;
}
section { scroll-margin-top: 2rem; }
.container { width: min(1200px, calc(100% - 5rem)); margin-inline: auto; }
.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 1rem;
  z-index: 5;
  padding: 0.65rem 1rem;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner, .footer-inner { display: flex; align-items: center; gap: 2rem; }
.header-inner { min-height: 88px; justify-content: space-between; padding-block: 1rem; }
.wordmark { color: var(--accent); font-size: 1.9rem; font-weight: 800; letter-spacing: -0.07em; text-decoration: none; }
.brand-dot { color: var(--brand-green); }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 2rem; }
nav a, .footer-inner a { font-size: 0.9rem; font-weight: 600; padding-block: 0.65rem; }
nav a { text-decoration: none; }
nav a:first-child { padding: 0.6rem 1.2rem; border: 1px solid var(--line); border-radius: 100px; }
nav a:hover { color: var(--accent); text-decoration: underline; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(ellipse at 85% 30%, #2c5e40 0%, transparent 52%), var(--dark);
  color: #fff;
}
.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background-image: linear-gradient(rgb(255 255 255 / 0.035) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, transparent, #000);
}
.hero-content { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem 2rem; padding-block: 5.5rem 0; }
.hero-copy { position: relative; z-index: 1; padding-block: 0.5rem 2.5rem; }
.eyebrow, .notice-label {
  margin: 0 0 1.25rem;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.eyebrow { color: var(--accent); }
.hero .eyebrow { display: flex; align-items: center; gap: 0.65rem; color: var(--lime); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgb(197 238 146 / 0.1); }
h1, h2, h3, p { overflow-wrap: break-word; }
h1 { margin: 0; font-size: clamp(2.75rem, 4.7vw, 4.7rem); line-height: 1.06; letter-spacing: -0.055em; font-weight: 650; }
.hero h1 span { color: var(--lime); }
.intro-copy { max-width: 490px; margin: 1.75rem 0 0; font-size: 1.1rem; color: #d0e0d7; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2rem; }
.hero-link { display: inline-flex; align-items: center; gap: 1.5rem; padding: 0.9rem 1.5rem; border-radius: 8px; background: var(--lime); color: var(--dark); font-size: 0.95rem; font-weight: 750; text-decoration: none; box-shadow: 0 8px 24px rgb(0 0 0 / 0.12); }
.hero-link:hover { background: #d8f6b6; color: var(--dark); }
.hero-secondary { color: #fff; font-size: 0.95rem; }
.hero-secondary:hover { color: var(--lime); }
.hero a:focus-visible { outline-color: var(--lime); }
.hero-caption { margin: 1.5rem 0 0; color: #b6cec0; font-size: 0.8rem; }
.hero-visual { position: relative; align-self: center; min-width: 0; height: 380px; }
.orbit { position: absolute; top: 50%; left: 50%; border: 1px solid rgb(197 238 146 / 0.19); border-radius: 50%; transform: translate(-50%, -50%); }
.orbit-outer { width: 370px; height: 370px; }
.orbit-inner { width: 260px; height: 260px; border-style: dashed; transform: translate(-50%, -50%) rotate(-20deg); }
.visual-core { position: absolute; top: 50%; left: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 180px; height: 180px; border: 1px solid rgb(197 238 146 / 0.38); border-radius: 32px; background: linear-gradient(145deg, #375d42, #16362d); box-shadow: 0 0 90px rgb(197 238 146 / 0.09), 0 24px 60px rgb(0 0 0 / 0.22); transform: translate(-50%, -50%) rotate(-8deg); }
.visual-core > span:first-child { color: var(--lime); font-size: 5rem; font-weight: 750; letter-spacing: -0.12em; line-height: 1.2; padding-right: 0.5rem; }
.visual-core > span:last-child { color: #d0e0d7; font-size: 0.5rem; font-weight: 700; letter-spacing: 0.16em; }
.visual-tag { position: absolute; display: flex; align-items: center; gap: 0.75rem; padding: 0.85rem 1rem; border: 1px solid #4d7158; border-radius: 12px; background: #1c3e30; color: #f1f7ee; font-size: 0.8rem; font-weight: 650; box-shadow: 0 14px 28px rgb(0 0 0 / 0.16); }
.visual-tag small { display: block; color: #b6cec0; font-size: 0.65rem; font-weight: 400; }
.tag-symbol { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #4d7158; border-radius: 8px; background: #2b5037; color: var(--lime); font-size: 0.7rem; }
.tag-cloud { top: 10px; left: 8%; transform: rotate(-4deg); }
.tag-ai { top: 150px; right: 0; transform: rotate(4deg); }
.tag-security { bottom: 4px; left: 4%; transform: rotate(-2deg); }
.orbit-dot { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 20px rgb(197 238 146 / 0.3); }
.dot-one { top: 65px; right: 17%; }
.dot-two { bottom: 74px; left: 15%; }
.hero-stats { grid-column: 1 / -1; display: flex; gap: 4rem; margin: 0; padding-block: 1.75rem 2rem; border-top: 1px solid rgb(255 255 255 / 0.15); }
.hero-stats div { padding-right: 3rem; border-right: 1px solid rgb(255 255 255 / 0.15); }
.hero-stats div:last-child { border: 0; padding: 0; }
.hero-stats dt { font-size: 1.6rem; font-weight: 650; letter-spacing: -0.04em; }
.hero-stats dd { margin: 0.15rem 0 0; color: #b6cec0; font-size: 0.78rem; }

.availability-wrap { margin-block: 2.5rem; }
.availability { display: flex; align-items: flex-start; gap: 1.25rem; padding: 1.5rem 1.75rem; border: 1px solid var(--line); border-radius: 12px; background: #f3f7ef; }
.notice-symbol { display: grid; place-items: center; flex: 0 0 44px; height: 44px; border-radius: 50%; background: #e0edd7; color: var(--accent); font-size: 1.4rem; }
.notice-label { color: var(--accent); margin-bottom: 0.3rem; font-size: 0.65rem; }
.availability h2 { font-size: 1.15rem; line-height: 1.5; margin: 0 0 0.35rem; letter-spacing: -0.02em; }
.availability p:last-child { color: var(--muted); margin: 0; font-size: 0.9rem; }
.subjects-section { background: var(--surface); padding-block: 5rem; border-block: 1px solid var(--line); }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.9rem); line-height: 1.16; letter-spacing: -0.045em; font-weight: 650; margin: 0; }
.heading-accent { color: var(--accent); }
.section-heading > p:last-child { max-width: 720px; color: var(--muted); margin: 1.25rem 0 2rem; }
.subject-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; padding: 0; margin: 2.5rem 0 0; list-style: none; }
.subject-grid li { min-height: 200px; padding: 1.5rem; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.subject-grid li:first-child { background: var(--dark); color: #fff; border-color: var(--dark); }
.subject-number { color: var(--accent); font-size: 0.61rem; letter-spacing: 0.1em; font-weight: 700; }
h3 { margin: 1.5rem 0 0; font-size: 1.1rem; line-height: 1.4; font-weight: 650; letter-spacing: -0.02em; }
.subject-grid p { margin: 0.6rem 0 0; color: var(--muted); font-size: 0.82rem; }
.subject-grid li:first-child .subject-number { color: var(--lime); }
.subject-grid li:first-child p { color: #d0e0d7; }
.courses { padding-block: 5rem; }
.course-note { color: var(--muted); font-size: 0.85rem; max-width: 800px; }
.course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin: 2.5rem 0; padding: 0; list-style: none; }
.course-grid li { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; padding: 1.75rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 4px 16px rgb(16 43 37 / 0.03); }
.course-grid li::before { content: "MSExamPrep"; color: var(--accent); font-size: 0.61rem; letter-spacing: 0.12em; font-weight: 750; text-transform: uppercase; }
.course-grid li:focus-within { border-color: var(--accent); }
.course-grid h3 { margin: 0 0 auto; font-size: 1.05rem; padding-bottom: 1rem; }
.course-grid a { display: block; width: 100%; color: var(--accent); font-size: 0.8rem; font-weight: 650; padding-block: 0.75rem 0.25rem; border-top: 1px solid var(--line); text-decoration-thickness: 1px; }
.learning-steps { padding-block: 0 4rem; }
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.steps-grid li { border-top: 2px solid var(--line); padding-top: 1.5rem; counter-increment: steps; }
.steps-grid li::before { content: "0" counter(steps); color: var(--accent); font-size: 0.8rem; font-weight: 750; }
.steps-grid h3 { margin-top: 0.75rem; }
.steps-grid p, .faq details p { color: var(--muted); font-size: 0.95rem; }
.faq { padding-block: 0 5rem; }
.faq .section-heading { margin-bottom: 2rem; }
.faq details { padding-block: 1.25rem; border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 650; padding-right: 1rem; }
.faq summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.faq details p { max-width: 800px; margin: 1rem 0 0; }
.about { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; padding: 3.5rem; margin-bottom: 4rem; border-radius: 20px; background: var(--dark); color: #fff; }
.about .eyebrow { color: var(--lime); }
.about > p { color: #d0e0d7; margin: 0; max-width: 650px; font-size: 1rem; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { flex-wrap: wrap; padding-block: 2rem; }
.footer-inner .wordmark { font-size: 1.5rem; }
.footer-inner p { color: var(--muted); font-size: 0.8rem; margin: 0; }
.footer-inner a { margin-left: auto; }
.trademark-note { color: var(--muted); font-size: 0.72rem; margin-block: 0 1.75rem; }

@media (hover: hover) {
  .course-grid li { transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
  .course-grid li:hover { transform: translateY(-4px); border-color: #9eb69b; box-shadow: 0 14px 32px rgb(16 43 37 / 0.09); }
}
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .hero-copy, .hero-visual { animation: reveal 650ms ease-out both; }
  .hero-visual { animation-delay: 100ms; }
  @keyframes reveal {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
@media (max-width: 1100px) {
  .hero-content { column-gap: 1rem; }
  .hero-visual { transform: scale(0.9); }
  .subject-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; padding-top: 4rem; gap: 1rem; }
  .hero-copy { max-width: 650px; }
  .hero-visual { width: min(460px, 100%); justify-self: center; transform: none; margin-bottom: 2rem; }
  .hero-stats { gap: 2rem; }
  .hero-stats div { padding-right: 2rem; }
  .subject-grid, .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about { grid-template-columns: 1fr; gap: 1.5rem; padding: 2.5rem; }
  .steps-grid { grid-template-columns: 1fr; gap: 1.25rem; }
}
@media (max-width: 560px) {
  .container { width: calc(100% - 2.5rem); }
  .header-inner { align-items: flex-start; flex-direction: column; gap: 0.25rem; padding-block: 0.75rem; }
  .wordmark { font-size: 1.7rem; }
  nav { gap: 0.25rem 1rem; }
  nav a { font-size: 0.8rem; }
  nav a:first-child { padding: 0.4rem 0; border: 0; }
  .hero-content { padding-top: 3rem; }
  .hero-copy { padding-bottom: 1rem; }
  .hero-visual { height: 310px; }
  .orbit-outer { width: 270px; height: 270px; }
  .orbit-inner { width: 200px; height: 200px; }
  .visual-core { width: 135px; height: 135px; border-radius: 24px; }
  .visual-core > span:first-child { font-size: 4rem; }
  .visual-core > span:last-child { font-size: 0.4rem; }
  .visual-tag { padding: 0.65rem; gap: 0.5rem; font-size: 0.7rem; }
  .visual-tag small { font-size: 0.6rem; }
  .tag-symbol { width: 28px; height: 28px; font-size: 0.6rem; }
  .tag-cloud { left: 0; }
  .tag-ai { top: 125px; right: 0; }
  .tag-security { left: 0; }
  .hero-stats { flex-wrap: wrap; gap: 1.25rem 2rem; padding-block: 1.5rem; }
  .hero-stats div:nth-child(2) { border: 0; padding: 0; }
  .hero-stats div:last-child { flex-basis: 100%; }
  .hero-stats dt { font-size: 1.4rem; }
  .availability-wrap { margin-block: 1.5rem; }
  .availability { padding: 1.25rem; gap: 0.75rem; }
  .notice-symbol { flex-basis: 32px; height: 32px; font-size: 1.1rem; }
  .subjects-section, .courses { padding-block: 3rem; }
  .subject-grid, .course-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .subject-grid li { min-height: auto; }
  .subject-grid h3 { margin-top: 0.75rem; }
  .course-grid li { padding: 1.5rem; }
  .about { padding: 1.75rem; margin-bottom: 3rem; }
  .footer-inner { gap: 0.75rem 1.5rem; }
  .footer-inner p { flex-basis: 100%; order: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .course-grid li { transition: none; }
  .course-grid li:hover { transform: none; }
}
@media (forced-colors: active) {
  .hero, .about, .subject-grid li:first-child { border: 1px solid CanvasText; }
  .hero-link { border: 1px solid LinkText; }
  .hero-visual { visibility: hidden; }
}
