:root {
  --ink: #0d0e1c;           /* Deep Navy Black */
  --muted: #4e526e;         /* Slate Violet */
  --teal-950: #060710;      /* Deepest Space Indigo */
  --teal-900: #0f1026;      /* Midnight Indigo */
  --teal-800: #1a1b38;      /* Deep Navy */
  --teal-700: #2d2e5a;      /* Medium Indigo */
  --teal-600: #ff3366;      /* Electric Neon Coral Pink (Accent) */
  --mint: #ff5c8a;          /* Soft Flamingo Pink */
  --mint-soft: #fff0f3;     /* Coral/Pink light backdrop */
  --paper: #fafaff;         /* Premium cool gray paper bg */
  --white: #ffffff;
  --line: #e8ebf5;          /* Clean line color */
  --amber: #ffb703;         /* Golden Amber Accent */
  --amber-soft: #fff9e6;    /* Soft Amber bg */
  --shadow: 0 16px 40px rgba(15, 16, 38, 0.04); /* Ultra soft clean shadow */
  --radius: 16px;           /* Modern rounded corners */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", system-ui, sans-serif;
  line-height: 1.6;
}
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible {
  outline: 3px solid var(--teal-600);
  outline-offset: 3px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  color: #ffffff;
  background: 
    linear-gradient(135deg, rgba(6, 7, 16, 0.88) 0%, rgba(26, 27, 56, 0.94) 100%),
    url('jeonbuk_rehab_bg.jpg') no-repeat center/cover;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 7, 16, 0.5) 0%, transparent 80%);
  pointer-events: none;
}
.topbar, .hero-inner, main, footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}
.topbar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
}
.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--teal-950);
  background: var(--mint);
  border-radius: 9px;
  font-weight: 900;
}
.edition {
  padding: 8px 15px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 999px;
}
.top-actions { display: flex; gap: 8px; align-items: center; }
.silson-link {
  padding: 8px 14px;
  color: var(--teal-950);
  background: var(--mint);
  border: 1px solid var(--mint);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}
.silson-link:hover { background: #ff477e; }
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 76px 0 86px;
}
.eyebrow, .section-kicker {
  margin: 0 0 12px;
  color: var(--mint);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
}
.section-kicker { color: var(--teal-600); }
h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.15;
  letter-spacing: -.05em;
}
h1 em { color: var(--mint); font-style: normal; }
.lead {
  max-width: 750px;
  margin: 22px 0 28px;
  color: rgba(255,255,255,.76);
  font-size: 17px;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.search-shell {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 14px;
  align-items: center;
  width: min(830px, 100%);
  padding: 13px 20px;
  color: var(--teal-900);
  background: white;
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(0,0,0,.15);
}
.search-shell svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}
.search-shell input {
  min-width: 0;
  padding: 8px 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 17px;
}
.search-shell input::placeholder { color: #94a3b8; }
.search-shell kbd {
  padding: 4px 8px;
  color: #64748b;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 11px;
}
.hero-suggestions {
  width: min(830px, 100%);
  margin-top: 9px;
  overflow: hidden;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(15, 16, 38, 0.12);
}
.suggestion-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  color: var(--muted);
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.suggestion-summary strong { color: var(--teal-600); }
.suggestion-list { display: grid; }
.suggestion-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 11px 15px;
  color: var(--ink);
  background: white;
  border: 0;
  border-bottom: 1px solid #f1f5f9;
  text-align: left;
}
.suggestion-item:hover, .suggestion-item:focus-visible { background: var(--mint-soft); }
.suggestion-item:last-child { border-bottom: 0; }
.suggestion-name { display: block; font-weight: 800; }
.suggestion-meta { color: var(--muted); font-size: 11px; }
.suggestion-arrow { color: var(--teal-600); font-weight: 900; }
.suggestion-empty { padding: 19px 15px; color: var(--muted); text-align: center; font-size: 13px; }
.suggestion-more {
  width: 100%;
  padding: 10px;
  color: var(--teal-900);
  background: #fff8f9;
  border: 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 800;
}
.quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.quick-filters button {
  padding: 8px 14px;
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.15s ease;
}
.quick-filters button:hover, .quick-filters button.active {
  color: var(--teal-950);
  background: var(--mint);
  border-color: var(--mint);
}

main {
  position: relative;
  margin-top: -38px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  background: white;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.stats article {
  display: flex;
  gap: 12px;
  align-items: baseline;
  justify-content: center;
  padding: 24px 16px;
  border-right: 1px solid var(--line);
}
.stats article:last-child { border-right: 0; }
.stats strong { font-size: 28px; letter-spacing: -.03em; color: var(--teal-900); }
.stats span { color: var(--muted); font-size: 13px; }

.guide-note {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  margin-top: 60px;
  padding: 40px;
  background: var(--teal-900);
  color: #fff;
  border-radius: 24px;
}
.guide-tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.guide-tab-btn {
  width: 100%;
  padding: 14px 20px;
  color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  text-align: left;
  font-weight: 700;
  transition: all .2s ease;
}
.guide-tab-btn:hover, .guide-tab-btn.active {
  color: #fff;
  background: var(--teal-600);
  border-color: var(--teal-600);
  box-shadow: 0 4px 12px rgba(255, 51, 102, 0.2);
}
.guide-panes { position: relative; }
.guide-pane { display: none; }
.guide-pane.active { display: block; animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.guide-pane h3 { margin-top: 0; font-size: 22px; color: var(--mint); }
.guide-pane p { font-size: 14.5px; color: rgba(255,255,255,.8); }
.golden-box {
  margin-top: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid var(--mint);
  border-radius: 8px;
}
.golden-box h4 { margin-top: 0; color: #fff; }
.compare-table-wrapper { overflow-x: auto; margin-top: 20px; }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.compare-table th, .compare-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  text-align: left;
}
.compare-table th { color: var(--mint); font-weight: 800; background: rgba(255,255,255,.03); }
.compare-table td strong { color: #fff; }

.directory { padding: 80px 0 50px; }
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
}
h2 { margin: 0; font-size: clamp(28px, 4vw, 42px); letter-spacing: -.03em; line-height: 1.2; color: var(--teal-900); }
.heading-actions { display: flex; gap: 8px; }
.icon-button, .reset-button {
  padding: 8px 12px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.15s ease;
}
.icon-button:hover { background: #f8fafc; }
.icon-button[aria-pressed="true"] { color: #b45309; background: var(--amber-soft); border-color: #fbdca8; }
.filter-panel {
  padding: 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.filter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.filter-grid label span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.filter-grid select {
  width: 100%;
  padding: 10px 12px;
  color: var(--ink);
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
}
.filter-grid select:focus { border-color: var(--teal-600); }
.active-row {
  display: flex;
  min-height: 36px;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: 13px;
}
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-chip {
  padding: 4px 10px;
  color: #ff3366;
  background: var(--mint-soft);
  border: 0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.reset-button {
  color: var(--muted);
  background: transparent;
  border: 0;
  white-space: nowrap;
}
.reset-button:hover { color: var(--teal-600); }

.results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 3px 12px;
}
.results-toolbar p { margin: 0; color: var(--muted); }
.results-toolbar strong { color: var(--teal-600); font-size: 22px; }
.result-hint { color: var(--muted); font-size: 13px; }

.result-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.institution-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.institution-card:hover {
  transform: translateY(-2px);
  border-color: var(--teal-600);
  box-shadow: 0 16px 36px rgba(15, 16, 38, 0.06);
}
.card-top, .card-actions, .card-meta, .contact-row {
  display: flex;
  align-items: center;
}
.card-top { gap: 6px; padding-right: 32px; flex-wrap: wrap; }
.badge {
  padding: 3px 8px;
  color: #ff3366;
  background: var(--mint-soft);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}
.badge.type { color: #475569; background: #f1f5f9; }
.badge.warning { color: var(--amber); background: var(--amber-soft); }
.favorite-button {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  color: #94a3b8;
  background: transparent;
  border: 0;
  border-radius: 50%;
  font-size: 20px;
  transition: transform 0.2s ease, color 0.2s ease;
}
.favorite-button.active { color: var(--amber); }
.favorite-button:hover { transform: scale(1.1); }
.institution-card h3 {
  margin: 12px 0 5px;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -.02em;
  color: var(--teal-900);
}
.card-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 12px 0;
}
.card-tags span {
  padding: 3px 6px;
  color: var(--muted);
  background: #f1f5f9;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}
.card-meta {
  gap: 6px;
  margin-top: auto;
  color: var(--muted);
  font-size: 12.5px;
}
.card-meta svg { flex: 0 0 auto; width: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.card-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 14px;
}
.card-actions a, .card-actions button, .empty-state button {
  flex: 1;
  padding: 8px 6px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  font-size: 11.5px;
  font-weight: 700;
  transition: all 0.15s ease;
}
.card-actions a:hover, .card-actions button:hover, .empty-state button:hover {
  color: var(--teal-600);
  background: var(--mint-soft);
  border-color: var(--mint);
}
.card-actions .tel-btn {
  color: #ffffff;
  background: var(--teal-900);
  border-color: var(--teal-900);
}
.card-actions .tel-btn:hover {
  background: var(--teal-800);
  border-color: var(--teal-800);
  color: #fff;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 60px 20px;
  text-align: center;
  background: white;
  border: 1px dashed var(--line);
  border-radius: 16px;
}
.empty-state [aria-hidden="true"] { font-size: 40px; color: var(--muted); display: block; margin-bottom: 12px; }
.empty-state h3 { margin: 0 0 6px; font-size: 18px; }
.empty-state p { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.empty-state button { display: inline-block; padding-inline: 20px; }

footer {
  margin-top: 80px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
}
footer a { color: var(--teal-600); text-decoration: none; font-weight: 700; }

/* Drawer Row - district chip filter in hero */
.drawer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.district-chip {
  padding: 7px 13px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  transition: all 0.15s ease;
}
.district-chip:hover, .district-chip.active {
  color: #fff;
  background: rgba(255, 51, 102, 0.15);
  border-color: var(--mint);
}

/* Dialog styling (Modal) */
dialog {
  padding: 0;
  border: 0;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(15, 16, 38, 0.25);
  width: min(640px, calc(100% - 32px));
  max-height: min(80vh, 700px);
  background: white;
}
dialog::backdrop { background: rgba(6, 7, 16, 0.6); backdrop-filter: blur(4px); }
.modal-header {
  padding: 24px;
  background: var(--teal-900);
  color: #fff;
  position: relative;
}
.modal-header h2 { margin: 0; color: #fff; font-size: 22px; padding-right: 32px; }
.close-modal {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 32px;
  height: 32px;
  border: 0;
  background: rgba(255,255,255,.1);
  color: #fff;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
}
.close-modal:hover { background: rgba(255,255,255,.2); }
.modal-body { padding: 24px; overflow-y: auto; max-height: calc(80vh - 120px); }
.detail-grid { display: grid; gap: 16px; font-size: 14px; }
.detail-item { border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.detail-item:last-child { border-bottom: 0; }
.detail-label { font-weight: 800; color: var(--muted); display: block; margin-bottom: 4px; }
.detail-value { color: var(--ink); line-height: 1.5; }

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 12px 24px;
  background: var(--teal-900);
  color: #fff;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(15, 16, 38, 0.2);
  transition: transform .3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 9999;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* Print utility overrides */
@media print {
  body { background: white; color: black; font-size: 12px; }
  .hero, .filter-panel, .results-toolbar, footer, .heading-actions, .favorite-button, .card-actions { display: none !important; }
  main { margin-top: 0; }
  .stats { border: 0; box-shadow: none; display: flex; justify-content: space-between; margin-bottom: 30px; }
  .stats article { border: 0; padding: 0; }
  .result-grid { display: block; }
  .institution-card { page-break-inside: avoid; border: 1px solid #000; margin-bottom: 20px; box-shadow: none !important; transform: none !important; }
}

@media (max-width: 860px) {
  .guide-note { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
  .guide-tabs { flex-direction: row; overflow-x: auto; padding-bottom: 8px; }
  .guide-tab-btn { white-space: nowrap; width: auto; }
}

@media (max-width: 768px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats article { border-bottom: 1px solid var(--line); }
  .stats article:nth-child(even) { border-right: 0; }
  .stats article:nth-child(3), .stats article:nth-child(4) { border-bottom: 0; }
  .filter-grid { grid-template-columns: repeat(2, 1fr); }
  .result-grid { grid-template-columns: 1fr; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 12px; }
  footer { flex-direction: column; gap: 16px; text-align: center; }
}

/* 홈페이지 선택 다이얼로그 스타일 */
#homepageDialog {
  width: min(460px, calc(100% - 28px));
  border-radius: 20px;
  border: 0;
  padding: 0;
}
.homepage-dialog-header {
  padding: 22px 24px 16px;
  color: white;
  background: var(--teal-900);
  position: relative;
}
.homepage-dialog-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.3;
  color: white;
}
.homepage-dialog-header p {
  margin: 0 0 6px;
  color: var(--mint);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.homepage-dialog-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.homepage-dialog-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}
.homepage-dialog-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.homepage-dialog-desc {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 10px;
  line-height: 1.55;
  word-break: keep-all;
}
.homepage-btn-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  transition: all 0.2s ease;
  border: 1px solid var(--line);
}
.homepage-btn-option.primary {
  background: var(--white);
  color: var(--teal-900);
  border-color: #ffb7b7;
}
.homepage-btn-option.primary:hover {
  background: var(--mint-soft);
  border-color: var(--teal-600);
  transform: translateY(-1px);
}
.homepage-btn-option.naver {
  background: #03c75a;
  color: white;
  border-color: #02b350;
}
.homepage-btn-option.naver:hover {
  background: #02b350;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(3, 199, 90, 0.2);
}
.homepage-btn-option .btn-icon {
  font-size: 16px;
}

/* FAQ Section Styles */
.faq-section {
  padding: 60px 0;
  border-top: 1px solid var(--line);
  margin-top: 40px;
}
.faq-section h2 {
  margin-bottom: 30px;
  text-align: center;
  font-size: clamp(24px, 3.5vw, 32px);
  color: var(--teal-900);
  font-weight: 900;
  letter-spacing: -0.03em;
}
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(12, 43, 69, 0.02);
  transition: all 0.2s ease;
}
.faq-item[open] {
  border-color: var(--teal-600);
  box-shadow: 0 10px 25px rgba(12, 43, 69, 0.06);
}
.faq-item summary {
  padding: 18px 24px;
  font-weight: 800;
  font-size: 15px;
  color: var(--teal-900);
  cursor: pointer;
  list-style: none;
  position: relative;
  outline: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--teal-600);
  transition: transform 0.2s ease;
  font-weight: 400;
}
.faq-item[open] summary::after {
  content: "-";
  transform: rotate(180deg);
}
.faq-content {
  padding: 0 24px 20px 24px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  border-top: 1px dashed #edf2f1;
  padding-top: 15px;
}
.faq-content p {
  margin: 0;
}

/* Standalone Page Styles */
.policy-page {
  background: var(--paper);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.policy-header {
  background: var(--teal-900);
  color: white;
  padding: 45px 0;
  text-align: center;
}
.policy-header-inner {
  width: min(800px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
}
.policy-header h1 {
  font-size: clamp(28px, 4vw, 36px);
  margin: 0 0 8px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: white;
}
.policy-header p {
  margin: 0;
  color: var(--mint);
  font-size: 14px;
  font-weight: 600;
}
.policy-home-btn {
  display: inline-block;
  margin-top: 15px;
  color: white;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  transition: all 0.2s ease;
}
.policy-home-btn:hover {
  background: rgba(255,255,255,0.2);
}
.policy-container {
  width: min(800px, calc(100% - 40px));
  margin: 40px auto;
  background: white;
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  box-sizing: border-box;
}
.policy-content h2 {
  font-size: 18px;
  color: var(--teal-900);
  margin-top: 30px;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--mint-soft);
  padding-bottom: 8px;
  font-weight: 800;
}
.policy-content p, .policy-content li {
  font-size: 14px;
  color: #3e4d59;
  line-height: 1.7;
}
.policy-content ul {
  padding-left: 20px;
}
.policy-content li {
  margin-bottom: 8px;
}
.policy-footer {
  margin-top: auto;
  background: white;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.policy-footer-inner {
  width: min(800px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}
.policy-footer a {
  color: var(--teal-600);
  text-decoration: none;
  font-weight: 800;
}
@media (max-width: 520px) {
  .policy-container {
    padding: 24px;
    margin: 20px auto;
  }
  .policy-footer-inner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
