/* MakeMonLab Studio — shared site.css v3 (2026-04-29 landing v2) */
:root {
  --bg: #FFFFFF;
  --bg-alt: #F5F3EE;
  --bg-card: #FAFAF7;
  --bg-dark: #0F0E0C;
  --bg-dark-soft: #1A1816;
  --ink: #131313;
  --ink-soft: #3B3B3B;
  --ink-muted: #6B6B6B;
  --line: #E5E1D5;
  --line-soft: #ECE9DF;
  --accent: #8B6B2E;
  --gold-light: #C4A062;
  --gold-cta: #D4A843;
  --gold-deep: #6B4F1F;
  --paper: #FFFFFF;
  --shadow-card: 0 2px 8px rgba(15,14,12,0.04), 0 12px 32px rgba(15,14,12,0.06);
  --shadow-card-hover: 0 4px 16px rgba(15,14,12,0.06), 0 24px 48px rgba(15,14,12,0.10);
  --transition-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-magnetic: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Pretendard Variable', 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

.kr-accent { font-family: 'Gowun Batang', 'Nanum Myeongjo', serif; font-weight: 700; color: var(--accent); letter-spacing: -0.02em; }
.script { font-family: 'Caveat', cursive; font-weight: 500; color: var(--accent); letter-spacing: 0; }
.italiana { font-family: 'Italiana', serif; letter-spacing: 0.02em; }
em { font-style: italic; color: var(--accent); padding-right: 0.12em; }

/* ============ Topbar (unified — journal style) ============ */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 24px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: #131313;
  color: #ffffff;
  border-bottom: 0;
}
.topbar .logo {
  font-family: 'Fraunces', serif !important;
  font-size: 28px !important;
  font-weight: 500 !important;
  line-height: 42px !important;
  letter-spacing: -0.02em !important;
  color: #ffffff !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}
.topbar .logo em { font-style: italic; font-weight: 400; color: #ffffff; padding-right: 0; }
.topbar-right {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.topbar-right a { color: #ffffff; text-decoration: none; opacity: 0.75; transition: opacity 0.2s; }
.topbar-right a:hover, .topbar-right a.active { opacity: 1; }
.topbar-right a[aria-current="page"] {
  color: #C4A062;
  opacity: 1;
  font-weight: 600;
}
.topbar-right .topbar-cta {
  background: var(--gold-cta);
  color: #131313 !important;
  padding: 6px 14px;
  border-radius: 999px;
  opacity: 1;
  font-weight: 600;
  letter-spacing: 0.12em;
  transition: background 0.2s;
}
.topbar-right .topbar-cta:hover { background: #b98f30; }

/* ============ Hero ============ */
.hero {
  padding: 180px 80px 100px;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.hero-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-label::before { content: ''; width: 48px; height: 1px; background: var(--accent); }
.hero-title {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(52px, 9vw, 140px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
  padding-right: 0.4em;
}
.hero-title em { font-style: italic; color: var(--accent); padding-right: 0.2em; }
.hero-title .italiana { color: var(--ink); font-style: normal; }
.hero-sub {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 720px;
}
.hero-script { font-family: 'Caveat', cursive; font-size: 42px; color: var(--accent); transform: rotate(-2deg); display: inline-block; margin-bottom: 8px; }

/* Hero CTA row */
.hero-ctas { display: flex; gap: 16px; margin-top: 48px; flex-wrap: wrap; }
.hero-cta-primary, .hero-cta-secondary {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 32px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 999px;
  transition: transform 0.3s var(--transition-smooth), background 0.3s;
  border: 0;
}
.hero-cta-primary { background: var(--ink); color: #fff; }
.hero-cta-primary:hover { background: var(--accent); transform: translateY(-2px); }
.hero-cta-secondary { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.hero-cta-secondary:hover { background: var(--bg-alt); transform: translateY(-2px); }
.hero-cta-primary::after { content: '→'; }
.hero-cta-secondary::after { content: '↗'; }

/* ============ Section ============ */
.section {
  padding: 120px 80px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.section.alt { background: var(--bg-alt); }
.section.dark { background: var(--bg-dark); color: #fff; border: 0; }
.section.cream { background: var(--bg-card); }
.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 40px;
}
.section.dark .section-label { color: var(--gold-light); }
.section-title {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 56px;
  max-width: 1100px;
  padding-right: 0.4em;
}
.section-title em { font-style: italic; color: var(--accent); padding-right: 0.2em; }
.section.dark .section-title em { color: var(--gold-light); }
.section-intro { font-family: 'Fraunces', serif; font-weight: 300; font-size: 22px; line-height: 1.6; color: var(--ink-soft); max-width: 840px; margin-bottom: 48px; }
.section.dark .section-intro { color: rgba(255,255,255,0.7); }

/* ============ Grid ============ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.grid-col { display: flex; flex-direction: column; gap: 16px; }
.grid-col h3 {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  padding-right: 0.2em;
}
.grid-col p { font-size: 16px; line-height: 1.7; color: var(--ink-soft); }

/* ============ Bento Grid ============ */
.bento { display: grid; gap: 24px; }
.bento-12 { grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(180px, auto); }
.bento-cell {
  background: var(--bg-card);
  border-radius: 14px;
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.4s var(--transition-smooth), transform 0.4s var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}
.bento-cell:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
.bento-cell.dark { background: var(--bg-dark); color: #fff; }
.bento-cell.dark .bento-cell-meta { color: rgba(255,255,255,0.5); }
.bento-cell.gold { background: linear-gradient(135deg, var(--accent), var(--gold-light)); color: #fff; }
.bento-cell.gold .bento-cell-meta { color: rgba(255,255,255,0.7); }
.bento-cell-meta { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--accent); }
.bento-cell-title { font-family: 'Fraunces', serif; font-size: clamp(20px, 2vw, 28px); font-weight: 400; letter-spacing: -0.02em; line-height: 1.15; padding-right: 0.2em; }
.bento-cell-title em { color: var(--accent); padding-right: 0.15em; }
.bento-cell.dark .bento-cell-title em { color: var(--gold-light); }
.bento-cell-body { font-size: 15px; line-height: 1.65; color: var(--ink-soft); }
.bento-cell.dark .bento-cell-body { color: rgba(255,255,255,0.75); }
.bento-cell-num { font-family: 'Fraunces', serif; font-size: clamp(48px, 6vw, 84px); font-weight: 300; line-height: 1; letter-spacing: -0.04em; margin-bottom: 8px; }
.bento-cell-num em { color: var(--accent); padding-right: 0.1em; }
.bento-cell.dark .bento-cell-num em { color: var(--gold-light); }

/* Bento span helpers (12-col) */
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-9 { grid-column: span 9; }
.span-12 { grid-column: span 12; }
.row-span-2 { grid-row: span 2; }
.row-span-3 { grid-row: span 3; }

/* ============ Stat ============ */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-top: 60px; border-top: 1px solid var(--line); }
.section.dark .stat-grid { border-top-color: rgba(255,255,255,0.2); }
.stat-value {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(60px, 9vw, 140px);
  line-height: 1;
  letter-spacing: -0.05em;
}
.stat-value em { font-style: italic; color: var(--accent); padding-right: 0.12em; }
.section.dark .stat-value em { color: var(--gold-light); }
.stat-label { font-family: 'Fraunces', serif; font-style: italic; font-size: 20px; margin-top: 16px; }
.stat-sub { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-muted); margin-top: 4px; }
.section.dark .stat-sub { color: rgba(255,255,255,0.55); }

/* ============ CTA ============ */
.cta-block {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 140px 60px;
  background: var(--bg-dark); color: #fff;
}
.cta-kicker { font-family: 'Caveat', cursive; font-size: 36px; color: var(--gold-light); transform: rotate(-2deg); margin-bottom: 16px; }
.cta-title {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(48px, 8vw, 120px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: 48px;
  max-width: 1200px;
  padding-right: 0.4em;
}
.cta-title em { font-style: italic; color: var(--gold-light); padding-right: 0.2em; }
.cta-title .italiana { font-family: 'Italiana', serif; font-style: normal; }
.cta-btn {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 22px 44px;
  background: var(--gold-light); color: var(--bg-dark);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: 100px;
  transition: transform 0.3s;
}
.cta-btn:hover { transform: translateY(-2px); }
.cta-btn::after { content: '↗'; font-size: 20px; }

/* ============ Live counter (used everywhere) ============ */
.live-counter { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 8px; }
.live-counter::before { content:''; width:6px; height:6px; border-radius:50%; background: #2ec27e; box-shadow: 0 0 0 4px rgba(46,194,126,0.18); animation: live-pulse 2s infinite; }
@keyframes live-pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(46,194,126,0.18); } 50% { box-shadow: 0 0 0 8px rgba(46,194,126,0.06); } }
.section.dark .live-counter { color: var(--gold-light); }

/* ============ Magnetic CTA ============ */
.btn-magnetic { transition: transform 0.4s var(--transition-magnetic); will-change: transform; }

/* ============ Scroll-driven CSS animations (2026 native) ============ */
@supports (animation-timeline: view()) {
  .reveal-up {
    opacity: 0; transform: translateY(28px);
    animation: reveal-up linear forwards;
    animation-timeline: view();
    animation-range: entry 0% entry 60%;
  }
  @keyframes reveal-up { to { opacity: 1; transform: translateY(0); } }
  .reveal-fade {
    opacity: 0;
    animation: reveal-fade linear forwards;
    animation-timeline: view();
    animation-range: entry 0% entry 50%;
  }
  @keyframes reveal-fade { to { opacity: 1; } }
}

/* Fallback for browsers without scroll-driven */
@supports not (animation-timeline: view()) {
  .reveal-up, .reveal-fade { opacity: 1; transform: none; }
}

/* ============ View Transitions API ============ */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) {
  animation-duration: 0.4s;
  animation-timing-function: var(--transition-smooth);
}

/* ============ Footer ============ */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.75);
  padding: 80px 80px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.footer h4 {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--gold-light);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
  text-transform: none;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer a:hover { color: var(--gold-light); }
.footer-bottom {
  grid-column: 1 / -1;
  padding-top: 40px;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  opacity: 0.6;
}
.footer-bottom .script { color: var(--gold-light); font-size: 22px; text-transform: none; letter-spacing: 0; opacity: 1; }

/* ============ Trust strip (B2B 신뢰) ============ */
.trust-strip {
  background: #0a0908;
  color: rgba(255,255,255,0.5);
  padding: 28px 80px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  align-items: center;
}
.trust-strip strong { color: rgba(255,255,255,0.85); font-weight: 500; margin-right: 6px; }
.trust-strip .sep { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.2); }

/* ============ Form ============ */
.contact-form { display: grid; gap: 20px; max-width: 640px; margin-top: 40px; }
.contact-form label { display: block; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 8px; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 16px 18px; border: 1px solid var(--line); background: var(--bg);
  font-family: 'Pretendard Variable', sans-serif; font-size: 16px; border-radius: 2px; transition: border-color 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: none; border-color: var(--accent); }
.contact-form textarea { resize: vertical; min-height: 160px; }
.contact-form button {
  padding: 20px 40px; background: var(--ink); color: #fff; border: 0;
  font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.22em;
  text-transform: uppercase; font-weight: 500; border-radius: 100px; justify-self: flex-start;
  transition: background 0.2s;
}
.contact-form button:hover { background: var(--accent); }

/* ============ Contact info ============ */
.contact-info { display: grid; gap: 36px; grid-template-columns: repeat(2, 1fr); margin-top: 40px; max-width: 900px; }
.contact-info-item { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.contact-info-item .label { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 8px; }
.contact-info-item .value { font-family: 'Fraunces', serif; font-size: 28px; letter-spacing: -0.02em; }
.contact-info-item .value em { font-style: italic; color: var(--accent); padding-right: 0.15em; }

/* ============ Case card ============ */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.case-card {
  position: relative; overflow: hidden; border-radius: 4px;
  background: var(--bg-alt); aspect-ratio: 4 / 3; cursor: pointer;
  transition: transform 0.4s var(--transition-smooth);
}
.case-card .case-img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.6s var(--transition-smooth); }
.case-card:hover .case-img { transform: scale(1.05); }
.case-card::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,0.78) 100%); }
.case-card-body { position: absolute; left:32px; right:32px; bottom:32px; z-index:2; color:#fff; }
.case-label { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 12px; }
.case-title { font-family: 'Fraunces', serif; font-size: 32px; font-weight: 400; line-height: 1.15; letter-spacing: -0.02em; padding-right: 0.2em; margin-bottom: 10px; }
.case-title em { font-style: italic; color: var(--gold-light); padding-right: 0.2em; }
.case-result { font-family: 'Caveat', cursive; font-size: 22px; color: var(--gold-light); }

/* ============ Journal post list ============ */
.post-list { display: grid; gap: 0; max-width: 1100px; }
.post-item {
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 120px 1fr 140px;
  gap: 40px;
  align-items: start;
  transition: padding 0.3s var(--transition-smooth);
  position: relative;
}
.post-item:hover { padding-left: 20px; background: linear-gradient(90deg, var(--bg-alt), transparent 60%); }
.post-date { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-muted); margin-top: 8px; }
.post-title { font-family: 'Fraunces', serif; font-size: 28px; font-weight: 400; line-height: 1.25; letter-spacing: -0.02em; padding-right: 0.2em; }
.post-title em { font-style: italic; color: var(--accent); padding-right: 0.2em; }
.post-excerpt { color: var(--ink-soft); font-size: 15px; margin-top: 8px; line-height: 1.65; }
.post-tag { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); text-align: right; margin-top: 10px; }

/* Featured post (Journal) */
.post-featured {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center;
  padding: 60px 0; margin-bottom: 40px; border-bottom: 1px solid var(--line);
}
.post-featured-img { aspect-ratio: 4/3; background: var(--bg-alt); background-size: cover; background-position: center; border-radius: 4px; }
.post-featured-meta { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.post-featured-title { font-family: 'Fraunces', serif; font-size: clamp(36px, 4vw, 56px); font-weight: 400; line-height: 1.05; letter-spacing: -0.02em; padding-right: 0.2em; margin-bottom: 20px; }
.post-featured-title em { font-style: italic; color: var(--accent); padding-right: 0.2em; }
.post-featured-excerpt { font-family: 'Fraunces', serif; font-size: 19px; line-height: 1.6; color: var(--ink-soft); margin-bottom: 24px; }
.post-featured-byline { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-muted); }

/* Sidebar (Journal categories) */
.journal-layout { display: grid; grid-template-columns: 220px 1fr; gap: 64px; }
.journal-sidebar { position: sticky; top: 120px; align-self: start; }
.journal-sidebar h4 { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 20px; }
.journal-sidebar ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.journal-sidebar a { font-family: 'Fraunces', serif; font-size: 17px; color: var(--ink-soft); padding: 6px 0 6px 14px; border-left: 2px solid transparent; transition: all 0.2s; display: block; }
.journal-sidebar a:hover, .journal-sidebar a.active { color: var(--ink); border-left-color: var(--accent); }

/* ============ Tier card (Pricing) ============ */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.tier-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: 14px;
  padding: 40px 32px;
  display: flex; flex-direction: column;
  transition: box-shadow 0.4s var(--transition-smooth), transform 0.4s var(--transition-smooth);
  position: relative;
}
.tier-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
.tier-card.featured { border: 2px solid var(--accent); box-shadow: var(--shadow-card-hover); }
.tier-card.featured::before { content: 'RECOMMENDED'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; padding: 4px 14px; border-radius: 999px; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.22em; }
.tier-name { font-family: 'Fraunces', serif; font-size: 32px; font-weight: 400; letter-spacing: -0.02em; margin-bottom: 8px; }
.tier-meta { color: var(--ink-muted); font-size: 13px; margin-bottom: 24px; font-family: 'JetBrains Mono', monospace; letter-spacing: 0.1em; text-transform: uppercase; }
.tier-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.tier-price .num { font-family: 'Fraunces', serif; font-size: 56px; font-weight: 400; letter-spacing: -0.04em; line-height: 1; }
.tier-price .num em { color: var(--accent); padding-right: 0.1em; }
.tier-price .unit { color: var(--ink-muted); font-size: 14px; }
.tier-price-sub { font-size: 13px; color: var(--ink-muted); margin-bottom: 32px; min-height: 22px; }
.tier-features { list-style: none; flex: 1; margin-bottom: 32px; }
.tier-features li { padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; color: var(--ink-soft); display: flex; gap: 10px; }
.tier-features li::before { content: '+'; color: var(--accent); font-weight: 600; }
.tier-features li:last-child { border-bottom: 0; }
.tier-cta {
  display: block; text-align: center; padding: 16px 24px;
  background: var(--ink); color: #fff;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500;
  transition: background 0.2s;
}
.tier-card.featured .tier-cta { background: var(--accent); }
.tier-cta:hover { background: var(--accent); }
.tier-card.featured .tier-cta:hover { background: var(--gold-deep); }

/* Plan switcher toggle */
.plan-switcher { display: inline-flex; align-items: center; padding: 4px; background: var(--bg-alt); border-radius: 999px; margin-bottom: 48px; gap: 4px; }
.plan-switcher button {
  padding: 10px 20px; border: 0; background: transparent; cursor: pointer;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  border-radius: 999px; color: var(--ink-muted); transition: all 0.3s;
}
.plan-switcher button.active { background: var(--ink); color: #fff; }
.plan-switcher .save { color: var(--accent); margin-left: 6px; font-weight: 600; }

/* Comparison table */
.compare-table { width: 100%; border-collapse: collapse; font-family: 'Inter', sans-serif; font-size: 14px; line-height: 1.6; }
.compare-table thead tr { border-bottom: 2px solid var(--ink); }
.compare-table th { padding: 16px 12px; text-align: left; font-weight: 500; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); }
.compare-table th.us { color: var(--accent); }
.compare-table tbody tr { border-bottom: 1px solid var(--line-soft); transition: background 0.2s; }
.compare-table tbody tr:hover { background: var(--bg-alt); }
.compare-table td { padding: 14px 12px; }
.compare-table td.row-label { font-weight: 500; }
.compare-table td.them { color: var(--ink-muted); }
.compare-table td.us { color: var(--ink); font-weight: 500; }
.compare-table td.us strong { color: var(--accent); }

/* ============ FAQ accordion ============ */
.faq-list { display: grid; gap: 16px; max-width: 900px; }
.faq-item {
  background: var(--bg-card); border-radius: 12px; padding: 0;
  border: 1px solid var(--line-soft);
  transition: box-shadow 0.3s;
}
.faq-item[open] { box-shadow: var(--shadow-card); }
.faq-item summary {
  list-style: none;
  padding: 24px 28px;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  font-family: 'Fraunces', serif;
  font-size: 19px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: counter(faq-counter, decimal-leading-zero);
  counter-increment: faq-counter;
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: var(--accent);
  font-size: 17px;
  min-width: 30px;
}
.faq-item summary::after {
  content: '+';
  margin-left: auto;
  font-size: 22px;
  color: var(--accent);
  transition: transform 0.3s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body {
  padding: 0 28px 28px 78px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}
.faq-list { counter-reset: faq-counter; }

/* ============ Sticky bottom CTA bar (Pricing/Academy) ============ */
.sticky-cta-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--bg-dark); color: #fff;
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
  z-index: 90;
  transform: translateY(100%);
  transition: transform 0.4s var(--transition-smooth);
  border-top: 1px solid rgba(255,255,255,0.12);
}
.sticky-cta-bar.visible { transform: translateY(0); }
.sticky-cta-bar .label { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.sticky-cta-bar .price { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 400; }
.sticky-cta-bar .price em { color: var(--gold-light); padding-right: 0.1em; }
.sticky-cta-bar .cta { background: var(--gold-cta); color: var(--bg-dark); padding: 12px 24px; border-radius: 999px; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; }

/* ============ Logo Marquee ============ */
.logo-marquee { overflow: hidden; padding: 60px 0; background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logo-marquee-track { display: flex; gap: 60px; animation: marquee 60s linear infinite; }
.logo-marquee-track > div { flex-shrink: 0; min-width: 200px; }
.logo-marquee img { height: 60px; width: auto; opacity: 0.6; filter: grayscale(1); transition: all 0.3s; }
.logo-marquee img:hover { opacity: 1; filter: grayscale(0); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ Mobile ============ */
@media (max-width: 900px) {
  .topbar { padding: 14px 18px; }
  .topbar .logo { font-size: 18px; }
  .topbar-right { gap: 10px; font-size: 9px; letter-spacing: 0.15em; }
  .topbar-right li:nth-child(1),
  .topbar-right li:nth-child(2),
  .topbar-right li:nth-child(3),
  .topbar-right li:nth-child(5) { display: none; }
  .topbar-right .topbar-cta { padding: 5px 10px; font-size: 9px; }
  .hero { padding: 140px 24px 80px; min-height: 50vh; }
  .hero-script { font-size: 30px; }
  .hero-title { font-size: clamp(44px, 14vw, 100px); }
  .hero-sub { font-size: 17px; }
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-cta-primary, .hero-cta-secondary { justify-content: center; padding: 16px 24px; }
  .section { padding: 80px 24px; }
  .section-title { font-size: clamp(32px, 9vw, 56px); margin-bottom: 40px; }
  .grid-2, .grid-3, .grid-4, .case-grid { grid-template-columns: 1fr; gap: 32px; }
  .stat-grid { grid-template-columns: 1fr; gap: 36px; padding-top: 40px; }
  .stat-value { font-size: clamp(48px, 16vw, 80px); }
  .cta-block { padding: 80px 24px; }
  .cta-kicker { font-size: 26px; }
  .cta-title { font-size: clamp(40px, 13vw, 80px); }
  .footer { padding: 60px 24px 24px; grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
  .contact-info { grid-template-columns: 1fr; gap: 24px; }
  .contact-info-item .value { font-size: 20px; }
  .post-item { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .post-item:hover { padding-left: 8px; }
  .post-tag { text-align: left; }
  .case-card { aspect-ratio: 16 / 11; }
  .bento-12 { grid-template-columns: 1fr; }
  .bento-cell { padding: 22px; }
  .span-3, .span-4, .span-5, .span-6, .span-7, .span-8, .span-9, .span-12 { grid-column: span 1; }
  .row-span-2, .row-span-3 { grid-row: auto; }
  .trust-strip { padding: 20px 18px; gap: 12px; font-size: 9px; }
  .tier-grid { grid-template-columns: 1fr; gap: 20px; }
  .post-featured { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }
  .journal-layout { grid-template-columns: 1fr; gap: 32px; }
  .journal-sidebar { position: static; }
  .compare-table { font-size: 12px; }
  .compare-table th, .compare-table td { padding: 10px 8px; }
  .faq-item summary { padding: 18px 20px; font-size: 16px; gap: 12px; }
  .faq-item .faq-body { padding: 0 20px 22px 60px; font-size: 14px; }
  .sticky-cta-bar { padding: 12px 16px; }
  .sticky-cta-bar .price { font-size: 16px; }
  .sticky-cta-bar .cta { padding: 10px 16px; font-size: 10px; }
}


/* ═══════════════════════════════════════════════════════════════
  Cursor Effect — 모든 서브페이지 공통 (메인페이지 동일)
  검정 nav 배경 친화 색상: 크림 #FAF7F0 → 호버 골드 #D4A843
  Phase 23 v1.4 — 2026-05-05
═══════════════════════════════════════════════════════════════ */
.cursor {
  position: fixed;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #FAF7F0;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  transition: width 0.25s, height 0.25s, background 0.25s;
  will-change: transform;
  top: 0; left: 0;
}
.cursor.expanded {
  width: 56px; height: 56px;
  background: #D4A843;
}
@media (max-width: 768px), (hover: none) {
  .cursor { display: none; }
}

/* ─────────── Phase 23 — Mobile hamburger + drawer (전체 페이지 통일) ─────────── */
.nav-burger {
  display: none;
  background: transparent;
  border: 0;
  width: 44px; height: 44px;
  padding: 0;
  cursor: pointer;
  position: relative;
  z-index: 1100;
  margin-left: auto;
}
.nav-burger span {
  display: block;
  position: absolute;
  left: 10px;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s, top 0.25s, opacity 0.2s;
}
.nav-burger span:nth-child(1) { top: 14px; }
.nav-burger span:nth-child(2) { top: 21px; }
.nav-burger span:nth-child(3) { top: 28px; }
body.nav-open .nav-burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
body.nav-open .nav-burger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.nav-drawer {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15,14,12,0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
body.nav-open .nav-drawer {
  opacity: 1;
  pointer-events: auto;
}
.nav-drawer-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  text-align: center;
  padding: 32px;
  max-width: 100%;
}
.nav-drawer-inner a {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 32px;
  font-weight: 400;
  color: #FAF7F0;
  text-decoration: none;
  padding: 12px 24px;
  letter-spacing: -0.01em;
  transition: color 0.2s, transform 0.2s;
  opacity: 0;
  transform: translateY(20px);
}
body.nav-open .nav-drawer-inner a {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease, color 0.2s;
}
body.nav-open .nav-drawer-inner a:nth-child(1) { transition-delay: 0.10s; }
body.nav-open .nav-drawer-inner a:nth-child(2) { transition-delay: 0.13s; }
body.nav-open .nav-drawer-inner a:nth-child(3) { transition-delay: 0.16s; }
body.nav-open .nav-drawer-inner a:nth-child(4) { transition-delay: 0.19s; }
body.nav-open .nav-drawer-inner a:nth-child(5) { transition-delay: 0.22s; }
body.nav-open .nav-drawer-inner a:nth-child(6) { transition-delay: 0.25s; }
body.nav-open .nav-drawer-inner a:nth-child(7) { transition-delay: 0.28s; }
body.nav-open .nav-drawer-inner a:nth-child(8) { transition-delay: 0.31s; }
body.nav-open .nav-drawer-inner a:nth-child(9) { transition-delay: 0.34s; }
body.nav-open .nav-drawer-inner a:nth-child(10) { transition-delay: 0.37s; }
.nav-drawer-inner a:hover { color: #C4A062; }
.nav-drawer-inner a[aria-current="page"] {
  color: #C4A062;
  font-weight: 500;
  font-style: italic;
}
.nav-drawer-cta {
  margin-top: 20px;
  padding: 16px 36px !important;
  background: #C4A062;
  color: #131313 !important;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 14px !important;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}
.nav-drawer-cta:hover {
  background: #FAF7F0;
  color: #131313 !important;
}

@media (max-width: 768px) {
  .topbar-right { display: none !important; }
  .nav-burger { display: block; }
  .topbar { padding: 14px 18px; }
  body.nav-open { overflow: hidden; }
}

/* ─────────── Phase 23 V2 — 햄버거 절대 안 사라지게 + 안전한 반응형 ─────────── */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw;
}
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }
.topbar {
  width: 100vw !important;
  max-width: 100vw !important;
  overflow: visible !important;  /* 햄버거 자르지 않음 */
  z-index: 9998 !important;
}
.nav-burger {
  z-index: 9999 !important;
  position: relative;
}
.nav-drawer { z-index: 9997 !important; }
.topbar .logo {
  flex-shrink: 1 !important;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-burger {
  flex-shrink: 0 !important;
  flex-grow: 0;
  width: 44px !important;
  min-width: 44px !important;
}

@media (max-width: 768px) {
  .topbar { padding: 12px 16px !important; }
  .topbar .logo {
    font-size: 16px !important;
    line-height: 1 !important;
  }
}
@media (max-width: 480px) {
  .topbar { padding: 10px 12px !important; }
  .topbar .logo { font-size: 14px !important; }
}
@media (max-width: 360px) {
  .topbar .logo { font-size: 12px !important; }
}


/* Phase 23 V3 — burger color 강제 (사용자 보고: 검정 배경에 검정 burger) */
.topbar .nav-burger,
.topbar .nav-burger span {
  color: #ffffff !important;
}
.topbar .nav-burger span {
  background: #ffffff !important;
}

/* Phase 23 D — Plan 5 White-label + Plan 7 Korean Stack branch cards */
.branch-whitelabel {
  border-color: var(--gold-light);
  background: linear-gradient(135deg, #fffaf2 0%, #fff5e0 100%);
}
.branch-whitelabel .branch-eyebrow { color: var(--gold-deep, #8B6B2E); }
.branch-whitelabel .branch-cta { background: var(--gold-deep, #8B6B2E); color: #fff; }
.branch-whitelabel .branch-cta:hover { background: var(--ink); }

.branch-korean {
  border-color: #03C75A;
  background: linear-gradient(135deg, #f0fff5 0%, #e8fff0 100%);
}
.branch-korean .branch-eyebrow { color: #03C75A; }
.branch-korean .branch-cta { background: #03C75A; color: #fff; }
.branch-korean .branch-cta:hover { background: #02a347; }
