@font-face {
  font-family: Pretendard;
  src: url('/assets/fonts/PretendardVariable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f7f8fe;
  --ink: #142044;
  --muted: #606b83;
  --blue: #3157f5;
  --line: #dce1ee;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 112px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Pretendard, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
p, h1, h2, dd { word-break: keep-all; overflow-wrap: anywhere; }
p { text-wrap: pretty; }
.notice-shell { width: calc(100% - 96px); max-width: 1200px; margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 16px; background: var(--blue); color: white; padding: 12px 18px; z-index: 100; }
.skip-link:focus { top: 12px; }
.notice-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); background: #f7f8fef5; backdrop-filter: blur(16px); }
.header-inner { height: 80px; display: flex; align-items: center; gap: 32px; }
.notice-logo { display: block; flex: none; width: 80px; }
.notice-logo img { display: block; width: 100%; height: auto; }
.header-label { color: var(--muted); font-size: 12px; padding-left: 28px; border-left: 1px solid var(--line); }
.home-link { display: inline-flex; align-items: center; gap: 26px; margin-left: auto; min-height: 44px; font-size: 13px; font-weight: 600; }
.home-link:hover { color: var(--blue); }
.notice-intro { padding-block: 72px 42px; border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 24px; font-size: 11px; font-weight: 650; letter-spacing: .13em; color: var(--blue); }
h1 { margin: 0; font-size: clamp(34px, 4.2vw, 54px); font-weight: 650; line-height: 1.25; letter-spacing: -.05em; }
.mobile-break { display: none; }
.intro-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 26px; }
.intro-bottom p { color: var(--muted); font-size: 16px; line-height: 1.7; margin: 0; }
.policy-date { color: var(--muted); font-size: 12px; white-space: nowrap; }
.policy-date time { margin-left: 10px; color: var(--ink); font-variant-numeric: tabular-nums; }
.notice-layout { display: grid; grid-template-columns: 224px minmax(0, 1fr); gap: clamp(40px, 6vw, 84px); padding-top: 44px; }
.notice-sidebar { min-width: 0; }
.sidebar-inner { position: sticky; top: 112px; max-height: calc(100svh - 132px); overflow-y: auto; scrollbar-width: thin; padding: 0 5px 10px 0; }
.contents-label { display: flex; justify-content: space-between; font-size: 10px; font-weight: 650; letter-spacing: .1em; color: var(--muted); margin: 0 0 18px; padding-inline: 12px; }
.contents-label span { letter-spacing: 0; }
.desktop-contents > a, .mobile-contents nav > a { display: flex; align-items: center; gap: 14px; min-height: 38px; padding: 8px 12px; font-size: 13px; line-height: 1.5; border-radius: 4px; color: var(--muted); transition: color .15s, background .15s; }
.desktop-contents > a span, .mobile-contents nav > a span { color: #7c87a0; font-size: 10px; font-variant-numeric: tabular-nums; }
.desktop-contents > a:hover, .mobile-contents nav > a:hover { background: #e9edfb; color: var(--ink); }
.sidebar-help { margin: 26px 12px 0; padding-top: 22px; border-top: 1px solid var(--line); }
.sidebar-help > span { display: block; font-size: 11px; color: var(--muted); margin-bottom: 9px; }
.sidebar-help a { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 550; }
.sidebar-help a:hover { color: var(--blue); }
.mobile-contents { display: none; }
.notice-document { min-width: 0; }
.service-status { border: 1px solid var(--line); border-radius: 8px; padding: 24px 28px; background: #fff9; margin-bottom: 40px; }
.service-status .status-title { display: flex; align-items: center; gap: 9px; color: var(--ink); font-size: 13px; font-weight: 650; margin: 0 0 12px; }
.status-title > span { width: 6px; height: 6px; background: var(--blue); border-radius: 50%; flex: none; }
.service-status p { color: var(--muted); font-size: 13px; line-height: 1.85; margin: 0; }
.service-status a { text-decoration: underline; text-underline-offset: 3px; }
.policy-section { padding: 38px 0; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: baseline; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.section-number { flex: none; color: var(--blue); font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; }
h2 { font-size: 23px; line-height: 1.4; font-weight: 650; letter-spacing: -.035em; margin: 0; scroll-margin-top: 8px; }
h2:focus { outline: none; }
.section-context { margin-left: auto; font-size: 10px; color: var(--muted); border: 1px solid var(--line); padding: 4px 7px; border-radius: 3px; white-space: nowrap; }
.policy-copy p { margin: 0 0 17px; font-size: 15px; line-height: 1.95; color: #4b5770; }
.policy-copy p:last-child { margin-bottom: 0; }
.policy-copy strong { color: var(--ink); font-weight: 650; }
.policy-copy a { color: #2447d0; text-decoration: underline; text-decoration-color: #3157f54d; text-underline-offset: 4px; overflow-wrap: anywhere; }
.policy-copy a:hover { text-decoration-color: currentColor; }
.policy-section-brand { padding: 30px 32px 32px; margin: 8px 0 36px; background: #edf1ff; border: 1px solid #d6defb; border-radius: 10px; }
.policy-section-brand + .policy-section { border-top: 0; }
.policy-section:has(h2:target) h2 { color: var(--blue); }
.inquiry-facts { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; margin: 0 0 24px; padding: 20px 0; border-top: 1px solid #d5ddf7; border-bottom: 1px solid #d5ddf7; }
.inquiry-facts dt { font-size: 11px; color: var(--muted); margin-bottom: 8px; }
.inquiry-facts dd { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.5; }
.notice-version { font-size: 12px; line-height: 1.8; color: var(--muted); margin: 8px 0 0; padding-top: 26px; border-top: 1px solid var(--line); }
.notice-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 32px; }
.notice-primary, .notice-secondary { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 48px; font-size: 13px; font-weight: 600; }
.notice-primary { background: var(--ink); color: #fff; padding: 13px 18px; border-radius: 5px; }
.notice-primary:hover { background: var(--blue); }
.notice-secondary:hover { color: var(--blue); }
.notice-footer { display: flex; justify-content: space-between; gap: 24px; margin-top: 88px; padding-block: 24px 32px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); }
.notice-footer a { display: inline-flex; gap: 16px; }
@media (max-width: 960px) {
  .notice-shell { width: calc(100% - 48px); }
  .notice-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 36px; }
  .intro-bottom { align-items: flex-start; flex-direction: column; gap: 14px; }
  .policy-section-brand { padding: 26px 24px; }
  .section-context { margin-left: 27px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 90px; }
  .notice-shell { width: calc(100% - 40px); }
  .header-inner { height: 64px; gap: 16px; }
  .notice-logo { width: 64px; }
  .header-label { display: none; }
  .home-link { font-size: 12px; gap: 18px; }
  .notice-intro { padding-block: 42px 28px; }
  .eyebrow { margin-bottom: 18px; font-size: 10px; }
  h1 { font-size: clamp(28px, 7.5vw, 40px); line-height: 1.35; letter-spacing: -.045em; }
  .mobile-break { display: initial; }
  .intro-bottom { margin-top: 18px; gap: 18px; }
  .intro-bottom p { font-size: 14px; max-width: 31ch; }
  .policy-date { font-size: 11px; }
  .notice-layout { display: block; padding-top: 24px; }
  .sidebar-inner { position: static; max-height: none; overflow: visible; padding: 0; }
  .desktop-contents, .sidebar-help { display: none; }
  .mobile-contents { display: block; margin-bottom: 28px; border: 1px solid var(--line); border-radius: 6px; background: #fff9; }
  .mobile-contents summary { display: flex; align-items: center; gap: 12px; padding: 16px; min-height: 54px; cursor: pointer; list-style: none; font-size: 13px; font-weight: 650; }
  .mobile-contents summary::-webkit-details-marker { display: none; }
  .mobile-contents summary > span:not(.contents-toggle) { color: var(--muted); font-size: 11px; font-weight: 450; }
  .contents-toggle { margin-left: auto; color: var(--blue); font-size: 20px; line-height: 1; }
  .mobile-contents[open] .contents-toggle { transform: rotate(45deg); }
  .mobile-contents nav { padding: 4px 8px 12px; border-top: 1px solid var(--line); }
  .mobile-contents nav > a { min-height: 44px; }
  .service-status { padding: 20px; margin-bottom: 28px; }
  .policy-section { padding-block: 28px; }
  .section-heading { gap: 10px; margin-bottom: 18px; }
  h2 { font-size: 21px; scroll-margin-top: 8px; }
  .policy-copy p { font-size: 15px; line-height: 1.85; margin-bottom: 18px; }
  .section-context { margin-left: 23px; }
  .policy-section-brand { padding: 24px 20px; margin-block: 4px 20px; }
  .inquiry-facts { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-block: 18px; }
  .inquiry-facts > div { display: grid; grid-template-columns: 66px minmax(0, 1fr); gap: 14px; align-items: baseline; }
  .inquiry-facts dt { margin: 0; }
  .inquiry-facts dd { font-size: 13px; }
  .notice-actions { gap: 10px; flex-direction: column; align-items: stretch; }
  .notice-primary { padding: 15px 17px; }
  .notice-secondary { padding: 10px 2px; }
  .notice-footer { margin-top: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
@media print {
  .notice-header, .notice-sidebar, .notice-actions, .notice-footer, .skip-link { display: none; }
  body { background: white; color: #111; }
  .notice-shell { width: 100%; max-width: none; }
  .notice-layout { display: block; padding-top: 20px; }
  .notice-intro { padding-block: 0 20px; }
  h1 { font-size: 30px; }
  .policy-section { break-inside: avoid; }
  .policy-section-brand { background: none; }
  .policy-copy p { font-size: 11pt; line-height: 1.6; }
}

/* The selected anchor stays visible in the desktop contents. */
body:has(#privacy:target) .desktop-contents > a[href="#privacy"],
body:has(#creator-application:target) .desktop-contents > a[href="#creator-application"],
body:has(#brand-inquiry:target) .desktop-contents > a[href="#brand-inquiry"],
body:has(#providers:target) .desktop-contents > a[href="#providers"],
body:has(#security:target) .desktop-contents > a[href="#security"],
body:has(#service-terms:target) .desktop-contents > a[href="#service-terms"],
body:has(#rights:target) .desktop-contents > a[href="#rights"] { background: #e8edff; color: #2447d0; font-weight: 600; }

.policy-details { margin: 22px 0 0; border-top: 1px solid var(--line); }
.policy-details > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.policy-details dt, .provider-list dt { color: var(--ink); font-size: 13px; font-weight: 600; line-height: 1.8; }
.policy-details dd, .provider-list dd { margin: 0; font-size: 14px; line-height: 1.85; color: #4b5770; overflow-wrap: anywhere; }
.provider-list { margin: 24px 0; }
.provider-list > div { padding: 20px 0; border-top: 1px solid var(--line); }
.provider-list dt { margin-bottom: 8px; font-size: 15px; }
@media (max-width: 760px) {
 .policy-details > div { grid-template-columns: 1fr; gap: 4px; }
 .policy-details dd, .provider-list dd { font-size: 15px; }
}
