/* ============================================================
   DOCKTRE — Landing Design System
   Attio-inspired: white base, restrained ink, refined type
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --bg-sunken: #f5f5f6;
  --panel: #ffffff;

  --ink: #0b0b0e;
  --ink-2: #3a3a40;
  --muted: #74747c;
  --muted-2: #9a9aa2;
  --line: #ececed;
  --line-2: #e2e2e4;

  --brand: #3b3bd6;          /* dock indigo */
  --brand-ink: #2a2aa8;
  --brand-soft: #f0f0ff;
  --brand-line: #d9d9fb;

  --accent: #d6743b;          /* warm dock-amber for tiny highlights */
  --green: #1f9d5c;
  --green-soft: #e9f7ef;
  --red: #d6453b;

  --shadow-xs: 0 1px 2px rgba(11,11,14,0.04);
  --shadow-sm: 0 2px 8px rgba(11,11,14,0.05), 0 1px 2px rgba(11,11,14,0.04);
  --shadow-md: 0 12px 32px rgba(11,11,14,0.08), 0 2px 8px rgba(11,11,14,0.04);
  --shadow-lg: 0 30px 60px rgba(11,11,14,0.12), 0 8px 20px rgba(11,11,14,0.06);

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --r-xl: 26px;

  --maxw: 1160px;

  --sans: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01","cv01";
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--brand-soft); color: var(--brand-ink); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.mono { font-family: var(--mono); }

/* ============ TYPE ============ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--brand-ink);
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  padding: 5px 12px; border-radius: 100px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.05; font-weight: 680; }
.display {
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: -0.04em; line-height: 0.98;
  font-weight: 700;
}
.h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.035em; }
.lede { font-size: clamp(16px, 2vw, 20px); color: var(--muted); line-height: 1.55; font-weight: 400; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em;
  padding: 11px 18px; border-radius: 10px;
  transition: transform .12s cubic-bezier(.3,.7,.4,1), box-shadow .15s, background .15s, color .15s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink); color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); background: #1a1a1f; }
.btn-brand { background: var(--brand); color: #fff; box-shadow: 0 2px 8px rgba(59,59,214,0.25); }
.btn-brand:hover { transform: translateY(-1px); background: var(--brand-ink); box-shadow: 0 8px 20px rgba(59,59,214,0.3); }
.btn-ghost { color: var(--ink); border: 1px solid var(--line-2); background: #fff; }
.btn-ghost:hover { background: var(--bg-soft); border-color: var(--muted-2); }
.btn-lg { padding: 14px 24px; font-size: 15.5px; border-radius: 12px; }
.btn-arrow svg { transition: transform .15s; }
.btn-arrow:hover svg { transform: translateX(3px); }

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.8);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.nav.scrolled { border-color: var(--line); }
.nav-inner { height: 64px; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 18px; letter-spacing: -0.03em; }
.brand-mark {
  width: 26px; height: 26px; border-radius: 7px;
  background: var(--ink);
  display: grid; place-items: center; flex-shrink: 0;
  position: relative; overflow: hidden;
}
.brand-mark svg { width: 16px; height: 16px; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-link {
  font-size: 14px; font-weight: 500; color: var(--ink-2); white-space: nowrap;
  padding: 8px 12px; border-radius: 8px; transition: background .12s, color .12s;
}
.nav-link:hover { background: var(--bg-soft); color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-cta-btn { padding: 9px 16px; }   /* nav 문의 버튼 — 기본 btn보다 약간 컴팩트 */
.nav-toggle { display: none; }

/* Language switcher — segmented control (KO / EN / VI) */
.lang-toggle {                          /* track */
  display: inline-flex;
  align-items: center;
  padding: 2px;
  background: #fff;
  border: 1px solid #e2e2e4;
  border-radius: 9px;
}
.lang-opt {                             /* option */
  display: inline-flex;
  align-items: center;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;                       /* 필수 — 렌더 높이 ≈ 27px */
  color: #74747c;
  padding: 5px 10px;
  border: none;
  border-radius: 7px;
  background: none;
  transition: color .12s, background .12s;
}
.lang-opt:hover { color: #0b0b0e; }
.lang-opt.on {                          /* active */
  background: #0b0b0e;
  color: #ffffff;
}

/* ============ HERO ============ */
.hero { position: relative; padding: 72px 0 0; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% -10%, rgba(59,59,214,0.10), transparent 70%),
    radial-gradient(40% 40% at 85% 10%, rgba(214,116,59,0.06), transparent 70%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(11,11,14,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11,11,14,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.hero-inner { position: relative; z-index: 1; text-align: center; }
.hero h1 { margin: 22px auto 0; max-width: 14ch; }
.hero .lede { margin: 22px auto 0; max-width: 56ch; }
.hero-form {
  margin: 32px auto 0; max-width: 440px;
  display: flex; gap: 8px;
}
.hero-form input {
  flex: 1; height: 48px; padding: 0 16px;
  font-size: 14.5px; font-family: inherit;
  border: 1px solid var(--line-2); border-radius: 11px;
  background: #fff; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.hero-form input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.hero-form .btn { height: 48px; }
.hero-actions { margin: 32px auto 0; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 13px; color: var(--muted-2); display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note svg { color: var(--green); }

/* ============ PRODUCT FRAME ============ */
.product-stage { position: relative; z-index: 1; margin-top: 56px; padding-bottom: 8px; }

/* ============ HUB (insight homepage) ============ */
.section.hub-section { padding-top: 8px; }
.hub-header {
  position: relative; text-align: center;
  padding: 56px 0 40px; margin: 0 -28px 8px; /* bleed bg to wrap edges */
}
.hub-bar-label { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); white-space: nowrap; }
.hub-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 80% at 50% -20%, rgba(59,59,214,0.08), transparent 70%),
    linear-gradient(to right, rgba(11,11,14,0.022) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11,11,14,0.022) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
  mask-image: radial-gradient(70% 90% at 50% 0%, #000 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(70% 90% at 50% 0%, #000 40%, transparent 85%);
}
.hub-h1 { font-size: clamp(32px,4.4vw,48px); letter-spacing: -0.04em; line-height: 1.04; margin-top: 18px; font-weight: 700; }
.hub-header .lede { margin: 16px auto 0; max-width: 56ch; }
.hub-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }

.hub-feature {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden;
  background: #fff; transition: transform .15s, box-shadow .15s, border-color .15s;
}
.hub-feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.hub-feature-cover { position: relative; min-height: 280px; overflow: hidden; }
.hub-feature-cover .post-cover-grid { background-size: 32px 32px; }
.hub-feature-text { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.hub-feature-text h3 { font-size: clamp(22px,2.6vw,30px); letter-spacing: -0.03em; line-height: 1.18; margin-top: 12px; }
.hub-feature-text p { color: var(--muted); margin-top: 14px; font-size: 15.5px; line-height: 1.6; }

/* ============ PRODUCT BRIDGE ============ */
.bridge {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  padding: 32px 36px; border-radius: var(--r-xl);
  background: var(--ink); color: #fff; position: relative; overflow: hidden;
  transition: transform .15s, box-shadow .15s;
}
.bridge::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 120% at 85% 0%, rgba(59,59,214,0.35), transparent 70%); pointer-events: none; }
.bridge:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.bridge-text { position: relative; max-width: 64ch; }
.bridge-eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; color: #9a9aff; }
.bridge-text h3 { font-size: clamp(19px,2.2vw,24px); letter-spacing: -0.02em; margin-top: 10px; color: #fff; }
.bridge-text p { color: rgba(255,255,255,0.6); margin-top: 10px; font-size: 14.5px; line-height: 1.55; }
.bridge-cta { position: relative; display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; font-size: 15px; font-weight: 600; color: #fff; white-space: nowrap; transition: transform .15s; }
.bridge:hover .bridge-cta { transform: translateX(4px); }
.app-window {
  max-width: 1040px; margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.app-chrome {
  height: 44px; display: flex; align-items: center; gap: 8px;
  padding: 0 16px; border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.app-dots { display: flex; gap: 7px; }
.app-dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.app-dots i:nth-child(1){ background: #ff5f57; }
.app-dots i:nth-child(2){ background: #febc2e; }
.app-dots i:nth-child(3){ background: #28c840; }
.app-url {
  margin: 0 auto; font-size: 12px; color: var(--muted); font-family: var(--mono);
  background: #fff; border: 1px solid var(--line); border-radius: 7px;
  padding: 4px 14px; display: flex; align-items: center; gap: 6px;
}
.app-body { background: #fdfdfd; }

/* ============ MOCK APP UI (product screenshots) ============ */
.mock {
  display: grid; grid-template-columns: 200px 1fr;
  min-height: 480px; font-size: 13px;
  text-align: left;
}
.mock-side { background: #fbfbfc; border-right: 1px solid var(--line); padding: 14px 12px; }
.mock-side-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; padding: 4px 8px 14px; }
.mock-side-group { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); padding: 12px 8px 6px; }
.mock-nav { display: flex; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 7px; color: var(--ink-2); font-weight: 500; font-size: 12.5px; }
.mock-nav.on { background: var(--brand-soft); color: var(--brand-ink); font-weight: 600; }
.mock-nav i { width: 14px; height: 14px; border-radius: 4px; background: currentColor; opacity: .4; flex-shrink: 0; }
.mock-nav.on i { opacity: 1; }
.mock-main { padding: 20px 22px; }
.mock-h { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.mock-title { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.mock-sub { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.mock-kpis { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-bottom: 16px; }
.mock-kpi { border: 1px solid var(--line); border-radius: 10px; padding: 12px; background: #fff; }
.mock-kpi .l { font-size: 10.5px; color: var(--muted); font-weight: 600; }
.mock-kpi .v { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-top: 6px; font-family: var(--mono); }
.mock-kpi .d { font-size: 10.5px; font-weight: 600; margin-top: 4px; }
.mock-kpi .d.up { color: var(--green); }
.mock-kpi .d.dn { color: var(--red); }

/* scatter mock */
.mock-scatter { border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: #fff; position: relative; height: 260px; }
.mock-scatter .q { position: absolute; font-size: 10px; font-weight: 700; }

/* ============ LOGO CLOUD ============ */
.cloud { padding: 48px 0 8px; }
.cloud-label { text-align: center; font-size: 12.5px; color: var(--muted-2); font-weight: 600; letter-spacing: 0.04em; margin-bottom: 22px; }
.cloud-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 44px; opacity: .85; }
.cloud-row .logo { font-size: 17px; font-weight: 700; color: var(--muted); letter-spacing: -0.02em; display: flex; align-items: center; gap: 7px; }
.cloud-row .logo b { color: var(--ink-2); }

/* ============ SECTION ============ */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-head { max-width: 660px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { margin-top: 16px; }
.section-head .lede { margin-top: 16px; }

/* ============ FEATURE ROWS ============ */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature + .feature { margin-top: 110px; }
.feature.flip .feature-media { order: -1; }
.feature-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--brand-ink); }
.feature-tag .ic { width: 18px; height: 18px; }
.feature h3 { font-size: clamp(24px,3vw,32px); margin-top: 16px; letter-spacing: -0.03em; }
.feature p { margin-top: 14px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.feature-list { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.feature-list li { list-style: none; display: flex; gap: 11px; font-size: 14.5px; color: var(--ink-2); align-items: flex-start; }
.feature-list .chk { width: 19px; height: 19px; border-radius: 6px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; }
.feature-list .chk svg { width: 12px; height: 12px; }
.feature-media {
  border: 1px solid var(--line-2); border-radius: var(--r-lg);
  background: var(--bg-soft); box-shadow: var(--shadow-md);
  overflow: hidden; position: relative;
}
.media-chrome { height: 36px; display: flex; align-items: center; gap: 6px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #fcfcfd; }
.media-chrome i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.media-body { padding: 18px; }

/* ============ STAT STRIP ============ */
.stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.stat { background: #fff; padding: 32px 28px; text-align: center; }
.stat .n { font-size: clamp(32px,4vw,46px); font-weight: 700; letter-spacing: -0.03em; }
.stat .n .u { color: var(--brand); }
.stat .l { font-size: 13.5px; color: var(--muted); margin-top: 8px; }

/* ============ HIGHLIGHT (profitability) ============ */
.highlight {
  background: var(--ink); color: #fff;
  border-radius: var(--r-xl); padding: 64px;
  position: relative; overflow: hidden;
}
.highlight-bg { position: absolute; inset: 0; background: radial-gradient(50% 80% at 80% 0%, rgba(59,59,214,0.4), transparent 70%), radial-gradient(40% 60% at 10% 100%, rgba(214,116,59,0.2), transparent 70%); pointer-events: none; }
.highlight-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.highlight .eyebrow { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.15); color: #c7c7ff; }
.highlight .eyebrow .dot { background: #9a9aff; }
.highlight h2 { color: #fff; margin-top: 18px; }
.highlight p { color: rgba(255,255,255,0.66); margin-top: 16px; font-size: 16.5px; line-height: 1.6; }
.highlight-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--r-lg); padding: 22px; backdrop-filter: blur(8px); }

/* ============ BLOG ============ */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.post {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; background: #fff; transition: transform .15s, box-shadow .15s, border-color .15s;
}
.post:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.post-cover { aspect-ratio: 16/9; position: relative; overflow: hidden; }
.post-cover-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px); background-size: 26px 26px; }
.post-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.post-cat { font-size: 11.5px; font-weight: 700; color: var(--brand-ink); letter-spacing: 0.02em; }
.post h3 { font-size: 18px; margin-top: 10px; letter-spacing: -0.02em; line-height: 1.25; }
.post p { font-size: 13.5px; color: var(--muted); margin-top: 8px; line-height: 1.55; flex: 1; }
.post-meta { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 12px; color: var(--muted-2); }
.post-meta .av { width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 10px; font-weight: 700; }

/* ============ FAQ ============ */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 4px; text-align: left; font-size: 16.5px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.faq-q .pm { width: 22px; height: 22px; flex-shrink: 0; position: relative; transition: transform .2s; }
.faq-q .pm::before, .faq-q .pm::after { content: ''; position: absolute; background: var(--muted); border-radius: 2px; }
.faq-q .pm::before { width: 14px; height: 2px; top: 10px; left: 4px; }
.faq-q .pm::after { width: 2px; height: 14px; top: 4px; left: 10px; transition: opacity .2s, transform .2s; }
.faq-item.open .pm::after { opacity: 0; transform: rotate(90deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .26s ease; }
.faq-a-inner { padding: 0 4px 24px; font-size: 15px; color: var(--muted); line-height: 1.65; }

/* ============ CTA ============ */
.cta {
  text-align: center; border-radius: var(--r-xl);
  background: linear-gradient(180deg, var(--bg-soft), #fff);
  border: 1px solid var(--line); padding: 72px 32px;
  position: relative; overflow: hidden;
}
.cta-bg { position: absolute; inset: 0; background: radial-gradient(50% 80% at 50% 120%, rgba(59,59,214,0.1), transparent 70%); pointer-events: none; }
.cta-inner { position: relative; }
.cta h2 { max-width: 18ch; margin: 16px auto 0; }
.cta .lede { max-width: 48ch; margin: 16px auto 0; }
.cta .hero-form { margin-top: 28px; }

/* ============ FOOTER ============ */
.footer { border-top: 1px solid var(--line); padding: 64px 0 40px; margin-top: 40px; }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer-top-2col { grid-template-columns: 2fr 1fr 1fr; }
.footer-brand p { font-size: 13.5px; color: var(--muted); margin-top: 14px; max-width: 30ch; line-height: 1.55; }
.footer-col h4 { font-size: 12.5px; font-weight: 700; color: var(--ink); letter-spacing: 0.01em; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13.5px; color: var(--muted); padding: 5px 0; transition: color .12s; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted-2); flex-wrap: wrap; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); transition: background .12s, color .12s; }
.footer-social a:hover { background: var(--bg-soft); color: var(--ink); }

/* ============ REVEAL ANIM ============ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s cubic-bezier(.2,.6,.3,1), transform .6s cubic-bezier(.2,.6,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 920px) {
  .feature, .highlight-inner, .footer-top, .hub-feature { grid-template-columns: 1fr; gap: 32px; }
  .hub-feature { gap: 0; }
  .hub-feature-cover { min-height: 200px; }
  .hub-feature-text { padding: 28px; }
  .bridge { flex-direction: column; align-items: flex-start; gap: 18px; }
  .feature.flip .feature-media { order: 0; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .highlight { padding: 40px 28px; }
  .nav-links { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  /* hub-header bleeds bg full-width; on mobile match the 20px wrap padding so
     the bleed reaches (not past) the viewport edge and the title/lede keep a
     20px inset instead of clipping at the screen border. */
  .hub-header { margin-left: -20px; margin-right: -20px; padding-left: 20px; padding-right: 20px; }
  .nav-inner { gap: 16px; }
  .hero-form { flex-direction: column; }
  .mock-kpis { grid-template-columns: repeat(2,1fr); }
  .stats { grid-template-columns: 1fr; }
  .blog-grid, .footer-top { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .mock { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
/* Very narrow phones (≤400px: iPhone 13 mini in Display Zoom = 320px, SE 등).
   Compact the nav so brand + KO/EN/VI switcher + 문의 버튼 fit within the wrap
   padding instead of spilling past the right edge (header wider than body). */
@media (max-width: 400px) {
  .nav-inner { gap: 10px; }
  .brand { font-size: 16px; gap: 7px; }
  .brand-mark { width: 23px; height: 23px; border-radius: 6px; }
  .brand-mark svg { width: 14px; height: 14px; }
  .nav-cta { gap: 7px; }
  .lang-opt { padding: 5px 7px; }
  .nav-cta-btn { padding: 8px 11px; font-size: 13.5px; }
}
