/* =========================================================
   Effix AI — one-page site
   Obsidian + platinum / ice blue · editorial luxury
   ========================================================= */

:root {
  --ink: #07080a;
  --ink-2: #0c0d10;
  --ink-3: #121318;
  --panel: rgba(255, 255, 255, 0.025);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #ece7de;
  --text-2: #b9b3a8;
  --muted: #7e7a73;
  --acc: #c9d6e3;
  --acc-2: #f1f5f9;
  --acc-3: #4b6a8a;
  --acc-grad: linear-gradient(120deg, #ffffff 0%, #c9d6e3 40%, #7dd3fc 75%, #e2e8f0 100%);
  --acc-rgb: 170, 205, 235;
  --acc2-rgb: 241, 245, 249;
  --on-acc: #0b1220;
  --frame-1: #1a2433;
  --frame-2: #080c12;
  --ok: #8fd6a6;
  --err: #ff9a8a;

  --f-display: "Instrument Serif", "Noto Serif KR", Georgia, serif;
  --f-body: "Hanken Grotesk", "Pretendard Variable", Pretendard, system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1240px;
  --radius: 18px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: dark;
}

html[lang="ko"] {
  --f-display: "Noto Serif KR", "Instrument Serif", serif;
  --f-body: "Pretendard Variable", Pretendard, "Hanken Grotesk", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang="ko"] body { word-break: keep-all; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--acc); color: var(--ink); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- atmosphere ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-5%, 3%); }
  40% { transform: translate(3%, -6%); }
  60% { transform: translate(-7%, -2%); }
  80% { transform: translate(5%, 6%); }
}
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px;
  border-radius: 50%; pointer-events: none; z-index: 1; opacity: 0;
  background: radial-gradient(circle, rgba(var(--acc-rgb), 0.10) 0%, rgba(var(--acc-rgb), 0) 60%);
  transition: opacity .6s;
  will-change: transform;
}
body.has-pointer .cursor-glow { opacity: 1; }

/* ---------- buttons ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px; border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: .01em; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s, color .35s, border-color .35s;
  position: relative; isolation: isolate;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-sm { --h: 38px; padding: 0 18px; font-size: 13.5px; }
.btn-lg { --h: 56px; padding: 0 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-acc {
  color: var(--on-acc);
  background: var(--acc-grad); background-size: 200% 100%; background-position: 0% 0;
  box-shadow: 0 0 0 1px rgba(var(--acc2-rgb), .35) inset, 0 10px 30px -10px rgba(var(--acc-rgb), .55);
}
.btn-acc:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(var(--acc2-rgb), .5) inset, 0 18px 40px -12px rgba(var(--acc-rgb), .7); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--text); background: rgba(255,255,255,.02); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--acc); color: var(--acc-2); transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px var(--gutter);
  transition: padding .4s var(--ease), background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding-top: 12px; padding-bottom: 12px;
  background: rgba(7, 8, 10, .72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 30px; height: 30px; }
.brand-word { font-family: "Instrument Serif", serif; font-size: 27px; letter-spacing: .01em; line-height: 1; }
.brand-ai { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; margin-left: 6px; padding: 3px 6px; border: 1px solid rgba(var(--acc-rgb), .45); border-radius: 5px; color: var(--acc-2); vertical-align: 5px; }
.nav-links { display: flex; gap: 36px; }
.nav-links a { font-size: 14px; color: var(--text-2); position: relative; padding: 4px 0; transition: color .3s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--acc); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.lang { display: flex; align-items: center; gap: 2px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.02); }
.lang button { padding: 6px 10px; border-radius: 999px; color: var(--muted); transition: color .3s, background .3s; }
.lang button[aria-pressed="true"] { color: var(--ink); background: var(--acc-2); }
.lang button:not([aria-pressed="true"]):hover { color: var(--text); }
.lang-sep { color: var(--line-2); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; overflow: hidden;
  padding: 140px var(--gutter) 120px;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-vignette {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 75% 35%, rgba(var(--acc-rgb), .10), transparent 70%),
    radial-gradient(80% 70% at 50% 50%, transparent 40%, var(--ink) 100%),
    linear-gradient(to bottom, transparent 70%, var(--ink));
}
.hero-inner { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 28px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--acc-2);
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--acc); }
.hero-title {
  margin: 0; font-family: var(--f-display); font-weight: 400;
  font-size: clamp(48px, 9.2vw, 148px); line-height: .96; letter-spacing: -.02em;
  max-width: 13ch;
}
html[lang="ko"] .hero-title { font-weight: 300; font-size: clamp(40px, 7.4vw, 116px); line-height: 1.12; letter-spacing: -.04em; max-width: 14ch; }
.hero-title em, .section-title em, .cta-band-text em, .footer-word em {
  font-style: italic;
  background: var(--acc-grad); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 6s ease-in-out infinite;
  padding-right: .06em;
}
html[lang="ko"] .hero-title em, html[lang="ko"] .section-title em, html[lang="ko"] .cta-band-text em { font-style: normal; font-weight: 500; }
@keyframes sheen { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
.hero-sub { margin: 34px 0 0; max-width: 560px; font-size: clamp(16px, 1.4vw, 19px); color: var(--text-2); font-weight: 300; }
html[lang="ko"] .hero-sub { font-weight: 400; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 56px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; color: var(--text-2); background: rgba(255,255,255,.02); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 0 rgba(var(--acc-rgb), .6); animation: ping 2.2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(var(--acc-rgb), .6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(var(--acc-rgb), 0); } }
.hero-meta-text { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.scroll-cue {
  position: absolute; z-index: 2; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
}
.scroll-cue i { width: 1px; height: 46px; background: linear-gradient(var(--acc), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--acc-2); animation: drip 2s var(--ease) infinite; }
@keyframes drip { to { top: 110%; } }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--ink-2); position: relative; z-index: 2; }
.marquee-track { display: flex; align-items: center; gap: 40px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: "Instrument Serif", serif; font-size: clamp(24px, 3vw, 38px); color: var(--text); white-space: nowrap; }
.marquee span:nth-of-type(even) { font-style: italic; color: var(--acc-2); }
.marquee b { color: var(--acc); font-size: 16px; font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(96px, 14vw, 180px) 0; z-index: 2; }
.section-head { max-width: 900px; margin-bottom: clamp(56px, 8vw, 96px); }
.section-index { display: flex; align-items: center; gap: 14px; margin: 0 0 28px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.section-index span:first-child { color: var(--acc); }
.section-index i { width: 48px; height: 1px; background: var(--line-2); }
.section-title { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(36px, 5.6vw, 78px); line-height: 1.04; letter-spacing: -.015em; }
html[lang="ko"] .section-title { font-weight: 300; font-size: clamp(30px, 4.4vw, 60px); line-height: 1.25; letter-spacing: -.035em; }
.section-lead { margin: 28px 0 0; max-width: 640px; font-size: clamp(16px, 1.3vw, 18px); color: var(--text-2); font-weight: 300; }
html[lang="ko"] .section-lead { font-weight: 400; }

/* ---------- services / pillars ---------- */
.services::before {
  content: ""; position: absolute; top: 0; right: -10%; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(var(--acc-rgb), .07), transparent 65%); pointer-events: none;
}
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pillar { position: relative; padding: clamp(32px, 3.4vw, 52px); background: var(--ink); transition: background .5s; overflow: hidden; }
.pillar::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .6s;
  background: radial-gradient(120% 80% at 0% 0%, rgba(var(--acc-rgb), .12), transparent 60%);
}
.pillar:hover::before { opacity: 1; }
.pillar > * { position: relative; }
.pillar-num { font-family: "Instrument Serif", serif; font-style: italic; font-size: 64px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(var(--acc-rgb), .6); margin-bottom: 48px; transition: color .5s, -webkit-text-stroke-color .5s; }
.pillar:hover .pillar-num { color: var(--acc); -webkit-text-stroke-color: var(--acc); }
.pillar h3 { margin: 0 0 14px; font-size: 24px; font-weight: 500; letter-spacing: -.01em; }
.pillar p { margin: 0; color: var(--text-2); font-weight: 300; font-size: 15.5px; }
html[lang="ko"] .pillar p { font-weight: 400; }
.pillar-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.pillar-tags li { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); }

.why { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; }
.why-item { display: flex; flex-direction: column; gap: 6px; padding: 24px 28px; border-left: 1px solid var(--line); }
.why-item:first-child { border-left-color: var(--acc); }
.why-k { font-family: var(--f-display); font-size: 26px; line-height: 1.2; }
html[lang="ko"] .why-k { font-size: 21px; font-weight: 500; }
.why-v { color: var(--muted); font-size: 14px; }

/* ---------- features ---------- */
.features { background: linear-gradient(to bottom, var(--ink), var(--ink-2) 20%, var(--ink-2) 80%, var(--ink)); }
.feature {
  display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: clamp(40px, 6vw, 96px);
  padding: clamp(48px, 6vw, 80px) 0; border-top: 1px solid var(--line);
}
.feature:last-child { border-bottom: 1px solid var(--line); }
.feature-rev .feature-copy { order: 2; }
.feature-no { display: block; font-family: "Instrument Serif", serif; font-size: clamp(80px, 10vw, 140px); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(var(--acc-rgb), .35); margin-bottom: 24px; }
.feature h3 { margin: 0 0 18px; font-family: var(--f-display); font-weight: 400; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.1; letter-spacing: -.01em; }
html[lang="ko"] .feature h3 { font-weight: 500; font-size: clamp(25px, 2.8vw, 36px); line-height: 1.3; letter-spacing: -.03em; }
.feature p { margin: 0; color: var(--text-2); font-weight: 300; font-size: 16.5px; max-width: 520px; }
html[lang="ko"] .feature p { font-weight: 400; }
.checks { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; font-size: 15px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  border: 1px solid rgba(var(--acc-rgb), .5);
  background: radial-gradient(circle, var(--acc) 0 3px, transparent 4px);
}

/* mock window */
.feature-visual { position: relative; perspective: 1400px; }
.feature-visual::before { content: ""; position: absolute; inset: 10% 5%; background: radial-gradient(closest-side, rgba(var(--acc-rgb), .18), transparent); filter: blur(30px); z-index: -1; }
.mock {
  position: relative; border-radius: 16px; overflow: hidden;
  background: linear-gradient(160deg, #16171c, #0d0e12 60%);
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.02) inset;
  transform: rotateY(-8deg) rotateX(4deg); transition: transform .9s var(--ease);
  font-family: var(--f-mono); font-size: 12px;
}
.feature-rev .mock { transform: rotateY(8deg) rotateX(4deg); }
.feature:hover .mock { transform: rotateY(0) rotateX(0); }
.mock::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.06), transparent 30%); }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2a2b31; }
.mock-bar i:first-child { background: var(--acc-3); }
.mock-bar span { margin-left: 10px; letter-spacing: .06em; }

/* video mock */
.mv-stage { display: grid; grid-template-columns: 1fr auto; gap: 14px; padding: 16px; }
.mv-frame { position: relative; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; background: linear-gradient(160deg, var(--frame-1), var(--frame-2) 70%); }
.mv-sun { position: absolute; width: 46%; aspect-ratio: 1; right: 8%; top: 12%; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--acc-2), var(--acc) 45%, var(--acc-3) 80%); filter: blur(.5px); animation: float 6s ease-in-out infinite; box-shadow: 0 0 60px rgba(var(--acc-rgb), .4); }
@keyframes float { 50% { transform: translateY(-8px) scale(1.03); } }
.mv-caption { position: absolute; left: 7%; bottom: 12%; display: flex; flex-direction: column; gap: 2px; }
.mv-caption span { font-size: 9px; letter-spacing: .3em; color: var(--acc-2); }
.mv-caption b { font-family: "Instrument Serif", serif; font-weight: 400; font-style: italic; font-size: clamp(18px, 2.4vw, 28px); color: #fff; }
.mv-formats { display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.mv-formats span { display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 6px; color: var(--muted); font-size: 9px; animation: fmt 4.5s infinite; }
.mv-formats .r916 { width: 30px; height: 46px; }
.mv-formats .r11 { width: 36px; height: 36px; animation-delay: 1.5s; }
.mv-formats .r169 { width: 46px; height: 28px; animation-delay: 3s; }
@keyframes fmt { 0%, 30%, 100% { border-color: var(--line-2); color: var(--muted); } 10%, 22% { border-color: var(--acc); color: var(--acc-2); background: rgba(var(--acc-rgb), .08); } }
.mv-timeline { position: relative; margin: 0 16px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; display: grid; gap: 8px; }
.mv-track { display: flex; gap: 4px; height: 18px; }
.mv-track i { flex: 0 0 var(--w); border-radius: 4px; background: linear-gradient(90deg, rgba(var(--acc-rgb), .55), rgba(var(--acc-rgb), .25)); transform-origin: left; animation: clip 4.5s var(--ease) infinite; animation-delay: var(--d); }
.mv-track.sub { height: 10px; }
.mv-track.sub i { background: rgba(255,255,255,.14); }
@keyframes clip { 0% { transform: scaleX(0); opacity: 0; } 18%, 85% { transform: scaleX(1); opacity: 1; } 100% { opacity: 0; } }
.mv-head { position: absolute; top: 6px; bottom: 6px; width: 2px; left: 12px; background: var(--acc-2); box-shadow: 0 0 10px var(--acc); animation: head 4.5s linear infinite; }
@keyframes head { from { left: 12px; } to { left: calc(100% - 14px); } }
.mv-render { display: flex; align-items: center; gap: 12px; padding: 14px 16px 16px; color: var(--muted); font-size: 11px; }
.mv-render .bar { flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.06); overflow: hidden; }
.mv-render .bar i { display: block; height: 100%; width: 0; background: var(--acc-grad); animation: bar 4.5s linear infinite; }
@keyframes bar { to { width: 100%; } }
.mv-render b { color: var(--acc-2); font-weight: 500; min-width: 36px; text-align: right; }

/* crm mock */
.mc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.mc-transcript, .mc-tasks { background: #0f1014; padding: 16px; position: relative; overflow: hidden; }
.mc-label { margin: 0 0 12px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.mc-line { margin: 0 0 10px; color: var(--text-2); font-family: var(--f-body); font-size: 12.5px; line-height: 1.5; }
.mc-line b { display: block; font-family: var(--f-mono); font-size: 10px; font-weight: 500; color: var(--acc); letter-spacing: .08em; }
.mc-scan { position: absolute; left: 0; right: 0; height: 40px; top: -40px; background: linear-gradient(to bottom, transparent, rgba(var(--acc-rgb), .18), transparent); animation: scan 4s ease-in-out infinite; }
@keyframes scan { 0% { top: -40px; } 60%, 100% { top: 100%; } }
.mc-task { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 8px; padding: 9px 10px; margin-bottom: 8px; border-radius: 9px; border: 1px solid var(--line); background: rgba(255,255,255,.02); font-family: var(--f-body); font-size: 12.5px; animation: task 6s var(--ease) infinite; animation-delay: var(--d); opacity: 0; }
@keyframes task { 0% { opacity: 0; transform: translateX(16px); } 12%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.av { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 700; color: var(--ink); }
.a1 { background: var(--acc-2); } .a2 { background: var(--acc); } .a3 { background: var(--acc-3); color: #fff; }
.mc-task em { font-style: normal; font-family: var(--f-mono); font-size: 10px; color: var(--muted); }
.ck { width: 14px; height: 14px; border-radius: 4px; border: 1px solid var(--line-2); position: relative; animation: ck 6s infinite; animation-delay: var(--d); }
@keyframes ck { 0%, 40% { background: transparent; border-color: var(--line-2); } 50%, 100% { background: var(--acc); border-color: var(--acc); } }
.ck::after { content: ""; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* quote mock */
.mq-prompt { display: flex; gap: 10px; align-items: center; margin: 16px 16px 0; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: rgba(255,255,255,.02); color: var(--text); font-size: 12px; overflow: hidden; white-space: nowrap; }
.mq-caret { color: var(--acc); }
.mq-typed { overflow: hidden; border-right: 1px solid var(--acc); animation: type 6s steps(46) infinite; max-width: 0; }
@keyframes type { 0% { max-width: 0; } 30%, 100% { max-width: 46ch; } }
.mq-doc { position: relative; margin: 16px; padding: 18px; border-radius: 10px; background: #eef2f6; color: #1a2230; font-family: var(--f-body); }
.mq-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; border-bottom: 1px solid #d3dbe4; margin-bottom: 8px; }
.mq-head b { font-family: "Instrument Serif", serif; font-weight: 400; font-size: 20px; letter-spacing: .1em; }
.mq-head span { font-family: var(--f-mono); font-size: 10px; color: #64748b; }
.mq-row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 12.5px; border-bottom: 1px dashed #dde4ec; opacity: 0; animation: row 6s var(--ease) infinite; animation-delay: calc(1.8s + var(--d)); }
.mq-row b { font-family: var(--f-mono); font-weight: 500; font-size: 12px; }
.mq-row.disc { color: var(--acc-3); }
@keyframes row { 0% { opacity: 0; transform: translateY(6px); } 8%, 80% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; } }
.mq-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; font-weight: 600; }
.mq-total b { font-family: "Instrument Serif", serif; font-weight: 400; font-size: 26px; }
.mq-stamp { position: absolute; right: 18px; bottom: 54px; padding: 4px 10px; border: 2px solid var(--acc-3); color: var(--acc-3); border-radius: 6px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; transform: rotate(-12deg) scale(1.6); opacity: 0; animation: stamp 6s var(--ease) infinite; }
@keyframes stamp { 0%, 55% { opacity: 0; transform: rotate(-12deg) scale(1.8); } 62%, 85% { opacity: .9; transform: rotate(-12deg) scale(1); } 95%, 100% { opacity: 0; } }

/* ---------- use-case details: tags + before/after ---------- */
.feature-tags { margin: 0 0 14px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; color: var(--acc); text-transform: uppercase; }
html[lang="ko"] .feature-tags { font-family: var(--f-body); text-transform: none; letter-spacing: .02em; font-size: 13px; }
.ba { display: grid; gap: 10px; margin-top: 8px; max-width: 540px; }
.ba-row { display: grid; grid-template-columns: 74px 1fr; gap: 14px; align-items: start; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); }
.ba-row p { margin: 0; font-size: 15px; line-height: 1.6; }
.ba-k { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; padding-top: 3px; }
html[lang="ko"] .ba-k { font-family: var(--f-body); letter-spacing: .02em; font-size: 12.5px; font-weight: 600; }
.ba-before { background: rgba(255,255,255,.015); }
.ba-before .ba-k { color: var(--muted); }
.ba-before p { color: var(--muted); }
.ba-after { border-color: rgba(var(--acc-rgb), .35); background: linear-gradient(100deg, rgba(var(--acc-rgb), .09), rgba(var(--acc-rgb), .02)); }
.ba-after .ba-k { color: var(--acc-2); }
.ba-after p { color: var(--text); }
.feature .checks { margin-top: 22px; }

/* ---------- extras ---------- */
.extras { padding-top: clamp(56px, 7vw, 88px); }
.extras-label { display: flex; align-items: center; gap: 14px; margin: 0 0 28px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
html[lang="ko"] .extras-label { font-family: var(--f-body); letter-spacing: .02em; font-size: 14px; color: var(--text-2); }
.extras-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.extras-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.extra { position: relative; display: flex; flex-direction: column; padding: 22px 22px 26px; border-radius: var(--radius); border: 1px solid var(--line-2); background: linear-gradient(160deg, rgba(255,255,255,.035), rgba(255,255,255,.008)); overflow: hidden; transition: border-color .5s, transform .5s var(--ease); }
.extra:hover { border-color: rgba(var(--acc-rgb), .45); transform: translateY(-4px); }
.extra h3 { margin: 0 0 10px; font-size: 21px; font-weight: 500; letter-spacing: -.01em; }
.extra p { margin: 0; color: var(--text-2); font-size: 15px; font-weight: 300; }
html[lang="ko"] .extra p { font-weight: 400; }
.extra .feature-tags { margin-bottom: 8px; }
.extra-mock { height: 214px; margin-bottom: 22px; padding: 14px; border-radius: 12px; border: 1px solid var(--line); background: #0d0e12; font-size: 12.5px; overflow: hidden; display: flex; flex-direction: column; gap: 8px; }
/* chat */
.xm-chat .bubble { max-width: 82%; padding: 7px 11px; border-radius: 14px; line-height: 1.4; opacity: 0; animation: bub 7s var(--ease) infinite; animation-delay: var(--d); }
.xm-chat .in { align-self: flex-start; background: rgba(255,255,255,.07); color: var(--text-2); border-bottom-left-radius: 4px; }
.xm-chat .out { align-self: flex-end; background: rgba(var(--acc-rgb), .16); color: var(--text); border: 1px solid rgba(var(--acc-rgb), .3); border-bottom-right-radius: 4px; }
.xm-chat .out b { font-family: var(--f-mono); font-size: 9.5px; color: var(--acc); margin-right: 4px; font-weight: 500; }
@keyframes bub { 0% { opacity: 0; transform: translateY(8px); } 6%, 85% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; } }
/* review */
.xm-review .rv { padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.04); }
.xm-review .rv p { margin: 6px 0 0; font-size: 12.5px; color: var(--text-2); font-weight: 400; }
.rv-head { display: flex; align-items: center; gap: 8px; }
.rv-av { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--acc-3); color: #fff; font-size: 10px; font-weight: 700; }
.rv-stars { color: #f5c451; letter-spacing: 2px; font-size: 12px; }
.rv-reply { display: flex; flex-direction: column; gap: 3px; padding: 9px 12px; border-radius: 10px; border: 1px dashed rgba(var(--acc-rgb), .4); }
.rv-reply b { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .1em; color: var(--acc); font-weight: 500; text-transform: uppercase; }
.rv-typed { color: var(--text); line-height: 1.45; animation: rvtype 7s var(--ease) infinite; }
@keyframes rvtype { 0%, 12% { opacity: 0; clip-path: inset(0 100% 0 0); } 45%, 92% { opacity: 1; clip-path: inset(0 0 0 0); } 100% { opacity: 0; } }
.rv-actions { display: flex; gap: 6px; margin-top: auto; font-family: var(--f-mono); font-size: 10.5px; }
.rv-actions span { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.rv-actions .rv-ok { animation: rvok 7s infinite; }
@keyframes rvok { 0%, 60% { background: transparent; color: var(--muted); border-color: var(--line-2); } 66%, 92% { background: var(--acc); color: var(--on-acc); border-color: var(--acc); } }
/* cta card */
.extra-cta { justify-content: flex-end; border-color: rgba(var(--acc-rgb), .3); background: radial-gradient(120% 90% at 100% 0%, rgba(var(--acc-rgb), .16), transparent 60%), linear-gradient(160deg, rgba(255,255,255,.04), rgba(255,255,255,.01)); }
.extra-plus { position: absolute; top: 6px; right: 22px; font-family: "Instrument Serif", serif; font-size: 120px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(var(--acc-rgb), .35); }
.extra-cta h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.15; }
html[lang="ko"] .extra-cta h3 { font-weight: 500; font-size: clamp(22px, 2vw, 26px); line-height: 1.35; letter-spacing: -.02em; }
.extra-cta .btn { align-self: flex-start; margin-top: 22px; }
@media (max-width: 980px) { .extras-grid { grid-template-columns: 1fr; } .extra-cta { min-height: 240px; } }
@media (max-width: 600px) { .ba-row { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; z-index: 2; padding: clamp(80px, 12vw, 160px) 0; text-align: center; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(900px, 120vw); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid rgba(var(--acc-rgb), .15); box-shadow: 0 0 0 80px rgba(var(--acc-rgb), .02), 0 0 0 160px rgba(var(--acc-rgb), .015); animation: spin 60s linear infinite; background: conic-gradient(from 0deg, transparent, rgba(var(--acc-rgb), .07), transparent 30%); }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.cta-band-text { position: relative; margin: 0; font-family: var(--f-display); font-size: clamp(34px, 5.4vw, 76px); line-height: 1.1; letter-spacing: -.015em; }
html[lang="ko"] .cta-band-text { font-weight: 300; font-size: clamp(28px, 4.2vw, 56px); line-height: 1.35; letter-spacing: -.035em; }

/* ---------- contact ---------- */
.contact { border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(48px, 7vw, 110px); align-items: start; }
.contact .section-title { font-size: clamp(34px, 4.6vw, 64px); }
html[lang="ko"] .contact .section-title { font-size: clamp(28px, 3.6vw, 48px); }
.contact-points { margin: 48px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.contact-points li { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.cp-k { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.contact-points a { color: var(--acc-2); border-bottom: 1px solid rgba(var(--acc-rgb), .4); }

.form { position: relative; padding: clamp(24px, 3.4vw, 44px); border-radius: 24px; border: 1px solid var(--line-2); background: linear-gradient(160deg, rgba(255,255,255,.04), rgba(255,255,255,.01)); backdrop-filter: blur(10px); display: grid; gap: 18px; overflow: hidden; }
.form-glow { position: absolute; width: 380px; height: 380px; right: -140px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--acc-rgb), .18), transparent 65%); pointer-events: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; position: relative; margin: 0; padding: 0; border: 0; min-width: 0; }
.field > span, .field legend { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 0; }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2);
  background: rgba(7,8,10,.6); color: var(--text); font: inherit; font-size: 16px;
  transition: border-color .3s, box-shadow .3s, background .3s; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 4px rgba(var(--acc-rgb), .12); background: rgba(7,8,10,.85); }
.field textarea::placeholder { color: #55524d; }
.field .invalid, .field input.invalid, .field textarea.invalid { border-color: var(--err); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { margin-bottom: 8px; width: 100%; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13.5px; color: var(--text-2); transition: all .3s var(--ease); user-select: none; }
.chips label:hover span { border-color: rgba(var(--acc-rgb), .6); color: var(--text); }
.chips input:checked + span { background: rgba(var(--acc-rgb), .14); border-color: var(--acc); color: var(--acc-2); }
.chips input:focus-visible + span { outline: 2px solid var(--acc); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.55; cursor: pointer; }
.consent input { appearance: none; -webkit-appearance: none; flex: 0 0 18px; width: 18px; height: 18px; margin-top: 2px; border-radius: 5px; border: 1px solid var(--line-2); background: rgba(7,8,10,.6); position: relative; cursor: pointer; transition: all .3s; }
.consent input:checked { background: var(--acc); border-color: var(--acc); }
.consent input:checked::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.consent input.invalid { border-color: var(--err); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn[disabled] { opacity: .6; pointer-events: none; }
.form-status { margin: 0; min-height: 1.4em; font-size: 14px; text-align: center; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }
.form.sent { border-color: rgba(143,214,166,.35); }

/* ---------- footer ---------- */
.footer { position: relative; z-index: 2; padding: 96px 0 32px; background: var(--ink-2); border-top: 1px solid var(--line); overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }
.footer-word { font-family: "Instrument Serif", serif; font-size: 44px; line-height: 1; }
.footer-word em { margin-left: 6px; }
.footer-brand p { margin: 14px 0 0; color: var(--muted); max-width: 320px; font-size: 14.5px; }
.footer-info { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 40px; margin: 0; }
.footer-info dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.footer-info dd { margin: 0; font-size: 15.5px; }
.footer-info .span-2 { grid-column: span 2; }
.footer-links { display: flex; gap: 24px; }
.footer-links a:hover { color: var(--acc-2); }
.consent a { color: var(--acc-2); text-decoration: underline; text-underline-offset: 3px; }
.footer-info a:hover { color: var(--acc-2); }
.footer-giant {
  margin: 72px 0 24px; font-family: "Instrument Serif", serif; font-size: clamp(90px, 25vw, 380px); line-height: .78; letter-spacing: -.03em; text-align: center;
  color: transparent; -webkit-text-stroke: 1px rgba(var(--acc-rgb), .22);
  background: linear-gradient(to bottom, rgba(var(--acc-rgb), .16), transparent 75%); -webkit-background-clip: text; background-clip: text;
  user-select: none;
}
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.to-top:hover { color: var(--acc-2); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--rd, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.i18n-fade { transition: opacity .25s; }
body.lang-switching [data-i18n], body.lang-switching [data-i18n-html] { opacity: 0; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .pillars { grid-template-columns: 1fr; }
  .pillar-num { margin-bottom: 24px; font-size: 52px; }
  .why { grid-template-columns: 1fr; }
  .why-item { border-left: 0; border-top: 1px solid var(--line); padding: 20px 0; }
  .why-item:first-child { border-top-color: var(--acc); }
  .feature, .contact-grid, .footer-top { grid-template-columns: 1fr; }
  .feature-rev .feature-copy { order: 0; }
  .mock, .feature-rev .mock { transform: none; }
}
@media (max-width: 600px) {
  .nav { padding-top: 14px; padding-bottom: 14px; }
  .nav-cta { display: none; }
  .brand-word { font-size: 24px; }
  .hero { padding-top: 120px; padding-bottom: 110px; align-items: flex-end; }
  .hero-ctas .btn { width: 100%; }
  .hero-meta { margin-top: 36px; }
  .field-row { grid-template-columns: 1fr; }
  .mv-stage { grid-template-columns: 1fr; }
  .mv-formats { flex-direction: row; align-items: center; }
  .mc-grid { grid-template-columns: 1fr; }
  .footer-info { grid-template-columns: 1fr; }
  .footer-info .span-2 { grid-column: auto; }
  .contact-points li { flex-direction: column; gap: 4px; }
  .cursor-glow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal, .mc-task, .mq-row, .xm-chat .bubble { opacity: 1; transform: none; }
  .rv-typed { opacity: 1; clip-path: none; }
  .mq-typed { max-width: 46ch; }
  html { scroll-behavior: auto; }
}

/* Korean: mono + wide tracking reads poorly for Hangul labels */
html[lang="ko"] .field > span, html[lang="ko"] .field legend, html[lang="ko"] .cp-k,
html[lang="ko"] .section-index span:last-child, html[lang="ko"] .eyebrow,
html[lang="ko"] .footer-info dt, html[lang="ko"] .pillar-tags li, html[lang="ko"] .hero-meta-text {
  font-family: var(--f-body); letter-spacing: .02em; font-size: 13px;
}
