/* =========================================================
   itshin.com — Editorial Minimalism
   Built on OGQ Design System v1.1.0 tokens
   ========================================================= */

/* ---------- OGQ tokens (essential subset) ---------- */
:root {
  /* Mono */
  --mono-000: #ffffff;
  --mono-010: #fcfdfd;
  --mono-030: #f9fbfb;
  --mono-050: #f3f6f6;
  --mono-080: #edf1f1;
  --mono-100: #d8dfdf;
  --mono-200: #a7b6b9;
  --mono-300: #92a5a8;
  --mono-500: #7c9295;
  --mono-700: #57676b;
  --mono-800: #465357;
  --mono-900: #333e40;
  --mono-990: #262d2e;

  /* Primary — Teal brand */
  --teal-030: #eefbf6;
  --teal-050: #daf5ec;
  --teal-100: #b5e5d7;
  --teal-400: #28c799;
  --teal-500: #00c389;
  --teal-700: #00b57f;
  --teal-800: #009969;
  --teal-900: #007d56;

  /* Secondary — Purple */
  --purple-050: #e5dcfa;
  --purple-300: #a78fec;
  --purple-500: #703fe4;
  --purple-700: #5b1dcd;

  /* Accent */
  --blue-500: #1490eb;
  --red-500:  #e21235;
  --green:    #00ff85;
  --orange:   #ff550d;

  /* Social */
  --social-google:   #4285f4;
  --social-apple:    #000000;
  --social-kakao:    #fee500;
  --social-naver:    #03c75a;
  --social-facebook: #3d5a98;
  --social-linkedin: #0a66c2;
  --social-x:        #000000;
  --social-youtube:  #ff0000;

  /* Semantic */
  --success: #00c389;
  --warning: #ff9800;
  --error:   #e21235;
  --info:    #1384d7;

  /* Spacing */
  --sp-1: 2px; --sp-2: 4px;  --sp-3: 6px;  --sp-4: 8px;
  --sp-6: 12px; --sp-8: 16px; --sp-10: 20px; --sp-12: 24px;
  --sp-16: 32px; --sp-20: 40px; --sp-24: 48px; --sp-32: 64px;
  --sp-40: 80px; --sp-60: 120px; --sp-80: 160px;

  /* Radius */
  --r-sm: 4px; --r-md: 8px; --r-lg: 12px; --r-xl: 16px; --r-2xl: 20px; --r-full: 999px;

  /* Shadow */
  --sh-xs: 0 1px 2px 0 rgba(0,0,0,.05);
  --sh-sm: 0 1px 3px 0 rgba(0,0,0,.1), 0 1px 2px -1px rgba(0,0,0,.1);
  --sh-md: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
  --sh-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
  --sh-xl: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1);
  --sh-2xl: 0 25px 50px -12px rgba(0,0,0,.25);
  --sh-card: 0 4px 15px 0 rgba(222,222,222,.3);

  /* Motion */
  --d-instant: 50ms; --d-fast: 100ms; --d-normal: 200ms;
  --d-moderate: 300ms; --d-slow: 400ms; --d-slower: 500ms; --d-slowest: 700ms;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --ease-emphasize: cubic-bezier(0.3, 0, 0, 1);

  /* Layout — containers are full-width per product decision (2026-04-23).
     --container-narrow is kept narrow only for auth gates / login prompts. */
  --container: 100%;
  --container-narrow: 960px;
  --container-wide: 100%;
  --container-pad: clamp(24px, 4vw, 64px);
  --nav-h: 72px;

  /* Semantic theme — light default */
  --bg:        var(--mono-010);
  --bg-soft:   var(--mono-030);
  --bg-elev:   var(--mono-000);
  --bg-inverse:var(--mono-990);
  --surface:   var(--mono-000);
  --border:    var(--mono-080);
  --border-strong: var(--mono-100);
  --text:      var(--mono-990);
  --text-soft: var(--mono-700);
  --text-mute: var(--mono-500);
  --text-inverse: var(--mono-010);
  --accent:    var(--teal-500);
  --accent-hover: var(--teal-700);
  --accent-soft: var(--teal-030);
}

/* Dark theme */
:root[data-theme="dark"] {
  --bg:        #0e0f10;
  --bg-soft:   #151718;
  --bg-elev:   #1a1c1d;
  --bg-inverse:var(--mono-010);
  --surface:   #1a1c1d;
  --border:    #2a2d2f;
  --border-strong: #3a3d3f;
  --text:      #f2f4f4;
  --text-soft: #c2c7c7;
  --text-mute: #8a9090;
  --text-inverse: #0e0f10;
  --accent:    var(--teal-400);
  --accent-hover: var(--teal-100);
  --accent-soft: rgba(0,195,137,.12);
  --sh-sm: 0 1px 3px 0 rgba(0,0,0,.5), 0 1px 2px -1px rgba(0,0,0,.5);
  --sh-md: 0 4px 6px -1px rgba(0,0,0,.5), 0 2px 4px -2px rgba(0,0,0,.4);
  --sh-lg: 0 10px 15px -3px rgba(0,0,0,.5), 0 4px 6px -4px rgba(0,0,0,.4);
  --sh-xl: 0 20px 25px -5px rgba(0,0,0,.5), 0 8px 10px -6px rgba(0,0,0,.4);
  --sh-2xl: 0 25px 50px -12px rgba(0,0,0,.6);
  --sh-card: 0 4px 15px 0 rgba(0,0,0,.4);
}

/* ---------- Fonts (parity with ogqpitchdeck.itshin.com) ----------
 * Per-language native font for trust:
 *   ko     Pretendard Variable
 *   en/fr/es/ru  Inter + Fraunces
 *   zh-CN  Noto Sans SC / Noto Serif SC
 *   zh-TW  Noto Sans TC / Noto Serif TC
 *   ja     Noto Sans JP / Noto Serif JP
 *   hi     Noto Sans Devanagari / Noto Serif Devanagari
 */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.css');
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..900;1,9..144,300..900&family=Inter:wght@300..800&family=JetBrains+Mono:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300..700&family=Noto+Serif+SC:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300..700&family=Noto+Serif+TC:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300..700&family=Noto+Serif+JP:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@300..700&family=Noto+Serif+Devanagari:wght@300..700&display=swap');

:root {
  --font-sans-ko: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', sans-serif;
  --font-sans-en: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --font-sans-cn: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
  --font-sans-tw: 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
  --font-sans-jp: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif;
  --font-sans-hi: 'Noto Sans Devanagari', 'Inter', sans-serif;
  --font-serif-en: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-serif-cn: 'Noto Serif SC', 'Songti SC', 'SimSun', serif;
  --font-serif-tw: 'Noto Serif TC', 'Songti TC', 'PMingLiU', serif;
  --font-serif-jp: 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --font-serif-hi: 'Noto Serif Devanagari', 'Fraunces', serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-rendering: optimizeLegibility; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans-ko);
  font-feature-settings: 'ss01', 'ss02', 'ss03', 'tnum';
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  transition: background var(--d-moderate) var(--ease), color var(--d-moderate) var(--ease);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Language-scoped font stacks ---------- */
html[lang="ko"]     body { font-family: var(--font-sans-ko); }
html[lang="en"]     body,
html[lang="fr"]     body,
html[lang="es"]     body,
html[lang="ru"]     body { font-family: var(--font-sans-en); }
html[lang="zh-CN"]  body { font-family: var(--font-sans-cn); }
html[lang="zh-TW"]  body { font-family: var(--font-sans-tw); }
html[lang="ja"]     body { font-family: var(--font-sans-jp); }
html[lang="hi"]     body { font-family: var(--font-sans-hi); }

/* Serif (display) rules per language — keeps Fraunces for Latin, switches for CJK/Devanagari */
html[lang="zh-CN"]  .font-serif,
html[lang="zh-CN"]  h1, html[lang="zh-CN"] h2, html[lang="zh-CN"] h3 { font-family: var(--font-serif-cn); }
html[lang="zh-TW"]  .font-serif,
html[lang="zh-TW"]  h1, html[lang="zh-TW"] h2, html[lang="zh-TW"] h3 { font-family: var(--font-serif-tw); }
html[lang="ja"]     .font-serif,
html[lang="ja"]     h1, html[lang="ja"] h2, html[lang="ja"] h3 { font-family: var(--font-serif-jp); }
html[lang="hi"]     .font-serif,
html[lang="hi"]     h1, html[lang="hi"] h2, html[lang="hi"] h3 { font-family: var(--font-serif-hi); }

[dir="rtl"] body { font-family: 'IBM Plex Sans Arabic', var(--font-sans-ko); }

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--d-fast) var(--ease); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

/* ---------- Typography — OGQ DS v1.1.0 scale ----------
   All headings and display text use Pretendard Variable with semibold/bold weights.
   Per OGQ DS, no italic serif in UI chrome (that gives an "AI-generated" aesthetic).
   Fraunces is retained only as an optional decorative serif via .font-display--serif. */
.font-serif { font-family: var(--font-sans-ko); font-weight: 700; letter-spacing: -0.02em; }
.font-mono  { font-family: var(--font-mono); }
.font-display--serif { font-family: 'Fraunces', Georgia, serif; font-style: italic; font-weight: 500; }

/* OGQ DS typography scale (display-xl/lg/md, heading-xl/lg/md/sm, body-lg/md/sm, caption) */
.t-display-xl { font-size: clamp(2.75rem, 5.5vw, 3.5rem);  line-height: 1.1;  letter-spacing: -0.025em; font-weight: 700; }
.t-display-lg { font-size: clamp(2.25rem, 4.5vw, 3rem);    line-height: 1.15; letter-spacing: -0.02em;  font-weight: 700; }
.t-display-md { font-size: clamp(1.75rem, 3.5vw, 2.25rem); line-height: 1.2;  letter-spacing: -0.015em; font-weight: 600; }
.t-heading-xl { font-size: 1.875rem; line-height: 1.25; letter-spacing: -0.01em;  font-weight: 600; }
.t-heading-lg { font-size: 1.5rem;   line-height: 1.3;  letter-spacing: -0.005em; font-weight: 600; }
.t-heading-md { font-size: 1.25rem;  line-height: 1.4;  font-weight: 600; }
.t-heading-sm { font-size: 1.125rem; line-height: 1.4;  font-weight: 500; }
.t-body-lg    { font-size: 1.125rem; line-height: 1.6;  font-weight: 400; }
.t-body-md    { font-size: 1rem;     line-height: 1.6;  font-weight: 400; }
.t-body-sm    { font-size: 0.875rem; line-height: 1.55; font-weight: 400; }
.t-caption    { font-size: 0.75rem;  line-height: 1.4;  font-weight: 500; letter-spacing: 0.02em; }

h1, h2, h3, h4 { margin: 0; font-family: inherit; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; color: var(--text); }
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem);  letter-spacing: -0.025em; }
h2 { font-size: clamp(1.875rem, 3.5vw, 2.5rem); letter-spacing: -0.02em; font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem);   letter-spacing: -0.01em; line-height: 1.3;  font-weight: 600; }
h4 { font-size: 1.125rem; letter-spacing: 0; line-height: 1.4; font-weight: 600; }

/* Legacy .display is now OGQ display-lg — Pretendard bold, no italic serif. */
.display {
  font-family: inherit;
  font-weight: 700;
  font-style: normal;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

/* Global override: any inline style that asks for Fraunces italic is coerced back to the OGQ sans
   stack with a bold weight. This lets existing pages match the new aesthetic without edits. */
[style*="Fraunces"] {
  font-family: var(--font-sans-ko) !important;
  font-style: normal !important;
  font-weight: 700 !important;
}
html[lang="en"] [style*="Fraunces"],
html[lang="fr"] [style*="Fraunces"],
html[lang="es"] [style*="Fraunces"],
html[lang="ru"] [style*="Fraunces"] { font-family: var(--font-sans-en) !important; }
html[lang="zh-CN"] [style*="Fraunces"] { font-family: var(--font-sans-cn) !important; }
html[lang="zh-TW"] [style*="Fraunces"] { font-family: var(--font-sans-tw) !important; }
html[lang="ja"]    [style*="Fraunces"] { font-family: var(--font-sans-jp) !important; }
html[lang="hi"]    [style*="Fraunces"] { font-family: var(--font-sans-hi) !important; }

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
}

p { margin: 0 0 1em; color: var(--text-soft); }
.lead { font-size: 1.25rem; line-height: 1.55; color: var(--text-soft); max-width: 62ch; }

/* ---------- Layout primitives ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--container-pad); }
.container-narrow { width: 100%; max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--sp-24); }
.container-wide { width: 100%; max-width: var(--container-wide); margin: 0 auto; padding: 0 var(--container-pad); }
@media (max-width: 640px) {
  .container, .container-wide { padding: 0 var(--sp-16); }
  .container-narrow { padding: 0 var(--sp-16); }
}

.section { padding: clamp(3rem, 8vw, 7rem) 0; }
.section-sm { padding: clamp(2rem, 5vw, 4rem) 0; }

.grid { display: grid; gap: var(--sp-24); }
.flex { display: flex; }
.stack { display: flex; flex-direction: column; gap: var(--sp-12); }

.hide-mobile { display: initial; }
.show-mobile { display: none; }
@media (max-width: 768px) {
  .hide-mobile { display: none !important; }
  .show-mobile { display: initial; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--sp-8);
  padding: 0 var(--sp-20);
  height: 44px;
  border-radius: var(--r-full);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: all var(--d-normal) var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
}
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.btn-primary {
  background: var(--mono-990);
  color: var(--mono-010);
  border-color: var(--mono-990);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--sh-md); }
:root[data-theme="dark"] .btn-primary {
  background: var(--mono-010);
  color: var(--mono-990);
  border-color: var(--mono-010);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-secondary:hover { background: var(--bg-soft); border-color: var(--text); }

.btn-accent {
  background: var(--accent);
  color: var(--mono-990);
  border-color: var(--accent);
}
.btn-accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

/* OGQ brand teal button — use for primary CTAs that want the OGQ identity */
.btn-teal {
  background: var(--teal-500);
  color: #fff;
  border-color: var(--teal-500);
}
.btn-teal:hover { background: var(--teal-700); border-color: var(--teal-700); transform: translateY(-1px); box-shadow: var(--sh-md); }

/* Nav links — 강의·프로덕트 menu items in OGQ brand teal */
.nav-link--teal { color: var(--teal-700); font-weight: 600; }
.nav-link--teal:hover,
.nav-link--teal.active { color: var(--teal-900); }
:root[data-theme="dark"] .nav-link--teal { color: var(--teal-400); }
:root[data-theme="dark"] .nav-link--teal:hover { color: var(--teal-100); }

.btn-ghost {
  background: transparent;
  color: var(--text);
}
.btn-ghost:hover { background: var(--bg-soft); }

.btn-sm { height: 36px; padding: 0 var(--sp-16); font-size: 0.875rem; }
.btn-lg { height: 52px; padding: 0 var(--sp-24); font-size: 1rem; }

.btn-block { width: 100%; }

.btn-icon {
  width: 40px; height: 40px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-full);
  background: transparent;
  border: 1px solid transparent;
  color: var(--text);
  transition: all var(--d-normal) var(--ease);
}
.btn-icon:hover { background: var(--bg-soft); }

/* ---------- Pills / Chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: var(--sp-4);
  padding: var(--sp-3) var(--sp-10);
  border-radius: var(--r-full);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  background: var(--bg-soft);
  color: var(--text-soft);
  border: 1px solid var(--border);
}
.chip-dot::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); display: inline-block;
}
.chip-accent { background: var(--accent-soft); color: var(--accent-hover); border-color: var(--teal-100); }
:root[data-theme="dark"] .chip-accent { color: var(--teal-400); border-color: rgba(40,199,153,.3); }
.chip-purple { background: #f1ecfc; color: var(--purple-700); border-color: var(--purple-050); }
:root[data-theme="dark"] .chip-purple { background: rgba(112,63,228,.15); color: var(--purple-300); border-color: rgba(112,63,228,.3); }

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-24);
  transition: transform var(--d-moderate) var(--ease),
              box-shadow var(--d-moderate) var(--ease),
              border-color var(--d-moderate) var(--ease);
}
.card-hover:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-lg);
  border-color: var(--border-strong);
}
.card-lg { padding: var(--sp-32); border-radius: var(--r-2xl); }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: var(--sp-4); }
.field label { font-size: 0.8125rem; font-weight: 500; color: var(--text-soft); letter-spacing: -0.01em; }
.input, .textarea, .select {
  width: 100%;
  padding: var(--sp-12) var(--sp-14, 14px);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--text);
  font-size: 0.9375rem;
  transition: border-color var(--d-fast) var(--ease), box-shadow var(--d-fast) var(--ease);
}
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.textarea { min-height: 120px; resize: vertical; font-family: inherit; line-height: 1.6; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--d-normal) var(--ease), background var(--d-normal) var(--ease);
}
.nav-scrolled { border-bottom-color: var(--border); }

.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-24);
}
.nav-brand {
  display: inline-flex; align-items: center; gap: var(--sp-10);
  color: var(--text);
  text-decoration: none;
}
.nav-brand .brand-logo {
  width: 28px; height: 28px;
  border-radius: 6px;
  display: block;
  flex-shrink: 0;
}
.nav-brand .brand-wordmark {
  font-family: var(--font-sans-en);
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: 0.02em;
  color: var(--text);
  white-space: nowrap;
}
.nav-links {
  display: flex; align-items: center; gap: var(--sp-4);
  list-style: none; margin: 0; padding: 0;
}
.nav-link {
  position: relative;
  padding: var(--sp-8) var(--sp-14, 14px);
  border-radius: var(--r-full);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: color var(--d-fast) var(--ease), background var(--d-fast) var(--ease);
}
.nav-link:hover { color: var(--text); background: var(--bg-soft); }
.nav-link.active { color: var(--text); }
.nav-link.active::after {
  content: '';
  position: absolute; left: 50%; bottom: -6px;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent);
  transform: translateX(-50%);
}

.nav-actions { display: flex; align-items: center; gap: var(--sp-6); }

/* ---------- Nav mobile ---------- */
.mobile-menu-btn { display: none; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: inline-flex; }
}
.mobile-sheet {
  position: fixed; inset: 0; z-index: 100;
  background: var(--bg);
  padding: var(--sp-24);
  display: none;
  flex-direction: column;
}
.mobile-sheet.open { display: flex; animation: slideDown var(--d-moderate) var(--ease); }
.mobile-sheet .nav-link { padding: var(--sp-16); font-size: 1.25rem; font-weight: 500; color: var(--text); border-bottom: 1px solid var(--border); border-radius: 0; }
.mobile-sheet .nav-link.active::after { display: none; }
.mobile-sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--sp-24); }

@keyframes slideDown { from { transform: translateY(-10px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ---------- Language switcher ---------- */
.lang-switch {
  position: relative;
}
.lang-btn {
  display: inline-flex; align-items: center; gap: var(--sp-4);
  padding: var(--sp-6) var(--sp-10);
  border-radius: var(--r-full);
  background: transparent;
  color: var(--text-soft);
  font-size: 0.8125rem;
  font-weight: 500;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.05em;
  border: 1px solid var(--border);
  transition: all var(--d-fast) var(--ease);
  text-transform: uppercase;
}
.lang-btn:hover { background: var(--bg-soft); color: var(--text); border-color: var(--border-strong); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  min-width: 200px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xl);
  padding: var(--sp-6);
  z-index: 60;
  display: none;
  animation: menuIn var(--d-fast) var(--ease);
}
.lang-switch.open .lang-menu { display: block; }
.lang-menu button {
  display: flex; width: 100%;
  align-items: center; justify-content: space-between;
  padding: var(--sp-10) var(--sp-12);
  border-radius: var(--r-md);
  font-size: 0.875rem;
  color: var(--text);
  text-align: left;
  transition: background var(--d-fast) var(--ease);
}
.lang-menu button:hover { background: var(--bg-soft); }
.lang-menu button.active { background: var(--accent-soft); color: var(--accent-hover); }
.lang-menu button .native { color: var(--text-mute); font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; text-transform: uppercase; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Modal ---------- */
.backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: color-mix(in srgb, var(--mono-990) 40%, transparent);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--sp-16);
  animation: fadeIn var(--d-moderate) var(--ease);
}
.backdrop.open { display: flex; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal {
  background: var(--surface);
  border-radius: var(--r-2xl);
  width: 100%;
  max-width: 440px;
  padding: var(--sp-32);
  box-shadow: var(--sh-2xl);
  animation: modalIn var(--d-moderate) var(--ease-emphasize);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}
.modal-lg { max-width: 720px; padding: var(--sp-32) var(--sp-32); }
@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: var(--sp-24); gap: var(--sp-16); }
.modal-title { font-family: inherit; font-style: normal; font-weight: 600; font-size: 1.75rem; letter-spacing: -0.03em; line-height: 1.15; color: var(--text); }
.modal-subtitle { font-size: 0.9375rem; color: var(--text-soft); margin-top: var(--sp-4); }
.modal-close { font-size: 20px; }

/* ---------- OAuth button (login modal) ---------- */
.oauth-btn {
  display: flex; align-items: center; justify-content: center;
  gap: var(--sp-10);
  padding: 0 var(--sp-20);
  width: 100%;
  height: 48px;
  border-radius: var(--r-full);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all var(--d-fast) var(--ease);
}
.oauth-btn:hover { background: var(--bg-soft); border-color: var(--text); }
.oauth-btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.divider-or {
  display: flex; align-items: center; gap: var(--sp-12);
  color: var(--text-mute);
  font-size: 0.8125rem;
  margin: var(--sp-20) 0;
}
.divider-or::before, .divider-or::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

/* ---------- Auth modal (ChatGPT-style) ---------- */
.modal .modal-close-x {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; background: transparent; color: var(--text-mute);
  border-radius: 50%; cursor: pointer;
  transition: background var(--d-fast) var(--ease), color var(--d-fast) var(--ease);
}
.modal .modal-close-x:hover { background: var(--surface-2, #f5f5f2); color: var(--text); }

.modal { position: relative; max-width: 460px; padding: 40px 28px 32px; }

.auth-modal { text-align: center; }
.auth-modal-title {
  font-family: var(--font-sans-ko);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text);
  margin: 8px 0 12px;
  white-space: nowrap;          /* prevent "로그인 또는 회원가" + "입" breaking */
  overflow: visible;
}
html[lang="en"] .auth-modal-title,
html[lang="fr"] .auth-modal-title,
html[lang="es"] .auth-modal-title,
html[lang="ru"] .auth-modal-title { font-family: var(--font-sans-en); font-weight: 700; }
html[lang="zh-CN"] .auth-modal-title { font-family: var(--font-sans-cn); }
html[lang="zh-TW"] .auth-modal-title { font-family: var(--font-sans-tw); }
html[lang="ja"]    .auth-modal-title { font-family: var(--font-sans-jp); }
html[lang="hi"]    .auth-modal-title { font-family: var(--font-sans-hi); }

.auth-modal-subtitle {
  font-size: 0.9375rem;
  color: var(--text-soft);
  line-height: 1.5;
  margin: 0 auto 28px;
  max-width: 34ch;
}

.auth-oauth-stack { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; text-align: left; }

.oauth-pill {
  display: flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 0 20px;
  width: 100%;
  height: 48px;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--surface, #fff);
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--d-fast) var(--ease), border-color var(--d-fast) var(--ease);
}
.oauth-pill:hover { background: var(--surface-2, #f5f5f2); border-color: var(--text-mute); }
.oauth-pill svg { flex-shrink: 0; }

.auth-divider {
  display: flex; align-items: center; gap: 12px;
  color: var(--text-mute);
  font-size: 0.8125rem;
  margin: 16px 0 18px;
}
.auth-divider::before, .auth-divider::after { content:''; flex:1; height:1px; background: var(--border); }

.auth-email-input {
  height: 48px;
  border-radius: 9999px;
  padding: 0 20px;
  background: var(--surface, #fff);
  border: 1px solid var(--border);
  font-size: 0.9375rem;
}
.auth-email-input:focus { border-color: var(--text); outline: none; }

.auth-continue-btn {
  height: 48px;
  border-radius: 9999px;
  margin-top: 12px;
  font-weight: 600;
  letter-spacing: -0.005em;
  background: var(--text);
  color: var(--bg, #fff);
  border: 0;
}
.auth-continue-btn:hover { opacity: 0.92; }
:root[data-theme="dark"] .auth-continue-btn { background: #fff; color: #000; }

.auth-text-btn {
  display: block; width: 100%;
  background: transparent; border: 0;
  color: var(--text-mute);
  padding: 12px;
  margin-top: 8px;
  font-size: 0.875rem;
  cursor: pointer;
}
.auth-text-btn:hover { color: var(--text); }

/* ---------- Utilities ---------- */
.text-soft { color: var(--text-soft); }
.text-mute { color: var(--text-mute); }
.text-accent { color: var(--accent); }
.bg-soft { background: var(--bg-soft); }

.divider { height: 1px; background: var(--border); margin: var(--sp-24) 0; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Toast ---------- */
.toast-host {
  position: fixed;
  top: calc(var(--nav-h) + 16px); right: var(--sp-16);
  z-index: 300;
  display: flex; flex-direction: column; gap: var(--sp-8);
  pointer-events: none;
}
.toast {
  min-width: 280px; max-width: 420px;
  background: var(--mono-990);
  color: var(--mono-010);
  padding: var(--sp-14, 14px) var(--sp-16);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xl);
  font-size: 0.875rem;
  pointer-events: auto;
  animation: toastIn var(--d-moderate) var(--ease);
  display: flex; align-items: flex-start; gap: var(--sp-10);
}
.toast.success { background: var(--teal-800); color: #fff; }
.toast.error { background: var(--red-500); color: #fff; }
@keyframes toastIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }

/* ---------- Footer ---------- */
.footer {
  margin-top: var(--sp-60);
  padding: var(--sp-60) 0 var(--sp-40);
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--sp-40);
  margin-bottom: var(--sp-40);
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-24); } }
.footer h5 { font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-mute); margin-bottom: var(--sp-16); font-weight: 600; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--sp-10); }
.footer a { color: var(--text-soft); font-size: 0.9375rem; }
.footer a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: var(--sp-16);
  padding-top: var(--sp-24);
  border-top: 1px solid var(--border);
  color: var(--text-mute);
  font-size: 0.8125rem;
}
.socials { display: flex; gap: var(--sp-4); }
.socials a {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-full);
  color: var(--text-soft);
  transition: all var(--d-fast) var(--ease);
}
.socials a:hover { background: var(--surface); color: var(--accent); }

/* ---------- Page-specific sections ---------- */

/* Hero (homepage) */
.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: var(--sp-60);
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--sp-40); }
}

.hero-tag { margin-bottom: var(--sp-20); }
.hero-title {
  font-family: inherit;
  font-weight: 700;
  font-style: normal;
  font-size: clamp(2.75rem, 6.5vw, 5.25rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: var(--sp-24);
}
.hero-title .underline {
  background: linear-gradient(180deg, transparent 68%, var(--accent-soft) 68%);
  padding: 0 0.05em;
  font-style: normal;
  font-weight: 700;
}
.hero-title em.quiet { color: var(--text-soft); font-style: normal; font-weight: 500; }

.hero-lede {
  max-width: 54ch;
  font-size: 1.1875rem;
  color: var(--text-soft);
  line-height: 1.55;
  margin-bottom: var(--sp-32);
}

.hero-cta { display: flex; gap: var(--sp-10); flex-wrap: wrap; margin-bottom: var(--sp-40); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-24);
  padding-top: var(--sp-24);
  border-top: 1px solid var(--border);
}
@media (max-width: 640px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: var(--sp-16); }
}
.stat-num { font-family: inherit; font-style: normal; font-weight: 700; font-size: 2rem; letter-spacing: -0.02em; line-height: 1; color: var(--text); }
.stat-lbl { font-size: 0.8125rem; color: var(--text-mute); margin-top: var(--sp-4); letter-spacing: 0.02em; }

/* Hero portrait */
.portrait {
  position: relative;
  aspect-ratio: 4/5;
  max-width: 440px;
  margin-left: auto;
}
.portrait-card {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  transform: rotate(-1.5deg);
  box-shadow: var(--sh-xl);
  background: linear-gradient(135deg, var(--teal-050) 0%, var(--mono-080) 100%);
  transition: transform var(--d-slower) var(--ease);
}
:root[data-theme="dark"] .portrait-card {
  background: linear-gradient(135deg, rgba(0,195,137,.1) 0%, rgba(30,30,30,1) 100%);
}
.portrait-card:hover { transform: rotate(-0.5deg) scale(1.01); }
.portrait-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center;
}

/* ---------- Product cards ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--sp-24);
}
.product-card {
  background: var(--surface, #fff);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--d-moderate) var(--ease), box-shadow var(--d-moderate) var(--ease), border-color var(--d-moderate) var(--ease);
}
.product-card:hover { transform: translateY(-2px); box-shadow: var(--sh-md, 0 8px 24px rgba(0,0,0,.06)); border-color: var(--text-mute); }
.product-thumb {
  aspect-ratio: 16 / 9;
  background: var(--surface-2, #f5f5f2);
  overflow: hidden;
  position: relative;
}
.product-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-thumb--placeholder {
  background: linear-gradient(135deg, var(--teal-050, rgba(0,195,137,.08)) 0%, var(--surface-2, #f5f5f2) 100%);
  display: flex; align-items: center; justify-content: center;
}
.product-body { padding: var(--sp-20); display: flex; flex-direction: column; gap: var(--sp-8); flex: 1; }
.product-meta { display: flex; flex-wrap: wrap; gap: var(--sp-6); align-items: center; }
.product-title { font-family: inherit; font-style: normal; font-weight: 600; font-size: 1.5rem; letter-spacing: -0.02em; margin: var(--sp-6) 0 0; }
.product-desc  { font-size: 0.9375rem; line-height: 1.5; margin: 0; }
.product-actions { display: flex; gap: var(--sp-8); margin-top: auto; padding-top: var(--sp-12); flex-wrap: wrap; }

/* ---------- Naver search result card (profile career tabs) ---------- */
.naver-card {
  display: flex; align-items: center; gap: var(--sp-14);
  padding: var(--sp-14) var(--sp-18);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface, #fff);
  color: var(--text);
  text-decoration: none;
  margin-bottom: var(--sp-24);
  transition: border-color var(--d-fast) var(--ease), box-shadow var(--d-fast) var(--ease), transform var(--d-fast) var(--ease);
}
.naver-card:hover {
  border-color: #03C75A;
  box-shadow: 0 6px 18px rgba(3,199,90,.12);
  transform: translateY(-1px);
}
.naver-card-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px 6px 6px;
  border-radius: 9999px;
  background: #03C75A;
  color: #fff;
  flex-shrink: 0;
}
.naver-card-badge .naver-logo {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  color: #03C75A;
  font-weight: 800;
  font-family: var(--font-sans-en);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
}
.naver-card-badge .naver-text {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.naver-card-body { flex: 1; min-width: 0; }
.naver-card-title { font-size: 0.95rem; font-weight: 600; margin-bottom: 2px; }
.naver-card-url { font-size: 0.75rem; color: var(--text-mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.naver-card-arrow {
  font-size: 1.25rem; color: var(--text-mute);
  flex-shrink: 0;
  transition: transform var(--d-fast) var(--ease);
}
.naver-card:hover .naver-card-arrow { transform: translateX(4px); color: #03C75A; }
/* Theme-aware character: show only the version matching current theme */
.portrait-character--dark  { display: none; }
:root[data-theme="dark"] .portrait-character--light { display: none; }
:root[data-theme="dark"] .portrait-character--dark  { display: block; }
.portrait-overlay {
  position: absolute; left: var(--sp-16); bottom: var(--sp-16);
  right: var(--sp-16);
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.5));
  padding: var(--sp-40) var(--sp-16) var(--sp-16);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.portrait-badge {
  position: absolute; top: -10px; right: -10px;
  background: var(--accent);
  color: var(--mono-990);
  padding: var(--sp-6) var(--sp-12);
  border-radius: var(--r-full);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(8deg);
  box-shadow: var(--sh-md);
}
.portrait-tape {
  position: absolute;
  width: 64px; height: 20px;
  background: rgba(255,220,100,.65);
  top: -8px; left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  box-shadow: var(--sh-sm);
  z-index: 2;
}

/* Section head */
.section-head { margin-bottom: var(--sp-40); display: flex; justify-content: space-between; align-items: end; gap: var(--sp-24); flex-wrap: wrap; }
.section-head h2 { max-width: 18ch; }
.section-head .eyebrow { margin-bottom: var(--sp-12); display: block; }
.section-head-aside { max-width: 42ch; }

/* Horizontal rule with label */
.rule-label { display: flex; align-items: center; gap: var(--sp-16); margin-bottom: var(--sp-40); }
.rule-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.rule-label .eyebrow { display: inline-block; }

/* --- People (positions) --- */
.positions { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-24); }
@media (max-width: 768px) { .positions { grid-template-columns: 1fr; } }
.position-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-32);
  position: relative;
  overflow: hidden;
  transition: all var(--d-moderate) var(--ease);
}
.position-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--d-slower) var(--ease);
}
.position-card:hover::before { transform: scaleX(1); }
.position-card:hover { border-color: var(--border-strong); box-shadow: var(--sh-md); transform: translateY(-2px); }
.pos-head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--sp-16); margin-bottom: var(--sp-16); }
.pos-meta { display: flex; flex-wrap: wrap; gap: var(--sp-6); margin-bottom: var(--sp-16); }
.pos-desc { color: var(--text-soft); font-size: 0.9375rem; line-height: 1.55; margin-bottom: var(--sp-20); }
.pos-foot { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-16); padding-top: var(--sp-16); border-top: 1px solid var(--border); }
.pos-foot .applicants { font-size: 0.8125rem; color: var(--text-mute); display: inline-flex; align-items: center; gap: var(--sp-6); }
.pos-foot .applicants .num { font-family: inherit; font-style: normal; font-size: 1.25rem; color: var(--text); }

/* --- Missions --- */
.missions { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-24); }
@media (max-width: 768px) { .missions { grid-template-columns: 1fr; } }
.mission-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: all var(--d-moderate) var(--ease);
  display: flex; flex-direction: column;
}
.mission-card:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.mission-cover {
  aspect-ratio: 16/9;
  background: var(--bg-soft);
  position: relative;
  overflow: hidden;
}
.mission-cover svg { width: 100%; height: 100%; display: block; }
.mission-body { padding: var(--sp-24); flex: 1; display: flex; flex-direction: column; gap: var(--sp-10); }
.mission-title { font-size: 1.375rem; letter-spacing: -0.02em; line-height: 1.25; }
.mission-desc { color: var(--text-soft); font-size: 0.9375rem; line-height: 1.55; flex: 1; }
.mission-foot { display: flex; justify-content: space-between; align-items: center; margin-top: var(--sp-12); padding-top: var(--sp-16); border-top: 1px solid var(--border); gap: var(--sp-12); }

/* --- Thoughts --- */
.thoughts-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--sp-32);
}
@media (max-width: 900px) { .thoughts-grid { grid-template-columns: 1fr; } }
.thought-featured {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: all var(--d-moderate) var(--ease);
}
.thought-featured:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.thought-cover {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--teal-100), var(--purple-050));
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
:root[data-theme="dark"] .thought-cover { background: linear-gradient(135deg, rgba(0,195,137,.15), rgba(112,63,228,.15)); }
.thought-cover .cover-text {
  font-family: inherit; font-style: normal; font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1; letter-spacing: -0.03em;
  padding: var(--sp-24) var(--sp-32);
  color: var(--mono-990);
}
:root[data-theme="dark"] .thought-cover .cover-text { color: #fff; }
.thought-body { padding: var(--sp-32); }
.thought-body h3 { font-size: 1.625rem; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: var(--sp-12); }
.thought-body p { font-size: 1rem; color: var(--text-soft); line-height: 1.55; margin-bottom: var(--sp-20); }
.thought-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-10); font-size: 0.8125rem; color: var(--text-mute); }
.thought-meta .dot-sep::before { content: '·'; margin: 0 var(--sp-6); color: var(--text-mute); }

.thought-side { display: flex; flex-direction: column; gap: var(--sp-16); }
.thought-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: var(--sp-16);
  padding: var(--sp-16);
  border-radius: var(--r-lg);
  transition: background var(--d-fast) var(--ease);
}
.thought-item:hover { background: var(--bg-soft); }
.thought-item-cover {
  aspect-ratio: 1;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--teal-050), var(--purple-050));
  display: flex; align-items: center; justify-content: center;
  font-family: inherit; font-style: normal; font-size: 1.5rem;
  color: var(--mono-700);
}
:root[data-theme="dark"] .thought-item-cover { background: linear-gradient(135deg, rgba(0,195,137,.2), rgba(112,63,228,.2)); color: var(--mono-100); }
.thought-item h4 { font-size: 1rem; line-height: 1.3; margin-bottom: var(--sp-6); }
.thought-item .thought-meta { font-size: 0.75rem; }

/* Category filter */
.cat-row { display: flex; flex-wrap: wrap; gap: var(--sp-6); margin-bottom: var(--sp-32); }
.cat-btn {
  padding: var(--sp-8) var(--sp-14, 14px);
  border-radius: var(--r-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-soft);
  background: transparent;
  border: 1px solid var(--border);
  transition: all var(--d-fast) var(--ease);
}
.cat-btn:hover { border-color: var(--text); color: var(--text); }
.cat-btn.active { background: var(--mono-990); color: var(--mono-010); border-color: var(--mono-990); }
:root[data-theme="dark"] .cat-btn.active { background: var(--mono-010); color: var(--mono-990); border-color: var(--mono-010); }

/* SNS posted indicator */
.sns-dots { display: inline-flex; gap: var(--sp-2); align-items: center; }
.sns-dots .d {
  width: 14px; height: 14px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 7px;
}
.sns-dots .d.fb { background: var(--social-facebook); }
.sns-dots .d.li { background: var(--social-linkedin); }
.sns-dots .d.x  { background: var(--social-x); }
.sns-dots .d.yt { background: var(--social-youtube); }
.sns-dots .d.inactive { background: var(--mono-200); }

/* --- Profile --- */
.profile-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: var(--sp-40);
  align-items: start;
}
@media (max-width: 960px) { .profile-grid { grid-template-columns: 1fr; } }
.profile-sticky { position: sticky; top: calc(var(--nav-h) + 32px); }
@media (max-width: 960px) { .profile-sticky { position: static; } }
.profile-portrait {
  aspect-ratio: 4/5;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--teal-050), var(--mono-080));
  overflow: hidden;
  margin-bottom: var(--sp-20);
  position: relative;
}
:root[data-theme="dark"] .profile-portrait { background: linear-gradient(135deg, rgba(0,195,137,.12), rgba(30,30,30,1)); }
.profile-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }

.profile-name { font-family: inherit; font-style: normal; font-weight: 700; font-size: 2rem; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: var(--sp-4); }
.profile-role { color: var(--text-soft); font-size: 0.9375rem; margin-bottom: var(--sp-16); }
.profile-contacts { display: flex; flex-direction: column; gap: var(--sp-8); margin-bottom: var(--sp-16); }
.profile-contacts a { display: inline-flex; align-items: center; gap: var(--sp-8); color: var(--text-soft); font-size: 0.875rem; }
.profile-contacts a:hover { color: var(--accent); }
.profile-contacts svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Career tabs */
.tabs-list {
  display: flex; flex-wrap: wrap; gap: var(--sp-4);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--sp-32);
}
.tabs-list button {
  padding: var(--sp-12) var(--sp-16);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-mute);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  transition: all var(--d-fast) var(--ease);
}
.tabs-list button:hover { color: var(--text); }
.tabs-list button.active { color: var(--text); border-bottom-color: var(--accent); }

/* Timeline */
.timeline { position: relative; padding-left: var(--sp-32); }
.timeline::before {
  content: '';
  position: absolute; left: 7px; top: 8px; bottom: 8px;
  width: 1px; background: var(--border);
}
.tl-item { position: relative; margin-bottom: var(--sp-32); }
.tl-item::before {
  content: '';
  position: absolute; left: -29px; top: 6px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--accent);
}
.tl-item.current::before { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.tl-period { font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; letter-spacing: 0.05em; color: var(--text-mute); text-transform: uppercase; margin-bottom: var(--sp-4); }
.tl-item h4 { font-size: 1.125rem; margin-bottom: var(--sp-4); }
.tl-item .tl-org { font-size: 0.9375rem; color: var(--text-soft); margin-bottom: var(--sp-8); }
.tl-item p { font-size: 0.9375rem; color: var(--text-soft); line-height: 1.55; margin-bottom: 0; }
.tl-item ul { margin: var(--sp-8) 0 0; padding-left: var(--sp-20); color: var(--text-soft); font-size: 0.9375rem; line-height: 1.6; }

/* Press grid */
.press-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--sp-16); }
.press-card {
  padding: var(--sp-20);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: all var(--d-fast) var(--ease);
  display: flex; flex-direction: column; gap: var(--sp-8);
}
.press-card:hover { border-color: var(--border-strong); background: var(--bg-soft); transform: translateY(-2px); }
.press-source { font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; letter-spacing: 0.06em; color: var(--accent); text-transform: uppercase; }
.press-title { font-size: 1rem; font-weight: 500; line-height: 1.35; letter-spacing: -0.01em; color: var(--text); }
.press-date { font-size: 0.75rem; color: var(--text-mute); margin-top: auto; }

/* Column list */
.col-list { display: flex; flex-direction: column; }
.col-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: var(--sp-20);
  align-items: center;
  padding: var(--sp-16) 0;
  border-top: 1px solid var(--border);
  transition: padding var(--d-fast) var(--ease);
}
.col-row:hover { padding-left: var(--sp-8); }
.col-row:last-child { border-bottom: 1px solid var(--border); }
.col-row .date { font-family: 'JetBrains Mono', monospace; font-size: 0.8125rem; color: var(--text-mute); }
.col-row .title { font-size: 1rem; font-weight: 500; color: var(--text); letter-spacing: -0.01em; }
.col-row .source { font-size: 0.8125rem; color: var(--text-mute); }
@media (max-width: 640px) { .col-row { grid-template-columns: 1fr; gap: var(--sp-4); } }

/* --- Admin --- */
.admin-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - var(--nav-h));
}
@media (max-width: 900px) { .admin-layout { grid-template-columns: 1fr; } }
.admin-sidebar {
  padding: var(--sp-24) var(--sp-16);
  border-right: 1px solid var(--border);
  background: var(--bg-soft);
}
@media (max-width: 900px) { .admin-sidebar { display: none; } }
.admin-sidebar h5 { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-mute); margin: var(--sp-16) var(--sp-12) var(--sp-8); font-weight: 600; }
.admin-sidebar button {
  display: flex; width: 100%; align-items: center; gap: var(--sp-10);
  padding: var(--sp-10) var(--sp-12);
  border-radius: var(--r-md);
  font-size: 0.9375rem;
  color: var(--text-soft);
  text-align: left;
  transition: all var(--d-fast) var(--ease);
}
.admin-sidebar button:hover { background: var(--surface); color: var(--text); }
.admin-sidebar button.active { background: var(--surface); color: var(--text); box-shadow: var(--sh-xs); }
.admin-sidebar button.active::before {
  content: ''; width: 3px; height: 16px; background: var(--accent); border-radius: var(--r-full);
  margin-left: -4px;
}
.admin-main { padding: var(--sp-32); overflow-x: auto; }
.admin-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--sp-32); gap: var(--sp-16); flex-wrap: wrap; }
.admin-head h1 { font-family: inherit; font-style: normal; font-weight: 700; font-size: 2rem; letter-spacing: -0.02em; }

.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--sp-16); margin-bottom: var(--sp-32); align-items: stretch; }
.kpi-grid--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--sp-12); }
@media (max-width: 1280px) { .kpi-grid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px)  { .kpi-grid--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.kpi {
  padding: var(--sp-16) var(--sp-16);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 132px;
  min-width: 0;
}
.kpi-label {
  font-size: 0.75rem; color: var(--text-mute); margin-bottom: var(--sp-8);
  letter-spacing: 0.01em; font-weight: 500;
  word-break: keep-all;
  overflow-wrap: normal;
  white-space: nowrap; text-overflow: ellipsis; overflow: hidden;
  min-height: 18px;
}
.kpi-value {
  font-family: inherit; font-style: normal;
  font-weight: 700;
  font-size: clamp(1.375rem, 1.8vw, 1.625rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
  font-feature-settings: 'tnum' 1;
  word-break: keep-all;
  margin-top: auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Currency mark — rendered smaller & lifted so ₩ doesn't visually collide with digits */
.kpi-value .c-mark,
.c-mark {
  display: inline-block;
  font-weight: 500;
  font-size: 0.72em;
  color: var(--text-mute);
  margin-right: 0.2em;
  vertical-align: 0.08em;
  transform: translateY(-1px);
}
.kpi-delta { font-size: 0.75rem; margin-top: var(--sp-6); font-family: var(--font-mono); font-weight: 500; font-feature-settings: 'tnum' 1; }
.kpi-delta.up { color: var(--teal-700); }
.kpi-delta.down { color: var(--red-500); }

/* OGQ DS card elevation for admin cards */
.kpi:hover { border-color: var(--border-strong); transition: border-color var(--d-fast) var(--ease); }

/* Sidebar nav icon slot — 18px Lucide outline */
.nav-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; flex-shrink: 0;
  color: var(--text-mute);
}
.admin-sidebar button:hover .nav-ico,
.admin-sidebar button.active .nav-ico { color: var(--text); }

/* Section eyebrow — replaces emoji + text pattern */
.section-eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-6);
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: var(--sp-12);
}
.section-eyebrow + .kpi-grid { margin-top: 0; }
.section-eyebrow--muted { color: var(--text-mute); margin-top: var(--sp-32); }
.section-eyebrow svg { width: 14px; height: 14px; }

/* Card title — section header inside a card */
.card-title {
  display: inline-flex; align-items: center; gap: var(--sp-8);
  font-weight: 600; font-size: 1rem;
  margin: 0 0 var(--sp-12);
  color: var(--text);
}
.card-title svg { width: 18px; height: 18px; color: var(--text-mute); }

.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  font-size: 0.9375rem;
}
.table th, .table td { padding: var(--sp-12) var(--sp-16); text-align: left; }
.table th {
  background: var(--bg-soft);
  color: var(--text-mute);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.table tbody tr { border-top: 1px solid var(--border); transition: background var(--d-fast) var(--ease); }
.table tbody tr:hover { background: var(--bg-soft); }

.badge {
  display: inline-flex; align-items: center;
  padding: var(--sp-2) var(--sp-8);
  border-radius: var(--r-full);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.badge.green { background: var(--teal-030); color: var(--teal-900); }
.badge.blue { background: #e6f4ff; color: var(--blue-500); }
.badge.yellow { background: #fff3e0; color: #e65100; }
.badge.gray { background: var(--mono-050); color: var(--mono-800); }
:root[data-theme="dark"] .badge.green { background: rgba(0,195,137,.15); color: var(--teal-400); }
:root[data-theme="dark"] .badge.blue { background: rgba(19,132,215,.15); color: #75c2fa; }
:root[data-theme="dark"] .badge.yellow { background: rgba(255,152,0,.15); color: #ffb74d; }
:root[data-theme="dark"] .badge.gray { background: rgba(167,182,185,.15); color: var(--mono-200); }

/* Page hero (non-home) */
.page-hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem); }
.page-hero .eyebrow { margin-bottom: var(--sp-16); }
.page-hero h1 {
  font-family: inherit;
  font-style: normal;
  font-weight: 700;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: var(--sp-20);
  max-width: 24ch;
}
.page-hero .lead { font-size: 1.125rem; max-width: 58ch; }

/* Filter bar */
.filter-bar {
  display: flex;
  gap: var(--sp-12);
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: var(--sp-16) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--sp-32);
}
.filter-group { display: flex; gap: var(--sp-6); align-items: center; flex-wrap: wrap; }

/* Empty state */
.empty {
  text-align: center;
  padding: var(--sp-60) var(--sp-24);
  color: var(--text-mute);
}
.empty h3 { color: var(--text); margin-bottom: var(--sp-8); font-size: 1.25rem; }

/* Detail page (thought detail) */
.article-head { max-width: 720px; margin: 0 auto; padding: clamp(2.5rem, 6vw, 5rem) 0 var(--sp-40); }
.article-head h1 {
  font-family: inherit; font-style: normal; font-weight: 700;
  font-size: clamp(1.875rem, 4vw, 2.75rem); letter-spacing: -0.02em; line-height: 1.15;
  margin-bottom: var(--sp-20);
}
.article-body {
  max-width: 680px; margin: 0 auto; padding: 0 var(--sp-24) var(--sp-60);
  font-size: 1.0625rem; line-height: 1.75; color: var(--text);
}
.article-body p { margin: 0 0 1.5em; color: var(--text); }
.article-body h2 { margin: 2em 0 0.6em; font-family: inherit; font-style: normal; font-weight: 700; font-size: 1.75rem; }
.article-body h3 { margin: 1.5em 0 0.5em; font-size: 1.25rem; }
.article-body blockquote {
  margin: 1.5em 0;
  padding: 0 var(--sp-24);
  border-left: 3px solid var(--accent);
  font-family: inherit;
  font-style: normal;
  font-size: 1.25rem;
  color: var(--text-soft);
  line-height: 1.5;
}
.article-body a { color: var(--accent-hover); border-bottom: 1px solid currentColor; }

/* Comments */
.comments { max-width: 680px; margin: 0 auto; padding: 0 var(--sp-24) var(--sp-60); }
.comments h3 { margin-bottom: var(--sp-24); font-family: inherit; font-style: normal; font-size: 1.75rem; }
.comment {
  padding: var(--sp-20) 0;
  border-top: 1px solid var(--border);
}
.comment-head { display: flex; align-items: center; gap: var(--sp-10); margin-bottom: var(--sp-10); }
.avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-100), var(--purple-050));
  display: flex; align-items: center; justify-content: center;
  font-family: inherit; font-style: normal;
  font-size: 1rem; color: var(--mono-900);
  flex-shrink: 0;
}
.comment-name { font-weight: 500; font-size: 0.9375rem; }
.comment-date { font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; color: var(--text-mute); }

/* Theme toggle icons */
.theme-toggle .icon-light, .theme-toggle .icon-dark { display: none; }
:root[data-theme="light"] .theme-toggle .icon-dark { display: block; }
:root[data-theme="dark"]  .theme-toggle .icon-light { display: block; }

/* RTL support for ar */
[dir="rtl"] .tl-item::before { left: auto; right: -29px; }
[dir="rtl"] .timeline { padding-left: 0; padding-right: var(--sp-32); }
[dir="rtl"] .timeline::before { left: auto; right: 7px; }

/* Loading */
.skeleton {
  background: linear-gradient(90deg, var(--bg-soft) 0%, var(--border) 50%, var(--bg-soft) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--r-md);
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Print */
@media print {
  .nav, .footer, .mobile-menu-btn, .backdrop { display: none; }
  body { background: #fff; color: #000; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Selection */
::selection { background: var(--accent-soft); color: var(--text); }

/* ============================================================
 * OGQ DS — Modal / Dropdown / Form polish (2026-04-24)
 * Ensures every modal, select, and input follows the OGQ DS v1.1.0
 * (Pretendard 600/700, --r-2xl, --sh-2xl, teal-500 focus ring).
 * ============================================================ */

/* Backdrop refinement — slightly stronger blur + darker overlay at rest */
.backdrop {
  background: rgba(38, 45, 46, 0.40);          /* mono-990 at 40% */
  backdrop-filter: saturate(140%) blur(6px);
  -webkit-backdrop-filter: saturate(140%) blur(6px);
}

/* Modal body — OGQ DS canonical card */
.modal {
  background: var(--mono-000);                  /* always white panel even in light */
  border: 1px solid var(--mono-080);
  border-radius: var(--r-2xl);
  box-shadow:
    0 24px 64px -12px rgba(38, 45, 46, 0.18),
    0 8px 24px -8px rgba(38, 45, 46, 0.10);     /* stronger 2xl for modal */
}
:root[data-theme="dark"] .modal {
  background: var(--mono-900);
  border-color: var(--mono-800);
  box-shadow: 0 24px 64px -12px rgba(0, 0, 0, 0.60);
}

/* Modal title — Pretendard 700, no Fraunces italic (AI-made look 금지) */
.modal-title, .auth-modal-title {
  font-family: 'Pretendard Variable', Pretendard, system-ui, -apple-system, sans-serif !important;
  font-style: normal !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  color: var(--mono-990);
}
:root[data-theme="dark"] .modal-title,
:root[data-theme="dark"] .auth-modal-title { color: var(--mono-010); }

/* Inputs — OGQ teal focus ring */
.input, .textarea, select.input {
  background: var(--mono-000);
  border: 1px solid var(--mono-100);
  border-radius: var(--r-lg);
  color: var(--mono-900);
  padding: 12px 14px;
  font-size: 0.9375rem;
  transition: border-color var(--d-fast) var(--ease), box-shadow var(--d-fast) var(--ease);
}
.input:hover, .textarea:hover, select.input:hover { border-color: var(--mono-200); }
.input:focus, .textarea:focus, select.input:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px var(--teal-050);
}
:root[data-theme="dark"] .input,
:root[data-theme="dark"] .textarea,
:root[data-theme="dark"] select.input {
  background: var(--mono-900);
  border-color: var(--mono-700);
  color: var(--mono-030);
}
:root[data-theme="dark"] .input:focus,
:root[data-theme="dark"] .textarea:focus,
:root[data-theme="dark"] select.input:focus {
  border-color: var(--teal-400);
  box-shadow: 0 0 0 3px rgba(40, 199, 153, 0.20);
}

/* Native <select> — strip browser chrome, add OGQ chevron */
select.input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%2357676b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='1,1.5 6,6.5 11,1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
  cursor: pointer;
}
:root[data-theme="dark"] select.input {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23a7b6b9' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='1,1.5 6,6.5 11,1.5'/%3E%3C/svg%3E");
}

/* OGQ DS — custom dropdown (replaces native <select> for hero pickers) */
.ogq-select {
  position: relative;
  width: 100%;
}
.ogq-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  background: var(--mono-000);
  border: 1px solid var(--mono-100);
  border-radius: var(--r-lg);
  color: var(--mono-990);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color var(--d-fast) var(--ease), box-shadow var(--d-fast) var(--ease);
}
.ogq-select-trigger:hover { border-color: var(--mono-200); }
.ogq-select[data-open="true"] .ogq-select-trigger,
.ogq-select-trigger:focus-visible {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px var(--teal-050);
}
.ogq-select-trigger .ogq-chevron {
  transition: transform var(--d-fast) var(--ease);
  color: var(--mono-500);
}
.ogq-select[data-open="true"] .ogq-chevron { transform: rotate(180deg); }

.ogq-select-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--mono-000);
  border: 1px solid var(--mono-080);
  border-radius: var(--r-lg);
  box-shadow:
    0 20px 48px -12px rgba(38, 45, 46, 0.18),
    0 4px 12px -4px rgba(38, 45, 46, 0.08);
  max-height: 320px;
  overflow-y: auto;
  padding: 6px;
  display: none;
  animation: dropIn var(--d-fast) var(--ease-emphasize);
}
.ogq-select[data-open="true"] .ogq-select-panel { display: block; }
@keyframes dropIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.ogq-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  font-size: 0.9375rem;
  color: var(--mono-900);
  cursor: pointer;
  transition: background var(--d-fast) var(--ease);
}
.ogq-option:hover { background: var(--mono-050); }
.ogq-option[aria-selected="true"] {
  color: var(--teal-800);
  background: var(--teal-030);
  font-weight: 600;
}
.ogq-option[aria-selected="true"] .ogq-check { display: inline-flex; }
.ogq-option .ogq-check {
  display: none;
  color: var(--teal-600);
}
:root[data-theme="dark"] .ogq-select-trigger {
  background: var(--mono-900);
  border-color: var(--mono-700);
  color: var(--mono-030);
}
:root[data-theme="dark"] .ogq-select-panel {
  background: var(--mono-900);
  border-color: var(--mono-800);
}
:root[data-theme="dark"] .ogq-option { color: var(--mono-080); }
:root[data-theme="dark"] .ogq-option:hover { background: var(--mono-800); }
:root[data-theme="dark"] .ogq-option[aria-selected="true"] {
  background: rgba(0, 195, 137, 0.12);
  color: var(--teal-300);
}

/* Segmented control — used for theme switcher inside settings modal */
.ogq-segment {
  display: inline-flex;
  padding: 4px;
  background: var(--mono-050);
  border-radius: var(--r-full);
  gap: 2px;
  width: 100%;
}
.ogq-segment button {
  flex: 1;
  height: 40px;
  padding: 0 16px;
  border: 0;
  background: transparent;
  color: var(--mono-700);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--r-full);
  cursor: pointer;
  transition: background var(--d-normal) var(--ease), color var(--d-normal) var(--ease), box-shadow var(--d-normal) var(--ease);
}
.ogq-segment button:hover { color: var(--mono-990); }
.ogq-segment button[aria-pressed="true"] {
  background: var(--mono-000);
  color: var(--mono-990);
  box-shadow: 0 1px 3px rgba(38, 45, 46, 0.10), 0 1px 2px rgba(38, 45, 46, 0.06);
}
:root[data-theme="dark"] .ogq-segment { background: var(--mono-800); }
:root[data-theme="dark"] .ogq-segment button { color: var(--mono-200); }
:root[data-theme="dark"] .ogq-segment button[aria-pressed="true"] {
  background: var(--mono-990);
  color: var(--mono-010);
}
