/* ─────────────────────────────────────────────────────
   Greencheck — styles_pages.css
   서브 페이지(가이드·고객지원·약관·개인정보·면책·제휴) 공통 스타일
   ───────────────────────────────────────────────────── */

:root {
  --accent: #047857;
  --accent-hi: #10B981;
  --accent-ink: #064E3B;
  --accent-soft: #ECFDF5;
  --accent-tint: #D1FAE5;
  --bg: #F7F6F2;
  --paper: #FFFFFF;
  --line: #E7E4DC;
  --line-2: #D6D3CA;
  --ink: #0C0A09;
  --ink-2: #292524;
  --ink-3: #57534E;
  --mute: #A8A29E;
  --mute-2: #C7C2B8;
  --sans: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  word-break: keep-all;
  overflow-wrap: break-word;
  min-height: 100vh;
}
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }

/* ── Nav ───────────────────────────────────────── */
.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 17px;
  letter-spacing: -0.01em;
}
.logo .mark {
  width: 28px; height: 28px;
  background: var(--accent);
  color: white;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
}
.nav-r {
  display: flex; gap: 28px; align-items: center;
  font-size: 14px;
  color: var(--ink-3);
}
.nav-r a { cursor: pointer; }
.nav-r a:hover { color: var(--ink); }
.nav-r .menu-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
}
.nav-r .menu-btn:hover { border-color: var(--ink-3); }

/* ── Page Hero ─────────────────────────────────── */
.page-hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 64px 32px 32px;
}
.page-mark {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.page-mark::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--mute-2);
}
.page-title {
  font-size: clamp(32px, 4.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--ink);
  text-wrap: balance;
}
.page-sub {
  font-size: 17px;
  color: var(--ink-3);
  line-height: 1.65;
  max-width: 680px;
  text-wrap: pretty;
}

/* ── Page Body ─────────────────────────────────── */
.page-body {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 32px 96px;
}
.page-section {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px 36px;
  margin-bottom: 18px;
}
.page-section h2 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  color: var(--ink);
}
.page-section h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  margin: 20px 0 8px;
}
.page-section h3:first-child { margin-top: 0; }
.page-section p {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.75;
  margin-bottom: 12px;
}
.page-section ul, .page-section ol {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.75;
  margin: 8px 0 14px;
  padding-left: 20px;
}
.page-section ul li, .page-section ol li {
  margin-bottom: 4px;
}
.page-section strong, .page-section b {
  font-weight: 700;
  color: var(--ink);
}
.page-section a:not(.btn) {
  color: var(--accent);
  font-weight: 600;
  border-bottom: 1px dashed var(--accent);
}
.page-section code {
  font-family: var(--mono);
  font-size: 13px;
  background: var(--bg);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--ink-2);
}
.page-section .info-box {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 18px;
  margin: 12px 0;
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.7;
}
.page-section .info-box .label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 4px;
  display: block;
}
.page-section .info-box.warn {
  background: #FEF8EC;
  border-color: #F0DDA8;
  color: #7B4E10;
}
.page-section .info-box.warn .label { color: #B45309; }

.page-section .meta-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  margin-top: 10px;
}
.page-section .meta-table td {
  padding: 9px 6px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.page-section .meta-table td.k {
  color: var(--ink-3);
  width: 140px;
  font-weight: 600;
}

/* CTA 박스 */
.cta-block {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 32px;
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-block .cta-text {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.cta-block .cta-text small {
  display: block;
  font-size: 12.5px;
  color: var(--ink-3);
  font-weight: 400;
  margin-top: 4px;
}
.cta-block .cta-btn {
  padding: 12px 22px;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cta-block .cta-btn:hover { background: var(--accent-ink); }

/* 백 링크 */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--mute);
  letter-spacing: 0.04em;
  margin-bottom: 18px;
  cursor: pointer;
}
.back-link:hover { color: var(--accent); }

/* ── Footer ─────────────────────────────────────── */
.footer {
  background: var(--accent-ink);
  color: rgba(255,255,255,0.78);
  border-top: 1px solid var(--accent-ink);
  padding: 72px 0 32px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer .footer-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
}
.footer .footer-col ul {
  list-style: none;
  padding: 0;
}
.footer .footer-col ul li {
  margin-bottom: 10px;
}
.footer .footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.78);
  transition: color 0.2s ease;
}
.footer .footer-col ul li a:hover { color: var(--accent-hi); }
.footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  position: relative;
}
.footer .footer-brand .nav-mark {
  width: 28px; height: 28px;
  background: rgba(255,255,255,0.14);
  color: #fff;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
}
.footer .footer-brand-name {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: #fff;
}
.footer .footer-blurb {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin: 0;
  max-width: 340px;
}
.footer .footer-disclaim {
  font-size: 12px;
  color: rgba(255,255,255,0.62);
  line-height: 1.7;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 16px;
}
.footer .footer-disclaim b { color: rgba(255,255,255,0.9); font-weight: 600; }
.footer .footer-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255,255,255,0.42);
  letter-spacing: 0.04em;
  padding-top: 12px;
}

/* Responsive */
@media (max-width: 760px) {
  .nav { padding: 20px; }
  .nav-r { gap: 14px; }
  .nav-r a:nth-child(1), .nav-r a:nth-child(2) { display: none; }
  .page-hero { padding: 40px 20px 24px; }
  .page-body { padding: 24px 20px 64px; }
  .page-section { padding: 24px 22px; }
  .page-title { font-size: 28px; }
  .footer { padding: 48px 0 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; margin-bottom: 32px; }
  .footer-base { flex-direction: column; gap: 8px; align-items: flex-start; }
  .cta-block { flex-direction: column; align-items: stretch; }
  .cta-block .cta-btn { width: 100%; justify-content: center; }
}
