/* =====================================================================
   TOP EDUPREP — visual system in the spirit of apple.com
   Monochrome canvas (white / #f5f5f7 / black) + a single blue accent,
   Pretendard/-apple-system type, pill controls, hairline dividers,
   generous section rhythm, large tight-tracked headlines.
   ===================================================================== */

/* ===== TOKENS ===== */
:root {
  /* -- ink & surfaces -- */
  --navy: #1d1d1f;            /* primary ink (kept var name for compat) */
  --navy-dark: #000000;       /* deepest black — hero / cta sections   */
  --white: #ffffff;
  --cream: #f5f5f7;

  --gray-50:  #f5f5f7;
  --gray-100: #e8e8ed;
  --gray-200: #d2d2d7;        /* apple hairline grey */
  --gray-400: #86868b;
  --gray-600: #6e6e73;
  --gray-800: #1d1d1f;

  /* -- accent -- */
  --blue: #0071e3;
  --blue-dark: #0051a2;
  --gold: #0071e3;            /* legacy var name → mapped to accent blue */
  --gold-light: #2997ff;

  --red: #ff3b30;
  --green: #06c167;
  --teal: #0071e3;

  /* -- type -- */
  --font-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Pretendard Variable', Pretendard, 'Noto Sans KR', 'Helvetica Neue', Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Pretendard Variable', Pretendard, 'Noto Sans KR', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'SF Mono', ui-monospace, 'Roboto Mono', monospace;

  /* -- shape -- */
  --radius: 18px;
  --radius-lg: 28px;
  --pill: 980px;
  --shadow-sm: 0 2px 10px rgba(0,0,0,.05);
  --shadow: 0 16px 40px rgba(0,0,0,.09);
  --shadow-lg: 0 30px 70px rgba(0,0,0,.16);

  --max-w: 1120px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  line-height: 1.5294117647;
  font-size: 17px;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

/* ===== UTILITY ===== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 22px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.text-gold { color: var(--blue); }
.text-navy { color: var(--navy); }

.badge { display: inline-block; padding: 5px 14px; border-radius: var(--pill); font-size: 12px; font-weight: 600; letter-spacing: 0; }
.badge--gold { background: rgba(0,113,227,.1); color: var(--blue); }
.badge--navy { background: var(--navy); color: var(--white); }
.badge--green { background: rgba(6,193,103,.12); color: #06985a; }

.section-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: -0.01em; text-transform: none; color: var(--blue); margin-bottom: 10px; }
.section-title { font-family: var(--font-display); font-size: clamp(30px, 4.2vw, 48px); font-weight: 600; letter-spacing: -0.018em; color: var(--navy); line-height: 1.15; margin-bottom: 18px; }
.section-subtitle { font-size: 19px; color: var(--gray-600); max-width: 620px; line-height: 1.4; letter-spacing: -0.012em; }
.section { padding: 112px 0; }
.section--alt { background: var(--gray-50); }

.btn { display: inline-flex; align-items: center; gap: 6px; padding: 13px 26px; border-radius: var(--pill); font-weight: 500; font-size: 16px; transition: all .2s ease; cursor: pointer; letter-spacing: -0.01em; }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-dark); }
.btn--gold { background: var(--blue); color: var(--white); }
.btn--gold:hover { background: var(--blue-dark); }
.btn--outline { border: 1px solid var(--gray-200); color: var(--navy); background: transparent; }
.btn--outline:hover { border-color: var(--navy); }
.btn--sm { padding: 9px 20px; font-size: 14px; }

/* ===== EDIT MODE (unused, kept harmless) ===== */
body.edit-mode [data-editable] { outline: 2px dashed var(--blue); border-radius: 4px; cursor: text; }

/* ===== HEADER / NAV ===== */
#header { position: sticky; top: 0; z-index: 900; background: rgba(255,255,255,.8); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,.06); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 52px; gap: 24px; }
.nav__logo { display: flex; flex-direction: column; line-height: 1.1; }
.nav__logo-name { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--navy); letter-spacing: -0.01em; }
.nav__logo-sub { font-size: 9.5px; color: var(--gray-400); letter-spacing: .04em; text-transform: uppercase; }
.nav__links { display: flex; gap: 2px; }
.nav__links a { color: var(--gray-600); font-size: 12.5px; font-weight: 400; padding: 8px 12px; border-radius: 8px; transition: color .15s; letter-spacing: -0.005em; }
.nav__links a:hover, .nav__links a.active { color: var(--navy); }
.nav__cta { background: var(--blue); color: var(--white); padding: 8px 18px; border-radius: var(--pill); font-size: 12.5px; font-weight: 500; transition: background .2s; white-space: nowrap; }
.nav__cta:hover { background: var(--blue-dark); }
.nav__hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; }
.nav__hamburger span { display: block; width: 20px; height: 1.5px; background: var(--navy); border-radius: 2px; }
.nav__mobile { display: none; background: var(--white); padding: 12px 20px 20px; border-bottom: 1px solid var(--gray-100); }
.nav__mobile a { display: block; color: var(--gray-600); font-size: 15px; padding: 12px 0; border-bottom: 1px solid var(--gray-100); }
.nav__mobile a:last-child { border-bottom: none; }

/* ===== HERO (apple-style: full black canvas, huge centered type) ===== */
#hero {
  background: radial-gradient(120% 140% at 50% 0%, #17181c 0%, #000000 60%);
  color: var(--white);
  padding: 96px 0 110px;
  position: relative;
  overflow: hidden;
}
.hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; position: relative; }
.hero__eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; }
.hero__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.5)} }
.hero__eyebrow-text { font-size: 12.5px; font-weight: 600; letter-spacing: .02em; color: var(--gold-light); text-transform: none; }
.hero__title { font-family: var(--font-display); font-size: clamp(34px, 5vw, 64px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; margin-bottom: 24px; }
.hero__title em { font-style: normal; color: var(--gold-light); }
.hero__desc { font-size: 19px; color: rgba(255,255,255,.68); line-height: 1.5; margin-bottom: 36px; max-width: 540px; letter-spacing: -0.012em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero__stats { display: flex; gap: 32px; flex-wrap: wrap; }
.hero__stat { text-align: left; }
.hero__stat-num { font-family: var(--font-display); font-size: 26px; font-weight: 600; letter-spacing: -0.01em; color: var(--white); }
.hero__stat-label { font-size: 12.5px; color: rgba(255,255,255,.5); margin-top: 2px; }
.hero__visual { display: flex; flex-direction: column; gap: 16px; }

.score-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: 26px; backdrop-filter: blur(20px); }
.score-card__title { font-size: 12px; font-weight: 600; color: rgba(255,255,255,.5); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 18px; }
.score-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.score-row:last-child { border-bottom: none; }
.score-row__school { font-size: 14.5px; color: rgba(255,255,255,.85); font-weight: 400; }
.score-row__score { display: flex; gap: 10px; }
.score-chip { padding: 4px 12px; border-radius: var(--pill); font-size: 12px; font-weight: 600; }
.score-chip--sat { background: rgba(0,113,227,.18); color: #4fa8ff; }
.score-chip--ap { background: rgba(6,193,103,.18); color: #3ddc97; }
.score-chip--gpa { background: rgba(191,90,242,.18); color: #cf8bfa; }

/* ===== BLOG HERO ===== */
#blog-hero { background: radial-gradient(120% 160% at 50% 0%, #17181c 0%, #000000 65%); padding: 68px 0 46px; color: var(--white); }
.blog-hero__badge { display: inline-block; background: rgba(255,255,255,.1); color: var(--gold-light); font-size: 11.5px; font-weight: 600; letter-spacing: .02em; padding: 5px 14px; border-radius: var(--pill); margin-bottom: 18px; }
.blog-hero__title { font-family: var(--font-display); font-size: clamp(26px, 3.6vw, 44px); font-weight: 600; letter-spacing: -0.018em; line-height: 1.16; margin-bottom: 16px; }
.blog-hero__meta { font-size: 13.5px; color: rgba(255,255,255,.5); display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.blog-hero__meta span { display: flex; align-items: center; gap: 5px; }

/* ===== ARTICLE ===== */
.article-wrap { display: grid; grid-template-columns: 1fr 280px; gap: 48px; padding: 72px 0; align-items: start; }
.article { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--gray-100); overflow: hidden; }
.article__body { padding: 48px; }
.article__body h2 { font-family: var(--font-display); font-size: 26px; font-weight: 600; letter-spacing: -0.015em; color: var(--navy); margin: 44px 0 16px; padding-bottom: 14px; border-bottom: 1px solid var(--gray-200); }
.article__body h3 { font-size: 19px; color: var(--navy); margin: 30px 0 12px; font-weight: 600; letter-spacing: -0.012em; }
.article__body p { margin-bottom: 18px; color: var(--gray-600); line-height: 1.6; font-size: 16px; letter-spacing: -0.01em; }
.article__body ul, .article__body ol { margin: 0 0 18px 20px; color: var(--gray-600); }
.article__body ul { list-style: disc; }
.article__body ol { list-style: decimal; }
.article__body li { margin-bottom: 9px; line-height: 1.55; font-size: 16px; }
.article__body strong { color: var(--gray-800); font-weight: 600; }
.article__body .highlight-box { background: var(--gray-50); border-left: 3px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0; padding: 22px 26px; margin: 26px 0; }
.article__body .highlight-box p { margin-bottom: 0; color: var(--gray-800); }
.article__body table { width: 100%; border-collapse: collapse; margin: 26px 0; font-size: 14.5px; }
.article__body th { background: var(--gray-50); color: var(--navy); padding: 13px 16px; text-align: left; font-weight: 600; font-size: 12.5px; border-bottom: 1px solid var(--gray-200); }
.article__body td { padding: 13px 16px; border-bottom: 1px solid var(--gray-100); color: var(--gray-600); }
.article__body tr:nth-child(even) td { background: var(--gray-50); }
.article__body .comparison-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin: 26px 0; }
.article__body .comparison-card { border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 22px; }
.article__body .comparison-card.best { border-color: var(--blue); background: rgba(0,113,227,.04); }
.article__body .comparison-card h4 { font-size: 16px; font-weight: 600; color: var(--navy); margin-bottom: 12px; }
.article__body .comparison-card .tag { font-size: 11px; background: var(--navy); color: var(--white); padding: 3px 10px; border-radius: var(--pill); margin-bottom: 10px; display: inline-block; font-weight: 500; }
.article__body .comparison-card.best .tag { background: var(--blue); color: var(--white); }
.article__body .comparison-card ul { list-style: none; margin: 0; }
.article__body .comparison-card li { font-size: 13.5px; color: var(--gray-600); padding: 6px 0; border-bottom: 1px solid var(--gray-100); display: flex; gap: 8px; }
.article__body .comparison-card li:last-child { border-bottom: none; }
.article__body .faq-item { border: 1px solid var(--gray-200); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.article__body .faq-q { padding: 16px 20px; font-weight: 600; color: var(--navy); cursor: pointer; display: flex; justify-content: space-between; align-items: center; background: var(--gray-50); }
.article__body .faq-a { padding: 16px 20px; color: var(--gray-600); font-size: 15.5px; line-height: 1.6; display: none; background: var(--white); }
.article__body .faq-item.open .faq-a { display: block; }
.article__body .verdict-box { background: var(--navy-dark); color: var(--white); border-radius: var(--radius); padding: 30px; margin: 30px 0; }
.article__body .verdict-box h3 { color: var(--gold-light); margin: 0 0 12px; font-weight: 600; }
.article__body .verdict-box p { color: rgba(255,255,255,.8); margin: 0; }

/* ===== SIDEBAR ===== */
.sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 76px; }
.sidebar-box { background: var(--gray-50); border: 1px solid var(--gray-100); border-radius: var(--radius-lg); padding: 24px; }
.sidebar-box__title { font-size: 12.5px; font-weight: 600; color: var(--navy); letter-spacing: .01em; text-transform: uppercase; margin-bottom: 14px; }
.sidebar-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 24px; }
.sidebar-card__title { font-size: 13px; font-weight: 600; color: var(--navy); letter-spacing: .02em; text-transform: uppercase; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--gray-100); }
.sidebar-toc a { display: block; font-size: 14.5px; color: var(--gray-600); padding: 8px 0; border-bottom: 1px solid var(--gray-100); transition: color .15s; }
.sidebar-toc a:last-child { border-bottom: none; }
.sidebar-toc a:hover { color: var(--blue); }
.sidebar-toc a::before { content: '— '; color: var(--gray-400); }
.sidebar-cta { background: var(--navy-dark); border-radius: var(--radius-lg); padding: 26px; color: var(--white); }
.sidebar-cta h4 { font-family: var(--font-display); font-size: 18px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.012em; }
.sidebar-cta p { font-size: 13.5px; color: rgba(255,255,255,.6); margin-bottom: 18px; line-height: 1.55; }
.sidebar-cta .sidebar-card__title { color: var(--gold-light); border-color: rgba(255,255,255,.1); }
.sidebar-cta-btn { display: flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: var(--pill); font-size: 14px; font-weight: 500; transition: all .2s; width: 100%; justify-content: center; margin-bottom: 10px; }
.sidebar-cta-btn--kakao { background: #FEE500; color: #3C1E1E; }
.sidebar-cta-btn--naver { background: #03C75A; color: var(--white); }
.sidebar-cta-btn--phone { background: rgba(255,255,255,.1); color: var(--white); border: 1px solid rgba(255,255,255,.2); }
.sidebar-links a { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--gray-600); padding: 8px 0; transition: color .15s; }
.sidebar-links a:hover { color: var(--blue); }

/* ===== ABOUT SECTION ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-text .section-title { margin-bottom: 20px; }
.about-text p { color: var(--gray-600); margin-bottom: 16px; line-height: 1.6; font-size: 16.5px; letter-spacing: -0.01em; }
.about-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.about-features { display: flex; flex-direction: column; gap: 20px; margin-top: 8px; }
.about-feature { display: flex; gap: 18px; align-items: flex-start; }
.about-feature__icon { width: 44px; height: 44px; border-radius: 13px; background: var(--navy-dark); color: var(--gold-light); display: flex; align-items: center; justify-content: center; font-size: 19px; flex-shrink: 0; }
.about-feature__text h3, .about-feature__text h4 { font-size: 16px; font-weight: 600; color: var(--navy); margin-bottom: 4px; letter-spacing: -0.012em; }
.about-feature__text p { font-size: 14.5px; color: var(--gray-600); margin: 0; line-height: 1.55; }
.campus-cards { display: flex; flex-direction: column; gap: 14px; }
.campus-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 20px 24px; display: flex; align-items: center; gap: 16px; box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s; }
.campus-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.campus-card__icon { width: 46px; height: 46px; border-radius: 13px; background: var(--navy-dark); color: var(--gold-light); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.campus-card__name { font-weight: 600; color: var(--navy); font-size: 16px; letter-spacing: -0.012em; }
.campus-card__access { font-size: 13px; color: var(--gray-400); margin-top: 2px; }

/* ===== EXAMS / CURRICULUM (kept for compatibility, restyled) ===== */
.exam-tabs, .curriculum-tabs { display: flex; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; }
.exam-tab, .curriculum-tab { padding: 10px 22px; border-radius: var(--pill); font-weight: 500; font-size: 14px; border: 1px solid var(--gray-200); color: var(--gray-600); transition: all .2s; cursor: pointer; }
.exam-tab.active, .exam-tab:hover, .curriculum-tab.active { background: var(--navy-dark); color: var(--white); border-color: var(--navy-dark); }
.exam-panel, .curriculum-panel { display: none; }
.exam-panel.active { display: block; }
.exam-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.exam-card, .curriculum-card { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--gray-200); padding: 28px; box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s; }
.exam-card:hover, .curriculum-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.exam-card__tag { display: inline-block; padding: 4px 12px; border-radius: var(--pill); font-size: 11px; font-weight: 600; margin-bottom: 14px; }
.exam-card__tag--sat { background: #EBF4FF; color: #0071e3; }
.exam-card__tag--act { background: #FFF3E0; color: #E65100; }
.exam-card__tag--ap { background: #E8F9F0; color: #06985a; }
.exam-card__tag--ib { background: #F3E8FE; color: #8b3fd9; }
.exam-card__name, .curriculum-card__title { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--navy); margin-bottom: 10px; letter-spacing: -0.012em; }
.exam-card__desc { font-size: 14.5px; color: var(--gray-600); line-height: 1.6; margin-bottom: 18px; }
.exam-card__stats { display: flex; flex-direction: column; gap: 8px; }
.exam-stat-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; padding: 8px 0; border-bottom: 1px solid var(--gray-100); }
.exam-stat-row:last-child { border-bottom: none; }
.exam-stat-row span:first-child { color: var(--gray-400); }
.exam-stat-row span:last-child { font-weight: 600; color: var(--navy); }
.curriculum-card__icon { font-size: 30px; margin-bottom: 14px; }
.curriculum-card__level { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.curriculum-card__topics { display: flex; flex-direction: column; gap: 6px; }
.curriculum-card__topic { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--gray-600); }
.curriculum-card__topic::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }

/* ===== TABLES (college table / prose tables) ===== */
.college-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--gray-200); }
.college-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.college-table thead th { background: var(--gray-50); color: var(--navy); padding: 15px 18px; text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; border-bottom: 1px solid var(--gray-200); }
.college-table tbody tr { border-bottom: 1px solid var(--gray-100); transition: background .15s; }
.college-table tbody tr:hover { background: var(--gray-50); }
.college-table td { padding: 14px 18px; color: var(--gray-600); vertical-align: middle; }
.college-table td:first-child { font-weight: 600; color: var(--navy); }
.rank-badge { display: inline-block; background: var(--navy-dark); color: var(--white); font-size: 10.5px; font-weight: 600; padding: 3px 8px; border-radius: var(--pill); margin-right: 8px; }
.score-range { font-family: var(--font-mono); font-size: 13px; color: var(--blue); font-weight: 600; }
.req-chip { display: inline-block; font-size: 11px; padding: 3px 10px; border-radius: var(--pill); font-weight: 600; margin: 2px; }
.req-chip--req { background: #FFEBE8; color: var(--red); }
.req-chip--rec { background: #E8F9F0; color: var(--green); }
.req-chip--opt { background: var(--gray-100); color: var(--gray-600); }

/* ===== CLASS TYPES ===== */
.class-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.class-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.class-card__header { padding: 30px; }
.class-card--group .class-card__header { background: var(--navy-dark); }
.class-card--private .class-card__header { background: linear-gradient(135deg, #1a1a1d, #000); }
.class-card--online .class-card__header { background: linear-gradient(135deg, #0b2942, #000); }
.class-card__emoji { font-size: 34px; margin-bottom: 14px; }
.class-card__type { font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 6px; }
.class-card__name { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--white); margin-bottom: 10px; letter-spacing: -0.012em; }
.class-card__tagline { font-size: 14px; color: rgba(255,255,255,.65); }
.class-card__body { background: var(--white); border: 1px solid var(--gray-200); border-top: none; padding: 26px; }
.class-card__features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.class-card__feature { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--gray-600); }
.class-card__feature::before { content: '—'; color: var(--blue); font-weight: 600; margin-top: 1px; flex-shrink: 0; }

/* ===== GRADES ===== */
.grade-timeline { display: flex; flex-direction: column; gap: 0; }
.grade-item { display: grid; grid-template-columns: 140px 1fr; }
.grade-item__label { background: var(--navy-dark); color: var(--white); padding: 24px 20px; display: flex; flex-direction: column; justify-content: center; }
.grade-item:first-child .grade-item__label { border-radius: var(--radius) 0 0 0; }
.grade-item:last-child .grade-item__label { border-radius: 0 0 0 var(--radius); }
.grade-item__level { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 4px; }
.grade-item__grade { font-size: 16px; font-weight: 600; color: var(--white); }
.grade-item__content { background: var(--white); border: 1px solid var(--gray-200); border-left: none; padding: 24px 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; align-items: center; }
.grade-item:first-child .grade-item__content { border-radius: 0 var(--radius) 0 0; }
.grade-item:last-child .grade-item__content { border-radius: 0 0 var(--radius) 0; }
.grade-subject { font-size: 13px; color: var(--gray-600); }
.grade-subject strong { color: var(--navy); font-weight: 600; display: block; font-size: 14px; margin-bottom: 2px; }

/* ===== REVIEWS ===== */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.review-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.review-stars { display: flex; gap: 3px; margin-bottom: 16px; }
.review-star { color: var(--blue); font-size: 15px; }
.review-text { font-size: 15.5px; color: var(--gray-800); line-height: 1.6; margin-bottom: 22px; font-style: normal; }
.review-footer { display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--navy-dark); color: var(--gold-light); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 15px; flex-shrink: 0; }
.review-meta { font-size: 13px; }
.review-name { font-weight: 600; color: var(--navy); }
.review-detail { color: var(--gray-400); margin-top: 2px; }
.review-result { display: inline-block; background: #E8F9F0; color: #06985a; font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: var(--pill); margin-top: 6px; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-buttons { display: flex; flex-direction: column; gap: 14px; }
.contact-btn { display: flex; align-items: center; gap: 16px; padding: 18px 24px; border-radius: var(--radius); font-size: 15px; font-weight: 600; transition: all .2s; border: 1px solid transparent; }
.contact-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.contact-btn__icon { width: 44px; height: 44px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 21px; flex-shrink: 0; }
.contact-btn__text { flex: 1; }
.contact-btn__label { font-size: 12px; font-weight: 500; opacity: .65; display: block; margin-bottom: 2px; }
.contact-btn--kakao { background: #FEE500; color: #3C1E1E; }
.contact-btn--kakao .contact-btn__icon { background: rgba(0,0,0,.08); }
.contact-btn--naver { background: #03C75A; color: var(--white); }
.contact-btn--naver .contact-btn__icon { background: rgba(0,0,0,.12); }
.contact-btn--phone { background: var(--navy-dark); color: var(--white); }
.contact-btn--phone .contact-btn__icon { background: rgba(255,255,255,.12); }
.contact-btn--free { background: var(--blue); color: var(--white); }
.contact-btn--free .contact-btn__icon { background: rgba(255,255,255,.15); }
.contact-info-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-info-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 20px 24px; transition: box-shadow .2s; }
.contact-info-card:hover { box-shadow: var(--shadow-sm); }
.contact-info-card__title { font-weight: 600; color: var(--navy); font-size: 15px; margin-bottom: 6px; }
.contact-info-card__text { font-size: 14px; color: var(--gray-600); line-height: 1.55; }

/* ===== BLOG ===== */
.blog-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 36px; flex-wrap: wrap; gap: 16px; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.blog-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s; display: flex; flex-direction: column; position: relative; }
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.blog-card__thumb { height: 180px; background: var(--navy-dark); display: flex; align-items: center; justify-content: center; font-size: 44px; position: relative; overflow: hidden; }
.blog-card__cat { position: absolute; top: 14px; left: 14px; }
.blog-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card__title { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--navy); line-height: 1.35; margin: 8px 0 12px; letter-spacing: -0.012em; }
.blog-card__excerpt { font-size: 14px; color: var(--gray-600); line-height: 1.6; flex: 1; }
.blog-card__footer { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--gray-100); }
.blog-card__date { font-size: 12px; color: var(--gray-400); }
.blog-card__action { font-size: 13px; color: var(--blue); font-weight: 600; display: flex; align-items: center; gap: 4px; }
.blog-add-btn { display: flex; align-items: center; gap: 8px; padding: 12px 24px; background: var(--navy-dark); color: var(--white); border-radius: var(--pill); font-weight: 600; font-size: 14px; cursor: pointer; }
.blog-del-btn { position: absolute; top: 10px; right: 10px; background: var(--red); color: var(--white); border: none; border-radius: 50%; width: 28px; height: 28px; font-size: 14px; cursor: pointer; display: none; align-items: center; justify-content: center; z-index: 2; font-weight: 700; }
body.edit-mode .blog-del-btn { display: flex; }

/* ===== FOOTER (light, hairline, tiny type — apple style) ===== */
#footer { background: var(--gray-50); color: var(--gray-600); padding: 64px 0 28px; border-top: 1px solid var(--gray-200); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-logo-name { font-family: var(--font-display); font-size: 19px; font-weight: 600; color: var(--navy); margin-bottom: 4px; letter-spacing: -0.012em; }
.footer-logo-sub { font-size: 11px; color: var(--gray-400); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.footer-desc { font-size: 13.5px; line-height: 1.6; max-width: 280px; color: var(--gray-600); }
.footer-col h4 { font-size: 12px; font-weight: 600; color: var(--navy); letter-spacing: .01em; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13px; color: var(--gray-600); padding: 5px 0; transition: color .15s; }
.footer-col a:hover { color: var(--blue); }
.footer-divider { border: none; border-top: 1px solid var(--gray-200); margin-bottom: 20px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--gray-400); }
.footer-bottom-right { display: flex; gap: 18px; }
.footer-bottom-right a { color: var(--gray-400); transition: color .15s; font-size: 12px; }
.footer-bottom-right a:hover { color: var(--navy); }

/* ===== MODAL (unused, kept harmless) ===== */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 9000; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.open { display: flex; }
.modal { background: var(--white); border-radius: var(--radius-lg); max-width: 500px; width: 100%; padding: 36px; box-shadow: var(--shadow-lg); }
.modal h3 { font-size: 21px; font-weight: 600; color: var(--navy); margin-bottom: 12px; }
.modal p { color: var(--gray-600); margin-bottom: 24px; }
.modal-actions { display: flex; gap: 12px; justify-content: flex-end; }

/* =====================================================================
   ADDED SECTIONS (breadcrumb / page-hero / prose / pillar / cta / faq / blog / location)
   ===================================================================== */

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 12.5px; color: var(--gray-400); padding: 18px 0; }
.breadcrumb a { color: var(--gray-400); }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb span[aria-current] { color: var(--navy); font-weight: 500; }
.breadcrumb .sep { color: var(--gray-200); }

.page-hero { background: radial-gradient(120% 150% at 50% 0%, #17181c 0%, #000000 62%); color: var(--white); padding: 60px 0 68px; position: relative; overflow: hidden; }
.page-hero__inner { position: relative; }
.page-hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); padding: 6px 14px; border-radius: var(--pill); font-size: 12px; font-weight: 500; letter-spacing: .01em; color: var(--gold-light); margin-bottom: 20px; }
.page-hero__title { font-family: var(--font-display); font-size: clamp(28px, 4.2vw, 48px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.14; margin-bottom: 20px; max-width: 780px; }
.page-hero__title em { font-style: normal; color: var(--gold-light); }
.page-hero__desc { font-size: 17px; color: rgba(255,255,255,.65); line-height: 1.55; max-width: 620px; margin-bottom: 30px; letter-spacing: -0.011em; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.page-hero .breadcrumb { color: rgba(255,255,255,.4); }
.page-hero .breadcrumb a { color: rgba(255,255,255,.6); }
.page-hero .breadcrumb span[aria-current] { color: var(--gold-light); }
.page-hero .breadcrumb .sep { color: rgba(255,255,255,.2); }

.content-wrap { display: grid; grid-template-columns: 1fr 280px; gap: 48px; padding: 72px 0; align-items: start; }
.content-main { background: var(--white); }
.prose h2 { font-family: var(--font-display); font-size: 27px; font-weight: 600; letter-spacing: -0.015em; color: var(--navy); margin: 44px 0 16px; padding-bottom: 14px; border-bottom: 1px solid var(--gray-200); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; color: var(--navy); margin: 28px 0 12px; font-weight: 600; letter-spacing: -0.012em; }
.prose p { margin-bottom: 18px; color: var(--gray-600); line-height: 1.6; font-size: 16px; letter-spacing: -0.01em; }
.prose ul, .prose ol { margin: 0 0 20px 22px; color: var(--gray-600); }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 9px; line-height: 1.55; font-size: 16px; }
.prose strong { color: var(--gray-800); font-weight: 600; }
.prose .highlight-box { background: var(--gray-50); border-left: 3px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0; padding: 22px 26px; margin: 26px 0; }
.prose .highlight-box p:last-child { margin-bottom: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 26px 0; font-size: 14.5px; }
.prose th { background: var(--gray-50); color: var(--navy); padding: 13px 16px; text-align: left; font-weight: 600; font-size: 12.5px; border-bottom: 1px solid var(--gray-200); }
.prose td { padding: 13px 16px; border-bottom: 1px solid var(--gray-100); color: var(--gray-600); }
.prose tr:nth-child(even) td { background: var(--gray-50); }

.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 24px 0 8px; }
.pillar-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 26px 22px; transition: box-shadow .2s, transform .2s, border-color .2s; }
.pillar-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--gray-200); }
.pillar-card__icon { font-size: 26px; margin-bottom: 14px; }
.pillar-card__title { font-family: var(--font-display); font-size: 16.5px; font-weight: 600; color: var(--navy); margin-bottom: 8px; letter-spacing: -0.012em; }
.pillar-card__desc { font-size: 13.5px; color: var(--gray-600); line-height: 1.5; margin-bottom: 14px; }
.pillar-card__link { font-size: 13px; font-weight: 600; color: var(--blue); }

.cta-band { background: var(--navy-dark); color: var(--white); border-radius: var(--radius-lg); padding: 52px 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band__title { font-family: var(--font-display); font-size: 25px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 8px; }
.cta-band__desc { font-size: 14.5px; color: rgba(255,255,255,.55); }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.faq-item summary { padding: 18px 22px; font-weight: 600; color: var(--navy); cursor: pointer; background: var(--white); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 15.5px; letter-spacing: -0.012em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 20px; color: var(--blue); font-weight: 300; flex-shrink: 0; }
.faq-item[open] summary::after { content: '−'; }
.faq-item[open] summary { border-bottom: 1px solid var(--gray-100); }
.faq-item .faq-a { padding: 18px 22px; color: var(--gray-600); font-size: 15px; line-height: 1.6; }

.blog-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.blog-filter a { padding: 9px 18px; border-radius: var(--pill); font-size: 13.5px; font-weight: 500; color: var(--gray-600); background: var(--gray-100); }
.blog-filter a.active, .blog-filter a:hover { background: var(--navy-dark); color: var(--white); }

.location-hero-stats { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 8px; }
.location-hero-stats .hero__stat-num { color: var(--gold-light); }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-200); height: 320px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

.keyword-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.keyword-tags span { font-size: 12px; color: var(--gray-400); background: var(--gray-50); border: 1px solid var(--gray-100); padding: 5px 12px; border-radius: var(--pill); }

/* ===== MOBILE ===== */
@media (max-width: 900px) {
  .content-wrap { grid-template-columns: 1fr; }
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .class-cards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .article-wrap { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .article__body .comparison-grid { grid-template-columns: 1fr; }
  .grade-item { grid-template-columns: 110px 1fr; }
  .grade-item__content { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .hero__stats { gap: 22px; }
  .blog-grid { grid-template-columns: 1fr; }
  .college-table { font-size: 13px; }
}
@media (max-width: 560px) {
  .pillar-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .article__body { padding: 26px 20px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .section { padding: 60px 0; }
}

/* ===== MOTION ===== */
@media (prefers-reduced-motion: no-preference) {
  .fade-in { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
  .fade-in.visible { opacity: 1; transform: none; }
}
