/* Yunttopia — 공통 스타일. 색은 :root 토큰으로만 쓴다. */
:root {
  --bg: #ffffff;
  --bg-soft: #f9fafb;
  --bg-sunk: #f3f4f6;
  --line: #e5e7eb;
  --text: #111827;
  --text-2: #374151;
  --muted: #4b5563;
  --faint: #6b7280;
  --accent: #2d73f5;
  --accent-ink: #ffffff;
  --accent-soft: #e8f0fe;
  --warn-bg: #fef3c7;
  --warn-ink: #92400e;
  --sea-1: #e6f0fb;
  --sea-2: #d3e4f7;
  --sand: #f3ead8;
  --grass: #cfe3c4;
  --grass-2: #b7d4a8;
  --roof: #c4553a;
  --wall: #fbf7f0;
  --ink: #3b3f4a;
  --smoke: #c9ccd3;
  --plot: #e9e2d0;
  --fire: #ec9a3c;
  --icon-bg: #1f2430;
  --shadow: 0 1px 2px rgba(17, 24, 39, .04), 0 8px 24px rgba(17, 24, 39, .06);
  --radius: 16px;
  --max: 1024px;
  --grad-a: #111827;
  --grad-b: #2d5fd0;
  --grad-c: #0f8f88;
  --map-sky: linear-gradient(180deg, #6fa6e8 0%, #dbeaf7 62%, #9fd4e6 100%);
  --glass: rgba(255,255,255,.78);
  --glass-line: rgba(17,24,39,.08);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1115; --bg-soft: #151820; --bg-sunk: #1b1f29; --line: #262b36;
    --text: #f3f4f6; --text-2: #d1d5db; --muted: #a3a9b5; --faint: #8b92a0;
    --accent: #5b93ff; --accent-ink: #0b1020; --accent-soft: #1a2540;
    --warn-bg: #3a2f12; --warn-ink: #f5d38a;
    --sea-1: #122033; --sea-2: #172a42; --sand: #3a3428; --grass: #2c3d2a; --grass-2: #354a32;
    --roof: #b4533b; --wall: #e8e1d4; --ink: #1e2230; --smoke: #59606d; --plot: #3a3529;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
    --grad-a: #f3f4f6; --grad-b: #8fb2ff; --grad-c: #7fe0d4;
    --map-sky: linear-gradient(180deg, #081226 0%, #2b2c52 62%, #10223f 100%);
    --glass: rgba(21,24,32,.78); --glass-line: rgba(255,255,255,.1);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1115; --bg-soft: #151820; --bg-sunk: #1b1f29; --line: #262b36;
  --text: #f3f4f6; --text-2: #d1d5db; --muted: #a3a9b5; --faint: #8b92a0;
  --accent: #5b93ff; --accent-ink: #0b1020; --accent-soft: #1a2540;
  --warn-bg: #3a2f12; --warn-ink: #f5d38a;
  --sea-1: #122033; --sea-2: #172a42; --sand: #3a3428; --grass: #2c3d2a; --grass-2: #354a32;
  --roof: #b4533b; --wall: #e8e1d4; --ink: #1e2230; --smoke: #59606d; --plot: #3a3529;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
  --grad-a: #f3f4f6; --grad-b: #8fb2ff; --grad-c: #7fe0d4;
  --map-sky: linear-gradient(180deg, #081226 0%, #2b2c52 62%, #10223f 100%);
  --glass: rgba(21,24,32,.78); --glass-line: rgba(255,255,255,.1);
  color-scheme: dark;
}

/* 언어: html[data-lang]에 맞지 않는 쪽을 숨긴다 */
html[data-lang="ko"] .l-en, html[data-lang="en"] .l-ko { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--text); line-height: 1.25; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(32px, 6vw, 52px); font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: clamp(24px, 3.6vw, 32px); font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: 19px; font-weight: 650; }
p { margin: 0; }
kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .85em; color: var(--text-2);
  background: var(--bg-sunk); border: 1px solid var(--line); border-bottom-width: 2px;
  border-radius: 6px; padding: 1px 6px;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 480px) { .wrap { padding: 0 16px; } }

/* 머리말 */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 20px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; letter-spacing: -0.01em; }
.logo svg { width: 26px; height: 26px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { padding: 6px 10px; border-radius: 8px; color: var(--muted); font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--bg-sunk); }
.lang-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 99px; padding: 2px; }
.lang-toggle button {
  font: inherit; font-size: 13px; border: 0; background: none; color: var(--faint);
  padding: 2px 10px; border-radius: 99px; cursor: pointer;
}
.lang-toggle button.active { background: var(--bg-sunk); color: var(--text); }
.signin { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; color: var(--text-2); padding: 6px 10px; border-radius: 8px; }
.signin:hover { background: var(--bg-sunk); }
.signin svg { width: 16px; height: 16px; }
@media (max-width: 640px) {
  .header-inner { gap: 8px; }
  .nav .hide-sm { display: none; }
  .signin span { display: none; }
  .nav a { padding: 6px 8px; }
}
/* 좁은 폰(360 이하): 머리글 글자가 줄바꿈으로 깨지지 않게 줄인다 */
.logo, .nav a, .lang-toggle button { white-space: nowrap; }
.logo, .lang-toggle { flex: none; }
@media (max-width: 360px) {
  .header-inner { gap: 4px; }
  .logo { gap: 7px; font-size: 15px; }
  .logo svg { width: 22px; height: 22px; }
  .nav { gap: 2px; }
  .nav a, .signin { padding: 6px 5px; font-size: 14px; }
  .lang-toggle button { padding: 2px 7px; font-size: 12px; }
}

/* 첫 화면 */
.hero { padding: 88px 0 40px; }
.hero h1 { max-width: 14em; }
.hero p.lead { margin-top: 18px; max-width: 34em; font-size: 18px; color: var(--muted); }
@media (max-width: 480px) { .hero { padding: 56px 0 28px; } .hero p.lead { font-size: 16px; } }

.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }

section { padding: 56px 0; }
.section-head { margin-bottom: 28px; }
.section-head p { margin-top: 10px; max-width: 36em; }

/* 섬 지도 */
.map {
  border-radius: 24px; overflow: hidden; background: var(--sea-1);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.map svg { width: 100%; height: auto; }
.map .label { font: 600 15px ui-sans-serif, system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif; fill: var(--text); }
.map .sub { font: 500 12px ui-sans-serif, system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif; fill: var(--faint); }
.map a:focus-visible { outline: none; }
.map a:focus-visible .bldg, .map a:hover .bldg { transform: translateY(-3px); }
.map .bldg { transition: transform .35s cubic-bezier(.2,.8,.2,1); transform-box: fill-box; }
.map .smoke { animation: smoke 5s ease-in-out infinite; transform-box: fill-box; transform-origin: center bottom; }
.map .smoke.s2 { animation-delay: 1.6s; }
.map .wave { animation: drift 9s ease-in-out infinite alternate; }
@keyframes smoke { 0% { opacity: 0; transform: translateY(6px) scale(.8); } 30% { opacity: .9; } 100% { opacity: 0; transform: translateY(-16px) scale(1.25); } }
@keyframes drift { from { transform: translateX(-8px); } to { transform: translateX(8px); } }
@media (prefers-reduced-motion: reduce) { .map .smoke, .map .wave { animation: none; } }
.map-caption { margin-top: 14px; font-size: 14px; color: var(--faint); }

/* 첫 화면 글자 */
.hero h1.display { font-size: clamp(38px, 7.4vw, 76px); font-weight: 760; letter-spacing: -0.042em; line-height: 1.06; max-width: 12em; }
.hero h1 .grad {
  background: linear-gradient(100deg, var(--grad-a) 0%, var(--grad-b) 55%, var(--grad-c) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: 19px; line-height: 1.7; }
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px; text-transform: none; letter-spacing: 0;
  font-size: 13px; font-weight: 600; color: var(--text-2);
  padding: 6px 14px 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-soft);
}
.eyebrow-pill .sep { color: var(--faint); }
.eyebrow-pill .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); } 100% { box-shadow: 0 0 0 9px transparent; } }
@media (max-width: 480px) { .hero p.lead { font-size: 16px; } }

/* 3D 섬 */
.map[data-island] { position: relative; }
.island3d { display: none; position: relative; width: 100%; aspect-ratio: 2.05 / 1; background: var(--map-sky); overflow: hidden; touch-action: pan-y; }
.island3d canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; opacity: 0; transition: opacity .9s ease; }
.map.is-3d .island3d { display: block; }
.map.is-3d > svg { display: none; }
.map.is-ready .island3d canvas { opacity: 1; }
@media (max-width: 640px) { .island3d { aspect-ratio: 1 / 1.02; } }
.island3d.is-flying canvas { filter: saturate(1.08); }
.island-labels { position: absolute; inset: 0; pointer-events: none; }
.island-pill {
  position: absolute; left: 0; top: 0; pointer-events: auto; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 7px; font: 600 13px/1 ui-sans-serif, system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
  color: var(--text); background: var(--glass); border: 1px solid var(--glass-line); border-radius: 999px; padding: 7px 12px 7px 10px;
  -webkit-backdrop-filter: blur(10px) saturate(1.4); backdrop-filter: blur(10px) saturate(1.4);
  box-shadow: 0 6px 20px rgba(0,0,0,.12); cursor: pointer; transition: background .2s, box-shadow .2s, color .2s;
  will-change: transform;
}
.island-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }
.island-pill.is-main .dot { background: #ff8a3c; box-shadow: 0 0 10px #ff8a3c; }
.island-pill.is-main { font-size: 14px; padding: 8px 14px 8px 11px; }
.island-pill.is-on { color: var(--accent-ink); background: var(--accent); border-color: transparent; box-shadow: 0 8px 26px color-mix(in srgb, var(--accent) 45%, transparent); }
.island-pill.is-on .dot { background: currentColor; box-shadow: none; }
.island-pill:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.island-card {
  position: absolute; left: 0; top: 0; width: 248px; pointer-events: auto;
  padding: 14px 16px 14px; border-radius: 16px; background: var(--glass); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5);
  box-shadow: 0 18px 50px rgba(0,0,0,.18); animation: card-in .22s cubic-bezier(.2,.8,.2,1);
}
.island-card .t { color: var(--text); font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.island-card .d { margin-top: 4px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.island-card .go { display: inline-block; margin-top: 10px; font-size: 13.5px; font-weight: 650; color: var(--accent); }
.island-card .soon { margin-top: 8px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--faint); }
@keyframes card-in { from { opacity: 0; translate: 0 6px; } to { opacity: 1; translate: 0 0; } }
.island-hint {
  position: absolute; left: 14px; bottom: 14px; z-index: 1; margin: 0; pointer-events: none;
  font-size: 12.5px; font-weight: 600; color: var(--text-2); padding: 6px 11px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hint-touch { display: none; }
@media (hover: none) { .hint-mouse { display: none; } .hint-touch { display: inline; } }
@media (max-width: 640px) { .island-pill { font-size: 12px; padding: 6px 10px 6px 8px; } .island-pill.is-main { font-size: 13px; } .island-card { width: calc(100% - 24px); } }
.island3d.has-card .island-hint { opacity: 0; }
.pill-short { display: none; }
@media (max-width: 640px) { .pill-long { display: none; } .pill-short { display: inline; } }
.island-pill { transition: background .2s, box-shadow .2s, color .2s, opacity .2s; }
.island3d.has-card .island-pill:not(.is-on) { opacity: 0; pointer-events: none; }
.island-hint { transition: opacity .2s; }
@media (prefers-reduced-motion: reduce) { .island-card { animation: none; } .eyebrow-pill .pulse { animation: none; } .island3d canvas { transition: none; } }

/* 제품 목록 */
.products { display: grid; gap: 20px; }
.card {
  display: block; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg); padding: 20px; box-shadow: var(--shadow);
  transition: transform .25s, border-color .25s;
}
a.card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.shot {
  aspect-ratio: 4 / 3; border-radius: 12px; background: var(--bg-sunk); border: 1px solid var(--line);
  display: grid; place-items: center; overflow: hidden;
}
.shot svg { width: 72%; height: auto; }
@media (max-width: 560px) { .shots { grid-template-columns: 1fr 1fr; } .shots .shot:nth-child(3) { display: none; } }
.card-row { display: flex; gap: 14px; align-items: flex-start; }
.app-icon { flex: none; width: 44px; height: 44px; border-radius: 11px; }
.card h3 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.card .tagline { color: var(--text-2); font-weight: 600; margin-top: 2px; }
.card .desc { margin-top: 8px; }
.more { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; color: var(--accent); font-weight: 600; font-size: 15px; }
.badge { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 99px; background: var(--bg-sunk); color: var(--faint); border: 1px solid var(--line); }
.badge.free { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.badge.pro { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.badge.warn { background: var(--warn-bg); color: var(--warn-ink); border-color: transparent; }
.card.ghost { box-shadow: none; background: var(--bg-soft); border-style: dashed; }
.card.ghost .desc { color: var(--faint); }

/* 버튼 */
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-size: 15px; font-weight: 600; line-height: 1;
  padding: 13px 18px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--bg); color: var(--text); cursor: pointer;
}
.btn svg { width: 18px; height: 18px; }
.btn.primary { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn[aria-disabled="true"] { cursor: not-allowed; opacity: .9; }
.btn .soon { font-size: 12px; font-weight: 600; color: var(--faint); }
.btn.primary .soon { color: color-mix(in srgb, var(--bg) 70%, transparent); }
.btn.block { width: 100%; }

/* 제품 쪽 */

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 48px 0; border-top: 1px solid var(--line); }
.feature:nth-of-type(even) .feature-art { order: -1; }
.feature-art { border-radius: 20px; background: var(--bg-soft); border: 1px solid var(--line); padding: 28px; display: grid; place-items: center; }
.feature-art svg { width: min(100%, 300px); }
.feature p { margin-top: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding: 0; list-style: none; }
.chips li { font-size: 14px; padding: 4px 10px; border-radius: 99px; background: var(--bg-sunk); color: var(--text-2); border: 1px solid var(--line); }
@media (max-width: 760px) {
  .feature { grid-template-columns: 1fr; gap: 24px; padding: 36px 0; }
  .feature:nth-of-type(even) .feature-art { order: 0; }
}

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fact { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: var(--bg); }
.fact h3 { font-size: 16px; }
.fact p { margin-top: 6px; font-size: 15px; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; color: var(--text); font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--faint); font-weight: 400; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; max-width: 46em; }

/* 가격 */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.plan { border: 1px solid var(--line); border-radius: 20px; padding: 28px; background: var(--bg); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan.pro { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.plan h3 { font-size: 22px; }
.plan .price { margin-top: 14px; color: var(--text); font-size: 36px; font-weight: 700; letter-spacing: -0.02em; }
.plan .price small { font-size: 15px; font-weight: 500; color: var(--faint); margin-left: 4px; }
.plan ul { margin: 18px 0 24px; padding: 0; list-style: none; display: grid; gap: 8px; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 4px; border-radius: 50%; background: var(--accent-soft) no-repeat center / 10px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 5.2l2 2 4-4.4' fill='none' stroke='%232d73f5' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plan .btn { margin-top: auto; }
.billing { display: inline-flex; border: 1px solid var(--line); border-radius: 99px; padding: 3px; margin-top: 14px; flex-wrap: wrap; }
.billing button { font: inherit; font-size: 14px; border: 0; background: none; color: var(--muted); padding: 6px 14px; border-radius: 99px; cursor: pointer; }
.billing button.active { background: var(--text); color: var(--bg); }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { color: var(--text); background: var(--bg-soft); font-weight: 600; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; width: 22%; }
.compare tr.group td { background: var(--bg-soft); color: var(--text); font-weight: 600; font-size: 14px; }
.compare tr:last-child td { border-bottom: 0; }
.yes { color: var(--accent); font-weight: 700; }
.no { color: var(--faint); }

/* 계정 */
.auth { max-width: 400px; margin: 0 auto; padding: 72px 0 96px; }
.auth h1 { font-size: 30px; text-align: center; }
.auth .lead { text-align: center; margin-top: 10px; }
.auth form { display: grid; gap: 10px; margin-top: 28px; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--faint); font-size: 13px; margin: 8px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
input[type="email"] {
  font: inherit; width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--bg); color: var(--text);
}
input[type="email"]:focus { outline: 2px solid color-mix(in srgb, var(--accent) 50%, transparent); outline-offset: 1px; }
.notice { margin-top: 18px; font-size: 13px; color: var(--faint); text-align: center; }

/* 약관 */
.legal { max-width: 760px; margin: 0 auto; padding: 56px 0 96px; }
.legal .draft { display: block; padding: 12px 16px; border-radius: 12px; background: var(--warn-bg); color: var(--warn-ink); font-weight: 600; font-size: 14px; margin-bottom: 28px; }
.legal h1 { font-size: 34px; }
.legal .updated { margin-top: 8px; font-size: 14px; color: var(--faint); }
.legal h2 { font-size: 20px; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--text-2); }
.legal p + p { margin-top: 10px; }
.legal ul, .legal ol { padding-left: 20px; margin: 10px 0; }
.legal li + li { margin-top: 6px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 12px 0; }
.legal th, .legal td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.legal th { background: var(--bg-soft); color: var(--text); }
.legal .tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 24px; }
.legal .tabs a { font-size: 14px; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); }
.legal .tabs a[aria-current="page"] { background: var(--text); color: var(--bg); border-color: var(--text); }

/* 꼬리말 */
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 36px 0 48px; font-size: 14px; color: var(--faint); }
.footer-grid { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a:hover { color: var(--text); }
.biz { margin-top: 18px; font-size: 13px; line-height: 1.7; }
.biz a { text-decoration: underline; text-underline-offset: 2px; }
.biz a:hover { color: var(--text); }
.theme-toggle { font: inherit; font-size: 13px; color: var(--faint); background: none; border: 1px solid var(--line); border-radius: 99px; padding: 3px 12px; cursor: pointer; }
@media (max-width: 560px) {
  .card-row { flex-direction: column; gap: 12px; }
  .map .label { font-size: 22px; }
  .map .sub { font-size: 17px; }
}
@media (max-width: 560px) {
  .compare th, .compare td { padding: 10px 12px; font-size: 14px; }
  .compare td:not(:first-child), .compare th:not(:first-child) { width: 58px; }
}

/* 운영체제별 상태 표("Mac 지금 · Windows 준비 중") */
.plat { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 99px; font-size: 12px; font-weight: 600; line-height: 1.5; color: var(--warn-ink); background: var(--warn-bg); white-space: nowrap; }
@media (max-width: 480px) { .plat { white-space: normal; margin-left: 0; margin-top: 2px; } }
