/* =========================================================
   맛스페이스 홈페이지 스타일 (모든 페이지 공통)
   색상: 블랙 #151515 / 화이트 #FFFFFF / 포인트 옐로우 #FFFF00
   ========================================================= */

@font-face { font-family: "NanumSquareRound"; font-weight: 400; font-display: swap; src: url("fonts/NanumSquareRoundR.woff2") format("woff2"); }
@font-face { font-family: "NanumSquareRound"; font-weight: 700; font-display: swap; src: url("fonts/NanumSquareRoundB.woff2") format("woff2"); }
@font-face { font-family: "NanumSquareRound"; font-weight: 800; font-display: swap; src: url("fonts/NanumSquareRoundEB.woff2") format("woff2"); }

:root {
  --ink: #151515;
  --paper: #FFFFFF;
  --yellow: #FFFF00;
  --gray-50: #F6F6F4;
  --gray-100: #EDEDEA;
  --gray-400: #9A9A96;
  --gray-600: #5E5E5A;
  --radius-lg: 36px;
  --radius-md: 24px;
  --radius-sm: 14px;
  --shadow: 0 10px 30px rgba(21, 21, 21, .08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: hidden; }
body {
  font-family: "NanumSquareRound", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--ink); background: var(--paper);
  line-height: 1.65; word-break: keep-all;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.pc-only { display: inline; }

mark {
  background: var(--yellow); color: var(--ink);
  padding: 0 .18em; border-radius: .35em;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 28px; border-radius: 999px;
  font-weight: 800; font-size: 16px; line-height: 1; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { box-shadow: 0 8px 24px rgba(255, 255, 0, .35); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-white { background: var(--paper); color: var(--ink); }
.btn-ghost { color: var(--paper); border: 2px solid rgba(255,255,255,.35); }
.btn-ghost:hover { border-color: var(--paper); }
.btn-line { border: 2px solid var(--gray-100); background: var(--paper); }
.btn-line:hover { border-color: var(--ink); }
.btn-line-dark { border: 2px solid var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.end { justify-content: flex-end; }

/* ---------- 로고 ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark img { height: 22px; width: auto; filter: invert(1); }
.logo-word { height: 17px; width: auto; filter: invert(1); }

/* ---------- 헤더 ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s ease; }
.header.scrolled { background: rgba(21, 21, 21, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav-drop-btn {
  color: rgba(255,255,255,.75); font-weight: 700; font-size: 15px;
  padding: 8px 14px; border-radius: 999px; transition: .2s;
}
.nav > a:hover, .nav-drop-btn:hover, .nav .active { color: var(--ink); background: var(--yellow); }
.nav-drop { position: relative; }
.nav-drop-btn .arrow { font-size: 11px; margin-left: 2px; }
.nav-drop-menu {
  position: absolute; left: 50%; top: calc(100% + 10px); transform: translate(-50%, -6px);
  min-width: 170px; padding: 8px; border-radius: 20px; background: var(--paper);
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
  opacity: 0; visibility: hidden; transition: .2s;
}
.nav-drop-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-drop:hover .nav-drop-menu, .nav-drop.open .nav-drop-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-drop-menu a { display: block; padding: 11px 16px; border-radius: 14px; font-weight: 700; font-size: 15px; }
.nav-drop-menu a:hover { background: var(--yellow); }
.header-right { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.1); position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--paper); border-radius: 2px; transition: .25s; }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn.open span:first-child { top: 21px; transform: rotate(45deg); }
.menu-btn.open span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 72px 0 0 0; z-index: 49; background: var(--ink); color: var(--paper); padding-top: 16px; overflow-y: auto; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav > a:not(.btn) { font-size: 22px; font-weight: 800; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-menu .mm-group { font-size: 22px; font-weight: 800; padding: 14px 0 4px; }
.mobile-menu nav > a.mm-sub { font-size: 18px; font-weight: 700; color: var(--yellow); padding: 8px 0 14px 8px; }
.mobile-menu .btn { margin-top: 28px; }

/* ---------- 히어로 (공통) ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--paper);
  padding: 150px 0 110px; border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 700; color: var(--yellow); border: 1.5px solid rgba(255,255,0,.5); padding: 6px 14px; border-radius: 999px; margin-bottom: 26px; }
.hero h1 { font-size: clamp(36px, 5.2vw, 62px); line-height: 1.25; font-weight: 800; letter-spacing: -.03em; margin-bottom: 24px; }
.hero-sub { font-size: clamp(16px, 1.6vw, 19px); color: rgba(255,255,255,.75); margin-bottom: 38px; }
.blob { position: absolute; border-radius: 50%; pointer-events: none; }
.blob-1 { width: 420px; height: 420px; background: radial-gradient(circle, rgba(255,255,0,.16), transparent 70%); right: -120px; top: -80px; }
.blob-2 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(255,255,255,.07), transparent 70%); left: -100px; bottom: -120px; }
.sticker {
  position: absolute; z-index: 2; background: var(--yellow); color: var(--ink);
  font-weight: 800; font-size: 15px; padding: 10px 18px; border-radius: 999px;
  box-shadow: 0 10px 20px rgba(0,0,0,.25); animation: float 4s ease-in-out infinite; white-space: nowrap;
}
.sticker.white { background: var(--paper); }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-10px) rotate(3deg); } }

/* 홈 히어로: 로고 심볼 */
.hero-symbol { position: relative; height: 440px; display: grid; place-items: center; }
.hero-symbol .symbol { width: 82%; filter: invert(1); animation: breathe 6s ease-in-out infinite; }
.hero-symbol .sticker-1 { left: 2%; top: 14%; }
.hero-symbol .sticker-2 { right: 0; top: 40%; animation-delay: -1.3s; }
.hero-symbol .sticker-3 { left: 18%; bottom: 10%; animation-delay: -2.6s; }
@keyframes breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.04); } }

/* 서비스 히어로: 앱 화면 */
.hero-visual { position: relative; height: 520px; }
.shot { position: absolute; width: 56%; border-radius: 28px; box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.shot-back { left: 4%; top: 30px; transform: rotate(-7deg); opacity: .92; }
.shot-front { right: 4%; top: 0; transform: rotate(5deg); }
.hero-visual .sticker-1 { left: 0; bottom: 70px; }
.hero-visual .sticker-2 { right: 0; top: 40px; animation-delay: -2s; }

/* 작은 히어로 (경영공시 등) */
.page-hero { background: var(--ink); color: var(--paper); padding: 150px 0 80px; border-radius: 0 0 var(--radius-lg) var(--radius-lg); position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,.7); font-size: 18px; }
.breadcrumb { font-size: 14px; color: rgba(255,255,255,.5); margin-bottom: 18px; }
.breadcrumb b { color: var(--yellow); font-weight: 700; }

.app-title { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.app-icon { width: 64px; height: 64px; border-radius: 18px; background: var(--paper); display: grid; place-items: center; font-size: 30px; }
.app-tagline { color: var(--yellow); font-weight: 800; font-size: 18px; }

/* ---------- 흐르는 띠 ---------- */
.marquee { overflow: hidden; background: var(--yellow); margin: 36px 0 0; transform: rotate(-1.5deg); padding: 14px 0; }
.marquee-track { display: flex; gap: 26px; width: max-content; animation: slide 26s linear infinite; font-weight: 800; font-size: 20px; }
.marquee-track i { font-style: normal; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- 공통 섹션 ---------- */
.section { padding: 120px 0; }
.section-gray { background: var(--gray-50); border-radius: var(--radius-lg); margin: 0 12px; }
.section-black { background: var(--ink); color: var(--paper); border-radius: var(--radius-lg); margin: 0 12px; }
.label { font-size: 14px; font-weight: 800; letter-spacing: .12em; color: var(--gray-400); margin-bottom: 14px; }
.label-yellow { color: var(--yellow); }
h2 { font-size: clamp(30px, 4.2vw, 48px); line-height: 1.3; font-weight: 800; letter-spacing: -.03em; margin-bottom: 20px; }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--gray-600); margin-bottom: 56px; }
.lead-light { color: rgba(255,255,255,.7); }

/* 소개 */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.about-grid .lead { margin-bottom: 8px; }
.keywords { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 44px; }
.keywords span { font-weight: 800; padding: 12px 20px; border-radius: 999px; background: var(--gray-50); transition: .25s; }
.keywords span:hover { background: var(--yellow); transform: rotate(-3deg); }

/* 나만의 케이스 비교 */
.compare { display: grid; grid-template-columns: 1fr 1.15fr; gap: 20px; }
.compare-card { border-radius: var(--radius-md); padding: 38px 34px; background: var(--paper); }
.compare-card .tag { display: inline-block; font-size: 13px; font-weight: 800; padding: 6px 12px; border-radius: 999px; background: var(--gray-50); margin-bottom: 18px; }
.compare-card h3 { font-size: 24px; line-height: 1.4; font-weight: 800; margin-bottom: 20px; }
.compare-card ul { list-style: none; display: grid; gap: 10px; }
.compare-card li { padding-left: 26px; position: relative; color: var(--gray-600); }
.compare-card li::before { content: "–"; position: absolute; left: 4px; }
.dots { display: flex; gap: 8px; margin-bottom: 22px; }
.dots i { width: 26px; height: 26px; border-radius: 50%; background: var(--gray-100); }
.compare-card.mine { background: var(--ink); color: var(--paper); }
.compare-card.mine .tag { background: var(--yellow); color: var(--ink); }
.compare-card.mine li { color: rgba(255,255,255,.8); }
.compare-card.mine li::before { content: "✦"; left: 0; color: var(--yellow); }
.compare-card.mine .dots i { background: rgba(255,255,255,.15); }
.compare-card.mine .dots i.me { background: var(--yellow); transform: scale(1.25); }

/* 단계 */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.step { position: relative; background: var(--paper); border-radius: var(--radius-md); padding: 32px 30px 34px; }
.step:not(:last-child)::after {
  content: "→"; position: absolute; right: -19px; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%; background: var(--yellow);
  display: grid; place-items: center; font-weight: 800; z-index: 1;
}
.step-no { display: inline-block; font-weight: 800; font-size: 14px; background: var(--ink); color: var(--yellow); padding: 6px 12px; border-radius: 999px; margin-bottom: 16px; }
.step h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.step p { color: var(--gray-600); }

/* 서비스 (홈) */
.svc-feature { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.svc-name { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.svc-name h3 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
.chip { font-size: 12px; font-weight: 800; letter-spacing: .08em; padding: 6px 12px; border-radius: 999px; background: var(--yellow); color: var(--ink); }
.svc-desc { color: rgba(255,255,255,.72); font-size: 18px; }
.gallery {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 10px max(24px, calc((100vw - 1120px) / 2 + 24px)) 40px; scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery img { flex: 0 0 auto; width: 260px; border-radius: 28px; scroll-snap-align: center; transition: transform .3s ease; }
.gallery img:hover { transform: translateY(-8px); }
.scroll-hint { font-size: 14px; color: rgba(255,255,255,.45); }
.partner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-top: 30px; padding: 34px 36px; border-radius: var(--radius-md); border: 2px solid rgba(255,255,255,.2);
}
.partner-label { font-size: 13px; font-weight: 800; letter-spacing: .1em; color: var(--yellow); margin-bottom: 6px; }
.partner h3 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.partner p { color: rgba(255,255,255,.65); }

/* 기능 소개 (서비스 상세) */
.features { display: grid; gap: 40px; }
.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; }
.feature:nth-child(even) .feature-img { order: 2; }
.feature-img { background: var(--gray-50); border-radius: var(--radius-lg); padding: 40px 40px 0; overflow: hidden; display: grid; place-items: center; }
.feature-img img { width: min(320px, 90%); border-radius: 28px 28px 0 0; transition: transform .4s ease; }
.feature-img:hover img { transform: translateY(-10px); }
.feature-no { display: inline-block; font-weight: 800; font-size: 14px; background: var(--yellow); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.feature h3 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.3; font-weight: 800; letter-spacing: -.02em; margin-bottom: 16px; }
.feature p { color: var(--gray-600); font-size: 18px; }
.pill-line { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 14px; font-weight: 800; padding: 8px 14px; border-radius: 999px; border: 2px solid var(--ink); }

/* ---------- 경영공시 ---------- */
.disc-head { display: flex; justify-content: flex-end; margin-bottom: 20px; }
.admin-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.admin-chip { font-size: 13px; font-weight: 800; background: var(--yellow); padding: 8px 14px; border-radius: 999px; }
.disc-list { border-top: 2px solid var(--ink); }
.disc-empty { padding: 60px 0; text-align: center; color: var(--gray-400); }
.disc-item { border-bottom: 1px solid var(--gray-100); }
.disc-item summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 120px 1fr 28px; align-items: center; gap: 16px;
  padding: 22px 8px; transition: background .2s; border-radius: var(--radius-sm);
}
.disc-item summary::-webkit-details-marker { display: none; }
.disc-item summary:hover { background: var(--gray-50); }
.disc-date { color: var(--gray-400); font-size: 15px; }
.disc-cat { justify-self: start; font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: 999px; background: var(--gray-50); }
.disc-title { font-weight: 800; font-size: 17px; }
.disc-arrow { width: 28px; height: 28px; border-radius: 50%; background: var(--gray-50); display: grid; place-items: center; transition: transform .25s; font-size: 12px; }
.disc-item[open] .disc-arrow { transform: rotate(180deg); background: var(--yellow); }
.disc-body { padding: 4px 8px 28px 144px; color: var(--gray-600); white-space: pre-wrap; }
.disc-body a.disc-file { display: inline-block; margin-top: 14px; font-weight: 800; color: var(--ink); border-bottom: 2px solid var(--yellow); }
.disc-actions { display: flex; gap: 8px; margin-top: 18px; white-space: normal; }

/* ---------- 마지막 CTA ---------- */
.cta-band { background: var(--yellow); margin: 120px 12px 12px; border-radius: var(--radius-lg); padding: 80px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { margin: 0; }

/* ---------- 푸터 ---------- */
.footer { background: var(--ink); color: var(--paper); padding: 70px 0 34px; margin: 0 12px 12px; border-radius: var(--radius-lg); }
body[data-page="notice"] .footer { margin-top: 120px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-desc { margin-top: 14px; color: rgba(255,255,255,.6); }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-cols div { display: flex; flex-direction: column; gap: 8px; }
.footer-key { color: rgba(255,255,255,.45); font-size: 13px; margin-bottom: 4px; }
.footer-cols a:hover { color: var(--yellow); }
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding-top: 26px; font-size: 13px; color: rgba(255,255,255,.45); }
.admin-link { font-size: 12px; color: rgba(255,255,255,.3); white-space: nowrap; }
.admin-link:hover { color: var(--yellow); }

/* ---------- 모달 ---------- */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(21,21,21,.55); display: grid; place-items: center; padding: 20px; backdrop-filter: blur(4px); }
.modal-box { position: relative; width: 100%; max-width: 420px; max-height: 92vh; overflow-y: auto; background: var(--paper); border-radius: var(--radius-md); padding: 36px 30px 30px; animation: pop .25s ease; }
.modal-wide { max-width: 620px; }
.modal-box h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.modal-desc { color: var(--gray-600); font-size: 15px; margin-bottom: 22px; }
.modal-close { position: absolute; right: 16px; top: 14px; width: 36px; height: 36px; border-radius: 50%; font-size: 22px; background: var(--gray-50); }
.modal-msg { margin-top: 14px; font-size: 14px; color: var(--gray-600); text-align: center; }
@keyframes pop { from { transform: scale(.95); opacity: 0; } }
.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-size: 14px; font-weight: 800; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  padding: 13px 16px; border-radius: var(--radius-sm); border: 2px solid var(--gray-100); background: var(--paper);
  outline: none; transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.field textarea { resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); opacity: 0; z-index: 200; background: var(--ink); color: var(--paper); padding: 14px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; transition: .3s; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* 스크롤 등장 효과 */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 반응형 ---------- */
@media (max-width: 960px) {
  .nav, .header-cta { display: none; }
  .menu-btn { display: block; }
  .hero { padding: 120px 0 80px; }
  .hero-inner, .about-grid, .compare, .feature { grid-template-columns: 1fr; }
  .hero-symbol { height: 300px; max-width: 460px; width: 100%; margin: 0 auto; }
  .hero-visual { height: 420px; max-width: 460px; width: 100%; margin: 0 auto; }
  .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { content: "↓"; right: 50%; top: auto; bottom: -19px; transform: translateX(50%); }
  .feature { gap: 28px; }
  .feature:nth-child(even) .feature-img { order: 0; }
  .features { gap: 64px; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .pc-only { display: none; }
  .section { padding: 84px 0; }
  .section-gray, .section-black { margin: 0 8px; border-radius: 28px; }
  .hero-visual { height: 360px; }
  .shot { width: 58%; border-radius: 20px; }
  .btn { padding: 15px 22px; }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .gallery img { width: 210px; border-radius: 22px; }
  .compare-card { padding: 30px 24px; }
  .partner { padding: 28px 24px; }
  .feature-img { padding: 28px 28px 0; border-radius: 28px; }
  .disc-item summary { grid-template-columns: 1fr 28px; grid-template-areas: "meta arrow" "title arrow"; gap: 6px 12px; }
  .disc-item summary .disc-date, .disc-item summary .disc-cat { grid-area: meta; }
  .disc-item summary .disc-cat { justify-self: end; margin-right: 4px; }
  .disc-title { grid-area: title; }
  .disc-arrow { grid-area: arrow; }
  .disc-body { padding-left: 8px; }
  .cta-band { margin: 84px 8px 8px; padding: 60px 0; border-radius: 28px; }
  .cta-band .btn-row { width: 100%; }
  .cta-band .btn { flex: 1 1 100%; }
  .footer { margin: 0 8px 8px; border-radius: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .field-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 언어 전환 (KO / EN) ---------- */
.lang-btn {
  display: inline-flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px;
  background: rgba(255,255,255,.1); font-size: 13px; font-weight: 800; color: rgba(255,255,255,.6);
}
.lang-btn span { padding: 6px 10px; border-radius: 999px; transition: .2s; }
.lang-btn span.on { background: var(--paper); color: var(--ink); }
html[lang="en"] body { word-break: normal; }
html[lang="en"] .hero h1 { font-size: clamp(34px, 4.4vw, 54px); }
