:root {
  --night: #0d1622;
  --night-raised: #131f2d;
  --ink: #20231f;
  --ink-soft: #67685f;
  --paper: #f3ecdc;
  --paper-soft: #fbf7ee;
  --jade: #3e786a;
  --blossom: #e59aa7;
  --coral: #d87961;
  --gold: #d5a65b;
  --line-dark: rgba(244, 233, 209, .22);
  --line-paper: #d9cfba;
  --serif: "Noto Serif KR", "Nanum Myeongjo", Georgia, serif;
  --sans: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.7; word-break: keep-all; }
a { color: inherit; text-underline-offset: .2em; }
img { display: block; max-width: 100%; }
.site-frame { min-height: 100vh; overflow: hidden; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.shell.narrow { width: min(840px, calc(100% - 40px)); }
.skip-link { position: fixed; z-index: 100; left: 16px; top: -80px; padding: 10px 14px; border-radius: 4px; background: var(--paper); color: var(--night); }
.skip-link:focus { top: 12px; }

.site-header { position: relative; z-index: 20; border-bottom: 1px solid var(--line-dark); background: var(--night); color: var(--paper); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-seal, .brand-mark { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(229, 154, 167, .7); border-radius: 50%; color: var(--paper); font: 700 12px var(--serif); }
.brand strong, .brand small { display: block; line-height: 1.15; }
.brand strong { font: 600 16px var(--serif); }
.brand small { margin-top: 5px; color: #bcb5a6; font-size: 10px; }
.nav-list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav-list a { display: block; padding: 9px 11px; border-bottom: 1px solid transparent; color: #bdb9af; font-size: 13px; text-decoration: none; white-space: nowrap; }
.nav-list a:hover, .nav-list a:focus-visible, .nav-list a.active { border-color: var(--blossom); color: var(--paper); outline: none; }

.eyebrow { margin: 0 0 14px; color: var(--gold); font: 700 11px var(--serif); }
.hero { min-height: calc(100vh - 76px); overflow: hidden; background: var(--night); color: var(--paper); }
.hero-copy { position: relative; z-index: 2; padding-top: clamp(46px, 8vh, 92px); text-align: center; }
.hero h1 { margin: 0; font: 500 clamp(42px, 7vw, 78px)/1.02 var(--serif); }
.hero-korean { margin: 8px 0 0; color: #f3dfc5; font: 400 clamp(30px, 5vw, 54px)/1.2 var(--serif); }
.lead { max-width: 720px; margin: 22px auto 0; color: #c8c4ba; font-size: clamp(15px, 1.8vw, 19px); line-height: 1.8; }
.hero-actions { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.store-status { min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border: 1px solid rgba(90, 182, 199, .48); border-radius: 4px; color: #bfe1e5; font-size: 13px; }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; border: 1px solid transparent; border-radius: 4px; font-size: 13px; font-weight: 700; text-decoration: none; }
.button.primary { background: var(--jade); color: #fff; }
.button-quiet { border-color: rgba(243, 236, 220, .28); color: var(--paper); }
.hero-map { width: min(980px, 96vw); height: clamp(300px, 45vh, 520px); display: block; margin: -12px auto 0; }
.hero-map img { width: 100%; height: 100%; object-fit: contain; }
.hero-foot { min-height: 58px; display: flex; justify-content: center; align-items: center; gap: 34px; border-top: 1px solid var(--line-dark); color: #a9aaa4; font-size: 11px; }
.hero-foot span::before { content: ""; width: 5px; height: 5px; display: inline-block; margin-right: 8px; border-radius: 50%; background: var(--blossom); }

.experience-band { padding: 96px 0 108px; background: var(--paper); }
.section-heading h2, .map-story h2, .trust-band h2 { margin: 0; font: 500 clamp(30px, 4.5vw, 50px)/1.25 var(--serif); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; }
.feature-card { min-height: 250px; padding: 28px; border: 1px solid var(--line-paper); border-radius: 6px; background: var(--paper-soft); }
.feature-index { color: var(--coral); font: 700 11px var(--serif); }
.feature-card h3 { margin: 56px 0 12px; font: 500 25px var(--serif); }
.feature-card p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.85; }

.map-story { padding: 96px 0; background: #dfe7e5; }
.map-story-inner { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 52px; }
.map-story-copy > p:not(.eyebrow) { color: #59605b; font-size: 15px; line-height: 1.9; }
.map-story img { width: 100%; max-height: 540px; object-fit: contain; }
.map-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 30px 0 0; border-top: 1px solid #a8b8b3; border-bottom: 1px solid #a8b8b3; }
.map-facts div { padding: 16px 8px; }
.map-facts dt { color: #68766f; font-size: 10px; }
.map-facts dd { margin: 4px 0 0; font: 500 14px var(--serif); }

.trust-band { padding: 92px 0; background: var(--night); color: var(--paper); }
.trust-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.trust-inner > div > p:not(.eyebrow) { color: #b8bab5; }
.policy-links { border-top: 1px solid var(--line-dark); }
.policy-links a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line-dark); text-decoration: none; }
.policy-links span { color: #b7b8b2; font-size: 13px; }
.policy-links strong { color: #f1dec4; font: 500 14px var(--serif); }

.document-hero { padding: 76px 0 62px; border-bottom: 1px solid var(--line-dark); background: var(--night); color: var(--paper); }
.document-hero h1 { margin: 0; font: 500 clamp(38px, 6vw, 64px)/1.15 var(--serif); }
.document-hero .lead { margin-left: 0; color: #c2c0b9; }
.effective-date { display: inline-flex; margin: 24px 0 0; padding: 7px 11px; border: 1px solid var(--line-dark); border-radius: 4px; color: #bcb8ae; font-size: 11px; }
.document-grid { display: grid; grid-template-columns: 200px minmax(0, 800px); justify-content: center; gap: 64px; padding-top: 68px; padding-bottom: 100px; }
.document-index { position: sticky; top: 24px; align-self: start; padding: 18px; border-left: 2px solid var(--coral); background: var(--paper-soft); }
.document-index p { margin: 0 0 10px; color: var(--coral); font: 700 11px var(--serif); }
.document-index a { display: block; padding: 5px 0; color: var(--ink-soft); font-size: 12px; text-decoration: none; }
.legal-document section { scroll-margin-top: 20px; padding: 0 0 40px; margin: 0 0 40px; border-bottom: 1px solid var(--line-paper); }
.legal-document section:last-child { border-bottom: 0; }
.legal-document h2 { margin: 0 0 18px; font: 500 24px var(--serif); }
.legal-document p, .legal-document li { color: var(--ink-soft); font-size: 14px; line-height: 1.9; }
.legal-document ul, .legal-document ol { padding-left: 22px; }
.notice-box, .contact-card, .warning-box, .draft-alert { padding: 22px !important; border: 0 !important; border-radius: 6px; background: #dce8df; }
.draft-alert { background: #f5e2b7; color: #6e551c !important; }
.warning-box { background: #f0d5cf; }
.table-wrap { overflow-x: auto; margin: 22px 0; border: 1px solid var(--line-paper); border-radius: 6px; background: var(--paper-soft); }
table { width: 100%; min-width: 660px; border-collapse: collapse; text-align: left; font-size: 12px; }
th, td { padding: 15px; border-bottom: 1px solid var(--line-paper); vertical-align: top; }
th { background: #e7decc; }
td { color: var(--ink-soft); }
tr:last-child td { border-bottom: 0; }

.support-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; padding-top: 72px; }
.support-primary { padding: 36px; border-radius: 6px; background: var(--night-raised); color: var(--paper); }
.support-primary h2 { margin: 0 0 16px; font: 500 34px var(--serif); }
.support-primary > p:not(.eyebrow) { color: #c2c4bf; }
.support-primary .button { margin-top: 18px; background: var(--paper); color: var(--night); }
.response-note { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line-dark); font-size: 12px; }
.support-stack { display: grid; gap: 10px; }
.mini-card { padding: 22px; border: 1px solid var(--line-paper); border-radius: 6px; background: var(--paper-soft); }
.mini-card span { color: var(--coral); font: 700 10px var(--serif); }
.mini-card h3 { margin: 6px 0 4px; font: 500 20px var(--serif); }
.mini-card p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.support-links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding-top: 34px; padding-bottom: 92px; }
.support-links a { display: flex; justify-content: space-between; gap: 18px; padding: 22px; border-bottom: 1px solid var(--ink); text-decoration: none; }
.support-links span { color: var(--ink-soft); font-size: 12px; }

.deletion-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 72px; }
.deletion-card { padding: 32px; border: 1px solid var(--line-paper); border-radius: 6px; background: var(--paper-soft); }
.deletion-card.recommended { background: var(--night-raised); color: var(--paper); }
.deletion-card.recommended p, .deletion-card.recommended li { color: #c2c4bf; }
.card-label { display: inline-flex; padding: 6px 9px; border-radius: 4px; background: #dce8df; color: #315e50; font-size: 10px; font-weight: 700; }
.recommended .card-label { background: var(--coral); color: white; }
.step-number { display: block; margin: 34px 0 5px; color: var(--coral); font-size: 12px; font-weight: 800; }
.deletion-card h2 { margin: 0 0 16px; font: 500 29px var(--serif); }
.deletion-card li, .deletion-card p { color: var(--ink-soft); font-size: 13px; line-height: 1.9; }
.deletion-card .button { margin-top: 16px; }
.deletion-details { padding-top: 44px; padding-bottom: 92px; }
.deletion-details h2 { font: 500 32px var(--serif); }
.deletion-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 30px; }
.deletion-list span { padding: 8px 12px; border: 1px solid var(--line-paper); border-radius: 4px; background: var(--paper-soft); font-size: 12px; }

.site-footer { padding: 54px 0 22px; background: #080f17; color: #aeb3b0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 54px; }
.footer-brand { margin: 0 0 8px; color: var(--paper); font: 500 20px var(--serif); }
.site-footer p, .site-footer a { font-size: 12px; }
.site-footer a { color: #d6d4cc; }
.footer-links { display: grid; align-content: start; gap: 7px; }
.attribution p { margin: 0 0 6px; }
.copyright { margin-top: 36px; padding-top: 16px; border-top: 1px solid var(--line-dark); color: #717b78; font-size: 10px; }

@media (max-width: 920px) {
  .header-inner { gap: 16px; }
  .nav-list { max-width: calc(100vw - 210px); overflow-x: auto; }
  .hero { min-height: auto; }
  .hero-map { height: 42vw; min-height: 260px; }
  .feature-grid, .map-story-inner, .trust-inner, .support-layout, .deletion-grid { grid-template-columns: 1fr; }
  .map-story img { grid-row: 1; }
  .feature-card { min-height: 210px; }
  .document-grid { grid-template-columns: 1fr; gap: 30px; }
  .document-index { position: static; columns: 2; }
  .document-index p { column-span: all; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .attribution { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .shell, .shell.narrow { width: min(100% - 28px, 1160px); }
  .header-inner { align-items: flex-start; flex-direction: column; padding-top: 14px; padding-bottom: 11px; gap: 8px; }
  .brand small { display: none; }
  .nav-list { width: calc(100vw - 28px); }
  .hero-copy { padding-top: 44px; }
  .hero h1 { font-size: 43px; }
  .hero-korean { font-size: 32px; }
  .lead { font-size: 14px; }
  .hero-map { width: 112vw; height: 330px; margin-left: -6vw; }
  .hero-foot { justify-content: flex-start; gap: 14px; overflow-x: auto; }
  .hero-foot span { white-space: nowrap; }
  .experience-band, .map-story, .trust-band { padding-top: 68px; padding-bottom: 72px; }
  .feature-grid { gap: 10px; }
  .feature-card { min-height: auto; padding: 22px; }
  .feature-card h3 { margin-top: 32px; }
  .map-facts { grid-template-columns: 1fr; }
  .map-facts div + div { border-top: 1px solid #a8b8b3; }
  .document-hero { padding: 54px 0 46px; }
  .document-grid { padding-top: 44px; padding-bottom: 72px; }
  .document-index { columns: 1; }
  .support-layout, .deletion-grid { padding-top: 48px; }
  .support-primary, .deletion-card { padding: 24px; }
  .support-links, .footer-grid { grid-template-columns: 1fr; }
  .footer-grid { gap: 28px; }
  .attribution { grid-column: auto; }
}

@media (max-height: 600px) and (min-width: 621px) {
  .hero-copy { padding-top: 24px; }
  .hero h1 { font-size: 42px; }
  .hero-korean { margin-top: 2px; font-size: 28px; }
  .lead { max-width: 680px; margin-top: 10px; font-size: 13px; line-height: 1.55; }
  .hero-actions { margin-top: 12px; }
  .store-status, .button { min-height: 36px; }
  .hero-map { height: 270px; margin-top: -58px; transform: translateY(92px); }
  .hero-foot { margin-top: 38px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
