/* DCS Shop — 모던·세련 스토어프론트
   CAD/엔지니어링 제품에 맞춘 차분한 네이비+블루 팔레트, Pretendard 타이포. */

:root {
    --ink: #0b1220;
    --ink-2: #1e293b;
    --muted: #5b6b85;
    --line: #e6e9f0;
    --bg: #ffffff;
    --bg-soft: #f6f8fc;
    --bg-softer: #eef2fa;
    --navy: #0a1a3a;
    --navy-2: #122a55;
    /* 사이트 강조색(네이비+블루 스킴). 로고의 시안은 로고 자체 색이고 사이트 색이 아니다. */
    --accent: #2456e6;
    --accent-ink: #1b3fa8;
    --accent-soft: #e7eeff;
    --cta: #2456e6;
    --cta-hover: #1b3fa8;
    --ok: #0f9d58;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 1px 2px rgba(12,24,48,.04), 0 10px 30px rgba(12,24,48,.06);
    --shadow-lg: 0 20px 60px rgba(10,26,58,.18);
    --maxw: 1180px;
    --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* ── 버튼 ───────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 15px; font-weight: 600; line-height: 1;
    padding: 14px 22px; border-radius: 999px; border: 1px solid transparent;
    cursor: pointer; transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--cta); color: #fff; box-shadow: 0 8px 20px rgba(36,86,230,.28); }
.btn-primary:hover { background: var(--cta-hover); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #c7d0e0; background: var(--bg-soft); }
.btn-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.28); }
.btn-light:hover { background: rgba(255,255,255,.2); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }

/* ── 헤더 ───────────────────────────────────────────── */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: var(--navy);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; color: #fff; }
.brand .logo { height: 26px; width: auto; display: block; }
.brand small { font-weight: 600; color: #9fb2d6; font-size: 13px; letter-spacing: 0; }
.nav { display: flex; gap: 22px; margin-left: 8px; }
.nav a { color: #c7d3ec; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--accent); }
.header-cta { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.header-cta .phone { font-weight: 700; color: #fff; font-size: 15px; }
.header-cta .phone span { color: #9fb2d6; font-weight: 500; font-size: 13px; }

/* ── 히어로 ─────────────────────────────────────────── */
.hero {
    background:
        radial-gradient(1000px 500px at 85% -10%, rgba(36,86,230,.35), transparent 60%),
        radial-gradient(800px 400px at 0% 120%, rgba(21,184,196,.22), transparent 55%),
        linear-gradient(160deg, var(--navy), var(--navy-2));
    color: #fff; overflow: hidden;
}
.hero .wrap { padding-top: 92px; padding-bottom: 92px; }
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 700; letter-spacing: .02em; color: #bcd0ff;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
    padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(32px, 5vw, 54px); line-height: 1.12; letter-spacing: -0.03em; margin: 0 0 18px; font-weight: 800; }
.hero p { font-size: clamp(16px, 2vw, 19px); color: #c7d3ec; max-width: 620px; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 54px; flex-wrap: wrap; }
.hero-stats .s b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.hero-stats .s span { color: #9fb2d6; font-size: 14px; }

/* ── 섹션 공통 ──────────────────────────────────────── */
.section { padding: 84px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head .kicker { color: var(--accent); font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.2; letter-spacing: -0.02em; margin: 10px 0 12px; font-weight: 800; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }

/* ── 제품 그리드(홈) ────────────────────────────────── */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pcard {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; display: flex; flex-direction: column;
    transition: transform .18s ease, box-shadow .25s ease, border-color .2s ease;
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #d6ddea; }
.pcard .thumb { aspect-ratio: 16/10; background: var(--bg-softer); overflow: hidden; }
.pcard .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.pcard:hover .thumb img { transform: scale(1.04); }
.pcard .body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.pcard .cat { font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: .03em; }
.pcard h3 { font-size: 22px; margin: 6px 0 4px; letter-spacing: -0.02em; font-weight: 800; }
.pcard .tag { color: var(--ink-2); font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.pcard .lead { color: var(--muted); font-size: 14.5px; flex: 1; margin: 0 0 18px; }
.pcard .foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
    font-size: 12px; font-weight: 600; color: var(--ink-2);
    background: var(--bg-softer); border: 1px solid var(--line);
    padding: 5px 11px; border-radius: 999px;
}
.chip.accent { background: var(--accent-soft); color: var(--accent-ink); border-color: #cfdcff; }
.badge {
    display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .04em;
    padding: 4px 9px; border-radius: 6px; background: #fff0e6; color: #b2560a; border: 1px solid #ffd9bd;
}
.badge.beta { background: #efeaff; color: #5b36c9; border-color: #d9ccff; }

/* ── 제품 상세 ──────────────────────────────────────── */
.breadcrumb { color: var(--muted); font-size: 14px; padding: 20px 0 0; }
.breadcrumb a:hover { color: var(--accent); }

.p-hero { padding: 48px 0 72px; }
.p-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.p-hero .cat { color: var(--accent); font-weight: 700; font-size: 14px; letter-spacing: .03em; }
.p-hero h1 { font-size: clamp(32px, 4.5vw, 48px); margin: 10px 0 10px; letter-spacing: -0.03em; font-weight: 800; line-height: 1.1; }
.p-hero .tag { font-size: 20px; font-weight: 700; color: var(--ink-2); margin-bottom: 18px; }
.p-hero .overview { color: var(--muted); font-size: 16.5px; margin-bottom: 24px; }
.p-hero .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; align-items: center; }
.p-hero-visual {
    border-radius: 20px; overflow: hidden; border: 1px solid var(--line);
    box-shadow: var(--shadow-lg); background: var(--bg-softer); aspect-ratio: 16/11;
}
.p-hero-visual img { width: 100%; height: 100%; object-fit: cover; }

/* 기능 */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.fcard .fimg { aspect-ratio: 16/10; background: var(--bg-softer); overflow: hidden; }
.fcard .fimg img { width: 100%; height: 100%; object-fit: cover; }
.fcard .fbody { padding: 20px 20px 22px; }
.fcard h4 { font-size: 17.5px; margin: 0 0 7px; letter-spacing: -0.01em; font-weight: 700; }
.fcard p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* 플랜/가격 */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; max-width: 760px; margin: 0 auto; }
.plan {
    background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius);
    padding: 30px 28px; display: flex; flex-direction: column; gap: 6px; position: relative;
}
.plan.featured { border-color: var(--accent); box-shadow: 0 16px 40px rgba(36,86,230,.14); }
.plan .ribbon { position: absolute; top: -12px; right: 24px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.plan .plabel { font-weight: 700; font-size: 18px; }
.plan .price { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; margin: 6px 0; }
.plan .price small { font-size: 15px; font-weight: 600; color: var(--muted); }
.plan .price.inquiry { font-size: 22px; color: var(--ink-2); }
.plan .pnote { color: var(--muted); font-size: 13.5px; margin-bottom: 14px; }
.plan .btn { margin-top: auto; }

/* CTA 밴드 */
.cta-band { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; border-radius: 24px; padding: 54px; text-align: center; }
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); margin: 0 0 10px; letter-spacing: -0.02em; }
.cta-band p { color: #c7d3ec; margin: 0 0 26px; font-size: 17px; }
.cta-band .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── 폼(구매) ──────────────────────────────────────── */
.buy-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.card h3 { margin: 0 0 20px; font-size: 20px; letter-spacing: -0.01em; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 7px; }
.field .req { color: var(--accent); }
.input, select, textarea {
    width: 100%; font-family: inherit; font-size: 15px; color: var(--ink);
    padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
    background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(36,86,230,.14); }
textarea { resize: vertical; min-height: 92px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.plan-radios { display: flex; flex-direction: column; gap: 10px; }
.plan-radio { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.plan-radio:hover { border-color: #c7d0e0; }
.plan-radio input { accent-color: var(--accent); width: 18px; height: 18px; }
.plan-radio.sel { border-color: var(--accent); background: var(--accent-soft); }
.plan-radio .pr-label { font-weight: 700; }
.plan-radio .pr-price { margin-left: auto; font-weight: 700; color: var(--ink-2); }

.summary .row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.summary .row span:first-child { color: var(--muted); }
.summary .row b { font-weight: 700; }
.summary .total { padding-top: 14px; font-size: 17px; }

.alert { padding: 14px 16px; border-radius: var(--radius-sm); font-size: 14.5px; margin-bottom: 18px; }
.alert-info { background: var(--accent-soft); color: var(--accent-ink); border: 1px solid #cfdcff; }
.alert-ok { background: #e7f7ee; color: #0a7a42; border: 1px solid #bfe9d0; }
.errors { background: #fdeceb; border: 1px solid #f6c9c6; color: #b3261e; border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 18px; font-size: 14px; }
.errors ul { margin: 0; padding-left: 18px; }

/* ── 접수 완료 ─────────────────────────────────────── */
.done { max-width: 620px; margin: 0 auto; text-align: center; }
.done .check { width: 72px; height: 72px; border-radius: 50%; background: #e7f7ee; color: var(--ok); display: grid; place-items: center; margin: 0 auto 22px; font-size: 34px; }
.done h1 { font-size: 30px; letter-spacing: -0.02em; margin: 0 0 10px; }
.done p { color: var(--muted); font-size: 16.5px; }
.receipt { text-align: left; margin: 30px 0; }
.steps-next { text-align: left; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.steps-next ol { margin: 0; padding-left: 20px; }
.steps-next li { margin: 8px 0; color: var(--ink-2); }

/* ── 푸터 ───────────────────────────────────────────── */
.site-footer { background: var(--navy); color: #a9bad8; padding: 54px 0 40px; margin-top: 10px; }
.site-footer .cols { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer a:hover { color: #fff; }
.site-footer .links { display: flex; gap: 28px; flex-wrap: wrap; }
.site-footer .legal { margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: #7f92b5; }

/* ── 반응형 ─────────────────────────────────────────── */
@media (max-width: 920px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .features { grid-template-columns: repeat(2, 1fr); }
    .p-hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .p-hero-visual { order: -1; }
    .buy-grid { grid-template-columns: 1fr; }
    .nav { display: none; }
}
@media (max-width: 560px) {
    .product-grid, .features { grid-template-columns: 1fr; }
    .field-row { grid-template-columns: 1fr; }
    .header-cta .phone span { display: none; }
    .cta-band { padding: 36px 24px; }
    .section { padding: 60px 0; }
}

/* ── 관리자 ─────────────────────────────────────────── */
.admin-top { background: var(--navy); color: #fff; }
.admin-top .wrap { display: flex; align-items: center; gap: 24px; height: 60px; }
.admin-top .brand { color: #fff; font-size: 17px; }
.admin-top .atabs { display: flex; gap: 6px; margin-left: 10px; }
.admin-top .atabs a { color: #c7d3ec; font-weight: 600; font-size: 14.5px; padding: 8px 14px; border-radius: 8px; }
.admin-top .atabs a:hover { background: rgba(255,255,255,.1); color: #fff; }
.admin-top .atabs a.on { background: rgba(255,255,255,.16); color: #fff; }
.admin-top form { margin-left: auto; }
.admin-top .lo { color: #9fb2d6; font-size: 14px; background: none; border: 0; cursor: pointer; }
.admin-wrap { max-width: 1040px; margin: 36px auto; padding: 0 24px; }
.admin-wrap h1 { font-size: 24px; letter-spacing: -0.02em; margin: 0 0 6px; }
.admin-wrap .sub { color: var(--muted); margin: 0 0 24px; }

.login-box { max-width: 380px; margin: 12vh auto; }
.login-box .card { padding: 32px; }

.table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 14.5px; }
.table th, .table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table th { background: var(--bg-soft); font-size: 12.5px; color: var(--muted); font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.table tr:last-child td { border-bottom: 0; }
.pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.pill.received { background: #eef2fa; color: #41527a; }
.pill.fulfilled { background: #e7f7ee; color: #0a7a42; }
.pill.canceled { background: #fdeceb; color: #b3261e; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.inline-form { display: inline; }
.flash { padding: 13px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; font-size: 14.5px; }
.flash.ok { background: #e7f7ee; color: #0a7a42; border: 1px solid #bfe9d0; }
.flash.error { background: #fdeceb; color: #b3261e; border: 1px solid #f6c9c6; }
.price-input { width: 140px; }
.muted-note { color: var(--muted); font-size: 13.5px; }
.toggle-row { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 10px; background: #fff; }
.toggle-row input { width: 20px; height: 20px; accent-color: var(--accent); }
.toggle-row .pname { font-weight: 700; }
.toggle-row .pcode { color: var(--muted); font-size: 13px; margin-left: auto; }
.codechip { font-family: ui-monospace, monospace; font-size: 12.5px; background: var(--bg-softer); border: 1px solid var(--line); padding: 3px 8px; border-radius: 6px; }

/* ── 프로모션 / 할인 ─────────────────────────────────── */
.ribbon.sale {
    background: linear-gradient(135deg, #ff4d4f, #d6204a);
    box-shadow: 0 6px 16px rgba(214,32,74,.35);
}
.list-price { color: var(--muted); text-decoration: line-through; font-size: 16px; font-weight: 600; margin-bottom: 2px; }
.plan .price { color: var(--ink); }
.plan.featured .price, .plan .price { }
.promo-label {
    display: inline-block; margin-top: 6px; font-size: 12.5px; font-weight: 700;
    color: #d6204a; background: #ffe9ee; border: 1px solid #ffc9d6; padding: 3px 10px; border-radius: 999px;
}
.sale-tag {
    display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 800; letter-spacing: .02em;
    color: #fff; background: #d6204a; padding: 2px 7px; border-radius: 6px; vertical-align: middle;
}
/* 홈 카드 프로모션 배지 */
.pcard .thumb { position: relative; }
.promo-badge {
    position: absolute; top: 12px; left: 12px; z-index: 2;
    display: inline-flex; flex-direction: column; align-items: flex-start; gap: 1px;
    background: linear-gradient(135deg, #ff4d4f, #d6204a); color: #fff;
    padding: 7px 12px; border-radius: 10px; box-shadow: 0 8px 20px rgba(214,32,74,.4);
}
.promo-badge .pct { font-size: 17px; font-weight: 800; line-height: 1; letter-spacing: -0.01em; }
.promo-badge .txt { font-size: 11px; font-weight: 600; opacity: .95; }
/* 구매 요약의 할인 줄 */
.summary .row.save b { color: #d6204a; }

/* ── 관리자 가격 카드 (제품별) ─────────────────────── */
.price-card { background:#fff; border:1px solid var(--line); border-radius:var(--radius); margin-bottom:16px; overflow:hidden; box-shadow:var(--shadow); }
.price-card-head { padding:13px 20px; background:var(--bg-soft); border-bottom:1px solid var(--line); font-weight:800; font-size:15.5px; display:flex; align-items:center; gap:10px; }
.price-row { display:grid; grid-template-columns:86px 56px 148px 84px minmax(220px,1fr) 150px; gap:16px; align-items:end; padding:14px 20px; border-bottom:1px solid var(--line); }
.price-row:last-child { border-bottom:0; }
.price-row .cell label { display:block; font-size:11px; font-weight:600; color:var(--muted); margin-bottom:4px; letter-spacing:.01em; white-space:nowrap; }
.price-row .period-name { font-weight:800; font-size:16px; padding-bottom:2px; }
.price-row .sell { display:flex; align-items:center; gap:7px; font-size:13px; font-weight:600; color:var(--ink-2); cursor:pointer; }
.price-row .sell input { width:19px; height:19px; accent-color:var(--accent); }
.price-row input.input { width:100%; }
.promo-cell { display:flex; gap:8px; flex-wrap:wrap; }
.promo-cell .promo-title { flex:2 1 140px; }
.promo-cell .promo-date { flex:1 1 128px; min-width:120px; }
.applied { text-align:right; font-size:13.5px; line-height:1.4; align-self:center; }
.applied .was { color:var(--muted); text-decoration:line-through; font-size:12.5px; }
.applied .now { font-weight:800; }
.applied .now.sale { color:#d6204a; }
@media (max-width: 980px) {
    .price-row { grid-template-columns:1fr 1fr; gap:14px 16px; }
    .price-row .applied { grid-column:1 / -1; text-align:left; }
    .promo-cell { grid-column:1 / -1; }
}
@media (max-width: 520px) {
    .price-row { grid-template-columns:1fr; }
}

/* ── 관리자 가격 표 (깔끔·줄바꿈 없음) ─────────────────── */
.ptbl-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); background:#fff; }
.ptbl { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 940px; }
.ptbl th, .ptbl td { padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; vertical-align: middle; text-align: left; }
.ptbl th { background: var(--bg-soft); font-size: 12px; color: var(--muted); font-weight: 700; letter-spacing: .02em; }
.ptbl tbody tr:last-child td { border-bottom: 0; }
.ptbl .prod { font-weight: 800; border-right: 1px solid var(--line); background: #fcfdff; }
.ptbl .prod .muted-note { font-weight: 500; }
.ptbl tr.grp td { border-top: 2px solid #dbe2ee; }
.ptbl input.input { padding: 8px 10px; }
.ptbl .w-price { width: 118px; } .ptbl .w-disc { width: 62px; } .ptbl .w-label { width: 148px; } .ptbl .w-date { width: 140px; }
.ptbl .sell-cell { text-align: center; }
.ptbl .sell-cell input { width: 19px; height: 19px; accent-color: var(--accent); }
.ptbl .applied .was { color: var(--muted); text-decoration: line-through; font-size: 12px; margin-right: 4px; }
.ptbl .applied .now.sale { color: #d6204a; font-weight: 800; }
.ptbl .dates { display: flex; gap: 6px; }

/* ── 법적 고지 페이지 ────────────────────────────────── */
.legal { max-width: 860px; margin: 0 auto; padding: 48px 0 72px; }
.legal h1 { font-size: 30px; letter-spacing: -0.02em; margin: 0 0 6px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 30px; }
.legal h2 { font-size: 19px; margin: 34px 0 10px; letter-spacing: -0.01em; }
.legal h3 { font-size: 16px; margin: 20px 0 8px; }
.legal p, .legal li { color: var(--ink-2); font-size: 15px; line-height: 1.8; }
.legal ul, .legal ol { padding-left: 20px; }
.legal li { margin: 4px 0; }
.legal table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14.5px; }
.legal th, .legal td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal th { background: var(--bg-soft); font-weight: 700; white-space: nowrap; }
.legal .note { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; color: var(--muted); font-size: 14px; margin-top: 28px; }
.legal .todo { color: #b2560a; font-weight: 600; }

/* ── 푸터 사업자 정보 ────────────────────────────────── */
.site-footer .biz { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: #8da2c6; line-height: 1.9; }
.site-footer .biz .policy { margin-bottom: 10px; display: flex; gap: 16px; flex-wrap: wrap; }
.site-footer .biz .policy a { color: #c7d3ec; font-weight: 600; }
.site-footer .biz .policy a:hover { color: #fff; }
.site-footer .biz .row span { margin-right: 14px; display: inline-block; }
.site-footer .biz b { color: #a9bad8; font-weight: 600; }
