@import url('./search-concepts-fonts/fonts.css');
:root {
  color-scheme: light;
  --ground: #191918;
  --paper: #f7f6f0;
  --paper-strong: #fffef9;
  --ink: #262820;
  --muted: #5d6454;
  --line: #dddfd3;
  --love: #ff7045;
  --record: #cedd62;
  --focus: #3c563c;
}
* { box-sizing: border-box; }
html { background: var(--ground); }
body {
  margin: 0;
  min-width: 280px;
  color: var(--ink);
  background: var(--paper);
  font-family: 'Nunito Sans Variable', 'Noto Sans KR Variable', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--focus); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.legal-shell { min-height: 100dvh; display: flex; flex-direction: column; }
.legal-header {
  color: #f5f3ed;
  background: var(--ground);
  padding: max(22px, env(safe-area-inset-top)) clamp(20px, 5vw, 72px) 26px;
}
.legal-header-inner { width: min(100%, 980px); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-lockup { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; font-weight: 850; letter-spacing: -.02em; line-height: 1.05; }
.brand-symbol { display: inline-flex; align-items: center; gap: 3px; }
.brand-symbol i { display: block; width: 11px; height: 11px; }
.brand-symbol i:nth-child(1) { background: var(--love); border-radius: 50%; }
.brand-symbol i:nth-child(2) { background: #d8d8d0; border-radius: 3px; }
.brand-symbol i:nth-child(3) { background: var(--record); transform: rotate(45deg) scale(.78); }
.brand-wordmark { display: grid; gap: 1px; font-size: 16px; }
.legal-nav { display: flex; gap: 6px; align-items: center; }
.legal-nav a { color: #d7d9d0; padding: 8px 11px; border-radius: 6px; font-size: 13px; text-decoration: none; }
.legal-nav a:hover, .legal-nav a[aria-current='page'] { color: #191918; background: var(--record); }
.legal-nav a.language-switch { border: 1px solid #62645d; color: #f5f3ed; }
.legal-nav a.language-switch:hover { color: #191918; background: var(--record); border-color: var(--record); }
.legal-main { width: min(100% - 40px, 980px); margin: 0 auto; flex: 1; padding: clamp(42px, 7vw, 78px) 0 84px; }
.legal-intro { max-width: 720px; padding-bottom: 42px; border-bottom: 1px solid var(--line); }
.legal-intro h1 { margin: 0; max-width: 12ch; font-size: clamp(38px, 7vw, 68px); line-height: 1.03; letter-spacing: -.045em; font-weight: 850; }
.legal-intro p { max-width: 60ch; margin: 20px 0 0; color: var(--muted); font-size: 17px; }
.updated { display: inline-flex; margin-top: 22px; color: var(--muted); font-size: 12px; letter-spacing: .02em; }
.legal-layout { display: grid; grid-template-columns: minmax(170px, .28fr) minmax(0, .72fr); gap: clamp(34px, 7vw, 96px); padding-top: 42px; }
.legal-toc { position: sticky; top: 22px; align-self: start; }
.legal-toc strong { display: block; margin-bottom: 10px; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.legal-toc a { display: block; padding: 5px 0; color: var(--muted); font-size: 13px; text-decoration: none; }
.legal-toc a:hover { color: var(--focus); text-decoration: underline; }
.legal-content { min-width: 0; }
.legal-content section { scroll-margin-top: 24px; padding-bottom: 34px; margin-bottom: 34px; border-bottom: 1px solid var(--line); }
.legal-content section:last-child { border-bottom: 0; }
.legal-content h2 { margin: 0 0 12px; font-size: 23px; line-height: 1.25; letter-spacing: -.025em; }
.legal-content h3 { margin: 25px 0 5px; font-size: 16px; line-height: 1.4; }
.legal-content p { max-width: 68ch; margin: 0 0 13px; }
.legal-content ul { max-width: 68ch; margin: 8px 0 14px; padding-left: 1.25em; }
.legal-content li { padding-left: 4px; margin: 4px 0; }
.notice { margin: 22px 0 28px; padding: 17px 20px; border-radius: 8px; background: #e8eddf; color: #4b593d; }
.contact-strip { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; padding: 21px 22px; border-radius: 9px; background: var(--ground); color: #f5f3ed; }
.contact-strip p { margin: 0; color: #c3c3b9; font-size: 14px; }
.contact-strip a { color: var(--record); font-weight: 700; }
.support-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; margin-top: 28px; }
.support-item { padding: 18px 0 22px; border-bottom: 1px solid var(--line); }
.support-item h2 { margin-bottom: 7px; font-size: 19px; }
.support-item p { margin: 0; color: var(--muted); font-size: 14px; }
.support-item a { font-weight: 700; }
.legal-footer { padding: 24px 20px max(28px, env(safe-area-inset-bottom)); color: #b8bbae; background: var(--ground); font-size: 12px; }
.legal-footer-inner { width: min(100%, 980px); margin: 0 auto; display: flex; justify-content: space-between; gap: 18px; }
.legal-footer a { color: #cedd62; }
@media (max-width: 680px) {
  .legal-header-inner { align-items: flex-start; flex-direction: column; gap: 17px; }
  .legal-nav { width: 100%; }
  .legal-nav a { flex: 1; text-align: center; }
  .legal-main { width: min(100% - 32px, 980px); padding-top: 42px; }
  .legal-intro p { font-size: 15px; }
  .legal-layout { display: block; padding-top: 30px; }
  .legal-toc { position: static; margin-bottom: 34px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
  .legal-toc strong { margin-bottom: 6px; }
  .legal-toc a { display: inline-block; margin: 0 16px 4px 0; }
  .support-grid { grid-template-columns: 1fr; }
  .contact-strip { display: block; }
  .contact-strip a { display: inline-block; margin-top: 8px; }
  .legal-footer-inner { display: block; }
  .legal-footer-inner span { display: block; margin-top: 5px; }
}
