:root {
  --blue: #2563eb;
  --blue-dark: #174ea6;
  --blue-soft: #eaf2ff;
  --blue-pale: #f3f7ff;
  --ink: #172033;
  --muted: #627087;
  --line: #dbe3ef;
  --panel: #fff;
  --page: #f4f7fb;
  --orange: #ea580c;
  --cyan: #0891b2;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  letter-spacing: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  min-width: 320px;
  background: var(--page);
  color: var(--ink);
  font-family: Pretendard, "Noto Sans KR", Arial, sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  min-height: 76px;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #e7ecf3;
}
.header-inner {
  width: min(1480px, calc(100% - 48px));
  min-height: 76px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}
.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.brand-name {
  display: block;
  color: #101828;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.1;
}
.brand-sub {
  display: block;
  margin-top: 5px;
  color: #718096;
  font-size: 10px;
  font-weight: 800;
}
.primary-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.primary-nav a {
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 0 15px;
  border-radius: 6px;
  color: #344054;
  font-size: 14px;
  font-weight: 800;
  transition:
    background 0.18s,
    color 0.18s;
}
.primary-nav a:hover,
.primary-nav a:focus-visible {
  background: var(--blue-soft);
  color: var(--blue-dark);
  outline: none;
}
.right-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: max-content;
}
.right-menu button,
.grade-badge {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 850;
}
.grade-badge {
  background: var(--blue-soft);
  color: var(--blue-dark);
}
.right-menu button {
  border: 1px solid var(--line);
  background: #fff;
  color: #28364c;
}
.right-menu button:hover {
  background: #f8fafc;
}
.right-menu .notice-btn {
  border-color: #fed7aa;
  background: #fff7ed;
  color: var(--orange);
}
.right-menu .guest-inquiry-btn {
  border-color: #bfd3f6;
  background: var(--blue-soft);
  color: var(--blue-dark);
}
.right-menu .guest-inquiry-btn:hover {
  background: #dce9ff;
}
.right-menu .logout-btn {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}
.right-menu .logout-btn:hover {
  background: #1d4ed8;
}
main {
  width: min(1400px, calc(100% - 48px));
  margin: 28px auto 0;
}
.hero {
  min-height: 390px;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.7fr);
  align-items: stretch;
  border: 1px solid #cfe0f7;
  border-radius: 24px;
  background: var(--blue-pale);
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(37, 99, 235, 0.08);
}
.hero-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 52px 56px;
}
.eyebrow {
  margin-bottom: 12px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 900;
}
.hero h1 {
  max-width: 760px;
  color: #152238;
  font-size: 44px;
  font-weight: 900;
  line-height: 1.2;
}
.hero h1 span {
  color: var(--blue);
}
.hero-copy {
  margin-top: 16px;
  color: #52627a;
  font-size: 16px;
  line-height: 1.7;
}
.search-form {
  width: min(840px, 100%);
  height: 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  margin-top: 28px;
  border: 1px solid #b9c8dc;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
  overflow: hidden;
}
.search-form:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.search-form input {
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 20px;
  color: var(--ink);
  font-size: 16px;
}
.search-form input::placeholder {
  color: #8a98ab;
}
.search-form button {
  border: 0;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
}
.search-form button:hover {
  background: #1d4ed8;
}
.popular-searches {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.popular-searches strong {
  margin-right: 3px;
  color: #52627a;
  font-size: 12px;
}
.search-chip {
  min-height: 34px;
  border: 1px solid #cfdaea;
  border-radius: 17px;
  background: #fff;
  color: #344054;
  padding: 0 13px;
  font-size: 12px;
  font-weight: 750;
}
.search-chip:hover {
  border-color: var(--blue);
  color: var(--blue-dark);
}
.hero-status {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 36px;
  background: #fff;
  border-left: 1px solid #cfe0f7;
}
.live-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #52627a;
  font-size: 13px;
  font-weight: 800;
}
.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 4px #dcfce7;
}
.hero-status h2 {
  margin-top: 20px;
  color: #172033;
  font-size: 22px;
  line-height: 1.4;
}
.status-total {
  margin-top: 8px;
  color: #718096;
  font-size: 13px;
}
.number {
  margin-top: 12px;
  color: var(--blue);
  font-size: 34px;
  font-weight: 900;
  overflow-wrap: anywhere;
}
.status-note {
  margin-top: 14px;
  color: #66758b;
  font-size: 13px;
  line-height: 1.6;
}
.status-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 24px;
}
.status-links a {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: #344054;
  font-size: 12px;
  font-weight: 850;
}
.status-links a:first-child {
  border-color: var(--blue);
  color: var(--blue-dark);
}
.section-block {
  margin-top: 28px;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: 22px;
  line-height: 1.35;
}
.section-head p {
  color: var(--muted);
  font-size: 13px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}
.service-item {
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid #e8edf4;
  background: transparent;
  padding: 20px;
  transition: background 0.18s;
}
.service-item:first-child {
  border-left: 0;
}
.service-item:hover {
  background: #f5f8ff;
}
.service-number {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}
.service-item strong {
  display: block;
  font-size: 17px;
}
.service-item p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.service-arrow {
  align-self: flex-end;
  color: var(--blue);
  font-weight: 900;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.55fr) minmax(260px, 0.8fr);
  gap: 18px;
  margin-top: 28px;
  align-items: stretch;
}
.panel {
  border: 0;
  border-radius: 18px;
  background: var(--panel);
  padding: 24px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}
.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.panel-title h2 {
  font-size: 19px;
}
.panel-title span {
  color: #8794a8;
  font-size: 11px;
  font-weight: 800;
}
.membership-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 0;
  border-radius: 18px;
  background: #2459d8;
  color: #fff;
  padding: 26px;
  box-shadow: 0 14px 30px rgba(37, 89, 216, 0.2);
}
.membership-kicker {
  margin-bottom: 12px;
  color: #dbeafe;
  font-size: 11px;
  font-weight: 900;
}
.membership-card h2 {
  font-size: 23px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.membership-card p {
  margin-top: 12px;
  color: #e7efff;
  font-size: 13px;
  line-height: 1.7;
}
.membership-list {
  display: grid;
  gap: 0;
  margin: 22px 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}
.membership-list li {
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 13px;
  font-weight: 750;
}
.membership-actions {
  display: grid;
  gap: 8px;
  margin-top: auto;
}
.membership-actions button {
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  background: transparent;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}
.membership-actions .primary-action {
  border-color: #fff;
  background: #fff;
  color: var(--blue-dark);
}
.membership-actions button:hover {
  background: rgba(255, 255, 255, 0.1);
}
.membership-actions .primary-action:hover {
  background: #eff6ff;
}
.career-list {
  display: grid;
  gap: 0;
}
.career-item {
  min-height: 62px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #e9eef5;
  padding: 10px 0;
}
.career-item:last-child {
  border-bottom: 0;
}
.career-rank {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 900;
}
.career-item strong {
  font-size: 14px;
  overflow-wrap: anywhere;
}
.career-item button {
  grid-column: 2;
  justify-self: start;
  border: 0;
  background: transparent;
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 850;
}
.career-count {
  grid-column: 3;
  grid-row: 1/3;
  color: #718096;
  font-size: 11px;
  font-weight: 800;
}
.subject-list {
  display: grid;
  gap: 16px;
}
.subject-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}
.subject-row strong {
  font-size: 13px;
}
.subject-row span {
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 900;
}
.subject-bar {
  grid-column: 1/-1;
  height: 6px;
  border-radius: 3px;
  background: #e6edf7;
  overflow: hidden;
}
.subject-bar i {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: var(--blue);
}
.roadmap-section {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.7fr);
  gap: 14px;
  margin-top: 28px;
}
.roadmap-section.full {
  grid-template-columns: 1fr;
}
.roadmap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}
.roadmap-step {
  position: relative;
  min-height: 150px;
  padding: 18px 20px;
  border-left: 1px solid var(--line);
}
.roadmap-step:first-child {
  border-left: 0;
  padding-left: 0;
}
.roadmap-step:last-child {
  padding-right: 0;
}
.step-grade {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}
.roadmap-step h3 {
  margin-top: 8px;
  font-size: 16px;
}
.roadmap-step ul {
  margin: 12px 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}
.analysis-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-color: #a9dbe5;
  background: #edfafd;
}
.analysis-panel .panel-label {
  color: #08738a;
  font-size: 12px;
  font-weight: 900;
}
.analysis-panel h2 {
  margin-top: 9px;
  font-size: 24px;
  line-height: 1.4;
}
.analysis-panel p {
  margin-top: 12px;
  color: #50687a;
  font-size: 13px;
  line-height: 1.7;
}
.analysis-panel button {
  min-height: 44px;
  margin-top: 22px;
  border: 0;
  border-radius: 6px;
  background: #087f96;
  color: #fff;
  font-weight: 900;
}
.stat-empty {
  min-height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #718096;
  font-size: 13px;
  line-height: 1.7;
}
.footer-box {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 28px 0 42px;
  padding: 20px 24px;
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}
.footer-box strong {
  font-size: 16px;
}
.footer-box p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}
.footer-box a {
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 900;
}
@media (max-width: 1120px) {
  .header-inner {
    grid-template-columns: auto 1fr;
    gap: 18px;
  }
  .primary-nav {
    grid-column: 1/-1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    border-top: 1px solid #edf0f4;
    padding: 7px 0;
  }
  .site-header,
  .header-inner {
    min-height: auto;
  }
  .header-inner {
    padding-top: 10px;
  }
  .dashboard-grid {
    grid-template-columns: 1fr 1.5fr;
  }
  .dashboard-grid > .panel:last-child {
    grid-column: 1/-1;
  }
  .subject-list {
    grid-template-columns: repeat(5, 1fr);
  }
}
@media (max-width: 820px) {
  .header-inner,
  main {
    width: min(100% - 28px, 1400px);
  }
  .header-inner {
    grid-template-columns: 1fr;
  }
  .right-menu {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 9px;
  }
  .primary-nav {
    grid-row: auto;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-main {
    padding: 36px 28px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .hero-status {
    border-left: 0;
    border-top: 1px solid #cfe0f7;
    padding: 26px 28px;
  }
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-item:nth-child(3) {
    border-left: 0;
    border-top: 1px solid #e8edf4;
  }
  .service-item:nth-child(4) {
    border-top: 1px solid #e8edf4;
  }
  .dashboard-grid,
  .roadmap-section {
    grid-template-columns: 1fr;
  }
  .dashboard-grid > .panel:last-child {
    grid-column: auto;
  }
  .subject-list {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .header-inner {
    gap: 2px;
    padding-top: 7px;
  }
  .brand-name {
    font-size: 18px;
  }
  .brand img {
    width: 42px;
    height: 42px;
  }
  .primary-nav {
    gap: 2px;
    padding: 3px 0;
  }
  .primary-nav a {
    min-height: 34px;
    padding: 0 10px;
    font-size: 12px;
  }
  .right-menu {
    gap: 6px;
    padding-bottom: 6px;
  }
  .right-menu button,
  .grade-badge {
    min-height: 36px;
    padding: 0 11px;
  }
  main {
    margin-top: 12px;
  }
  .hero-main {
    padding: 23px 18px;
  }
  .eyebrow {
    margin-bottom: 8px;
    font-size: 11px;
  }
  .hero h1 {
    font-size: 28px;
  }
  .hero-copy {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.55;
  }
  .search-form {
    height: auto;
    grid-template-columns: 1fr;
    margin-top: 18px;
  }
  .search-form input {
    height: 52px;
    padding: 0 15px;
    font-size: 14px;
  }
  .search-form button {
    height: 44px;
  }
  .popular-searches {
    gap: 6px;
    margin-top: 12px;
  }
  .search-chip {
    min-height: 30px;
    padding: 0 10px;
  }
  .hero-status {
    padding: 19px 18px;
  }
  .hero-status h2 {
    margin-top: 13px;
    font-size: 20px;
  }
  .number {
    margin-top: 8px;
    font-size: 30px;
  }
  .status-note {
    margin-top: 8px;
    font-size: 12px;
  }
  .status-links {
    margin-top: 14px;
  }
  .status-links a {
    min-height: 38px;
  }
  .service-grid,
  .career-list,
  .roadmap {
    grid-template-columns: 1fr;
  }
  .service-item,
  .service-item:nth-child(2),
  .service-item:nth-child(3),
  .service-item:nth-child(4) {
    border-left: 0;
    border-top: 1px solid #e8edf4;
  }
  .service-item:first-child {
    border-top: 0;
  }
  .roadmap-step,
  .roadmap-step:first-child,
  .roadmap-step:last-child {
    min-height: auto;
    padding: 16px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .roadmap-step:first-child {
    border-top: 0;
  }
  .panel {
    padding: 20px;
  }
  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
  .footer-box {
    align-items: flex-start;
    flex-direction: column;
  }
}
