/* Postva — one coherent dark system
   Type hierarchy: ink / body / mute / accent
   Layout: left copy + right product, then open sections */

@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@450;500;600&display=swap");

:root {
  --bg: #09090b;
  --bg-2: #0f0f12;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.14);
  --ink: #f4f1ea;
  --body: #c9c4b8;
  --mute: #8a857a;
  --faint: #5c5850;
  --gold: #e2b04a;
  --gold-2: #f0c66a;
  --gold-dim: rgba(226, 176, 74, 0.14);
  --gold-ink: #1a1408;
  --ok: #5dcc94;
  --bad: #e87a7a;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --r: 12px;
  --r-lg: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--body);
  line-height: 1.6;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
  background:
    radial-gradient(1000px 500px at 80% -10%, rgba(226,176,74,0.07), transparent 55%),
    radial-gradient(700px 400px at 0% 20%, rgba(255,255,255,0.025), transparent 50%);
}
img, svg { display: block; max-width: 100%; }
a { color: var(--gold-2); text-decoration: none; }
a:hover { color: #ffd98a; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
button, .btn { cursor: pointer; }
h1, h2, h3 { color: var(--ink); font-weight: 700; letter-spacing: -0.04em; }

.wrap {
  position: relative; z-index: 1;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

/* ── Nav ── */
.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  height: 58px;
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-size: 1.05rem; font-weight: 700; letter-spacing: -0.04em;
  color: var(--ink); text-decoration: none;
}
.brand span { color: var(--gold); }
.nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.nav a:not(.btn) {
  color: var(--mute); font-size: 0.86rem; font-weight: 500;
  padding: 8px 11px; border-radius: 8px;
}
.nav a:not(.btn):hover { color: var(--ink); background: rgba(255,255,255,0.04); }

/* Language dropdown */
.lang-dd {
  position: relative;
  margin-right: 2px;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--mute);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
}
.lang-btn:hover {
  color: var(--ink);
  background: rgba(255,255,255,0.04);
  border-color: var(--line-2);
}
.lang-btn-cur {
  color: var(--ink);
  font-weight: 650;
  font-size: 0.8rem;
}
.lang-chev {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--mute);
  margin-left: 2px;
}
.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 132px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
  z-index: 60;
}
.lang-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 7px;
  color: var(--body);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
}
.lang-menu a:hover {
  background: rgba(255,255,255,0.06);
  color: var(--ink);
}
.lang-menu li[aria-selected="true"] a {
  color: var(--gold);
  font-weight: 650;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 18px; border: 0; border-radius: 10px;
  font: inherit; font-size: 0.9rem; font-weight: 600;
  background: var(--gold); color: var(--gold-ink);
  transition: background 0.15s, transform 0.15s, border-color 0.15s;
}
.btn:hover { background: var(--gold-2); color: var(--gold-ink); text-decoration: none; }
.btn:active { transform: scale(0.98); }
.btn.ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--line-2);
}
.btn.ghost:hover { background: rgba(255,255,255,0.04); color: var(--ink); border-color: var(--mute); }
.btn.sm { height: 34px; padding: 0 14px; font-size: 0.84rem; }
.btn.lg { height: 48px; padding: 0 24px; font-size: 0.95rem; border-radius: 11px; }
.btn.block { width: 100%; }
.btn.danger { background: var(--bad); color: #1a0808; }
.btn.ai { background: var(--gold); color: var(--gold-ink); }
.btn.ai:disabled { opacity: 0.45; cursor: wait; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.actions.center { justify-content: center; }

/* ══════════════════════════════════════
   LANDING
   ══════════════════════════════════════ */

/* Hero: always side-by-side on desktop */
.hero {
  position: relative;
  display: grid;
  gap: 48px;
  padding: 56px 0 72px;
  align-items: center;
  isolation: isolate;
  /* atmosphere as true background — not a separate card image */
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 70% 80% at 85% 20%, rgba(255, 45, 85, 0.14), transparent 55%),
    radial-gradient(ellipse 55% 60% at 8% 75%, rgba(255, 0, 50, 0.08), transparent 50%),
    radial-gradient(ellipse 50% 50% at 70% 80%, rgba(129, 52, 175, 0.1), transparent 55%),
    radial-gradient(ellipse 40% 45% at 40% 10%, rgba(232, 180, 76, 0.06), transparent 50%),
    linear-gradient(180deg, #0c0c10 0%, var(--bg) 70%);
}
/* optional photo wash — very soft, full bleed, behind content */
.hero-bg {
  position: absolute;
  inset: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  opacity: 0.18;
  filter: blur(2px) saturate(0.7) brightness(0.55);
  transform: scale(1.06);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9,9,11,0.35) 0%, rgba(9,9,11,0.75) 55%, rgba(9,9,11,0.98) 100%),
    linear-gradient(105deg, rgba(9,9,11,0.92) 0%, rgba(9,9,11,0.45) 55%, rgba(9,9,11,0.7) 100%);
}
@media (min-width: 920px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 48px 40px;
    min-height: calc(100svh - 58px);
    padding: 56px 0 64px;
  }
}

.hero-copy { min-width: 0; container-type: inline-size; position: relative; z-index: 1; }
.hero-visual { position: relative; z-index: 1; }
.eyebrow {
  margin: 0 0 18px;
  font-size: 0.88rem; font-weight: 500; color: var(--mute);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.plat {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.plat-yt {
  background: #ff0033;
  box-shadow: 0 0 10px rgba(255, 0, 51, 0.45);
}
.plat-ig {
  background: linear-gradient(135deg, #f58529, #dd2a7b 55%, #8134af);
  box-shadow: 0 0 10px rgba(221, 42, 123, 0.4);
}
.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(2.35rem, 9.6cqi, 4rem);
  line-height: 1.12;
  display: flex; flex-direction: column; gap: 0.08em;
}
@supports not (font-size: 1cqi) {
  .hero h1 { font-size: clamp(2.35rem, 4.2vw, 3.85rem); }
}
.hero h1 span {
  display: block;
  white-space: nowrap;
}
.lede {
  margin: 0 0 28px;
  max-width: 34em;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--body);
}
.fine {
  margin: 18px 0 0;
  font-size: 0.84rem; color: var(--mute);
}

/* Right visual: phone + times, never drops under title on desktop */
.hero-visual {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: flex-end;
  flex-shrink: 0;
}

.device {
  width: 248px;
  padding: 9px;
  border-radius: 28px;
  background: linear-gradient(160deg, #2a2a30, #121214 50%, #0a0a0c);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 30px 80px rgba(0,0,0,0.55);
  flex-shrink: 0;
}
@media (min-width: 1100px) { .device { width: 268px; } }

.device-screen {
  position: relative;
  aspect-ratio: 9/16;
  border-radius: 22px;
  overflow: hidden;
  background: #0a0a0c;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #0a0a0c;
}
.reel-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 40% 30%, #8a7048 0%, transparent 60%),
    linear-gradient(165deg, #3a3228, #141210 70%);
}
.reel-status {
  position: absolute; top: 12px; left: 10px; right: 10px;
  display: flex; gap: 6px; z-index: 2;
}
.reel-status span {
  font-size: 0.62rem; font-weight: 700;
  padding: 4px 8px; border-radius: 999px;
  background: rgba(0,0,0,0.5); color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.08);
}
.reel-status .live {
  background: var(--gold); color: var(--gold-ink); border: 0;
}
.reel-title {
  position: absolute; top: 26%; left: 8%; right: 8%;
  text-align: center; z-index: 2;
}
.reel-title strong {
  display: block;
  font-size: 1.25rem; font-weight: 800; color: #fff;
  letter-spacing: -0.03em; line-height: 1.2;
  text-shadow: 0 2px 14px rgba(0,0,0,0.4);
}
.reel-title em {
  display: block; margin-top: 6px;
  font-style: normal; font-size: 0.9rem; font-weight: 600;
  color: rgba(255,255,255,0.88);
}
.reel-cap {
  position: absolute; left: 10px; right: 10px; bottom: 72px;
  z-index: 2; text-align: center;
  font-size: 0.8rem; font-weight: 700; color: #fff;
  padding: 8px 10px; border-radius: 8px;
  background: rgba(0,0,0,0.72);
}
.reel-bar {
  position: absolute; left: 12px; right: 12px; bottom: 42px;
  height: 3px; border-radius: 99px;
  background: rgba(255,255,255,0.15); z-index: 2; overflow: hidden;
}
.reel-bar i {
  display: block; height: 100%; width: 58%;
  background: var(--gold); border-radius: inherit;
  animation: bar 5.5s linear infinite;
}
@keyframes bar {
  from { width: 10%; } to { width: 88%; }
}
.reel-time {
  position: absolute; left: 12px; right: 12px; bottom: 14px;
  margin: 0; z-index: 2;
  font-family: var(--mono); font-size: 0.66rem;
  color: rgba(255,255,255,0.7);
}

.times {
  width: 148px;
  flex-shrink: 0;
}
.times-h {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--mute);
}
.times .t {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.times .t:last-child { border-bottom: 1px solid var(--line); }
.times b {
  font-family: var(--mono); font-size: 1.05rem; font-weight: 600;
  color: var(--body); letter-spacing: -0.02em;
}
.times span { font-size: 0.75rem; font-weight: 600; color: var(--mute); }
.times .done b { color: var(--faint); }
.times .done span { color: var(--ok); }
.times .now b { color: var(--gold-2); }
.times .now span { color: var(--gold); }

/* Strip */
.strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 40px 0;
  margin: 24px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  /* full bleed via shadow box */
  box-shadow: 0 0 0 100vmax var(--bg-2);
  clip-path: inset(0 -100vmax);
}
.strip > div {
  padding: 4px 24px;
  border-left: 1px solid var(--line);
}
.strip > div:first-child { border-left: 0; padding-left: 0; }
.strip small {
  display: block;
  font-family: var(--mono);
  font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 8px;
}
.strip p {
  margin: 0;
  font-size: 1.1rem; font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.35;
}

/* ── Visual sections (image-led) ── */
.vis-pair {
  display: grid;
  gap: 28px;
  padding: 96px 0 72px;
  border-top: 1px solid var(--line);
}
@media (min-width: 860px) {
  .vis-pair {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 112px 0 88px;
  }
}
.vis-card h2 {
  margin: 16px 0 8px;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  line-height: 1.3;
  letter-spacing: -0.03em;
}
.vis-card p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--body);
  max-width: 28em;
}
.vis-media {
  position: relative;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #111;
  aspect-ratio: 16 / 10;
}
.vis-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.vis-media .tag {
  position: absolute; top: 12px; left: 12px;
  margin: 0;
  font-family: var(--mono);
  font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px;
  background: var(--gold); color: var(--gold-ink);
}
.vis-media .tag-mute {
  background: rgba(0,0,0,0.65); color: #ddd;
  border: 1px solid rgba(255,255,255,0.12);
}

.vis-feature {
  padding: 32px 0 56px;
}
.vis-banner {
  margin: 0 0 28px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 21 / 9;
  background: #111;
}
.vis-banner img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.vis-feature-copy {
  max-width: 36rem;
}
.vis-feature-copy small {
  display: block; margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold);
}
.vis-feature-copy h2 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  line-height: 1.2;
}
.vis-feature-copy p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--body);
  line-height: 1.55;
}

/* Generic content blocks */
.block {
  padding: 100px 0;
  border-top: 1px solid var(--line);
}
.block-h { max-width: 36rem; margin: 0 0 40px; }
.block-h.tight { margin-bottom: 28px; }
.block-h.center-h { text-align: center; margin-left: auto; margin-right: auto; }
.block-h small {
  display: block;
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold);
}
.block-h h2 {
  margin: 0 0 12px;
  font-size: clamp(1.85rem, 3.5vw, 2.45rem);
  line-height: 1.2;
}
.block-h p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--body);
  max-width: 30em;
}

/* How: image left, steps right */
.how-vis { padding-top: 48px; }
.how-vis-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}
@media (min-width: 900px) {
  .how-vis-grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 40px;
  }
}
.how-vis-img {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  background: #111;
}
.how-vis-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Steps compact */
.steps3 {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 0;
}
.steps3.compact li {
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 12px;
  row-gap: 4px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.steps3.compact li:last-child { border-bottom: 1px solid var(--line); }
.steps3.compact span {
  grid-row: 1 / span 2;
  font-family: var(--mono);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold);
  padding-top: 3px;
}
.steps3.compact h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
  grid-column: 2;
}
.steps3.compact p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--mute);
  grid-column: 2;
}

/* Who lite — short chips */
.who-lite { padding-bottom: 48px; }
.chips3 {
  display: grid;
  gap: 12px;
}
@media (min-width: 800px) {
  .chips3 { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
.chips3 > div {
  padding: 20px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.chips3 h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  line-height: 1.3;
}
.chips3 p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--mute);
}
.copy-sec .block-h {
  max-width: 42rem;
  margin-bottom: 32px;
}
.copy-sec .block-h p {
  margin: 0 auto;
  max-width: 36em;
}
.copy-headline {
  display: flex;
  flex-direction: column;
  gap: 0.12em;
  white-space: normal;
}
.copy-headline span {
  display: block;
}

/* AI title typing demo — one field only */
.ai-demo {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  margin: 0 auto 8px;
  max-width: 560px;
  background: linear-gradient(165deg, #141416 0%, #0c0c0e 100%);
}
.ai-demo-simple {
  min-height: 0;
}
.ai-demo-bg { display: none; }
.ai-demo-panel {
  position: relative;
  z-index: 1;
  padding: 28px 28px 32px;
  max-width: 560px;
  margin: 0 auto;
}
.ai-field-solo {
  margin-bottom: 0;
}
.ai-demo-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.ai-pill {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--gold-ink);
}
.ai-demo-sub {
  font-size: 0.88rem;
  color: var(--mute);
}
.ai-field {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(10, 10, 12, 0.82);
  border: 1px solid rgba(226, 176, 74, 0.2);
}
.ai-field-l {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-bottom: 8px;
  font-family: var(--mono);
  text-transform: uppercase;
}
.type-line {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.45;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  min-height: 1.5em;
}
.type-cap {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--body);
}
.type-text {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  max-width: 0;
  vertical-align: bottom;
}
.type-title .type-text {
  animation: type-open 2.4s steps(22, end) 0.3s forwards,
             type-hold 8s linear 2.7s infinite;
}
.type-cap .type-text {
  animation: type-open 2.8s steps(28, end) 2.2s forwards,
             type-hold 8s linear 5s infinite;
}
.caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 2px;
  background: var(--gold);
  animation: caret-blink 0.85s step-end infinite;
  flex-shrink: 0;
}
.type-cap .caret {
  animation-delay: 2.2s;
}
@keyframes type-open {
  from { max-width: 0; }
  to { max-width: 28em; }
}
@keyframes type-hold {
  0%, 100% { max-width: 28em; }
}
@keyframes caret-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .type-text {
    max-width: 28em !important;
    animation: none !important;
  }
  .caret { animation: none; opacity: 0; }
}
@media (max-width: 640px) {
  .ai-demo-panel { padding: 20px 16px 24px; }
  .type-line { font-size: 0.95rem; }
  .type-text { white-space: normal; max-width: 28em !important; animation: none !important; }
  .caret { display: none; }
}

.copy-grid > div {
  border-color: rgba(226, 176, 74, 0.22);
  background: linear-gradient(165deg, rgba(226,176,74,0.08), var(--bg-2) 50%);
}
.copy-grid h3 {
  font-size: 1.15rem;
  color: var(--ink);
}
.copy-grid p {
  color: var(--body);
  line-height: 1.6;
}

/* End CTA — next action */
.end {
  padding: 120px 0 128px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.end-title,
.end h2 {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 5vw, 3.1rem);
  line-height: 1.18;
  letter-spacing: -0.04em;
  font-weight: 700;
  color: var(--ink);
}
.end-sub,
.end > p {
  margin: 0 auto 36px;
  max-width: 22em;
  font-size: clamp(1.08rem, 2vw, 1.2rem);
  line-height: 1.65;
  color: var(--body);
}
.end .btn.lg {
  height: 52px;
  padding: 0 32px;
  font-size: 1.02rem;
}

.site-foot {
  padding: 28px 0 48px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center; justify-content: space-between;
  font-size: 0.84rem; color: var(--mute);
}
.site-foot a { color: var(--mute); }
.site-foot a:hover { color: var(--ink); }
.site-foot nav { display: flex; gap: 16px; }

/* ══════════════════════════════════════
   PRICING
   ══════════════════════════════════════ */
.price-page { padding: 56px 0 96px; }
.price-head {
  text-align: center; max-width: 34rem; margin: 0 auto 36px;
}
.price-head .label {
  margin: 0 0 12px; font-family: var(--mono);
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold);
}
.price-head h1 {
  margin: 0 0 12px;
  font-size: clamp(1.85rem, 3.8vw, 2.4rem);
  line-height: 1.2;
}
.price-head p { margin: 0; color: var(--body); line-height: 1.65; font-size: 1.05rem; }

.bill-wrap { display: flex; justify-content: center; margin-bottom: 36px; }
.bill-toggle {
  display: inline-flex; padding: 4px; gap: 2px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 12px;
}
.bill-toggle button {
  border: 0; background: transparent; color: var(--mute);
  font: inherit; font-size: 0.875rem; font-weight: 600;
  height: 36px; padding: 0 16px; border-radius: 9px; cursor: pointer;
}
.bill-toggle button.on { background: var(--gold); color: var(--gold-ink); }
.bill-save { margin-left: 6px; font-size: 0.7rem; font-weight: 700; color: var(--ok); }
.bill-toggle button.on .bill-save { color: #1a5c3a; }

.price-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}
.price-card {
  display: flex; flex-direction: column;
  padding: 28px 24px 22px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  position: relative;
}
.price-card.popular {
  border-color: rgba(226,176,74,0.4);
  background: linear-gradient(180deg, rgba(226,176,74,0.1), var(--bg-2) 42%);
}
.price-card .pop-tag {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  height: 22px; padding: 0 12px;
  display: inline-flex; align-items: center;
  background: var(--gold); color: var(--gold-ink);
  font-size: 0.68rem; font-weight: 700; border-radius: 999px;
}
.price-card h3 {
  margin: 4px 0 6px; font-size: 1.12rem;
}
.price-card .plan-desc {
  margin: 0 0 18px; color: var(--mute); font-size: 0.88rem; min-height: 2.5em; line-height: 1.5;
}
.price-card .was {
  min-height: 1.2em; margin: 0 0 2px;
  font-size: 0.85rem; color: var(--faint); text-decoration: line-through;
}
.price-card .amount {
  display: flex; align-items: baseline; gap: 2px; flex-wrap: wrap; margin-bottom: 4px;
}
.price-card .amount .cur { font-size: 1rem; font-weight: 600; color: var(--mute); }
.price-card .amount .num {
  font-size: 2.3rem; font-weight: 700; letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums; color: var(--ink);
}
.price-card .amount .per { font-size: 0.9rem; color: var(--mute); margin-left: 4px; }
.price-card .eb-note {
  min-height: 1.2em; margin: 0 0 16px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em;
  color: var(--gold); font-family: var(--mono);
}
.price-card ul { list-style: none; padding: 0; margin: 0 0 20px; flex: 1; }
.price-card ul li {
  padding: 10px 0; font-size: 0.9rem; color: var(--body);
  border-top: 1px solid var(--line);
  display: flex; gap: 10px; align-items: flex-start; line-height: 1.45;
}
.price-card ul li::before {
  content: "";
  width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--gold-dim);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23e2b04a' stroke-width='2'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5'/%3E%3C/svg%3E");
  background-size: 12px; background-repeat: no-repeat; background-position: center;
}
.price-card .btn { margin-top: auto; }
.price-card .btn.ghost { background: transparent; }

.price-notes {
  margin: 48px auto 0; max-width: 36rem;
  color: var(--mute); font-size: 0.875rem; line-height: 1.7;
}
.price-notes h4 {
  margin: 0 0 12px; color: var(--body); font-size: 0.72rem;
  font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase;
  font-family: var(--mono);
}
.price-notes ul { margin: 0; padding-left: 1.15em; }
.price-notes li { margin-bottom: 8px; }

.price-compare {
  width: 100%; border-collapse: collapse; margin-top: 40px;
  font-size: 0.875rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.price-compare th, .price-compare td {
  text-align: left; padding: 14px;
  border-bottom: 1px solid var(--line);
}
.price-compare tr:last-child td { border-bottom: 0; }
.price-compare th {
  color: var(--mute); font-weight: 600; font-size: 0.7rem;
  letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--mono);
  background: #0c0c0e;
}
.price-compare td:first-child { color: var(--body); font-weight: 500; }
.price-compare .yes { color: var(--ok); font-weight: 650; }
.price-compare .no { color: var(--faint); }

/* ══════════════════════════════════════
   AUTH + APP
   ══════════════════════════════════════ */
.auth-box {
  width: min(400px, 100%);
  margin: 56px auto;
  padding: 32px 28px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.auth-box h1 {
  margin: 0 0 24px; font-size: 1.35rem;
}
.fld { margin-bottom: 14px; }
.fld label {
  display: block; margin-bottom: 6px;
  font-size: 0.8rem; font-weight: 550; color: var(--body);
}
.fld input, .fld textarea, .fld select {
  width: 100%; height: 44px; padding: 0 12px;
  border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg); color: var(--ink); font: inherit;
}
.fld textarea { height: auto; min-height: 100px; padding: 12px; resize: vertical; }
.fld input:focus, .fld textarea:focus, .fld select:focus {
  outline: none; border-color: rgba(226,176,74,0.45);
  box-shadow: 0 0 0 3px var(--gold-dim);
}

.flash {
  padding: 12px 14px; border-radius: 10px; margin: 16px 0; font-size: 0.9rem;
}
.flash.ok {
  background: rgba(93,204,148,0.1); color: var(--ok);
  border: 1px solid rgba(93,204,148,0.22);
}
.flash.error {
  background: rgba(232,122,122,0.1); color: var(--bad);
  border: 1px solid rgba(232,122,122,0.22);
}
.banner {
  margin: 16px 0; padding: 12px 14px; border-radius: 10px;
  background: var(--gold-dim); color: #f0d9a0;
  border: 1px solid rgba(226,176,74,0.25); font-size: 0.9rem;
}
.banner a { color: var(--gold-2); }
.banner-warn {
  background: rgba(232, 180, 76, 0.12);
  border-color: rgba(232, 180, 76, 0.35);
  color: #f0d9a0;
}

/* YouTube 연결 안내 (초보 고객용) */
.connect-guide {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}
.connect-guide-title {
  margin: 0 0 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}
.connect-guide-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.connect-guide-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0 0 10px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--mute);
}
.connect-guide-list li:last-child { margin-bottom: 0; }
.connect-guide-n {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-2);
  background: var(--gold-dim);
  border: 1px solid rgba(226, 176, 74, 0.28);
  margin-top: 1px;
}
.connect-guide-note {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--mute);
}

.app-layout {
  display: grid; gap: 24px; padding: 28px 0 64px;
}
@media (min-width: 900px) {
  .app-layout { grid-template-columns: 220px 1fr; gap: 32px; }
}
.side {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 10px; height: fit-content;
}
.side a {
  display: block; padding: 10px 12px; border-radius: 8px;
  color: var(--mute); font-size: 0.9rem; font-weight: 550; margin-bottom: 2px;
}
.side a:hover { background: rgba(255,255,255,0.04); color: var(--ink); text-decoration: none; }
.side a.active { background: var(--gold-dim); color: var(--gold-2); }
.main h2 {
  margin: 0 0 8px; font-size: 1.3rem;
}
.main .hint, .hint { color: var(--mute); font-size: 0.875rem; margin: 0 0 20px; line-height: 1.5; }

.card {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 20px;
}
.queue-item {
  background: #141418; border: 1px solid var(--line);
  border-radius: 12px; padding: 16px; margin-bottom: 12px;
}
.queue-item .meta { font-size: 0.8rem; color: var(--mute); margin-top: 8px; }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }

.days { display: flex; flex-wrap: wrap; gap: 8px; }
.days label {
  display: flex; align-items: center; gap: 6px;
  background: var(--bg); border: 1px solid var(--line);
  padding: 8px 12px; border-radius: 8px; font-size: 0.85rem; cursor: pointer;
  color: var(--body);
}

.table-log { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.table-log th, .table-log td {
  text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line);
  color: var(--mute);
}
.table-log th { color: var(--body); font-weight: 600; }

.badge {
  display: inline-flex; align-items: center;
  height: 22px; padding: 0 8px; border-radius: 999px;
  font-size: 0.7rem; font-weight: 650;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line); color: var(--body);
}
.badge.pending {
  color: var(--gold); border-color: rgba(226,176,74,0.28);
  background: var(--gold-dim);
}

.ai-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ai-hint { margin-top: 10px; font-size: 0.85rem; color: var(--mute); }
.ai-hint.err { color: var(--bad); }

.check-row { margin-top: 8px; }
.check-label {
  display: flex; align-items: flex-start; gap: 10px;
  cursor: pointer; color: var(--body); font-size: 0.92rem; font-weight: 550;
  line-height: 1.4;
}
.check-label input[type="checkbox"] {
  width: 16px; height: 16px; margin-top: 3px; flex-shrink: 0;
  accent-color: var(--gold);
}

/* 업로드 설정 */
.settings-form .settings-block {
  margin: 0 0 22px;
  padding: 0 0 20px;
  border-bottom: 1px solid var(--line);
}
.settings-form .settings-block:last-of-type {
  border-bottom: 0;
  margin-bottom: 18px;
  padding-bottom: 0;
}
.settings-block-label {
  display: block;
  margin: 0 0 6px;
  font-size: 0.8rem;
  font-weight: 550;
  color: var(--body);
}
.fld-hint {
  margin: 0 0 8px;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--mute);
}
.fld-hint.indent { margin-left: 26px; margin-top: 6px; margin-bottom: 0; }
.publish-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.publish-check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 160px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 550;
  color: var(--ink);
}
.publish-check:hover { border-color: rgba(226, 176, 74, 0.35); }
.publish-check input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--gold);
  flex-shrink: 0;
}

.btn-google {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; height: 44px;
  background: #fff; color: #111; font-weight: 600; font-size: 0.9rem;
  border: 0; border-radius: 10px; text-decoration: none;
}
.btn-google:hover { opacity: 0.94; text-decoration: none; color: #111; }
.auth-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 20px 0; color: var(--mute); font-size: 0.8rem;
}
.auth-divider::before, .auth-divider::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}

.mv-summary {
  border-radius: 12px; padding: 16px; border: 1px solid var(--line);
  background: #141418; font-size: 0.92rem; line-height: 1.55;
}
.mv-summary.mv-ok { border-color: rgba(93,204,148,0.3); background: rgba(93,204,148,0.06); }
.mv-summary.mv-fail { border-color: rgba(232,122,122,0.3); background: rgba(232,122,122,0.06); }
.mv-sum-title { font-weight: 700; font-size: 1rem; margin-bottom: 8px; color: var(--ink); }
.mv-sum-meta { color: var(--mute); font-size: 0.85rem; margin-bottom: 6px; }
.mv-sum-line { margin: 4px 0; }
.mv-sum-line.ok { color: var(--ok); }
.mv-sum-line.bad { color: var(--bad); }

/* bridges used by older template class names */
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.footer { /* legacy */ }
.hero-lead { }
.label { }

/* ── Mobile ── */
@media (max-width: 919px) {
  .hero { padding: 32px 0 40px; }
  .hero h1 {
    font-size: clamp(1.85rem, 8.8vw, 2.65rem);
  }
  .hero-visual {
    flex-direction: column;
    align-items: center;
  }
  .times { width: min(248px, 100%); }
  .device { width: min(248px, 72vw); }
  .strip { grid-template-columns: 1fr; gap: 0; }
  .strip > div {
    border-left: 0; border-top: 1px solid var(--line);
    padding: 16px 0;
  }
  .strip > div:first-child { border-top: 0; }
  .vis-banner { aspect-ratio: 16 / 9; }
  .block { padding: 44px 0; }
  .end { padding: 56px 0; }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .price-page { padding: 40px 0 72px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
