:root {
  color-scheme:light;
  --ink:#17253d;
  --muted:#65758e;
  --blue:#315bc4;
  --blue2:#1f428d;
  --pale:#eaf1ff;
  --line:#e4eaf4;
  --bg:#f7faff;
  --radius:22px;
  --shadow:0 16px 56px rgba(39,73,130,.09);
  font-family:Pretendard,'Noto Sans KR','Apple SD Gothic Neo',system-ui,sans-serif;
  font-synthesis:none;
}

* {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:85px;
}

body {
  margin:0;
  background:#fff;
  color:var(--ink);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  word-break:keep-all;
}

button,input {
  font:inherit;
}

button {
  cursor:pointer;
}

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

button:focus-visible,input:focus-visible,a:focus-visible {
  outline:3px solid #76a2ff;
  outline-offset:3px;
}

.wrap {
  width:min(calc(100% - 48px),1192px);
  margin-inline:auto;
}

.skip-link {
  position:fixed;
  top:-100px;
  left:12px;
  z-index:100;
  padding:10px;
  background:#fff;
}

.skip-link:focus {
  top:12px;
}

.site-header {
  background:rgba(255,255,255,.96);
  border-bottom:1px solid rgba(216,226,240,.75);
  position:sticky;
  top:0;
  z-index:20;
  backdrop-filter:blur(18px);
}

.header-inner {
  display:flex;
  align-items:center;
  gap:46px;
  min-height:77px;
}

.brand {
  font-weight:750;
  font-size:22px;
  letter-spacing:-1px;
  display:flex;
  align-items:center;
  gap:10px;
  white-space:nowrap;
}

.brand strong {
  font-weight:850;
}

.brand-mark {
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  background:#e6edff;
  color:var(--blue);
  border-radius:12px;
  font-weight:900;
  font-size:23px;
}

.primary-nav {
  display:flex;
  align-items:center;
  gap:28px;
  font-weight:650;
  font-size:14px;
  color:#4d5d74;
}

.primary-nav a:hover,.inline-link:hover {
  color:var(--blue);
}

.login-link {
  margin-left:auto;
  border:1px solid var(--line);
  border-radius:12px;
  padding:10px 17px;
  font-weight:700;
  font-size:14px;
  white-space:nowrap;
}

.login-link:hover {
  background:var(--pale);
}

.hero {
  position:relative;
  overflow:hidden;
  background:linear-gradient(135deg,#fafdff 1%,#f3f7ff 52%,#eef4ff 100%);
}

.hero:after {
  content:'';
  position:absolute;
  right:-100px;
  top:-160px;
  width:550px;
  height:550px;
  opacity:.48;
  background:radial-gradient(circle at 32% 33%,#dceafe 0 16%,transparent 18%),radial-gradient(ellipse at 60% 55%,#d3e2fc 0 25%,transparent 30%);
  filter:blur(65px);
  pointer-events:none;
}

.hero-layout {
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:1.1fr minmax(0,.9fr);
  align-items:center;
  gap:64px;
  min-height:492px;
  padding-block:72px 78px;
}

.eyebrow,.section-kicker,.card-overline {
  font-size:12px;
  letter-spacing:.14em;
  font-weight:800;
  color:var(--blue);
  margin:0 0 19px;
}

.eyebrow {
  letter-spacing:-.01em;
  font-size:14px;
  display:flex;
  align-items:center;
  gap:9px;
}

.eyebrow-dot {
  width:8px;
  height:8px;
  border-radius:50%;
  background:#6384d6;
}

.hero-copy h1 {
  font-size:clamp(37px,4vw,59px);
  line-height:1.22;
  letter-spacing:-2.7px;
  margin:0;
  font-weight:850;
}

.hero-copy h1 em {
  font-style:normal;
  color:var(--blue);
}

.intro {
  font-size:17px;
  color:#536580;
  margin:23px 0 29px;
  line-height:1.85;
}

.hero-highlights {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.hero-highlights span {
  font-size:12px;
  font-weight:700;
  color:#395a99;
  background:#e7eefd;
  border:1px solid #d7e2fb;
  border-radius:99px;
  padding:7px 13px;
}

.search-card {
  background:#fff;
  border:1px solid #e7edf7;
  box-shadow:var(--shadow);
  border-radius:26px;
  padding:32px;
  max-width:500px;
  width:100%;
  justify-self:end;
}

.card-overline {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:0 0 22px;
  font-size:11px;
}

.card-overline span {
  font-size:24px;
  font-weight:400;
  letter-spacing:0;
}

.search-card h2 {
  font-size:25px;
  line-height:1.35;
  letter-spacing:-1.1px;
  margin:0 0 10px;
}

.card-description {
  font-size:14px;
  color:var(--muted);
  margin:0 0 24px;
}

.search-card label {
  font-size:12px;
  display:block;
  color:#50617c;
  font-weight:750;
  margin:0 0 8px;
}

.search-input-wrap {
  height:54px;
  border:1px solid #cad8ee;
  border-radius:13px;
  display:flex;
  gap:10px;
  align-items:center;
  padding:0 15px;
  color:#6982a7;
}

.search-input-wrap:focus-within {
  border-color:var(--blue);
  box-shadow:0 0 0 3px rgba(49,91,196,.10);
}

.search-input-wrap input {
  min-width:0;
  width:100%;
  border:0;
  outline:none;
  background:transparent;
  font-size:14px;
  color:var(--ink);
}

.search-input-wrap input:focus-visible {
  outline:none;
}

.search-input-wrap input::placeholder {
  color:#9aa6b8;
}

.primary-button {
  width:100%;
  height:53px;
  margin-top:12px;
  border:0;
  border-radius:13px;
  background:var(--blue);
  color:white;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:15px;
  font-weight:750;
}

.primary-button:hover {
  background:var(--blue2);
}

.search-footnote {
  font-size:11px;
  color:#7b889a;
  margin:15px 0 0;
  line-height:1.6;
}

.learning-steps {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:25px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  box-shadow:0 7px 25px rgba(41,69,113,.035);
  padding:20px 24px;
  margin-top:-27px;
  position:relative;
  z-index:1;
  font-size:13px;
}

.learning-steps strong {
  font-size:14px;
}

.learning-steps span {
  color:#65758c;
  white-space:nowrap;
}

.learning-steps b {
  font-size:11px;
  color:var(--blue);
  margin-right:8px;
}

.section {
  padding-block:80px;
}

.section-heading {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:30px;
}

.section-kicker {
  font-size:11px;
  margin:0 0 10px;
}

.section-heading h2 {
  font-size:clamp(25px,3vw,33px);
  letter-spacing:-1.4px;
  line-height:1.3;
  margin:0 0 8px;
}

.section-heading p:not(.section-kicker) {
  color:var(--muted);
  font-size:14px;
  margin:0;
}

.inline-link {
  font-size:13px;
  font-weight:750;
  color:var(--blue);
  white-space:nowrap;
}

.field-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:13px;
}

.field-card {
  text-align:left;
  position:relative;
  min-height:125px;
  padding:19px 20px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:3px;
  transition:box-shadow .2s,border-color .2s,transform .2s;
}

.field-card:hover,.field-card.selected {
  border-color:#9eb8ef;
  box-shadow:0 9px 25px rgba(39,73,130,.08);
  transform:translateY(-2px);
}

.field-icon {
  position:absolute;
  right:20px;
  top:13px;
  color:#a7bee9;
  font-size:25px;
}

.field-card strong {
  font-size:17px;
}

.field-card small {
  font-size:12px;
  color:var(--muted);
}

.field-disclaimer {
  font-size:12px;
  color:#7b8699;
  margin:17px 0 0;
}

.catalog-background {
  background:var(--bg);
  border-block:1px solid #eef1f6;
}

.catalog-heading {
  margin-bottom:24px;
}

.catalog-legend {
  font-size:12px;
  font-weight:650;
  color:#65758d;
  white-space:nowrap;
}

.catalog-legend i {
  display:inline-block;
  width:8px;
  height:8px;
  background:#5d8f6a;
  border-radius:50%;
  margin-right:6px;
}

.filter-row {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:22px;
}

.filter {
  background:#fff;
  border:1px solid #dce5f4;
  border-radius:99px;
  color:#53627b;
  padding:9px 16px;
  font-size:13px;
  font-weight:650;
  min-height:42px;
}

.filter:hover {
  border-color:#9eb2d4;
}

.filter.active {
  background:var(--blue);
  color:#fff;
  border-color:var(--blue);
}

.catalog-notice {
  font-size:13px;
  padding:15px 18px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:13px;
  color:#556882;
  margin-bottom:16px;
}

.catalog-notice[data-state="error"] {
  border-color:#e5dcb7;
  background:#fffdf2;
  color:#806e3e;
}

.exam-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}

.exam-card {
  background:#fff;
  border-radius:17px;
  border:1px solid var(--line);
  padding:22px;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:11px;
  min-height:218px;
}

.exam-card .tag {
  font-size:11px;
  font-weight:750;
  color:#466aa3;
  background:#edf3ff;
  padding:5px 10px;
  border-radius:99px;
  align-self:flex-start;
}

.exam-card h3 {
  font-size:18px;
  letter-spacing:-.6px;
  line-height:1.35;
  margin:0;
  overflow-wrap:anywhere;
}

.exam-card .meta {
  font-size:12px;
  color:var(--muted);
  margin:0;
}

.exam-card .state {
  margin-top:auto;
  display:flex;
  align-items:center;
  gap:7px;
  font-size:12px;
  font-weight:700;
  color:#717e92;
}

.exam-card .state .dot {
  width:7px;
  height:7px;
  border-radius:50%;
  background:#a6b1c0;
}

.exam-card .state.ready {
  color:#26724e;
}

.exam-card .state.ready .dot {
  background:#39a875;
}

.exam-card .status-subject {
  font-size:11px;
  color:#8793a4;
}

.empty {
  text-align:center;
  background:#fff;
  border-radius:14px;
  border:1px dashed #cad8e9;
  padding:36px 16px;
  color:#63748d;
  font-size:14px;
}

.catalog-footer {
  display:flex;
  gap:10px;
  justify-content:center;
  margin:26px auto 0;
}

.secondary-button {
  background:white;
  border:1px solid #cdd9ed;
  border-radius:11px;
  padding:11px 18px;
  min-height:44px;
  color:#3b5d94;
  font-weight:750;
  font-size:13px;
}

.secondary-button:hover {
  background:#edf3fc;
}

.catalog-footnote {
  margin:22px 0 0;
  text-align:center;
  font-size:12px;
  color:#78859a;
}

.method-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}

.method-card {
  min-height:267px;
  border:1px solid var(--line);
  border-radius:18px;
  padding:26px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  background:white;
  position:relative;
}

.method-num {
  font-size:11px;
  font-weight:850;
  color:#6283ba;
}

.method-icon {
  font-size:38px;
  color:#80a2da;
  background:#f3f7fe;
  display:grid;
  place-items:center;
  width:74px;
  height:64px;
  border-radius:18px;
  margin:14px 0 12px;
}

.method-card h3 {
  font-size:18px;
  margin:0 0 8px;
}

.method-card p {
  font-size:13px;
  color:var(--muted);
  margin:0 0 14px;
  line-height:1.8;
}

.method-card small {
  font-size:11px;
  color:#436cad;
  background:#eef4ff;
  border-radius:99px;
  padding:5px 10px;
  margin-top:auto;
}

.closing-panel {
  background:linear-gradient(110deg,#1e4289,#3969bf);
  color:white;
  border-radius:24px;
  padding:35px 42px;
  margin-bottom:80px;
  display:flex;
  align-items:center;
  gap:20px;
  justify-content:space-between;
}

.closing-panel p {
  font-size:12px;
  margin:0 0 6px;
  opacity:.8;
}

.closing-panel h2 {
  margin:0;
  font-size:24px;
  letter-spacing:-.7px;
}

.closing-panel a {
  padding:13px 18px;
  border-radius:13px;
  background:#fff;
  color:#224883;
  font-size:13px;
  font-weight:800;
  white-space:nowrap;
}

.footer {
  border-top:1px solid var(--line);
  padding-block:22px 42px;
  display:flex;
  justify-content:space-between;
  gap:20px;
  color:#7f899a;
  font-size:12px;
}

.mobile-nav {
  display:none;
}

@media(max-width:1099px) {
  .hero-layout {
    gap:27px;
    grid-template-columns:1fr 1fr;
  }

  .hero-copy h1 {
    font-size:clamp(32px,4.2vw,50px);
  }

  .search-card {
    padding:25px;
  }

  .learning-steps {
    flex-wrap:wrap;
    justify-content:flex-start;
    gap:15px 35px;
  }

  .learning-steps strong {
    flex-basis:100%;
  }

  .primary-nav {
    gap:20px;
  }

  .header-inner {
    gap:20px;
  }

}

@media(max-width:720px) {
  .wrap {
    width:min(calc(100% - 32px),600px);
  }

  .site-header {
    position:sticky;
  }

  .header-inner {
    min-height:65px;
    gap:8px;
  }

  .brand {
    font-size:18px;
    gap:7px;
  }

  .brand-mark {
    width:29px;
    height:29px;
    font-size:21px;
  }

  .primary-nav {
    display:none;
  }

  .login-link {
    font-size:12px;
    padding:8px 12px;
  }

  .hero-layout {
    display:flex;
    flex-direction:column;
    align-items:stretch;
    min-height:0;
    padding-block:47px 58px;
    gap:30px;
  }

  .hero-copy h1 {
    font-size:clamp(32px,8vw,44px);
    letter-spacing:-1.6px;
  }

  .intro {
    font-size:14px;
    line-height:1.75;
    margin:17px 0 22px;
  }

  .desktop-only {
    display:none;
  }

  .hero-highlights span {
    font-size:11px;
    padding:5px 10px;
  }

  .search-card {
    max-width:none;
    padding:24px;
    border-radius:20px;
  }

  .search-card h2 {
    font-size:23px;
  }

  .section {
    padding-block:56px;
  }

  .section-heading {
    align-items:flex-start;
    flex-direction:column;
    gap:9px;
    margin-bottom:22px;
  }

  .section-heading h2 {
    font-size:26px;
  }

  .learning-steps {
    margin-top:-26px;
    gap:8px 12px;
    padding:16px;
  }

  .learning-steps strong {
    font-size:13px;
  }

  .learning-steps span {
    font-size:12px;
  }

  .field-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }

  .field-card {
    min-height:108px;
    padding:15px;
  }

  .field-card strong {
    font-size:14px;
  }

  .field-card small {
    font-size:11px;
  }

  .field-icon {
    right:11px;
    top:6px;
    font-size:19px;
  }

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

  .method-grid {
    grid-template-columns:1fr;
    gap:12px;
  }

  .method-card {
    min-height:185px;
    padding:20px;
  }

  .method-icon {
    margin:9px 0;
    width:54px;
    height:46px;
    font-size:28px;
  }

  .method-card h3 {
    font-size:17px;
  }

  .closing-panel {
    padding:24px;
    border-radius:18px;
    display:block;
    margin-bottom:46px;
  }

  .closing-panel h2 {
    font-size:21px;
    margin-bottom:20px;
  }

  .closing-panel a {
    display:inline-block;
  }

  .footer {
    padding-bottom:92px;
    display:block;
    line-height:2;
  }

  .mobile-nav {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    position:fixed;
    bottom:0;
    left:0;
    right:0;
    z-index:15;
    background:rgba(255,255,255,.97);
    border-top:1px solid var(--line);
    padding:10px max(9px,env(safe-area-inset-right)) calc(11px + env(safe-area-inset-bottom)) max(9px,env(safe-area-inset-left));
    box-shadow:0 -5px 20px rgba(48,74,120,.07);
  }

  .mobile-nav a {
    display:block;
    text-align:center;
    font-size:12px;
    font-weight:800;
    padding:7px 3px;
    color:#456395;
  }

}

@media(min-width:721px) and (max-width:930px) {
  .hero-layout {
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:28px;
    padding-block:55px 65px;
  }

  .search-card {
    max-width:none;
  }

  .exam-grid,.field-grid,.method-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .method-card:last-child {
    grid-column:1/-1;
  }

  .section {
    padding-block:64px;
  }

}

@media(min-width:721px) and (max-width:850px) {
  .catalog-heading {
    align-items:flex-start;
  }

  .catalog-legend {
    white-space:normal;
  }

}

@media(max-width:359px) {
  .wrap {
    width:calc(100% - 26px);
  }

  .brand {
    font-size:16px;
  }

  .brand-mark {
    width:26px;
    height:26px;
  }

  .search-card {
    padding:18px;
  }

  .field-card {
    padding:12px;
  }

  .field-card strong {
    font-size:13px;
  }

  .hero-copy h1 {
    font-size:30px;
  }

  .hero-highlights {
    gap:5px;
  }

  .hero-highlights span {
    font-size:10px;
  }

}

@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    scroll-behavior:auto!important;
    transition-duration:0s!important;
    animation-duration:0s!important;
  }

}
