/* ══════════════════════════════════════════
   FINGER DESIGN SYSTEM
   Revolut-inspired: zero shadows, pill buttons,
   billboard typography, dark/light section alternation
   ══════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --dark:    #0d1117;
  --white:   #ffffff;
  --surface: #f5f5f7;
  --blue:    #2563eb;
  --cyan:    #06b6d4;
  --purple:  #7c3aed;
  --teal:    #00a87e;
  --amber:   #f59e0b;
  --red:     #e23b4a;
  --muted:   #64748b;
  --muted-l: #a1a1aa;
  --border:  #e2e8f0;
  --pill:    9999px;
  --r-md:    20px;
  --r-sm:    12px;
  --px:  clamp(20px, 5vw, 80px);
  --py:  clamp(60px, 9vw, 120px);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Pretendard Variable','Pretendard',-apple-system,sans-serif;
  background: var(--white); color: var(--dark);
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── LAYOUT ── */
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--px); min-width: 0; }
.grid2  { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.grid3  { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.grid4  { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.flex   { display: flex; }
.flex-c { display: flex; align-items: center; }
.gap-4  { gap: 4px; } .gap-8 { gap: 8px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ── NAV ── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 64px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--px);
  transition: background .3s, backdrop-filter .3s;
}
#navbar.scrolled {
  background: rgba(13,17,23,.93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-logo {
  font-size: 21px; font-weight: 800; color: var(--white);
  letter-spacing: -.42px; flex-shrink: 0; z-index: 201;
}
.nav-logo span { color: var(--cyan); }
.nav-menu { display: flex; gap: 2px; align-items: center; }
.has-drop { position: relative; }
.nav-item {
  display: flex; align-items: center; gap: 5px;
  padding: 8px 16px; border-radius: var(--r-sm);
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,.70);
  cursor: pointer; white-space: nowrap;
  transition: color .2s, background .2s;
  user-select: none;
}
.nav-item::after {
  content: '▾'; font-size: 10px; opacity: .6;
  transition: transform .2s;
}
.has-drop:hover .nav-item { color: var(--white); background: rgba(255,255,255,.06); }
.has-drop:hover .nav-item::after { transform: rotate(180deg); }

/* Dropdown */
.drop-panel {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: rgba(13,17,23,.97);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r-md);
  padding: 18px 10px 10px;
  min-width: 160px;
  opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s;
  z-index: 300;
}
.has-drop:hover .drop-panel {
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.drop-panel a {
  display: block; padding: 9px 14px; border-radius: 10px;
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,.70);
  transition: color .15s, background .15s; white-space: nowrap;
}
.drop-panel a:hover { color: var(--white); background: rgba(255,255,255,.08); }
.drop-panel a.active { color: var(--cyan); }
.drop-group {
  padding: 10px 14px 5px; font-size: 10px; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: rgba(255,255,255,.34); white-space: nowrap;
}
.drop-group:first-child { padding-top: 2px; }

/* Business dropdown — 3 columns */
.drop-panel.wide {
  min-width: 340px;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2px;
}

/* 바로 가는 메뉴(뉴스룸·채용)와 오른쪽 '문의하기' 버튼 */
.nav-link::after { content: none; }
.nav-link:hover, .nav-link.active, .has-drop.current .nav-item { color: var(--white); }
.nav-link.active, .has-drop.current .nav-item { background: rgba(255,255,255,.06); }
.nav-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-cta {
  display: inline-flex; align-items: center; height: 34px; padding: 0 16px; border-radius: var(--pill);
  background: var(--white); color: var(--dark); font-size: 13px; font-weight: 700; white-space: nowrap;
  transition: background .2s, color .2s;
}
.nav-cta:hover, .nav-cta.active { background: var(--cyan); color: var(--dark); }
.mm-cta {
  margin-top: 20px; display: flex; align-items: center; justify-content: center; min-height: 48px;
  border-radius: var(--pill); background: var(--white); color: var(--dark); font-size: 15px; font-weight: 700;
}
.mm-lang { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }

/* Language Switch */
.lang-switch { display:flex; align-items:center; gap:2px; flex-shrink:0; }
.lang-btn {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.5);
  font-size: 13px; font-weight: 700;
  cursor: pointer; padding: 6px 13px;
  border-radius: var(--pill);
  transition: all .2s;
  font-family: inherit; letter-spacing: .3px;
}
.lang-btn.active { background: rgba(255,255,255,.12); color: var(--white); border-color: rgba(255,255,255,.45); }
.lang-btn:hover { color: var(--white); border-color: rgba(255,255,255,.45); }
.lang-sep { color: rgba(255,255,255,.18); font-size: 12px; padding: 0 2px; }

/* Burger */
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: .3s; }

/* Mobile menu */
#mobile-menu {
  position: fixed; top: 64px; left: 0; right: 0; z-index: 199;
  background: rgba(13,17,23,.98); backdrop-filter: blur(14px);
  padding: 16px var(--px) 28px;
  max-height: calc(100vh - 64px); overflow-y: auto;
  display: none; flex-direction: column;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
#mobile-menu.open { display: flex; }
.mm-section-title {
  font-size: 11px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: rgba(255,255,255,.30);
  padding: 16px 0 8px;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.mm-link {
  font-size: 15px; font-weight: 500; color: rgba(255,255,255,.70);
  padding: 11px 4px; border-bottom: 1px solid rgba(255,255,255,.04);
  transition: color .2s;
}
.mm-link:hover { color: var(--white); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: var(--pill);
  font-family: inherit; font-size: 15px; font-weight: 700;
  cursor: pointer; border: none; white-space: nowrap;
  transition: opacity .2s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-white      { background: var(--white);  color: var(--dark); }
.btn-white:hover { opacity: .88; }
.btn-dark       { background: var(--dark);   color: var(--white); }
.btn-dark:hover  { opacity: .82; }
.btn-ghost      { background: rgba(245,245,247,.07); color: rgba(245,245,247,.88); border: 1.5px solid rgba(245,245,247,.28); }
.btn-ghost:hover { background: rgba(245,245,247,.13); border-color: rgba(245,245,247,.55); }
.btn-outline-w  { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.35); }
.btn-outline-w:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.65); }
.btn-outline-d  { background: transparent; color: var(--dark); border: 1.5px solid var(--dark); }
.btn-outline-d:hover { background: var(--dark); color: var(--white); }
.btn-sm { padding: 10px 22px; font-size: 13px; }
.btn-cyan   { background: var(--cyan);   color: var(--dark); }
.btn-cyan:hover { opacity: .85; }
.btn-purple { background: var(--purple); color: var(--white); }
.btn-purple:hover { opacity: .85; }

/* ── LABELS ── */
.lbl {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 5px 13px; border-radius: var(--pill);
  margin-bottom: 20px;
}
.lbl-cyan   { background: rgba(6,182,212,.12);   color: var(--cyan); }
.lbl-purple { background: rgba(124,58,237,.12);  color: var(--purple); }
.lbl-blue   { background: rgba(37,99,235,.10);   color: var(--blue); }
.lbl-amber  { background: rgba(245,158,11,.12);  color: var(--amber); }
.lbl-teal   { background: rgba(0,168,126,.12);   color: var(--teal); }
.lbl-muted  { background: rgba(100,116,139,.10); color: var(--muted); }
.lbl-red    { background: rgba(226,59,74,.10);   color: var(--red); }

/* ── TYPOGRAPHY ── */
.h-xl { font-size: clamp(48px,7.5vw,110px); font-weight: 700; line-height: 1.00; letter-spacing: clamp(-1.5px,-.022em,-2.2px); }
.h-lg { font-size: clamp(36px,4.5vw,60px);  font-weight: 700; line-height: 1.06; letter-spacing: clamp(-1px,-.018em,-1.2px); }
.h-md { font-size: clamp(28px,3.5vw,48px);  font-weight: 700; line-height: 1.12; letter-spacing: clamp(-.7px,-.016em,-1px); }
/* Korean wraps at word (eojeol) boundaries, not mid-syllable; backstop breaks
   any token too wide for the viewport so headings never overflow on mobile. */
.h-xl, .h-lg, .h-md { word-break: keep-all; overflow-wrap: anywhere; }
.h-sm { font-size: clamp(20px,2.5vw,32px);  font-weight: 700; line-height: 1.20; letter-spacing: -.5px; }
.body-lg { font-size: clamp(15px,1.6vw,18px); line-height: 1.70; }
.body    { font-size: 15px; line-height: 1.65; }
.body-sm { font-size: 13px; line-height: 1.65; }
.text-muted   { color: var(--muted); }
.text-muted-l { color: var(--muted-l); }
.text-white   { color: var(--white); }
.text-cyan    { color: var(--cyan); }
.text-purple  { color: var(--purple); }
.text-blue    { color: var(--blue); }
.text-teal    { color: var(--teal); }
.grad-text {
  background: linear-gradient(120deg, var(--cyan) 0%, var(--blue) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.mb-4 { margin-bottom: 4px; } .mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; } .mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; } .mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; } .mb-40 { margin-bottom: 40px; }
.mb-48 { margin-bottom: 48px; } .mb-56 { margin-bottom: 56px; }
.mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-40 { margin-top: 40px; } .mt-48 { margin-top: 48px; }

/* ── CARDS ── */
.card {
  background: var(--white); border-radius: var(--r-md);
  padding: 32px 28px; border: 1px solid var(--border);
  transition: transform .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(37,99,235,.22); }
.card-dark {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-md); padding: 28px 24px;
  transition: background .25s, border-color .25s;
}
.card-dark:hover { background: rgba(255,255,255,.08); border-color: rgba(6,182,212,.28); }
.card-ico {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 18px;
}
.ico-blue   { background: rgba(37,99,235,.10); }
.ico-cyan   { background: rgba(6,182,212,.10); }
.ico-purple { background: rgba(124,58,237,.10); }
.ico-teal   { background: rgba(0,168,126,.10); }
.ico-amber  { background: rgba(245,158,11,.10); }
.ico-red    { background: rgba(226,59,74,.10); }
.card-title { font-size: 18px; font-weight: 700; letter-spacing: -.36px; margin-bottom: 10px; }
.card-desc  { font-size: 14px; line-height: 1.72; color: var(--muted); margin-bottom: 20px; }
.card-tags  { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.tag { font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: var(--pill); background: var(--surface); color: var(--muted); }
.card-more { font-size: 14px; font-weight: 700; color: var(--blue); display: inline-flex; align-items: center; gap: 5px; transition: gap .2s; }
.card-more:hover { gap: 9px; }
/* dark card inner typography */
.dc-badge { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .9px; text-transform: uppercase; color: var(--cyan); background: rgba(6,182,212,.12); padding: 3px 10px; border-radius: var(--pill); margin-bottom: 10px; }
.dc-title  { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 7px; letter-spacing: -.3px; }
.dc-desc   { font-size: 13px; line-height: 1.65; color: var(--muted-l); }

/* ── PAGE HERO ── */
.page-hero {
  background: var(--dark); padding: 130px var(--px) 80px;
  position: relative; overflow: hidden;
}
.page-hero-glow {
  position: absolute; top: -10%; right: -5%; width: 50%; height: 90%;
  background: radial-gradient(ellipse, rgba(37,99,235,.12) 0%, transparent 65%);
  pointer-events: none;
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: rgba(255,255,255,.35);
  margin-bottom: 24px;
}
.breadcrumb a { color: rgba(255,255,255,.35); transition: color .2s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,.18); }
.page-hero-title { color: var(--white); margin-bottom: 18px; }
.page-hero-desc  { color: var(--muted-l); max-width: 560px; }

/* ── SECTION HELPERS ── */
.sec-dark    { background: var(--dark);    padding: var(--py) var(--px); position: relative; overflow: hidden; }
.sec-white   { background: var(--white);   padding: var(--py) var(--px); }
.sec-surface { background: var(--surface); padding: var(--py) var(--px); }
.sec-header  { margin-bottom: 52px; }
.sec-header .body-lg { max-width: 560px; }

/* ── NUMBER CELLS ── */
.num-grid { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.num-cell { padding: 40px 28px; text-align: center; border-right: 1px solid var(--border); }
.num-cell:last-child { border-right: none; }
.num-val  { font-size: clamp(36px,5vw,60px); font-weight: 700; line-height: 1; letter-spacing: -1.2px; color: var(--dark); margin-bottom: 8px; }
.num-val .accent { color: var(--blue); }
.num-lbl  { font-size: 13px; font-weight: 500; color: var(--muted); line-height: 1.5; }

/* ── LOGO GRID ── */
.ref-grid  { display: grid; grid-template-columns: repeat(5,1fr); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.ref-item  { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 28px 20px; gap: 10px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); transition: background .2s; }
.ref-item:hover { background: var(--surface); }
.ref-item:nth-child(5n)          { border-right: none; }
.ref-item:nth-last-child(-n+5)   { border-bottom: none; }
.ref-ico  { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 900; }
.ref-name { font-size: 13px; font-weight: 700; text-align: center; }
.ref-sub  { font-size: 11px; color: var(--muted); text-align: center; }

/* ── TIMELINE (연혁) ── */
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ''; position: absolute; left: 0; top: 8px; bottom: 0; width: 2px; background: var(--border); }
.tl-item  { position: relative; margin-bottom: 44px; }
.tl-dot   { position: absolute; left: -37px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); border: 2px solid var(--white); box-shadow: 0 0 0 3px var(--blue); }
.tl-year  { font-size: 12px; font-weight: 700; color: var(--blue); letter-spacing: .4px; margin-bottom: 6px; }
.tl-title { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.tl-desc  { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── NEWS / BOARD ── */
.board-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.news-table { width: 100%; border-collapse: collapse; }
.news-table th { font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--muted); padding: 12px 16px; text-align: left; border-bottom: 2px solid var(--border); }
.news-table td { padding: 16px; border-bottom: 1px solid var(--border); font-size: 14px; }
.news-table tr:hover td { background: var(--surface); cursor: pointer; }
.news-td-title { font-weight: 600; color: var(--dark); }
.news-td-date  { color: var(--muted); white-space: nowrap; }
@media(max-width:719px) {
  .news-table thead { display: none; }
  .news-table, .news-table tbody { display: block; }
  .news-table tr { display: block; padding: 14px 16px; border-bottom: 1px solid var(--border); cursor: pointer; }
  .news-table tr:hover { background: var(--surface); }
  .news-table tr:hover td { background: transparent; cursor: pointer; }
  .news-table td { display: none; border: none; padding: 0; }
  .news-table td.news-td-title { display: block; font-size: 14px; line-height: 1.6; margin-bottom: 8px; }
  .news-table tr td:nth-child(3) { display: inline-block; margin-right: 8px; }
  .news-table tr td:nth-child(4) { display: inline-block; font-size: 12px; }
}
.nc-tag { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: var(--pill); }
.t-purple { background: rgba(124,58,237,.10); color: var(--purple); }
.t-cyan   { background: rgba(6,182,212,.10);  color: var(--cyan); }
.t-blue   { background: rgba(37,99,235,.10);  color: var(--blue); }
.t-teal   { background: rgba(0,168,126,.10);  color: var(--teal); }
.t-amber  { background: rgba(245,158,11,.10); color: var(--amber); }

/* Detail article */
.article-header { padding: 40px 0 32px; border-bottom: 1px solid var(--border); margin-bottom: 40px; }
.article-body   { font-size: 16px; line-height: 1.85; color: #374151; max-width: 720px; }
.article-body p { margin-bottom: 20px; }
.article-body h3 { font-size: 18px; font-weight: 700; margin: 32px 0 12px; }

/* ── FORMS ── */
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 20px; }
.form-label { font-size: 13px; font-weight: 700; color: var(--dark); }
.form-input, .form-select, .form-textarea {
  padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--r-sm);
  font-family: inherit; font-size: 15px; color: var(--dark); background: var(--white);
  transition: border-color .2s;
  width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── IR BOX ── */
.ir-box { background: var(--dark); border-radius: var(--r-md); padding: 32px; color: var(--white); }
.ir-code { font-size: 12px; font-weight: 700; letter-spacing: .5px; background: rgba(255,255,255,.10); padding: 5px 13px; border-radius: var(--pill); }
.ir-price { font-size: 42px; font-weight: 700; letter-spacing: -.84px; }
.ir-chg   { font-size: 13px; font-weight: 600; color: var(--teal); }
.ir-disc-date  { font-size: 11px; color: var(--muted-l); white-space: nowrap; padding-top: 2px; }
.ir-disc-title { font-size: 13px; color: rgba(255,255,255,.75); line-height: 1.5; }

/* ── FOOTER ── */
#footer {
  background: #080b10; padding: 72px var(--px) 36px;
  border-top: 1px solid rgba(255,255,255,.05);
}
.ft-grid { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 44px; margin-bottom: 52px; }
.ft-logo { font-size: 19px; font-weight: 800; color: var(--white); margin-bottom: 14px; }
.ft-logo span { color: var(--cyan); }
.ft-info { font-size: 13px; color: rgba(255,255,255,.30); line-height: 2.0; }
.ft-col-title { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,.38); margin-bottom: 14px; }
.ft-links { display: flex; flex-direction: column; gap: 9px; }
.ft-links a { font-size: 14px; color: rgba(255,255,255,.45); transition: color .2s; }
.ft-links a:hover { color: var(--white); }
.ft-bottom { border-top: 1px solid rgba(255,255,255,.05); padding-top: 26px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.ft-copy   { font-size: 12px; color: rgba(255,255,255,.24); }
.ft-badges { display: flex; gap: 10px; }
.ft-badge  { font-size: 11px; font-weight: 600; padding: 4px 11px; border-radius: var(--pill); border: 1px solid rgba(255,255,255,.10); color: rgba(255,255,255,.35); }

/* ── HERO SLIDER ── */
.slider-wrap { width: 100%; max-width: 100%; overflow: hidden; mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent); }
.slider-track { display: flex; gap: 52px; width: max-content; animation: slide 28s linear infinite; }
.slider-track:hover { animation-play-state: paused; }
.slider-item { font-size: 14px; font-weight: 700; color: rgba(255,255,255,.28); white-space: nowrap; transition: color .2s; }
.slider-item:hover { color: rgba(255,255,255,.60); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ── SCROLL ANIMATIONS ── */
.fade { opacity: 0; transform: translateY(24px); transition: opacity .6s ease-out, transform .6s ease-out; }
.fade.show { opacity: 1; transform: none; }
.d1 { transition-delay: .07s !important; } .d2 { transition-delay: .14s !important; }
.d3 { transition-delay: .21s !important; } .d4 { transition-delay: .28s !important; }

/* ── GLOW HELPERS ── */
.glow-blue   { position: absolute; pointer-events: none; background: radial-gradient(ellipse, rgba(37,99,235,.13) 0%, transparent 65%); }
.glow-cyan   { position: absolute; pointer-events: none; background: radial-gradient(ellipse, rgba(6,182,212,.11) 0%, transparent 65%); }
.glow-purple { position: absolute; pointer-events: none; background: radial-gradient(ellipse, rgba(124,58,237,.14) 0%, transparent 65%); }

/* ── ADMIN BADGE ── */
.admin-bar { background: var(--amber); color: var(--dark); font-size: 13px; font-weight: 700; padding: 10px var(--px); display: flex; align-items: center; justify-content: space-between; }

/* ══ LANGUAGE TOGGLE ══ */
html:not(.en) .en { display: none !important; }
html.en .ko { display: none !important; }

/* ══ RESPONSIVE ══ */
@media (max-width:1023px) {
  .grid3  { grid-template-columns: 1fr 1fr; }
  .grid4  { grid-template-columns: 1fr 1fr; }
  .ft-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .num-grid { grid-template-columns: 1fr 1fr; }
  .num-cell:nth-child(2) { border-right: none; }
  .num-cell:nth-child(1),.num-cell:nth-child(2) { border-bottom: 1px solid var(--border); }
  .num-cell:nth-child(3) { grid-column: 1 / -1; border-right: none; border-bottom: none; }
  .ref-grid { grid-template-columns: repeat(3,1fr); }
  .ref-item:nth-child(3n)          { border-right: none; }
  .ref-item:nth-child(5n)          { border-right: 1px solid var(--border); }
  .ref-item:nth-last-child(-n+5)   { border-bottom: 1px solid var(--border); }
  .ref-item:nth-last-child(-n+3)   { border-bottom: none; }
  .drop-panel.wide { grid-template-columns: 1fr 1fr; min-width: 260px; }
  .ft-grid > div:first-child { grid-column: 1 / -1; }
  .nav-item { padding: 8px 11px; }
  .nav-right { gap: 8px; }
}
@media (max-width:719px) {
  .nav-menu,.lang-switch,.nav-cta { display: none; }
  .nav-burger { display: flex; }
  .grid2,.grid3,.grid4 { grid-template-columns: 1fr; }
  .ft-grid { grid-template-columns: 1fr; gap: 28px; }
  .num-grid { grid-template-columns: 1fr; }
  .num-cell { border-right: none; border-bottom: 1px solid var(--border); }
  .num-cell:last-child { border-bottom: none; }
  .num-cell:nth-child(3) { grid-column: auto; }
  .form-row { grid-template-columns: 1fr; }
  .ref-grid { grid-template-columns: 1fr 1fr; }
}
