/* ============================================================
   Netsarang v2 — shared stylesheet
   ============================================================ */

:root {
  /* Light mode (default) */
  --bg: #faf8f5;
  --bg-elev: #ffffff;
  --fg: #0a0a0a;
  --fg-muted: #6b6357;
  --fg-subtle: #9a9286;
  --border: #e8e3da;
  --border-strong: #d4ccbf;

  --accent: #ffae00;       /* Xmanager amber - primary brand accent */
  --accent-fg: #1a1408;
  --accent-soft: #fff1cc;

  /* Hero typography — 모든 .*-hero h1 동일 크기 (.hero / .sm-hero / .product-hero / .feature-page-hero / .dlx-hero / .uh-hero / .rb-hero)
     옛 .hero(홈) 기준값. 작은 값으로 통일하지 말 것 — 시각적으로 hero가 죽음 (2026-05-29 사용자 피드백). */
  --hero-h1-size: clamp(48px, 8vw, 104px);

  /* product brand colors */
  --brand-xmanager: #ffae00;
  --brand-xshell: #f85252;
  --brand-xftp: #9cc53d;
  --brand-xlpd: #0dacf1;

  /* product tints (soft backgrounds) */
  --tint-xmanager: #fff3d6;     /* amber soft */
  --tint-xshell: #fde4e4;        /* coral soft */
  --tint-xftp: #ecf4d8;           /* green soft */
  --tint-xlpd: #d8eef9;           /* blue soft */

  --tint-xmanager-text: #8a5d00;
  --tint-xshell-text: #b53838;
  --tint-xftp-text: #5a7a1f;
  --tint-xlpd-text: #0775a8;

  --shadow-sm: 0 1px 2px rgba(20,15,5,0.04);
  --shadow-md: 0 4px 16px rgba(20,15,5,0.06);

  /* CJK fallback (Apple SD Gothic Neo / Hiragino / Noto / Malgun) 끼움 — 라틴은 Inter 유지,
     한글·한자·일본어는 OS·웹폰트 fallback으로 자형 충돌 방지 (2026-05-29). */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Apple SD Gothic Neo", "Pretendard", "Hiragino Sans", "Noto Sans KR", "Noto Sans JP", "Noto Sans SC", "Malgun Gothic", Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Apple SD Gothic Neo", "Pretendard", "Hiragino Sans", "Noto Sans KR", "Noto Sans JP", "Noto Sans SC", "Malgun Gothic", Helvetica, Arial, sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-pill: 999px;

  --container: 1280px;
}

[data-theme="dark"] {
  --bg: #000000;
  --bg-elev: #0e0d0c;
  --fg: #f0ede8;
  --fg-muted: #9c948a;
  --fg-subtle: #6b6359;
  --border: #1c1b19;
  --border-strong: #2c2a27;

  --accent: #ffae00;
  --accent-fg: #1a1408;
  --accent-soft: #2a1f08;

  --brand-xmanager: #ffae00;
  --brand-xshell: #f85252;
  --brand-xftp: #9cc53d;
  --brand-xlpd: #0dacf1;

  --tint-xmanager: #2a1f08;
  --tint-xshell: #2c1818;
  --tint-xftp: #1c2613;
  --tint-xlpd: #0e2330;

  --tint-xmanager-text: #ffd175;
  --tint-xshell-text: #ff8a8a;
  --tint-xftp-text: #c0e26d;
  --tint-xlpd-text: #5cc8f6;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.5);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.2s ease, color 0.2s ease;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Anchor jumps account for the sticky header height + add a nudge so the
   target section doesn't sit flush against the header bottom. */
html { scroll-padding-top: 96px; scroll-behavior: smooth; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================================
   Header / nav
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in oklch, var(--bg) 90%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { border-bottom-color: var(--border); }
.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 72px;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  height: 40px;
}
.nav-logo img { height: 40px; width: auto; display: block; }
.nav-logo .logo-light { display: block; }
.nav-logo .logo-dark { display: none; }
[data-theme="dark"] .nav-logo .logo-light { display: none; }
[data-theme="dark"] .nav-logo .logo-dark { display: block; }

.nav-links {
  display: flex;
  justify-content: center;
  gap: 4px;
}
.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  color: var(--fg-muted);
  position: relative;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--fg); }
.nav-links a.active { color: var(--fg); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.icon-btn {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--fg-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}
.icon-btn:hover { color: var(--fg); border-color: var(--border-strong); }
.icon-btn svg { width: 16px; height: 16px; }
.nav-toggle { display: none; }  /* 데스크톱 숨김 — 768px 이하에서 모바일 메뉴 버튼으로 노출 */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--fg);
  color: var(--bg);
}
.btn-primary:hover { transform: translateY(-1px); }

.btn-accent {
  background: var(--accent);
  color: var(--accent-fg);
}
.btn-accent:hover { transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--fg); color: var(--bg); }

.btn-sm { padding: 8px 16px; font-size: 13px; }

/* ============================================================
   Eyebrow / mono labels
   ============================================================ */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--fg-muted);
  text-transform: uppercase;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  padding: 80px 0 50px;
  text-align: center;
}
.hero .eyebrow { margin-bottom: 28px; }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--hero-h1-size);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0 auto 32px;
  max-width: 14ch;
  text-wrap: balance;
  word-break: auto-phrase;
}
.hero h1 .accent { color: var(--fg); }
.hero p.lead {
  max-width: 56ch;
  margin: 0 auto 40px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--fg-muted);
 text-wrap: pretty; }
.hero-cta { margin-bottom: 56px; }
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--fg-muted);
}
.hero-stats strong {
  color: var(--fg);
  font-weight: 600;
  margin-right: 6px;
}

/* ============================================================
   Section heading
   ============================================================ */
.section { padding: 40px 0; }
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-bottom: 56px;
  align-items: end;
}
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0;
}
.section-head .lead {
  font-size: 16px;
  color: var(--fg-muted);
  max-width: 48ch;
  margin: 0;
  padding-bottom: 8px;
 text-wrap: pretty; }
@media (max-width: 768px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; }
}

/* ============================================================
   Product cards (homepage)
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 900px) { .products-grid { grid-template-columns: 1fr; } }

.product-card {
  background: var(--tint);
  color: var(--fg);
  border-radius: var(--radius-xl);
  padding: 36px;
  display: flex;
  flex-direction: column;
  min-height: 480px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}
.product-card:hover { transform: translateY(-4px); }
.product-card.tint-xmanager { --tint: var(--tint-xmanager); --tint-text: var(--tint-xmanager-text); }
.product-card.tint-xshell    { --tint: var(--tint-xshell);    --tint-text: var(--tint-xshell-text); }
.product-card.tint-xftp      { --tint: var(--tint-xftp);      --tint-text: var(--tint-xftp-text); }
.product-card.tint-xlpd      { --tint: var(--tint-xlpd);      --tint-text: var(--tint-xlpd-text); }

.product-card .product-mark {
  display: flex;
  align-items: center;
  height: 32px;
  margin-bottom: 28px;
}
.product-card .product-mark img { height: 28px; width: auto; display: block; }
.product-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--fg);
  max-width: 14ch;
}
.product-card p.body {
  font-size: 14.5px;
  color: var(--fg-muted);
  margin: 0 0 20px;
  max-width: 42ch;
 text-wrap: pretty; }
.product-card .learn {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--fg);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--fg);
  padding-bottom: 2px;
  width: fit-content;
  margin-top: auto;
  margin-bottom: 28px;
}
.product-card:hover .learn { color: var(--accent); border-bottom-color: var(--accent); }
.product-card .learn::after { content: "→"; transition: transform 0.2s; }
.product-card:hover .learn::after { transform: translateX(3px); }
.product-card .product-shot {
  border-radius: 5px;
  background: rgba(0,0,0,0.04);
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}
.product-card .product-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.feature-card .img-slot img { width: 100%; height: auto; display: block; }
.product-shot-large img { width: 100%; height: auto; display: block; }
[data-theme="dark"] .product-card .product-shot { background: rgba(255,255,255,0.04); }
.product-card .product-shot img { width: 100%; height: 100%; object-fit: cover; }
.product-card .product-shot.placeholder {
  background-image: repeating-linear-gradient(
    -45deg,
    transparent 0,
    transparent 12px,
    rgba(0,0,0,0.06) 12px,
    rgba(0,0,0,0.06) 13px
  );
  display: grid;
  place-items: center;
  color: var(--fg-subtle);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
}
[data-theme="dark"] .product-card .product-shot.placeholder {
  background-image: repeating-linear-gradient(
    -45deg,
    transparent 0,
    transparent 12px,
    rgba(255,255,255,0.05) 12px,
    rgba(255,255,255,0.05) 13px
  );
}

/* ============================================================
   "What's new" cards
   ============================================================ */
.lab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
@media (max-width: 900px) { .lab-grid { grid-template-columns: 1fr; } }

.lab-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.lab-card-link .lab-card { height: 100%; transition: transform 0.18s ease; }
.lab-card-link:hover .lab-card { transform: translateY(-2px); }
.lab-card {
  border-radius: var(--radius-xl);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 360px;
  position: relative;
  overflow: hidden;
}
.lab-card .tag {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.85);
}
.lab-card.coral {
  background: var(--brand-xshell);
  color: #fff;
}
.lab-card.coral .tag { color: rgba(255,255,255,0.85); }
.lab-card.coral .big-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 220px;
  line-height: 0.85;
  letter-spacing: -0.05em;
  margin: 16px 0 auto;
  color: #fff;
}
.lab-card.coral h3, .lab-card.coral p, .lab-card.coral .meta { color: #fff; }
.lab-card.coral .meta { color: rgba(255,255,255,0.7); }

.lab-card.cream {
  background: var(--tint-xmanager);
  color: var(--fg);
}
.lab-card.cream .tag { color: var(--tint-xmanager-text); }

.lab-card.neutral {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  color: var(--fg);
}
.lab-card.neutral .tag { color: var(--fg-muted); }

.lab-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0;
}
.lab-card p { font-size: 14px; color: var(--fg-muted); margin: 0; }
.lab-card.coral p { color: rgba(255,255,255,0.85); }
.lab-card .meta {
  margin-top: auto;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--fg-subtle);
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.lab-card.coral .meta { border-top-color: rgba(255,255,255,0.2); }
.lab-card.cream .meta { border-top-color: rgba(0,0,0,0.08); }
[data-theme="dark"] .lab-card.cream .meta { border-top-color: rgba(255,255,255,0.08); }

.combo-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 24px 0;
}
.combo-pill {
  display: flex;
  align-items: center;
  height: 36px;
}
.combo-pill img { height: 32px; width: auto; display: block; }
.combo-plus { font-family: var(--font-sans); font-size: 14px; color: var(--fg-subtle); }

.suite-logo {
  margin: 16px 0 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.suite-logo img { height: 56px; width: auto; display: block; }

.suite-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 16px 0;
}
.suite-grid .pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--fg);
}
.suite-grid .pill .d {
  width: 7px; height: 7px; border-radius: 50%;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  padding: 80px 0 48px;
  border-top: 1px solid var(--border);
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 40px;
  margin-bottom: 56px;
}
label .opt { color: var(--fg-subtle); font-weight: 400; margin-left: 6px; }
.footer-grid .footer-col-label {
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: 0;
  color: var(--fg);
  margin: 0 0 20px;
  font-weight: 700;
  text-transform: none;
  font-weight: 600;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-grid a { font-size: 14px; color: var(--fg-muted); }
.footer-grid a:hover { color: var(--fg); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--fg-muted);
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.footer-sitemap-link {
  font-family: var(--font-sans); font-size: 12px;
  color: var(--fg-muted); text-decoration: none;
}
.footer-sitemap-link:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom .footer-sep { color: var(--fg-subtle); margin: 0 8px; }

/* ============================================================
   Sitemap page (/<lang>/sitemap/)
   ============================================================ */
.sm-hero { padding: 120px 0 40px; }
.sm-hero h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: var(--hero-h1-size); letter-spacing: -0.04em;
  line-height: 0.92; margin: 0; color: var(--fg);
}
.sm-hero .lead {
  margin: 24px 0 0; max-width: 60ch;
  font-size: 17px; line-height: 1.65; color: var(--fg-muted);
 text-wrap: pretty; }
.sm-grid {
  padding: 32px 0 96px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 56px;
}
@media (max-width: 880px) { .sm-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .sm-grid { grid-template-columns: 1fr; } }
.sm-section h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 20px; letter-spacing: -0.015em; color: var(--fg);
  margin: 0 0 18px; padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
.sm-section ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.sm-section li { line-height: 1.4; }
.sm-section a {
  font-size: 15px; color: var(--fg-muted); text-decoration: none;
  transition: color 0.12s ease;
}
.sm-section a:hover { color: var(--fg); }

.footer-socials { display: flex; gap: 18px; align-items: center; }
.footer-socials a { color: var(--fg-muted); display: inline-flex; align-items: center; justify-content: center; }
.footer-socials a:hover { color: var(--fg); }
.footer-socials svg { width: 18px; height: 18px; display: block; }
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; gap: 16px; align-items: flex-start; }
}

/* ============================================================
   Product page (xmanager) - hero
   ============================================================ */
.product-hero {
  padding: 64px 0 0;
  text-align: center;
}
.product-hero .product-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 24px;
}
.product-hero .product-badge img { height: 36px; width: auto; display: block; }
.product-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--hero-h1-size);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0 auto 24px;
  max-width: 14ch;
  text-wrap: balance;
  word-break: auto-phrase;
}
.product-hero p.lead {
  max-width: 52ch;
  margin: 0 auto 32px;
  font-size: 17px;
  color: var(--fg-muted);
 text-wrap: pretty; }
.product-hero .meta-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 40px;
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--fg-muted);
}
.product-hero .meta-row strong {
  color: var(--fg);
  font-weight: 600;
  margin-right: 6px;
}
.product-hero .meta-row .dot { color: var(--accent); margin: 0 4px; }

.product-shot-large {
  margin: 56px auto 64px;
  max-width: 1100px;
  border-radius: 5px;
  overflow: hidden;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  position: relative;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent 0,
    transparent 16px,
    rgba(0,0,0,0.04) 16px,
    rgba(0,0,0,0.04) 17px
  );
  display: grid; place-items: center;
  color: var(--fg-subtle);
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.15em;
}
[data-theme="dark"] .product-shot-large {
  background-image: repeating-linear-gradient(
    -45deg,
    transparent 0,
    transparent 16px,
    rgba(255,255,255,0.04) 16px,
    rgba(255,255,255,0.04) 17px
  );
}
.product-shot-large img { width: 100%; height: auto; display: block; }

/* feature cards */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

/* 1-feature-per-row: text on the left, a larger image on the right (consistent
   for every row). build.mjs wraps the text children of each .feature-card in a
   .feature-text container so the card is a simple 2-column grid. */
.feature-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 44px;
  background: var(--bg-elev);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  column-gap: 52px;
  align-items: center;
}
.feature-card .feature-text { display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 760px) {
  .feature-card { grid-template-columns: 1fr; padding: 28px; row-gap: 20px; }
}
.feature-card .index {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--fg-subtle);
  margin-bottom: 8px;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0;
}
.feature-card p { font-size: 14.5px; color: var(--fg-muted); margin: 0; }
.feature-card .tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0;
}
.feature-card .tag-row .tag {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--fg-muted);
}
.feature-card .img-slot {
  background: transparent;
  overflow: hidden;
}
.feature-card .img-slot img { width: 100%; height: auto; display: block; }

/* Click a product image to open it enlarged (lightbox). */
.zoomable { cursor: zoom-in; transition: transform .2s ease; }
.zoomable:hover { transform: scale(1.015); }
.lightbox-overlay {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 4vmin; cursor: zoom-out;
  background: rgba(10, 10, 8, 0.86);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s ease, visibility .18s ease;
}
.lightbox-overlay.open { opacity: 1; visibility: visible; pointer-events: auto; }
.lightbox-overlay img {
  max-width: 94vw; max-height: 92vh; width: auto; height: auto;
  border-radius: 10px; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}
@media (prefers-reduced-motion: reduce) {
  .zoomable, .lightbox-overlay { transition: none; }
  .zoomable:hover { transform: none; }
}

.see-all-row {
  text-align: center;
  margin-top: 40px;
}

/* ============================================================
   Specs panel
   ============================================================ */
.specs-section {
  background: var(--bg-elev);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 0;
}
.specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
@media (max-width: 900px) { .specs-grid { grid-template-columns: 1fr 1fr; } }

.spec-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.spec-card .label {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--fg-subtle);
  margin-bottom: 12px;
}
.spec-card .value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 36px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.spec-card .value .unit {
  font-size: 13px;
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
  margin-left: 4px;
}
.spec-card .desc {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.4;
}

.spec-table {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.spec-table .row {
  display: grid;
  grid-template-columns: 200px 1fr;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.spec-table .row:last-child { border-bottom: none; }
.spec-table .row .k {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--fg-subtle);
  text-transform: uppercase;
  align-self: center;
}
.spec-table .row .v { color: var(--fg); }

/* ============================================================
   Pricing
   ============================================================ */
.pricing-section { padding: 48px 0 24px; text-align: center; }
.pricing-section h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 52px);
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}
.pricing-section .lead { color: var(--fg-muted); margin: 0 0 48px;  text-wrap: pretty; }

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}
.pricing-grid.three-up { max-width: 1200px; }
@media (max-width: 1100px) {
  .pricing-grid[style*="1fr 1fr 1fr"] { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 768px) { .pricing-grid { grid-template-columns: 1fr; } }

.price-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  background: var(--bg-elev);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.price-card .btn { margin-top: auto; }
.price-card .included-head { margin-top: 8px; }
.price-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--accent-soft), var(--bg-elev) 50%);
}
.price-card .best-badge {
  position: absolute;
  top: -12px; left: 32px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}
.price-card .product-mark {
  display: flex;
  align-items: center;
  height: 52px;
}
.price-card .product-mark img { height: 46px; width: auto; display: block; }
/* logos-only: the logo (with alt text) stands in for the product name. */
.price-card h3 { display: none; }
.price-card .tag-line { color: var(--fg-muted); font-size: 14px; margin: 0; }
/* footnote markers: * after the price, ** after the maintenance line */
.price-card .fn-mark { color: var(--fg-subtle); font-weight: 600; }
.price-card .price .fn-mark { font-size: 22px; vertical-align: super; margin-left: 2px; line-height: 1; }
.price-card .maint .fn-mark { margin-left: 2px; }
.price-card .price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.03em;
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin: 8px 0 0;
}
.price-card .price .currency { font-size: 22px; margin-top: 8px; font-weight: 600; }
.price-card .price-meta {
  font-size: 13px;
  color: var(--fg-muted);
}
.price-card .maint {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 13px;
  color: var(--fg);
  background: var(--bg);
}
.price-card ul.included {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--fg-muted);
}
.price-card ul.included li::before {
  content: "✓ ";
  color: var(--accent);
  font-weight: 700;
}
.price-card .included-head {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--fg-subtle);
  margin-top: 8px;
}

.contact-block {
  text-align: center;
  margin-top: 84px;
}
.contact-block h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.contact-block p { color: var(--fg-muted); margin: 0 0 24px; }
.contact-block .actions {
  display: inline-flex;
  gap: 8px;
}

/* ============================================================
   All-features page
   ============================================================ */
.feature-page-hero {
  padding: 56px 0 32px;
}
.breadcrumb {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--fg-subtle);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.breadcrumb a:hover { color: var(--fg); }
.breadcrumb .sep { margin: 0 10px; color: var(--fg-subtle); }

.feature-page-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--hero-h1-size);
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 0 0 16px;
  text-wrap: balance;
  word-break: auto-phrase;
}
.feature-page-hero .lead {
  font-size: 17px;
  color: var(--fg-muted);
  max-width: 60ch;
  margin: 0;
 text-wrap: pretty; }

/* feature page body layout */
.feature-page-body {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 64px;
  padding: 32px 0 80px;
}
@media (max-width: 900px) { .feature-page-body { grid-template-columns: 1fr; } }

.toc {
  position: sticky;
  top: 100px;
  align-self: start;
}
.toc h5 {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--fg-subtle);
  margin: 0 0 16px;
  text-transform: uppercase;
}
.toc ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.toc a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  font-size: 13.5px;
  color: var(--fg-muted);
  border-radius: var(--radius-sm);
  border-left: 2px solid transparent;
  transition: all 0.15s ease;
}
.toc a:hover { color: var(--fg); }
.toc a.active {
  color: var(--fg);
  background: var(--bg-elev);
  border-left-color: var(--accent);
}
.toc a .count {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--fg-subtle);
}
/* 1열 적층에선 sticky가 본문을 덮음(모바일 겹침 신고 2026-08-11).
   주의: 이 블록은 반드시 .toc 기본 규칙 뒤에 — 같은 특이도라 순서가 앞서면 sticky에 짐(실사고) */
@media (max-width: 900px) { .toc { position: static; } }

.feature-section {
  padding: 0 0 64px;
}
.feature-section h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 8px;
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.feature-section h2 .num {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-weight: 600;
}
.feature-section .section-lead {
  color: var(--fg-muted);
  margin: 0 0 28px;
  font-size: 15px;
}

.key-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}
@media (max-width: 1100px) { .key-features-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .key-features-grid { grid-template-columns: 1fr; } }

.kf-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: border-color 0.15s ease;
}
.kf-card:hover { border-color: var(--border-strong); }
.kf-card .kf-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.kf-card .kf-icon svg { width: 18px; height: 18px; }
.kf-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  line-height: 1.2;
  margin: 0 0 4px;
}
.kf-card p {
  font-size: 12.5px;
  color: var(--fg-muted);
  margin: 0;
  line-height: 1.4;
}

/* feature list table */
.feature-list {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
@media (max-width: 700px) { .feature-list { grid-template-columns: 1fr; } }
.feature-list .item {
  padding: 14px 22px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.feature-list .item::before {
  content: "›";
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
}
.feature-list .item:nth-child(2n) { border-right: none; }
.feature-list .item:nth-last-child(-n+2) { border-bottom: none; }
@media (max-width: 700px) {
  .feature-list .item { border-right: none; }
  .feature-list .item:nth-last-child(-n+2):not(:last-child) { border-bottom: 1px solid var(--border); }
}

.requirements-table {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.requirements-table .row {
  display: grid;
  grid-template-columns: 220px 1fr;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  align-items: center;
}
.requirements-table .row:last-child { border-bottom: none; }
.requirements-table .k {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--fg-subtle);
  text-transform: uppercase;
}
.requirements-table .v { color: var(--fg); }
.requirements-table .v strong { font-weight: 700; }

/* ============================================================
   Per-page accent overrides
   ============================================================ */
body.theme-xshell {
  --accent: #f85252;
  --accent-fg: #fff;
  --accent-soft: #fde4e4;
}
[data-theme="dark"] body.theme-xshell,
body.theme-xshell[data-theme="dark"] {
  --accent: #ff6b6b;
  --accent-fg: #1a0808;
  --accent-soft: #2c1818;
}
[data-theme="dark"] .theme-xshell .kf-card .kf-icon { color: #ff8a8a; }

body.theme-xftp {
  --accent: #2eb872;
  --accent-fg: #fff;
  --accent-soft: #d8f1e3;
}
[data-theme="dark"] body.theme-xftp,
body.theme-xftp[data-theme="dark"] {
  --accent: #4ed496;
  --accent-fg: #06180e;
  --accent-soft: #14281c;
}
[data-theme="dark"] .theme-xftp .kf-card .kf-icon { color: #7be0b1; }

body.theme-xlpd {
  --accent: #03abef;
  --accent-fg: #fff;
  --accent-soft: #d6eefc;
}
[data-theme="dark"] body.theme-xlpd,
body.theme-xlpd[data-theme="dark"] {
  --accent: #38bdf8;
  --accent-fg: #06141f;
  --accent-soft: #0b2436;
}
[data-theme="dark"] .theme-xlpd .kf-card .kf-icon { color: #38bdf8; }

/* Header nav dropdowns (Products / Sales / Downloads / Support / Resellers) */
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-item { position: relative; display: inline-flex; }
.nav-item > a {
  display: inline-flex; align-items: center; gap: 6px;
}
/* Caret next to each top-level nav link — points down by default, flips up
   when the sub-menu is open (hover, focus-within, or .is-open from click). */
.nav-item > a::after {
  content: '';
  display: inline-block;
  width: 7px; height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.18s ease;
  opacity: 0.7;
}
.nav-item.is-hover > a::after,
.nav-item.is-pinned > a::after {
  transform: rotate(-135deg) translateY(0);
  opacity: 1;
}
.nav-item::before {
  /* bridge keeps :hover continuous between trigger and menu */
  content: '';
  position: absolute;
  top: 100%; left: 0; right: 0;
  height: 8px;
}
.nav-sub {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  list-style: none;
  padding: 6px;
  margin: 0;
  display: none;
  z-index: 60;
}
.nav-item.is-hover .nav-sub,
.nav-item.is-pinned .nav-sub { display: block; }
.nav-sub li a {
  display: block;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--fg-muted);
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
}
.nav-sub li a:hover { background: var(--accent-soft); color: var(--fg); }

/* Language switcher (header) */
.lang-switcher { position: relative; display: inline-flex; }
.lang-switcher::after {
  /* invisible bridge so cursor can move from button → menu without losing :hover */
  content: '';
  position: absolute;
  top: 100%; left: 0; right: 0;
  height: 8px;
}
.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 140px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  list-style: none;
  padding: 6px;
  margin: 0;
  display: none;
  z-index: 60;
}
.lang-switcher.is-hover .lang-menu,
.lang-switcher.is-pinned .lang-menu { display: block; }
.lang-menu li a {
  display: block;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--fg-muted);
  border-radius: 6px;
  text-decoration: none;
}
.lang-menu li a:hover { background: var(--accent-soft); color: var(--fg); }

/* responsive nav */
@media (max-width: 768px) {
  .nav { grid-template-columns: 1fr auto; }   /* 모바일: nav-links 빠지므로 로고|액션 2열 — 액션 우측 끝 정렬(안 그러면 액션이 1fr칸에 들어가 좌측 쏠림) */
  .hero-stats { gap: 24px; }
  .nav-toggle { display: grid; }   /* icon-btn 그리드 정렬 복원 */

  /* nav-links → 헤더(72px) 아래 전체폭 드로어. 헤더에 .nav-open 붙을 때만 표시 */
  .nav-links {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 32px 20px;
    background: var(--bg-elev);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    z-index: 90;
  }
  .site-header.nav-open .nav-links { display: flex; }

  /* 드로어 안: nav-item 전체폭 아코디언, sub-menu는 정적 리스트로 펼침 */
  /* 드로어 행: 라벨+화살표 왼쪽 정렬(짧은 라벨이 오른쪽 끝으로 안 밀리게),
     행 구분선으로 고른 리듬. space-between이면 화살표만 우측 끝에 떨어져 빈 느낌. */
  .nav-links > a { display: block; width: 100%; padding: 14px 4px; font-size: 15px; border-bottom: 1px solid var(--border); }
  .nav-item { width: 100%; display: block; position: relative; border-bottom: 1px solid var(--border); }
  .nav-links > a:last-child, .nav-item:last-child { border-bottom: none; }
  .nav-item > a { display: flex; width: 100%; justify-content: flex-start; gap: 8px; padding: 14px 4px; font-size: 15px; }
  .nav-item::before { content: none; }   /* 데스크톱 hover 브릿지 불필요 */
  .nav-sub {
    position: static;
    min-width: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    padding: 0 0 8px 12px;
  }
  .nav-sub li a { padding: 10px 12px; font-size: 14px; white-space: normal; }
}

/* ──────────────────────────────────────────────────────────────────────
   Update history pages (.uh-*)
   Used by /<lang>/<product>-update-history/ and *-beta-update-history.
   ────────────────────────────────────────────────────────────────────── */
.uh-hero { padding: 120px 0 40px; position: relative; }
.uh-hero .hero-accent {
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
}
.uh-hero .container { position: relative; z-index: 1; }
.uh-hero .product-mark {
  height: 36px; width: auto; display: block; margin-bottom: 28px;
}
.uh-hero h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: var(--hero-h1-size); letter-spacing: -0.045em;
  line-height: 0.92; margin: 0; color: var(--fg);
  text-wrap: balance; word-break: auto-phrase;
}
.uh-hero h1 em { font-style: normal; color: var(--brand-color, var(--accent)); }

.uh-list { padding: 32px 0 96px; }
.uh-list .container { max-width: 880px; }

.uh-loading-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 18px; color: var(--fg-muted); margin: 0 0 8px;
}
.uh-loading-body { font-size: 14px; color: var(--fg-subtle); margin: 0 0 24px; }
.uh-loading-body h2, .uh-loading-body h3 {
  font-family: var(--font-display); color: var(--fg);
  font-size: 22px; letter-spacing: -0.02em; margin: 28px 0 12px;
}
.uh-loading-body h3 { font-size: 18px; }
.uh-loading-body ul {
  margin: 8px 0 16px; padding-left: 22px;
  font-size: 15px; line-height: 1.7; color: var(--fg-muted);
}
.uh-loading-body ul li { margin-bottom: 6px; }
.uh-loading-body p { margin: 0 0 12px; font-size: 15px; line-height: 1.7; color: var(--fg-muted); }

/* update-history: live server returns <dl><dt.h4><dd><ul.li_circle> — separate each build */
.uh-loading-body dl { margin: 0; }
.uh-loading-body dt {
  font-family: var(--font-display); font-weight: 700;
  font-size: 18px; letter-spacing: -0.01em; color: var(--fg);
  margin: 0 0 10px;
}
.uh-loading-body dt.d_tm { margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--border); }
.uh-loading-body dd { margin: 0; }
.uh-loading-body dd ul { margin: 8px 0 0; }

.uh-error {
  padding: 24px; background: var(--bg-elev);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  font-size: 14px; color: var(--fg-muted); margin: 0;
}

.uh-maint-note {
  margin: 0 0 32px; padding: 16px 20px;
  background: var(--bg-elev);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  font-size: 14px; line-height: 1.65; color: var(--fg-muted);
}
.uh-maint-note a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }

.uh-versions { list-style: none; padding: 0; margin: 0; }
.uh-version { padding: 32px 0; border-top: 1px solid var(--border); }
.uh-version:first-child { border-top: none; padding-top: 0; }
.uh-version-head {
  display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap;
  margin: 0 0 16px;
}
.uh-ver {
  font-family: var(--font-display); font-weight: 800;
  font-size: 24px; letter-spacing: -0.02em; color: var(--fg);
}
.uh-date {
  font-family: var(--font-sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-muted);
}
.uh-changes {
  list-style: disc; padding-left: 22px; margin: 0;
  font-size: 15px; line-height: 1.7; color: var(--fg-muted);
}
.uh-changes li { margin-bottom: 6px; }

/* dlx-hero · rb-hero h1 — 통일 변수 사용 (CSS 정의 누락 보정) */
.dlx-hero h1,
.rb-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--hero-h1-size);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0 0 16px;
  color: var(--fg);
  text-wrap: balance;
}

/* ===== Accessibility: keyboard focus + reduced motion (2026-07-01) ===== */
/* 키보드 포커스 링 — 마우스 클릭엔 안 뜨고 Tab 이동 시에만(:focus-visible).
   accent 토큰이라 per-product 테마·다크에서 자동 추종. outline은 요소의 기존
   border-radius를 따라가므로 radius 재지정 안 함(pill/카드 모양 안 깨지게). */
:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
:where(a, button, input, textarea, select, summary, [tabindex]):focus:not(:focus-visible) {
  outline: none;
}

/* 모션 저감 선호 시 CSS 트랜지션·애니메이션·스무스 스크롤 무력화 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── 폼 결과 모달 (form-client.js) ── */
#fc-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(15, 20, 25, 0.45);
  display: grid; place-items: center; padding: 24px;
}
#fc-overlay[hidden] { display: none; }
.fc-dialog {
  background: var(--bg-elev); color: var(--fg);
  border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.22);
  max-width: 420px; width: 100%; padding: 28px 26px 22px;
  text-align: center;
}
.fc-icon {
  width: 46px; height: 46px; margin: 0 auto 14px;
  display: grid; place-items: center;
  border-radius: 50%; font-size: 22px; font-weight: 700;
}
.fc-success .fc-icon { background: rgba(43,138,62,0.12); color: #2B8A3E; }
.fc-error .fc-icon { background: rgba(192,57,43,0.12); color: #C0392B; }
#fc-msg { margin: 0 0 18px; font-size: 15px; line-height: 1.6; color: var(--fg); white-space: pre-line; }
.fc-ok { min-width: 96px; }

/* 폼 하단 인라인 메시지는 스크린리더 전용 — 화면 피드백은 모달(#fc-overlay)이 담당 (중복 표시 제거, 2026-08-11) */
.form-message {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  margin: 0 !important;
}

/* 제출 버튼 진행 스피너 */
.fc-spin {
  display: inline-block;
  width: 14px; height: 14px;
  margin-right: 8px;
  vertical-align: -2px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: fc-rot 0.7s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .fc-spin { animation: none; } }
@keyframes fc-rot { to { transform: rotate(360deg); } }
