@font-face {
  font-family: 'Pretendard';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/pt-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Pretendard';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/pt-semibold.woff2') format('woff2');
}
@font-face {
  font-family: 'Pretendard';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/pt-bold.woff2') format('woff2');
}
@font-face {
  font-family: 'Pretendard';
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/pt-extrabold.woff2') format('woff2');
}

:root {
    color-scheme: light;
    --page: #FAF6F0;
    --band: #F5E8E2;
    --band-ink: #2B2521;
    --surface: #FAF6F0;
    --surface-2: #EAE3D9;
    --ink: #2B2521;
    --ink-2: #5B524B;
    --muted: #706861;
    --line: #EAE3D9;
    --border: rgba(43,37,33,0.08);
    --accent: #B3452E;
    --accent-ink: #FAF6F0;
    --accent-soft: #F5E8E2;
    --shadow: 0 1px 2px rgba(25,27,31,0.04), 0 8px 20px rgba(25,27,31,0.05);
  }
  /* Committed to a single light theme by design — see chat context. */
  :root[data-theme="dark"] { color-scheme: light; }

  * { box-sizing: border-box; }
  body {
    margin: 0;
    background: var(--page);
    color: var(--ink);
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo',
      'Malgun Gothic', system-ui, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  a { color: inherit; }
  .num { font-variant-numeric: tabular-nums; }

  /* ---- header ---- */
  header.site {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1080px;
    margin: 0 auto;
    padding: 24px 24px 22px;
  }
  .brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
  .brand .mark {
    width: 30px; height: 30px; border-radius: 7px; background: var(--accent);
    color: var(--accent-ink); display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  nav.site-nav { display: flex; gap: 30px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
  nav.site-nav a { text-decoration: none; }
  nav.site-nav a:hover { color: var(--ink); }

  /* ---- hero: soft pale band, not a saturated block ---- */
  .hero { background: var(--band); }
  .hero-inner { max-width: 1080px; margin: 0 auto; padding: 32px 24px 24px; }
  .hero-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
  .kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--surface);
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    padding: 5px 11px;
    border-radius: 999px;
    flex-shrink: 0;
    white-space: nowrap;
  }
  h1.hero-title {
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.3;
    margin: 0 0 6px;
    text-wrap: balance;
    max-width: 22ch;
    color: var(--band-ink);
  }
  h1.hero-title .accent { color: var(--accent); }
  .hero-sub {
    font-size: 14px;
    color: var(--ink-2);
    max-width: 50ch;
    margin: 0;
  }
  .hero-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
  .search-bar {
    display: flex;
    gap: 6px;
    background: var(--surface);
    border-radius: 10px;
    padding: 4px;
    flex: 1 1 320px;
    max-width: 420px;
    box-shadow: var(--shadow);
  }
  .search-bar input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 12px;
    font-size: 14px;
    color: var(--ink);
    outline: none;
    font-family: inherit;
  }
  .search-bar input::placeholder { color: var(--muted); }
  .search-bar button {
    background: var(--accent);
    color: var(--accent-ink);
    border: none;
    border-radius: 7px;
    padding: 0 18px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    font-family: inherit;
  }
  .chips { display: flex; gap: 6px; flex-wrap: wrap; }
  .chip {
    background: var(--surface);
    border: none;
    color: var(--band-ink);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
    cursor: pointer;
    font-family: inherit;
  }
  .chip:hover { background: var(--surface); }

  /* ---- main ---- */
  main { max-width: 1080px; margin: 0 auto; padding: 36px 24px 80px; }
  section { margin-bottom: 40px; }
  .section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; gap: 12px; flex-wrap: wrap; }
  .eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
  h2 { font-size: 18px; font-weight: 800; margin: 0; letter-spacing: -0.01em; }
  .section-sub { font-size: 14px; color: var(--ink-2); margin: 6px 0 0; max-width: 60ch; }
  .section-count { font-size: 12px; color: var(--muted); font-weight: 600; white-space: nowrap; }

  /* ---- category segmented control ---- */
  .segmented { display: inline-flex; background: var(--surface-2); border-radius: 10px; padding: 3px; gap: 2px; flex-wrap: wrap; }
  .seg-btn {
    border: none; background: transparent; color: var(--ink-2);
    font-family: inherit; font-size: 12px; font-weight: 700;
    padding: 7px 13px; border-radius: 7px; cursor: pointer;
  }
  .seg-btn .c { font-weight: 600; color: var(--muted); margin-left: 4px; }
  .seg-btn.is-active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
  .seg-btn.is-active .c { color: var(--accent); }

  /* ---- FAQ: accordion, one row at a time ---- */
  .faq-list { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; padding: 8px; }
  .faq-row { border-top: 1px solid var(--line); }
  .faq-row:first-child { border-top: none; }
  .faq-row summary {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 14px 20px; cursor: pointer; list-style: none;
    font-size: 14px; font-weight: 700; color: var(--ink);
  }
  .faq-row summary::-webkit-details-marker { display: none; }
  .faq-row summary::after { content: '⌄'; color: var(--muted); font-size: 12px; flex-shrink: 0; }
  .faq-row[open] summary::after { color: var(--accent); content: '⌃'; }
  .faq-a { font-size: 14px; color: var(--ink-2); margin: 0; padding: 0 20px 16px; line-height: 1.7; }
  .faq-a b { color: var(--ink); font-weight: 700; }

  /* ---- company grid: compact list rows ---- */
  .co-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .co-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: box-shadow .15s ease, border-color .15s ease;
  }
  .co-card:hover { box-shadow: var(--shadow); border-color: transparent; }
  .co-badge {
    width: 28px; height: 28px; border-radius: 7px; background: var(--surface-2); color: var(--ink);
    display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 12px; flex-shrink: 0;
  }
  .co-name-col { min-width: 0; flex: 1; display: flex; flex-direction: column; }
  .co-name { font-weight: 800; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .co-tag { font-size: 12px; font-weight: 600; color: var(--muted); }
  .co-arrow { font-size: 14px; color: var(--accent); flex-shrink: 0; }
  .co-card[hidden] { display: none; }

  .empty-state { text-align: center; padding: 40px 20px; color: var(--muted); font-size: 14px; display: none; }
  .empty-state.show { display: block; }

  .notice {
    background: var(--accent-soft);
    border-radius: 14px;
    padding: 18px 22px;
    font-size: 14px;
    color: var(--ink-2);
  }
  .notice b { color: var(--ink); }
  .notice ul { margin: 0; padding-left: 18px; }
  .notice li { margin-bottom: 8px; }
  .notice li:last-child { margin-bottom: 0; }

  /* ---- claim guide section ---- */
  .guide-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
  .guide-step { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 16px 14px; }
  .guide-step-num {
    width: 24px; height: 24px; border-radius: 999px; background: var(--accent-soft); color: var(--accent);
    display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 12px; margin-bottom: 10px;
  }
  .guide-step h3 { font-size: 14px; font-weight: 800; margin: 0 0 6px; color: var(--ink); }
  .guide-step p { font-size: 12px; color: var(--ink-2); margin: 0; line-height: 1.6; }

  .guide-meta { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
  .guide-stat { flex: 1; min-width: 140px; background: var(--accent-soft); border-radius: 10px; padding: 14px 16px; }
  .guide-stat b { display: block; font-size: 18px; color: var(--accent); margin-bottom: 2px; }
  .guide-stat span { font-size: 12px; color: var(--ink-2); }

  .guide-docs { margin-top: 14px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; padding: 8px; }
  .guide-docs table { width: 100%; border-collapse: collapse; font-size: 12px; }
  .guide-docs th, .guide-docs td { text-align: left; padding: 10px 14px; border-top: 1px solid var(--line); }
  .guide-docs thead th { background: var(--surface-2); color: var(--ink-2); font-weight: 700; border-top: none; }
  .guide-docs tbody th { color: var(--ink); font-weight: 700; white-space: nowrap; }
  .guide-docs td { color: var(--ink-2); }

  .guide-note { font-size: 12px; color: var(--ink-2); text-align: center; margin: 14px 0 0; }
  .guide-cta { margin-top: 14px; text-align: center; }
  .guide-cta a {
    display: inline-flex; align-items: center; gap: 6px; background: var(--accent); color: var(--accent-ink);
    font-weight: 700; font-size: 14px; padding: 11px 20px; border-radius: 999px; text-decoration: none;
  }

  footer { border-top: 1px solid var(--line); }
  .footer-inner { max-width: 1080px; margin: 0 auto; padding: 36px 24px; }
  .footer-brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 14px; margin-bottom: 8px; }
  .footer-brand .mark {
    width: 24px; height: 24px; border-radius: 7px; background: var(--accent); color: var(--accent-ink);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  }
  footer p { font-size: 12px; color: var(--ink-2); margin: 4px 0 0; max-width: 62ch; }

  @media (max-width: 900px) {
    .co-grid { grid-template-columns: repeat(2, 1fr); }
    nav.site-nav { display: none; }
    .hero-top { flex-direction: column; }
    .guide-steps { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 560px) {
    .co-grid { grid-template-columns: 1fr; }
    h1.hero-title { font-size: 22px; }
    .guide-steps { grid-template-columns: 1fr; }
  }

/* ---- mobile hamburger nav ---- */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 6px;
  color: var(--ink); align-items: center; justify-content: center; border-radius: 7px;
}
.nav-toggle:hover { background: var(--surface-2); }
.mobile-nav { display: none; flex-direction: column; border-bottom: 1px solid var(--line); background: var(--surface); }
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 14px 24px; font-size: 14px; font-weight: 700; color: var(--ink);
  text-decoration: none; border-top: 1px solid var(--line);
}
.mobile-nav a:first-child { border-top: none; }
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
}

/* ---- compact page head (non-hub pages) ---- */
.page-head { background: var(--band); }
.page-head-inner { max-width: 1080px; margin: 0 auto; padding: 28px 24px 24px; }
.page-back { display: inline-block; font-size: 14px; font-weight: 700; color: var(--accent); text-decoration: none; margin-bottom: 10px; }
.page-back:hover { text-decoration: underline; }
.page-head h1 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 6px; color: var(--band-ink); }
.page-head p { font-size: 14px; color: var(--ink-2); margin: 0; max-width: 60ch; }

/* ---- related links box ---- */
.related-links { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 10px; }
.related-links a { font-size: 14px; font-weight: 700; color: var(--accent); text-decoration: none; }
.related-links a:hover { text-decoration: underline; }

.brand-link { text-decoration: none; color: var(--ink); display: flex; align-items: center; gap: 8px; }

