/* 홈페이지 스타일 (디자인.md 7~9장) */
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.container { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 1023px) { .container { padding: 0 32px; } }
@media (max-width: 767px) { .container { padding: 0 20px; } }

.display { font-size: clamp(40px, 6vw, 72px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
.h1 { font-size: clamp(30px, 4vw, 48px); font-weight: 700; }
.h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; }
.caption { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--muted); margin-bottom: 12px; }
.muted { color: var(--muted); }
.section { padding: 160px 0; }
.section-tight-top { padding-top: 40px; }
.section-desc { margin-top: 12px; color: var(--muted); }
@media (max-width: 1023px) { .section { padding: 120px 0; } }
@media (max-width: 767px) { .section { padding: 88px 0; } .section-tight-top { padding-top: 24px; } }

/* ---------- 이미지 자리 (실제 사진으로 교체 예정) ---------- */
.visual { background-color: #1a1d22; background-size: cover; background-position: center; }
.v-server {
  background:
    radial-gradient(ellipse at 75% 30%, rgba(233,234,116,.18), transparent 45%),
    radial-gradient(circle, rgba(233,234,116,.45) 1.4px, transparent 2.2px) 0 10px / 64px 30px,
    repeating-linear-gradient(0deg, rgba(255,255,255,.07) 0 2px, transparent 2px 30px),
    repeating-linear-gradient(90deg, rgba(0,0,0,.55) 0 18px, transparent 18px 260px),
    linear-gradient(120deg, #23272e 0%, #0c0d10 70%);
}
.v-rack {
  background:
    radial-gradient(circle at 30% 40%, rgba(120,170,255,.25), transparent 40%),
    radial-gradient(circle, rgba(140,200,255,.9) 1.2px, transparent 2px) 12px 8px / 36px 18px,
    repeating-linear-gradient(0deg, rgba(255,255,255,.08) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(90deg, #0b0d10 0 14px, #20242b 14px 180px),
    #14171c;
}
.v-net {
  background:
    radial-gradient(circle at 60% 50%, rgba(233,234,116,.35), transparent 35%),
    radial-gradient(circle, rgba(255,255,255,.55) 1px, transparent 1.6px) 0 0 / 22px 22px,
    linear-gradient(160deg, #1d2430, #07080a);
}
.v-chip {
  background:
    linear-gradient(rgba(233,234,116,.12) 1px, transparent 1px) 0 0 / 26px 26px,
    linear-gradient(90deg, rgba(233,234,116,.12) 1px, transparent 1px) 0 0 / 26px 26px,
    radial-gradient(circle at 50% 50%, #3a3f48 0 22%, transparent 23%),
    linear-gradient(135deg, #2a2f37, #0f1114);
}
.v-desk {
  background:
    radial-gradient(ellipse at 50% 35%, rgba(255,255,255,.65), transparent 40%),
    linear-gradient(transparent 62%, rgba(0,0,0,.08) 62%),
    repeating-linear-gradient(90deg, transparent 0 120px, rgba(0,0,0,.04) 120px 122px),
    linear-gradient(180deg, #dfe4ea, #b9c1cb);
}
.v-light {
  background:
    repeating-linear-gradient(90deg, transparent 0 80px, rgba(0,0,0,.05) 80px 82px),
    repeating-linear-gradient(0deg, transparent 0 22px, rgba(0,0,0,.035) 22px 23px),
    linear-gradient(180deg, #f3f3f1, #e7e7e4);
}

/* ---------- ① 헤더 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: #fff;
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; height: 76px; gap: 24px; transition: height .3s var(--ease-out); }
.site-header.is-scrolled .header-inner { height: 64px; }
.brand-logo { display: flex; align-items: center; margin-right: auto; }
.brand-logo .logo-img { height: 40px; transition: height .3s var(--ease-out); }
.site-header.is-scrolled .brand-logo .logo-img { height: 34px; }
.gnb { display: flex; gap: 44px; position: absolute; left: 50%; transform: translateX(-50%); }
.gnb a { position: relative; font-weight: 500; color: var(--ink); padding: 6px 0; }
.gnb a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out);
}
.gnb a:hover::after, .gnb a.is-active::after { transform: scaleX(1); }
.gnb a.is-active { font-weight: 700; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; position: relative; }
.menu-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: transform .3s; }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 64px 0 0; z-index: 49; background: var(--dark); padding: 32px 20px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { color: #fff; font-size: 28px; font-weight: 700; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-menu nav a:hover { color: var(--accent); }
@media (max-width: 1023px) {
  .gnb, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .header-inner, .site-header.is-scrolled .header-inner { height: 64px; }
}

/* ---------- ② Hero ---------- */
.hero { position: relative; min-height: max(640px, calc(100vh - 76px)); display: flex; align-items: flex-end; overflow: hidden; color: #fff; }
.hero-bg { position: absolute; inset: 0; animation: kenburns 8s var(--ease-out) both; }
@keyframes kenburns { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.65), rgba(0,0,0,.15)); }
.hero-inner { position: relative; padding-bottom: 18vh; }
.hero-title { color: #fff; }
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span { display: inline-block; }
.hero-sub { margin-top: 24px; font-size: clamp(16px, 1.5vw, 18px); color: rgba(255,255,255,.8); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-thumbs { position: absolute; right: 40px; bottom: 64px; display: flex; gap: 12px; }
.hero-thumbs .visual { width: 200px; aspect-ratio: 4 / 3; border-radius: 12px; border: 1px solid rgba(255,255,255,.15); }
.scroll-cue { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); font-size: 12px; letter-spacing: .15em; color: rgba(255,255,255,.7); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-cue i { width: 1px; height: 36px; background: rgba(255,255,255,.5); animation: cue 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
/* Hero 등장 모션 */
.js .hero .line > span, .js .hero-sub.line, .js .hero-actions.line, .js .hero-thumbs.line { opacity: 0; transform: translateY(40px); }
.is-loaded .hero .line > span, .is-loaded .hero-sub.line, .is-loaded .hero-actions.line, .is-loaded .hero-thumbs.line {
  opacity: 1; transform: none;
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: calc(var(--d) * .12s + .1s);
}
@media (max-width: 767px) {
  .hero-inner { padding-bottom: 120px; }
  .hero-thumbs { display: none; }
}

/* ---------- ③ 브랜드 메시지 ---------- */
.brand-stage { position: relative; height: 100vh; min-height: 560px; overflow: hidden; background: #fff; }
.brand-en-wrap { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); }
.brand-en { color: var(--ink); max-width: 56%; }
.brand-media { position: absolute; left: 60%; top: 30%; width: 32%; height: 40%; border-radius: 20px; overflow: hidden; }
.brand-shade { position: absolute; inset: 0; background: #000; opacity: 0; }
.brand-ko-wrap { position: absolute; inset: 0; display: flex; align-items: center; pointer-events: none; }
.brand-ko { color: #fff; opacity: 0; }
.brand-ko .h1 { color: #fff; }
.brand-ko p { margin-top: 20px; font-size: 18px; color: rgba(255,255,255,.85); max-width: 520px; }
/* 모션이 없을 때(동작 줄이기, JS 실패)는 완성 화면을 보여준다 */
html:not(.js) .brand-media, .brand.is-static .brand-media { left: 0; top: 0; width: 100%; height: 100%; border-radius: 0; }
html:not(.js) .brand-shade, .brand.is-static .brand-shade { opacity: .45; }
html:not(.js) .brand-en-wrap, .brand.is-static .brand-en-wrap { display: none; }
html:not(.js) .brand-ko, .brand.is-static .brand-ko { opacity: 1; }
@media (max-width: 767px) {
  .brand-en-wrap { top: 30%; }
  .brand-en { max-width: 100%; }
  .brand-media { left: 20px; top: 52%; width: calc(100% - 40px); height: 30%; }
}

/* ---------- 등장 모션 공통 ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--i, 0) * .1s); }
.js .reveal-clip { clip-path: inset(100% 0 0 0); }
.js .reveal-clip.is-in { clip-path: inset(0 0 0 0); transition: clip-path 1.2s var(--ease-in-out); }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { transform: none; }
  .js .reveal-clip { clip-path: none; opacity: 0; }
  .js .reveal-clip.is-in { opacity: 1; }
  .hero-bg { animation: none; }
}

/* ---------- ④ 활용 분야 ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.img-card .img-wrap { aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: var(--bg-soft); }
.img-card .img-wrap .visual { width: 100%; height: 100%; transition: transform .6s var(--ease-out); }
.img-card:hover .img-wrap .visual { transform: scale(1.05); }
.img-card h3 { margin-top: 24px; font-size: clamp(20px, 2vw, 24px); font-weight: 600; }
.img-card p { margin-top: 6px; font-size: 14px; color: var(--muted); }
@media (max-width: 1023px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .card-grid { grid-template-columns: 1fr; margin-top: 36px; } }

/* ---------- ⑤ 제품 칼럼 ---------- */
.products-track {
  display: flex; overflow-x: auto; margin-top: 48px;
  padding: 0 max(40px, calc((100vw - 1360px) / 2 + 40px));
  scrollbar-width: thin; cursor: grab; scroll-snap-type: x proximity;
}
.products-track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.product-col {
  flex: 0 0 300px; min-height: 560px; padding: 36px 28px 28px; scroll-snap-align: start;
  border-left: 1px solid var(--line); display: flex; flex-direction: column;
  border-radius: 0; transition: background .35s var(--ease-out), border-radius .35s;
}
.product-col:last-child { border-right: 1px solid var(--line); }
.product-col .p-no { font-size: 13px; font-weight: 600; color: var(--muted); }
.product-col h3 { margin-top: 20px; font-size: 26px; font-weight: 600; line-height: 1.2; }
.product-col .p-ko { margin-top: 8px; font-size: 14px; color: var(--ink); }
.product-col .p-desc { margin-top: 20px; font-size: 14px; color: var(--muted); min-height: 3.4em; }
.product-col .p-img { margin-top: auto; height: 180px; display: grid; place-items: center; }
.product-col .p-img svg { width: 120px; height: 120px; fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-linejoin: round; }
.product-col .p-cta { margin-top: 16px; opacity: 0; transform: translateY(12px); transition: opacity .35s, transform .35s var(--ease-out); }
.product-col:hover, .product-col:focus-within { background: var(--accent); border-radius: 20px; border-color: transparent; }
.product-col:hover + .product-col, .product-col:focus-within + .product-col { border-left-color: transparent; }
.product-col:hover .p-desc, .product-col:focus-within .p-desc { color: var(--ink); }
.product-col:hover .p-cta, .product-col:focus-within .p-cta { opacity: 1; transform: none; }
.js .product-col.pre { opacity: 0; transform: translateX(80px); }
.js .product-col.is-in { opacity: 1; transform: none; transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), background .35s, border-radius .35s; transition-delay: calc(var(--i) * .08s), calc(var(--i) * .08s), 0s, 0s; }
@media (hover: none) { .product-col .p-cta { opacity: 1; transform: none; } }
@media (max-width: 767px) { .products-track { padding: 0 20px; } .product-col { flex-basis: 78vw; min-height: 480px; } }

/* ---------- ⑥ 기술지원 ---------- */
.support { position: relative; overflow: hidden; color: #fff; padding: 160px 0; }
.support-bg { position: absolute; inset: -20% 0; }
.support-shade { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.support-inner { position: relative; }
.support .h2 { color: #fff; }
.support-sub { margin-top: 12px; color: rgba(255,255,255,.75); }
.glass-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.glass {
  position: relative; height: 360px; padding: 32px; border-radius: 20px; color: #fff;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  transition: background .4s var(--ease-out), color .4s;
}
.glass h3 { color: inherit; font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; transition: transform .4s var(--ease-out); }
.glass-more { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s var(--ease-out), opacity .4s; }
.glass-more p { margin-top: 16px; font-size: 15px; color: var(--muted); }
.circle-arrow {
  display: inline-grid; place-items: center; width: 32px; height: 32px; margin-top: 20px;
  border-radius: 50%; background: var(--accent); color: var(--ink); font-weight: 700;
}
.glass:hover, .glass:focus-within { background: #fff; color: var(--ink); }
.glass:hover .glass-more, .glass:focus-within .glass-more { max-height: 200px; opacity: 1; }
@media (hover: none) {
  .glass { justify-content: flex-start; align-items: flex-start; text-align: left; height: auto; min-height: 220px; }
  .glass-more { max-height: none; opacity: 1; }
  .glass-more p { color: rgba(255,255,255,.75); }
}
@media (max-width: 1023px) { .glass-grid { grid-template-columns: 1fr; } .glass { height: auto; min-height: 220px; } }
@media (max-width: 767px) { .support { padding: 88px 0; } }

/* ---------- ⑦ 회사소개 ---------- */
.about { display: grid; grid-template-columns: 55fr 45fr; gap: 72px; align-items: start; }
.about-media { aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: var(--bg-soft); }
.about-media .visual { width: 100%; height: 100%; }
.about-body > p { margin-top: 24px; color: var(--muted); }
.feature-grid { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; }
.feature-grid li { padding: 32px 24px 32px 0; border-top: 1px solid var(--line); }
.feature-grid li:nth-child(odd) { border-right: 1px solid var(--line); }
.feature-grid li:nth-child(even) { padding-left: 28px; }
.f-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--accent-soft); }
.f-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.feature-grid h3 { margin-top: 20px; font-size: 20px; font-weight: 600; }
.feature-grid p { margin-top: 6px; font-size: 14px; color: var(--muted); }
@media (max-width: 1023px) { .about { grid-template-columns: 1fr; gap: 48px; } .about-media { aspect-ratio: 16 / 10; } }

/* ---------- ⑧ 일하는 방식 ---------- */
.work { position: relative; background: var(--bg-soft); padding: 160px 0; }
.work-bg { position: absolute; inset: 0; opacity: .6; }
.work-inner { position: relative; display: grid; grid-template-columns: 40fr 60fr; gap: 40px; }
.work-left { position: sticky; top: 140px; align-self: start; }
.work-list { list-style: none; margin: 0; padding: 0; }
.work-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 48px 0; border-bottom: 1px solid var(--line); }
.work-row:first-child { padding-top: 0; }
.work-row h3 { font-size: 22px; font-weight: 600; }
.work-row p { margin-top: 4px; font-size: 14px; color: var(--muted); }
.work-en { font-size: clamp(36px, 5vw, 64px); font-weight: 600; letter-spacing: -0.02em; color: #c9c9c5; transition: color .5s var(--ease-out); line-height: 1; text-align: right; }
.work-row.is-active .work-en { color: var(--ink); }
html:not(.js) .work-en { color: var(--ink); }
@media (max-width: 1023px) {
  .work { padding: 120px 0; }
  .work-inner { grid-template-columns: 1fr; }
  .work-left { position: static; margin-bottom: 40px; }
}
@media (max-width: 767px) { .work { padding: 88px 0; } .work-row { flex-direction: column-reverse; align-items: flex-start; padding: 32px 0; } .work-en { text-align: left; } }

/* ---------- ⑨ 문의 폼 ---------- */
.contact { display: grid; grid-template-columns: 35fr 65fr; gap: 72px; }
.contact-info p { margin-top: 20px; color: var(--muted); }
.contact-dl { margin: 40px 0 0; display: grid; gap: 16px; }
.contact-dl dt { font-size: 13px; color: var(--muted); }
.contact-dl dd { margin: 2px 0 0; font-size: 20px; font-weight: 600; color: var(--ink); }
.form-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px 20px; }
.field { grid-column: span 3; display: flex; flex-direction: column; min-width: 0; }
.field-3 { grid-column: span 2; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.field label b, .check b { color: var(--danger); font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; height: 52px; padding: 0 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { height: auto; padding: 14px 16px; resize: vertical; min-height: 160px; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.err { min-height: 0; font-size: 13px; color: var(--danger); margin-top: 6px; }
.err:empty { display: none; }
.err:not(:empty)::before { content: "⚠ "; }
.field-foot { display: flex; justify-content: space-between; gap: 12px; }
.counter { margin-left: auto; margin-top: 6px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.counter.is-warn { color: var(--warning); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { margin-top: 28px; }
.consent-box { background: var(--bg-soft); border-radius: 10px; padding: 16px 20px; height: 120px; overflow-y: auto; font-size: 13px; color: var(--muted); }
.consent-box strong { color: var(--ink); }
.consent-box ol { margin: 8px 0 0; padding-left: 18px; }
.check { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 15px; color: var(--ink); cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 20px; height: 20px; }
.check .box { flex: 0 0 20px; height: 20px; border: 1.5px solid var(--ink); border-radius: 4px; display: grid; place-items: center; background: #fff; }
.check input:checked + .box { background: var(--ink); }
.check input:checked + .box::after { content: ""; width: 10px; height: 5px; border: solid var(--accent); border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }
.check input:focus-visible + .box { box-shadow: 0 0 0 3px var(--accent); }
.check.has-error .box { border-color: var(--danger); }
.submit-btn { margin-top: 28px; height: 60px; font-size: 17px; }
.form-alert { border: 1px solid var(--danger); background: #FDF3F2; color: var(--danger); border-radius: 10px; padding: 16px 20px; margin-bottom: 24px; font-size: 14px; }
.form-alert .btn { margin-top: 12px; }
.draft-note { background: var(--accent-soft); border-radius: 10px; padding: 12px 16px; margin-bottom: 20px; font-size: 14px; color: var(--ink); }
.draft-note button { border: 0; background: none; text-decoration: underline; padding: 0 0 0 6px; font-weight: 600; }
.form-success { text-align: center; padding: 72px 24px; background: var(--bg-soft); border-radius: 20px; animation: pop .6s var(--ease-out); }
.form-success h3 { margin-top: 24px; font-size: 26px; }
.form-success p { margin: 8px 0 28px; color: var(--muted); }
.success-icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--accent); }
.success-icon svg { width: 34px; height: 34px; fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
@keyframes pop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@media (max-width: 1023px) { .contact { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 767px) { .field, .field-3 { grid-column: 1 / -1; } }

/* ---------- ⑩ 푸터 ---------- */
.site-footer { background: var(--dark); color: rgba(255,255,255,.6); padding: 32px 0 48px; font-size: 13px; }
.footer-top { display: flex; align-items: center; gap: 24px; padding-bottom: 28px; margin-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1); }
.link-btn { border: 0; background: none; padding: 0; color: #fff; font-weight: 700; font-size: 13px; }
.footer-admin { color: rgba(255,255,255,.45); }
.footer-admin:hover { color: var(--accent); }
.to-top { margin-left: auto; color: rgba(255,255,255,.7); }
.footer-logo { height: 48px; margin-bottom: 20px; }
.site-footer address { font-style: normal; line-height: 1.9; }
.site-footer address i { font-style: normal; opacity: .3; margin: 0 6px; }
.copy { margin-top: 16px; opacity: .6; }

/* ---------- 대화상자 ---------- */
.dialog { border: 0; border-radius: 16px; padding: 0; width: min(640px, calc(100% - 32px)); max-height: 80vh; }
.dialog::backdrop { background: rgba(0,0,0,.5); }
.dialog-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; }
.dialog-head h2 { font-size: 18px; }
.dialog-close { border: 0; background: none; font-size: 28px; line-height: 1; padding: 0 4px; }
.dialog-body { padding: 24px; font-size: 14px; }
.dialog-body h3 { font-size: 15px; margin: 20px 0 6px; }
