/* =========================================================
   소마 유치부 관찰수업 안내 — styles
   주조색: soft lavender / purple (UI 전반)
   보조색: 소마 버디즈 팔레트(블루·그린·앰버·로즈)를 카테고리 구분에만 소량 사용
   카테고리 아이콘: PPT 라인 아이콘(저울·눈·기록·도형·그리드)을 CSS mask로
                    카테고리 색을 입혀 사용
   캐릭터: 소마 버디즈 이미지(플러시·펠트)를 헤더·원칙 영역·푸터 3곳에만 배치
   ========================================================= */

@font-face {
  font-family: "Paperlogy";
  src: url("assets/fonts/Paperlogy-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Paperlogy";
  src: url("assets/fonts/Paperlogy-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Paperlogy";
  src: url("assets/fonts/Paperlogy-SemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Paperlogy";
  src: url("assets/fonts/Paperlogy-Bold.otf") format("opentype");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --purple: #7459B8;
  --purple-deep: #5C449B;
  --text: #272238;
  --text-2: #716B7B;
  --lavender-soft: #EEE9F8;
  --lavender-pale: #F8F5FC;
  --ivory: #FCFAF7;
  --border: #E5DFEC;
  --white: #FFFFFF;

  /* 소마 버디즈에서 뽑은 부드러운 보조 색감 — 카테고리 구분용 소량 사용 */
  --c-law: #3F79BD;         --c-law-bg: #EAF1FA;
  --c-class: #5E9A3C;       --c-class-bg: #EDF4E2;
  --c-report: #C98A28;      --c-report-bg: #FAF1DD;
  --c-curriculum: #CC6A86;  --c-curriculum-bg: #FBEAEF;

  --radius: 16px;
  --radius-sm: 12px;
  --shadow-card: 0 1px 2px rgba(39, 34, 56, .04), 0 8px 24px rgba(92, 68, 155, .06);
  --shadow-hover: 0 2px 6px rgba(39, 34, 56, .06), 0 14px 32px rgba(92, 68, 155, .10);
  --maxw: 920px;
  --focus: 0 0 0 3px rgba(116, 89, 184, .35);
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic",
               system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--lavender-pale);
  word-break: keep-all;
  overflow-wrap: anywhere;
}

img { max-width: 100%; height: auto; display: block; }

/* ---------- skip link ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 20;
  background: var(--purple);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
  transition: top .15s ease;
}
.skip-link:focus { top: 0; }

/* ---------- layout ---------- */
.page {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px 72px;
}

main { display: block; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  margin-top: 40px;
  padding: 44px 40px 40px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.hero__decor {
  position: absolute;
  width: 320px;
  height: 320px;
  right: -120px;
  top: -140px;
  background: radial-gradient(circle at 30% 30%, rgba(116, 89, 184, .16), rgba(116, 89, 184, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero__decor::after { /* 은은한 따뜻한 색감 한 점 */
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: 140px;
  top: 210px;
  background: radial-gradient(circle at 50% 50%, rgba(224, 165, 86, .14), rgba(224, 165, 86, 0) 70%);
  border-radius: 50%;
}
.hero__buddy {
  position: absolute;
  right: 8px;
  bottom: 6px;
  width: 208px;
  height: auto;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 8px 16px rgba(39, 34, 56, .10));
}
.hero__inner { position: relative; z-index: 2; max-width: 560px; }

.hero__logo {
  width: 168px;
  height: auto;
  margin-bottom: 22px;
}

.hero__label {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--purple);
}

.hero__title {
  margin: 0 0 16px;
  font-size: 30px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--text);
}

.hero__lead {
  margin: 0 0 20px;
  max-width: 40rem;
  color: var(--text-2);
  font-size: 16px;
}

.hero__question {
  margin: 0 0 24px;
  font-size: 18px;
  font-weight: 700;
  color: var(--purple-deep);
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}
.hero__stats .stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 18px;
  background: var(--lavender-pale);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.hero__stats dt {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
}
.hero__stats dd {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--purple-deep);
}

/* ---------- controls ---------- */
.controls {
  margin-top: 28px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.search__label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-2);
}
.search__field {
  position: relative;
  display: flex;
  align-items: center;
}
.search__icon {
  position: absolute;
  left: 14px;
  width: 20px;
  height: 20px;
  fill: var(--text-2);
  pointer-events: none;
}
.search__field input {
  width: 100%;
  min-height: 48px;
  padding: 12px 46px 12px 42px;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  background: var(--lavender-pale);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color .15s ease, background .15s ease;
}
.search__field input::placeholder { color: #A29CAD; }
.search__field input:hover { border-color: #D3C8E6; }
.search__field input:focus {
  outline: none;
  border-color: var(--purple);
  background: var(--white);
  box-shadow: var(--focus);
}
.search__clear {
  position: absolute;
  right: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  color: var(--text-2);
}
.search__clear svg { width: 20px; height: 20px; fill: currentColor; }
.search__clear:hover { background: var(--lavender-soft); color: var(--text); }
.search__clear:focus-visible { outline: none; box-shadow: var(--focus); }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 18px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-2);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.chip::before { /* 카테고리 아이콘 (PPT 라인 아이콘, 카테고리 색으로 마스킹) */
  content: "";
  width: 17px;
  height: 17px;
  margin-right: 8px;
  background-color: var(--chip-dot, var(--text-2));
  -webkit-mask: var(--chip-icon) center / contain no-repeat;
  mask: var(--chip-icon) center / contain no-repeat;
  flex: none;
}
.chip[data-category="all"]        { --chip-dot: var(--purple);        --chip-icon: url("assets/icon-all.png"); }
.chip[data-category="law"]        { --chip-dot: var(--c-law);         --chip-icon: url("assets/icon-law.png"); }
.chip[data-category="class"]      { --chip-dot: var(--c-class);       --chip-icon: url("assets/icon-class.png"); }
.chip[data-category="report"]     { --chip-dot: var(--c-report);      --chip-icon: url("assets/icon-report.png"); }
.chip[data-category="curriculum"] { --chip-dot: var(--c-curriculum);  --chip-icon: url("assets/icon-curriculum.png"); }
.chip:hover { border-color: #D3C8E6; color: var(--text); }
.chip:focus-visible { outline: none; box-shadow: var(--focus); }
.chip.is-active {
  color: #fff;
  background: var(--purple);
  border-color: var(--purple);
}
.chip.is-active::before { background-color: #fff; }
.chip.is-active::after {
  content: "✓";
  margin-left: 8px;
  font-weight: 800;
}

.result-count {
  margin: 18px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
}

/* ---------- faq ---------- */
.faq { margin-top: 24px; }
.faq__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq__item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: box-shadow .15s ease, border-color .15s ease;
}
.faq__item.is-open { border-color: #D8CDEC; box-shadow: var(--shadow-hover); }

/* 카테고리별 보조 색감·아이콘 (PPT 라인 아이콘 + 소마 버디즈 팔레트) */
.faq__item[data-cat="law"]        { --cat-color: var(--c-law);        --cat-bg: var(--c-law-bg);        --cat-icon: url("assets/icon-law.png"); }
.faq__item[data-cat="class"]      { --cat-color: var(--c-class);      --cat-bg: var(--c-class-bg);      --cat-icon: url("assets/icon-class.png"); }
.faq__item[data-cat="report"]     { --cat-color: var(--c-report);     --cat-bg: var(--c-report-bg);     --cat-icon: url("assets/icon-report.png"); }
.faq__item[data-cat="curriculum"] { --cat-color: var(--c-curriculum); --cat-bg: var(--c-curriculum-bg); --cat-icon: url("assets/icon-curriculum.png"); }

.faq__q {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 14px;
  min-height: 44px;
  padding: 20px 22px;
  font: inherit;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--text);
}
.faq__q:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: var(--radius);
}

.faq__num {
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  background: var(--cat-bg, var(--lavender-soft));
  border-radius: 8px;
  padding: 3px 8px;
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}

.faq__q-body { min-width: 0; }

.faq__q-text {
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.55;
}

.faq__cat {
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
}
.faq__cat::before {
  content: "";
  width: 15px;
  height: 15px;
  margin-right: 6px;
  background-color: var(--cat-color, var(--purple));
  -webkit-mask: var(--cat-icon) center / contain no-repeat;
  mask: var(--cat-icon) center / contain no-repeat;
  flex: none;
}

.faq__toggle {
  position: relative;
  width: 26px;
  height: 26px;
  flex: none;
  margin-top: 2px;
  border-radius: 50%;
  border: 1.5px solid var(--purple);
  color: var(--purple);
}
.faq__toggle::before,
.faq__toggle::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
}
.faq__toggle::before { /* horizontal bar */
  left: 6px; right: 6px; top: 50%;
  height: 2px; transform: translateY(-50%);
}
.faq__toggle::after { /* vertical bar */
  top: 6px; bottom: 6px; left: 50%;
  width: 2px; transform: translateX(-50%);
  transition: opacity .18s ease, transform .18s ease;
}
.faq__item.is-open .faq__toggle::after {
  opacity: 0;
  transform: translateX(-50%) rotate(90deg);
}

.faq__a {
  overflow: hidden;
  border-top: 1px solid var(--border);
}
.faq__a-inner {
  padding: 18px 22px 22px;
}
.faq__a-inner > * { margin: 0; }
.faq__a-inner > * + * { margin-top: 12px; }
.faq__a-lead {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.faq__a-note {
  font-size: 15.5px;
  color: var(--text-2);
}

/* ---------- empty state ---------- */
.empty {
  margin-top: 12px;
  padding: 48px 24px;
  text-align: center;
  background: var(--white);
  border: 1px dashed #D8CDEC;
  border-radius: var(--radius);
}
.empty__title { margin: 0 0 6px; font-size: 17px; font-weight: 700; color: var(--text); }
.empty__desc { margin: 0 0 18px; font-size: 15px; color: var(--text-2); }
.empty__reset {
  min-height: 44px;
  padding: 10px 22px;
  font: inherit;
  font-weight: 600;
  color: #fff;
  background: var(--purple);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}
.empty__reset:hover { background: var(--purple-deep); }
.empty__reset:focus-visible { outline: none; box-shadow: var(--focus); }

/* ---------- principle ---------- */
.principle {
  position: relative;
  margin-top: 40px;
  padding: 40px;
  background: linear-gradient(160deg, #6E52B4 0%, #5A3F9E 100%);
  border-radius: 24px;
  color: #fff;
  overflow: hidden;
}
.principle::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -80px;
  bottom: -120px;
  background: radial-gradient(circle, rgba(255,255,255,.14), rgba(255,255,255,0) 70%);
  border-radius: 50%;
}
.principle__inner {
  position: relative;
  z-index: 2;
  max-width: calc(100% - 150px);
}
.principle__buddy {
  position: absolute;
  right: 18px;
  bottom: 10px;
  width: 158px;
  height: auto;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 10px 20px rgba(39, 34, 56, .22));
}
.principle__label {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  color: rgba(255,255,255,.75);
}
.principle__sentence {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.5;
  position: relative;
}
.principle__desc {
  margin: 0;
  font-size: 15.5px;
  color: rgba(255,255,255,.9);
  position: relative;
}

/* ---------- footer ---------- */
.site-foot {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.site-foot__buddies {
  width: min(264px, 70%);
  height: auto;
  margin: 0 auto 18px;
}
.site-foot__logo {
  width: 132px;
  height: auto;
  margin: 0 auto 16px;
  opacity: .85;
}
.site-foot__note {
  margin: 0 auto 8px;
  max-width: 34rem;
  font-size: 14px;
  color: var(--text-2);
}
.site-foot__date {
  margin: 0;
  font-size: 13px;
  color: #9A94A5;
}

/* ---------- responsive ---------- */
@media (max-width: 720px) {
  .page { padding: 0 16px 56px; }
  .hero {
    margin-top: 14px;
    padding: 26px 20px 24px;
    border-radius: 20px;
  }
  .hero__logo { width: 140px; margin-bottom: 16px; }
  .hero__title { font-size: 22px; margin-bottom: 12px; }
  .hero__lead { font-size: 15px; margin-bottom: 16px; }
  .hero__question { font-size: 16px; margin-bottom: 18px; }
  .hero__stats .stat { padding: 8px 14px; }
  .hero__inner { max-width: none; }
  .hero__buddy { width: 104px; right: 4px; bottom: 4px; }
  .hero__decor::after { display: none; }

  .controls { padding: 18px; margin-top: 20px; }

  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-left: -18px;
    margin-right: -18px;
    padding: 2px 18px 4px;
  }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; }

  .faq__q { padding: 16px 16px; gap: 10px; grid-template-columns: auto 1fr auto; }
  .faq__q-text { font-size: 15.5px; }
  .faq__a-inner { padding: 16px 16px 18px; }
  .faq__num { font-size: 12px; padding: 2px 6px; }

  .principle { padding: 28px 22px 24px; border-radius: 20px; }
  .principle__sentence { font-size: 18px; }
  .principle__inner { max-width: none; padding-bottom: 92px; }
  .principle__buddy { width: 118px; right: 10px; bottom: 10px; }

  .site-foot__buddies { width: min(220px, 62%); }
}

@media (max-width: 380px) {
  .hero__title { font-size: 21px; }
  .hero__buddy { width: 94px; }
  .principle__buddy { width: 104px; }
}

/* ---------- focus fallback ---------- */
:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .faq__a { transition: none !important; }
}

/* =========================================================
   Editorial edition — 2026.09
   따뜻한 인쇄물의 질감, 비대칭 그리드, 선 중심의 정보 구조
   ========================================================= */
:root {
  --purple: #65459a;
  --purple-deep: #422765;
  --text: #211d1c;
  --text-2: #6f6863;
  --lavender-soft: #e5daef;
  --lavender-pale: #f0eaf6;
  --ivory: #f4eff6;
  --border: #cbbfd2;
  --white: #fbf8fc;
  --shadow-card: none;
  --shadow-hover: none;
  --maxw: 1180px;
}

body {
  background-color: var(--ivory);
  background-image:
    linear-gradient(rgba(101, 69, 154, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(101, 69, 154, .025) 1px, transparent 1px);
  background-size: 32px 32px;
}

.page { padding: 0 40px 88px; }

.masthead {
  display: flex;
  justify-content: space-between;
  padding: 22px 0 12px;
  border-bottom: 1px solid var(--text);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2em;
  color: var(--text);
}

.hero {
  min-height: 610px;
  margin-top: 0;
  padding: 64px 52% 56px 0;
  border: 0;
  border-bottom: 1px solid var(--text);
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.hero::before {
  content: "01";
  position: absolute;
  top: 58px;
  right: 0;
  font: 400 12px/1 Georgia, serif;
  letter-spacing: .16em;
}

.hero__decor {
  width: 44%;
  height: calc(100% - 88px);
  right: 0;
  top: 44px;
  border-radius: 180px 180px 12px 12px;
  background: linear-gradient(155deg, #e9e0f1 0%, #d4c2e3 70%, #c8b2dc 100%);
  overflow: hidden;
}

.hero__decor::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(66, 39, 101, .22);
  border-radius: inherit;
}

.hero__decor::after {
  width: 340px;
  height: 340px;
  right: -70px;
  top: auto;
  bottom: -90px;
  background: rgba(226, 159, 85, .36);
}

.hero__buddy {
  right: 4.5%;
  bottom: 20px;
  width: 39%;
  filter: drop-shadow(0 22px 30px rgba(47, 34, 54, .18));
}

.hero__inner { max-width: 560px; }
.hero__logo { width: 152px; margin-bottom: 64px; }

.hero__label {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  color: var(--text-2);
}

.hero__title {
  max-width: 520px;
  margin-bottom: 18px;
  font-family: "Batang", "AppleMyungjo", "Noto Serif KR", Georgia, serif;
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.055em;
}

.hero__deck {
  margin: 0 0 28px;
  font-family: "Batang", "AppleMyungjo", "Noto Serif KR", Georgia, serif;
  font-size: 22px;
  line-height: 1.55;
  color: var(--purple-deep);
}

.hero__lead { max-width: 33rem; font-size: 15px; line-height: 1.85; }
.hero__question { display: none; }
.hero__stats { gap: 0; margin-top: 36px; border-top: 1px solid var(--border); }
.hero__stats .stat {
  min-width: 142px;
  padding: 14px 26px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.hero__stats dt { font-size: 11px; letter-spacing: .08em; }
.hero__stats dd { font-family: Georgia, serif; font-size: 18px; }

main { position: relative; }

.controls {
  position: sticky;
  top: 0;
  z-index: 10;
  margin: 0;
  padding: 24px 0 18px;
  border: 0;
  border-bottom: 1px solid var(--text);
  border-radius: 0;
  background: rgba(240, 234, 246, .94);
  backdrop-filter: blur(14px);
}

.search { display: grid; grid-template-columns: 150px minmax(260px, 1fr); align-items: center; }
.search__label { margin: 0; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.search__field input {
  min-height: 46px;
  padding-left: 42px;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
}
.search__field input:focus { background: transparent; box-shadow: none; border-color: var(--purple); }
.filters { margin: 18px 0 0 150px; gap: 7px; }
.chip {
  min-height: 35px;
  padding: 5px 13px;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: transparent;
  font-size: 12px;
  letter-spacing: .02em;
}
.chip::before { width: 14px; height: 14px; }
.chip.is-active { background: var(--text); border-color: var(--text); }
.chip.is-active::after { display: none; }
.result-count { position: absolute; right: 0; bottom: 23px; margin: 0; font: italic 13px Georgia, serif; }

.faq { margin-top: 72px; }
.faq::before {
  content: "Frequently Asked Questions";
  display: block;
  margin-bottom: 28px;
  font-family: Georgia, serif;
  font-size: 12px;
  font-style: italic;
  letter-spacing: .06em;
  color: var(--text-2);
}
.faq__list { gap: 0; border-top: 1px solid var(--text); }
.faq__item {
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  transition: background-color .18s ease, border-color .18s ease;
}
.faq__item:hover { background: rgba(229, 218, 239, .42); }
.faq__item.is-open { border-color: var(--text); background: rgba(229, 218, 239, .68); }
.faq__q {
  grid-template-columns: 68px 1fr 32px;
  gap: 22px;
  padding: 28px 4px;
}
.faq__num {
  padding: 0;
  border-radius: 0;
  background: transparent;
  font: italic 15px Georgia, serif;
  color: var(--cat-color, var(--purple));
}
.faq__q-text {
  font-family: "Batang", "AppleMyungjo", "Noto Serif KR", Georgia, serif;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: -.02em;
}
.faq__cat { margin-top: 9px; font-size: 11px; letter-spacing: .08em; }
.faq__toggle { width: 28px; height: 28px; border: 0; border-radius: 0; color: var(--text); }
.faq__a { margin-left: 90px; border-top: 0; }
.faq__a-inner { max-width: 760px; padding: 0 4px 34px; }
.faq__a-lead { font-size: 17px; line-height: 1.85; }
.faq__a-note { padding-left: 20px; border-left: 2px solid var(--cat-color); font-size: 14px; line-height: 1.8; }

.principle {
  display: grid;
  grid-template-columns: 1fr 300px;
  min-height: 380px;
  margin-top: 100px;
  padding: 58px 50px;
  border-radius: 0;
  background: linear-gradient(145deg, #58377f 0%, #7652a4 100%);
}
.principle::before {
  content: "“";
  position: absolute;
  right: 38px;
  top: 8px;
  font: 180px/1 Georgia, serif;
  color: rgba(255,255,255,.08);
}
.principle__inner { max-width: 620px; }
.principle__buddy { right: 28px; bottom: 0; width: 260px; }
.principle__sentence {
  max-width: 560px;
  font-family: "Batang", "AppleMyungjo", "Noto Serif KR", Georgia, serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.55;
}
.no-break { white-space: nowrap; }
.principle__desc { max-width: 580px; line-height: 1.9; }

.site-foot {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: end;
  gap: 36px;
  margin-top: 80px;
  padding-top: 28px;
  text-align: left;
  border-color: var(--text);
}
.site-foot__buddies { grid-row: 1 / span 3; width: 200px; margin: 0; }
.site-foot__logo { width: 126px; margin: 0 0 12px; }
.site-foot__note { grid-column: 2; margin: 0; font-size: 12px; }
.site-foot__date { grid-column: 3; grid-row: 2; align-self: end; white-space: nowrap; }

@media (max-width: 800px) {
  .page { padding: 0 20px 56px; }
  .masthead { padding-top: 16px; }
  .hero { min-height: auto; padding: 38px 0 340px; }
  .hero::before { top: 34px; }
  .hero__logo { width: 136px; margin-bottom: 52px; }
  .hero__title { font-size: clamp(38px, 11vw, 56px); }
  .hero__deck { font-size: 19px; }
  .hero__decor { width: 100%; height: 310px; top: auto; bottom: 20px; border-radius: 150px 150px 8px 8px; }
  .hero__buddy { right: 13%; bottom: 0; width: 72%; max-width: 330px; }
  .controls { padding: 18px 0 14px; }
  .search { display: block; }
  .search__label { margin-bottom: 4px; }
  .filters { margin: 12px -20px 0; padding: 2px 20px 4px; }
  .result-count { position: static; margin-top: 12px; }
  .faq { margin-top: 52px; }
  .faq__q { grid-template-columns: 38px 1fr 28px; gap: 10px; padding: 22px 0; }
  .faq__q-text { font-size: 17px; }
  .faq__a { margin-left: 48px; }
  .principle { display: block; min-height: 480px; margin-top: 72px; padding: 38px 28px; }
  .principle__sentence { font-size: clamp(17px, 5.2vw, 24px); }
  .principle__inner { max-width: none; padding-bottom: 190px; }
  .principle__buddy { width: 220px; }
  .site-foot { display: block; text-align: center; }
  .site-foot__buddies { width: 190px; margin: 0 auto 24px; }
  .site-foot__logo { margin: 0 auto 14px; }
  .site-foot__note { margin: 0 auto 8px; }
}

/* Paperlogy typography */
body,
button,
input {
  font-family: "Paperlogy", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

.hero__label,
.hero__title,
.hero__deck,
.hero__stats dd,
.result-count,
.faq::before,
.faq__num,
.faq__q-text,
.principle__sentence {
  font-family: "Paperlogy", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

.hero__title { font-weight: 600; letter-spacing: -.045em; }
.hero__deck { font-weight: 500; letter-spacing: -.025em; }
.faq__q-text { font-weight: 600; }
.principle__sentence { font-weight: 500; letter-spacing: -.025em; }
.result-count { font-style: normal; font-weight: 400; }

