:root {
  --ink: #13283f;
  --ink-strong: #0a1b2e;
  --muted: #5d6f80;
  --brand: #08786d;
  --brand-dark: #055b53;
  --brand-soft: #e5f5f1;
  --accent: #ef9d32;
  --accent-soft: #fff3df;
  --surface: #ffffff;
  --surface-alt: #f5f8fa;
  --line: #dce5e9;
  --shadow: 0 18px 50px rgba(19, 40, 63, 0.09);
  --radius: 20px;
  --radius-sm: 12px;
  --page: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: -apple-system, BlinkMacSystemFont, "Pretendard", "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 9px;
  color: #fff;
  background: var(--ink-strong);
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid rgba(239, 157, 50, 0.72);
  outline-offset: 3px;
}

.wrap {
  width: min(calc(100% - 36px), var(--page));
  margin-inline: auto;
}

.status-strip {
  color: #dff8f3;
  background: var(--brand-dark);
  font-size: 13px;
}

.status-strip .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 34px;
  text-align: center;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #83e3d5;
  box-shadow: 0 0 0 5px rgba(131, 227, 213, 0.13);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(220, 229, 233, 0.92);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink-strong);
  text-decoration: none;
  white-space: nowrap;
}

.brand img { width: 40px; height: 40px; }
.brand-name { font-size: 23px; font-weight: 900; letter-spacing: -0.045em; }
.brand-domain { color: var(--brand); font-size: 12px; font-weight: 800; letter-spacing: 0; }

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.desktop-nav a,
.mobile-nav a {
  border-radius: 9px;
  color: #334b61;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.desktop-nav a { padding: 9px 10px; }
.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] { color: var(--brand-dark); background: var(--brand-soft); }

.mobile-menu { display: none; position: relative; }
.mobile-menu summary {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 11px;
  cursor: pointer;
  list-style: none;
  font-size: 22px;
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-nav {
  position: absolute;
  top: 50px;
  right: 0;
  display: grid;
  min-width: 240px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--shadow);
}
.mobile-nav a { padding: 10px 11px; }
.mobile-nav a:hover { background: var(--surface-alt); }

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 85% 10%, rgba(8, 120, 109, 0.13), transparent 32%),
    radial-gradient(circle at 8% 85%, rgba(239, 157, 50, 0.11), transparent 28%),
    linear-gradient(145deg, #f7fbfa 0%, #fff 65%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 360px;
  height: 360px;
  border: 54px solid rgba(8, 120, 109, 0.04);
  border-radius: 50%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  align-items: center;
  gap: 62px;
  padding-block: 84px 76px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 15px;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 850;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--accent);
}

.hero h1,
.page-hero h1 {
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

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

.hero-copy {
  max-width: 760px;
  margin: 23px 0 0;
  color: #43596c;
  font-size: clamp(17px, 2vw, 20px);
}

.hero-proof {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(8, 120, 109, 0.17);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.proof-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.proof-row:last-child { padding: 0; border: 0; }
.proof-label { color: var(--muted); font-size: 13px; }
.proof-value { color: var(--ink-strong); font-size: 17px; font-weight: 900; }

.directory-search {
  position: relative;
  max-width: 760px;
  margin-top: 32px;
}

.search-shell {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 18px;
  border: 1px solid #cbdadd;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(19, 40, 63, 0.1);
}

.search-shell svg { flex: 0 0 auto; color: var(--brand); }
.search-shell input {
  width: 100%;
  min-width: 0;
  padding: 10px 0;
  border: 0;
  outline: 0;
  color: var(--ink-strong);
  background: transparent;
}
.search-shell button {
  flex: 0 0 auto;
  padding: 11px 17px;
  border: 0;
  border-radius: 11px;
  color: #fff;
  background: var(--brand);
  font-weight: 800;
  cursor: pointer;
}
.search-shell button:hover { background: var(--brand-dark); }
.filter-search { width: 100%; max-width: 360px; }

.search-results {
  position: absolute;
  z-index: 20;
  top: calc(100% + 9px);
  left: 0;
  right: 0;
  display: none;
  max-height: 420px;
  overflow-y: auto;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--shadow);
}
.search-results.is-open { display: block; }
.search-result {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 16px;
  padding: 12px;
  border-radius: 10px;
  text-decoration: none;
}
.search-result:hover { background: var(--surface-alt); }
.search-result strong { color: var(--ink-strong); }
.search-result small { grid-column: 1; color: var(--muted); }
.search-result span { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--brand); font-weight: 850; }
.search-empty { padding: 18px; color: var(--muted); text-align: center; }

.section { padding-block: 76px; }
.section.alt { background: var(--surface-alt); }
.section.compact { padding-block: 54px; }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}
.section-head h2 {
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.04em;
}
.section-head p { max-width: 600px; margin: 8px 0 0; color: var(--muted); }
.text-link { color: var(--brand-dark); font-weight: 850; text-decoration-thickness: 1px; text-underline-offset: 4px; }

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

.category-card {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(8, 120, 109, 0.45);
  box-shadow: var(--shadow);
}
.category-mark {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  margin-bottom: 30px;
  border-radius: 13px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: -0.02em;
}
.category-card h3 { margin: 0; color: var(--ink-strong); font-size: 20px; letter-spacing: -0.025em; }
.category-card p { margin: 8px 0 20px; color: var(--muted); font-size: 14px; }
.category-meta { display: flex; justify-content: space-between; margin-top: auto; color: var(--brand-dark); font-size: 13px; font-weight: 850; }

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

.link-card {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 25px rgba(19, 40, 63, 0.04);
}
.link-card:hover { border-color: rgba(8, 120, 109, 0.45); }
.link-card-top { display: flex; align-items: start; justify-content: space-between; gap: 14px; }
.site-avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(145deg, var(--brand), var(--brand-dark));
  font-weight: 950;
}
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  font-size: 11px;
  font-weight: 850;
}
.link-card h2,
.link-card h3 { margin: 18px 0 0; color: var(--ink-strong); font-size: 20px; letter-spacing: -0.025em; }
.site-domain { margin: 2px 0 0; color: var(--brand); font-size: 13px; font-weight: 750; word-break: break-all; }
.link-description { margin: 12px 0 18px; color: var(--muted); font-size: 14px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.tag { padding: 4px 8px; border-radius: 7px; color: #53687b; background: var(--surface-alt); font-size: 11px; font-weight: 750; }
.card-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.checked { color: var(--muted); font-size: 11px; }
.visit-link { color: var(--brand-dark); font-size: 13px; font-weight: 900; text-decoration: none; }
.visit-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.page-hero {
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 82% 15%, rgba(8, 120, 109, 0.12), transparent 28%),
    var(--surface-alt);
}
.page-hero .wrap { padding-block: 67px 58px; }
.page-hero h1 { max-width: 900px; font-size: clamp(36px, 5vw, 58px); }
.page-hero p { max-width: 790px; margin: 20px 0 0; color: #4f6476; font-size: 18px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.hero-stat { padding: 8px 11px; border: 1px solid #cfe0dd; border-radius: 999px; color: var(--brand-dark); background: #fff; font-size: 12px; font-weight: 850; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 17px; color: var(--muted); font-size: 13px; }
.breadcrumb a { color: var(--brand-dark); text-decoration: none; }

.intro-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}
.info-box {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.info-box h2,
.info-box h3 { margin: 0 0 8px; color: var(--ink-strong); font-size: 19px; }
.info-box p { margin: 0; color: var(--muted); font-size: 14px; }
.info-box.accent { border-color: #f1d6ad; background: var(--accent-soft); }

.notice {
  display: flex;
  gap: 13px;
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: #5f4a2f;
  background: var(--accent-soft);
}
.notice strong { color: #3f2e19; }

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.method-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.method-number { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 18px; border-radius: 50%; color: #fff; background: var(--brand); font-size: 13px; font-weight: 900; }
.method-card h3 { margin: 0; color: var(--ink-strong); font-size: 18px; }
.method-card p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }

.compare-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.compare-table th,
.compare-table td { padding: 15px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare-table th { color: var(--ink-strong); background: var(--surface-alt); font-size: 13px; }
.compare-table td { color: #465d70; font-size: 14px; }
.compare-table tr:last-child td { border-bottom: 0; }

.prose { max-width: 820px; }
.prose h2 { margin: 48px 0 14px; color: var(--ink-strong); font-size: 29px; letter-spacing: -0.035em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 32px 0 8px; color: var(--ink-strong); font-size: 20px; }
.prose p, .prose li { color: #4e6374; }
.prose a { color: var(--brand-dark); font-weight: 750; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 8px; }

.update-list { display: grid; gap: 12px; }
.update-item {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 17px 19px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}
.update-date { color: var(--brand-dark); font-size: 13px; font-weight: 900; }
.update-copy strong { display: block; color: var(--ink-strong); }
.update-copy small { color: var(--muted); }
.update-status { padding: 5px 8px; border-radius: 999px; color: var(--brand-dark); background: var(--brand-soft); font-size: 11px; font-weight: 850; }

.cta-band {
  padding-block: 60px;
  color: #e9fbf7;
  background: var(--ink-strong);
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-band h2 { margin: 0; color: #fff; font-size: clamp(27px, 4vw, 39px); letter-spacing: -0.04em; }
.cta-band p { margin: 8px 0 0; color: #afc4d3; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 11px 17px;
  border-radius: 11px;
  color: #fff;
  background: var(--brand);
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}
.button:hover { background: #0a8d80; }
.button.light { color: var(--ink-strong); background: #fff; }

.site-footer { color: #b4c4d1; background: #071522; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 54px;
  padding-block: 55px 40px;
}
.footer-brand { color: #fff; font-size: 22px; font-weight: 900; }
.footer-copy { max-width: 480px; margin: 12px 0 0; font-size: 13px; }
.footer-group strong { display: block; margin-bottom: 10px; color: #fff; font-size: 13px; }
.footer-links { display: grid; gap: 6px; }
.footer-links a { color: #b4c4d1; font-size: 13px; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 18px 26px; border-top: 1px solid #1a2b3a; font-size: 12px; }

.no-results { display: none; padding: 30px; border: 1px dashed #c5d3d9; border-radius: var(--radius); color: var(--muted); text-align: center; }
.no-results.is-visible { display: block; }

@media (max-width: 1040px) {
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  body { word-break: normal; }
  .wrap { width: min(calc(100% - 28px), var(--page)); }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; padding-block: 58px 52px; }
  .hero-proof { grid-template-columns: repeat(3, 1fr); padding: 17px; }
  .proof-row { display: block; padding: 0 12px; border: 0; border-right: 1px solid var(--line); text-align: center; }
  .proof-row:last-child { border-right: 0; }
  .proof-label, .proof-value { display: block; }
  .proof-value { margin-top: 4px; font-size: 15px; }
  .section { padding-block: 58px; }
  .section-head, .cta-inner { align-items: flex-start; flex-direction: column; }
  .link-grid, .intro-panel, .method-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .update-item { grid-template-columns: 1fr auto; gap: 4px 14px; }
  .update-copy { grid-column: 1 / -1; grid-row: 2; }
  .update-status { grid-column: 2; grid-row: 1; }
}

@media (max-width: 520px) {
  .status-strip .wrap { min-height: 40px; }
  .header-inner { min-height: 64px; }
  .brand img { width: 35px; height: 35px; }
  .brand-name { font-size: 21px; }
  .brand-domain { display: none; }
  .hero h1, .page-hero h1 { font-size: 38px; }
  .hero-proof { grid-template-columns: 1fr; }
  .proof-row { display: flex; padding: 8px 0; border-right: 0; border-bottom: 1px solid var(--line); text-align: left; }
  .proof-row:last-child { border-bottom: 0; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card { min-height: auto; }
  .category-mark { margin-bottom: 20px; }
  .search-shell { padding-left: 13px; }
  .search-shell button { padding-inline: 13px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

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