:root {
  --accent: #d5002d;
  --accent-dark: #a81e1a;
  --bg: #eef1f5;
  --text: #1a2535;
  --muted: #6b7a8d;
  --line: #d8e0ea;
  --surface: #fff;
  --shadow: 0 8px 24px rgba(26, 37, 53, 0.08);
  --radius: 10px;
  --font: "Nanum Gothic", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea {
  font: inherit;
  color: inherit;
}
.muted { color: var(--muted); }
.empty { color: var(--muted); padding: 24px 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, #d82d28 0%, #a81e1a 100%);
  color: #fff;
  font-weight: 700;
  padding: 12px 18px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(216, 45, 40, 0.28);
}
.btn:hover { opacity: 0.94; }
.btn--lg { padding: 16px 22px; font-size: 16px; }
.btn--sm { padding: 8px 14px; font-size: 13px; }
.btn--block { width: 100%; }
.btn--ghost, .btn.btn--ghost {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
}
.btn--danger, .btn.btn--danger {
  background: #fff2f2;
  color: var(--accent);
  border: 1px solid #ffd4d4;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid #ddd;
}
.site-nav__inner, .landing, .discover, .legal, .auth {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}
.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 42px; width: auto; max-width: 220px; object-fit: contain; }
.site-nav__links { display: flex; gap: 14px; align-items: center; }
.site-nav__links a { text-decoration: none; font-weight: 700; color: #374151; }
.site-nav__links a.is-on { color: var(--accent); }

.hero { padding: 56px 0 40px; text-align: left; }
.hero-url {
  display: inline-flex; align-items: center; gap: 4px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 12px 16px; margin: 8px 0 16px; font-weight: 700;
}
.hero-url span { color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.eyebrow {
  display: inline-block;
  background: #fff2f2;
  color: var(--accent);
  font-weight: 800;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  margin: 0 0 18px;
}
h1 { font-size: clamp(26px, 4.5vw, 38px); letter-spacing: -0.04em; line-height: 1.25; margin: 0 0 16px; }
.lead { color: var(--muted); font-size: 16px; margin: 0 0 20px; }
.hint { color: var(--muted); font-size: 14px; }
.text-link { color: var(--accent); font-weight: 800; text-decoration: none; }

.features { padding: 8px 0 88px; }
.features h2 { letter-spacing: -0.03em; margin: 0 0 8px; font-size: 22px; }
.feat-lead { color: var(--muted); margin: 0 0 22px; }
.feat-stage {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: start;
}
.feat-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text);
}
.feat-kicker em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  background: #fff2f2;
  border-radius: 999px;
  padding: 3px 8px;
}

.demo-phone {
  width: 280px;
  margin: 0 auto;
  background: #111318;
  border-radius: 32px;
  padding: 12px 10px 16px;
  box-shadow: 0 24px 48px rgba(20, 27, 45, 0.28);
}
.demo-phone__notch {
  width: 88px; height: 8px; border-radius: 8px;
  background: #2a2f3c; margin: 4px auto 10px;
}
.demo-pub {
  background: #f6f7fb;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  padding-bottom: 44px;
}
.demo-cover {
  height: 72px;
  background: linear-gradient(135deg, #d82d28, #1a1d26);
}
.demo-card {
  margin: -28px 10px 0;
  background: #fff;
  border-radius: 12px;
  padding: 0 12px 14px;
  box-shadow: var(--shadow);
}
.demo-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  margin: -26px auto 6px; border: 3px solid #fff;
  background: #d82d28; color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 20px;
}
.demo-name { text-align: center; font-weight: 800; margin: 0 0 2px; font-size: 15px; }
.demo-bio { text-align: center; color: var(--muted); margin: 0 0 8px; font-size: 11px; }
.demo-announce {
  background: #fff2f2; color: var(--accent); border-radius: 8px;
  padding: 6px 8px; font-weight: 700; font-size: 11px; text-align: center; margin-bottom: 8px;
}
.demo-sns { display: flex; justify-content: center; gap: 4px; margin-bottom: 8px; flex-wrap: wrap; }
.demo-sns span {
  font-size: 10px; font-weight: 800;
  border: 1px solid var(--line); border-radius: 999px; padding: 3px 7px; color: #4b5563;
}
.demo-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 8px; margin-bottom: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
}
.demo-btn span { display: grid; }
.demo-btn strong { font-size: 12px; }
.demo-btn em { font-style: normal; color: var(--muted); font-size: 10px; }
.demo-btn__thumb {
  width: 36px; height: 36px; border-radius: 8px; flex-shrink: 0;
}
.demo-btn__thumb--deal { background: linear-gradient(135deg, #ffb347, #d82d28); }
.demo-btn__thumb--live {
  background: #111; position: relative;
}
.demo-btn__thumb--live i {
  position: absolute; inset: 12px; border-radius: 50%; background: #ff3b4a;
  box-shadow: 0 0 0 0 rgba(255, 59, 74, 0.7);
  animation: demoLive 1.6s infinite;
}
@keyframes demoLive {
  0% { box-shadow: 0 0 0 0 rgba(255, 59, 74, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(255, 59, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 59, 74, 0); }
}
.demo-cal {
  border: 1px solid var(--line); border-radius: 10px; padding: 8px; margin: 4px 0 8px; font-size: 11px;
}
.demo-cal strong { display: block; margin-bottom: 4px; }
.demo-cal div { display: flex; gap: 8px; padding: 4px 0; border-top: 1px solid var(--line); }
.demo-cal time { color: var(--accent); font-weight: 800; min-width: 64px; }
.demo-offer {
  display: block; text-align: center; font-size: 11px; font-weight: 800;
  border: 1px solid var(--line); border-radius: 8px; padding: 6px;
}
.demo-cta {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: #d5002d; color: #fff; font-weight: 800; font-size: 13px;
  text-align: center; padding: 12px 8px;
}

.demo-stats {
  display: grid;
  gap: 12px;
}
.demo-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.demo-kpis div {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 12px; box-shadow: var(--shadow);
}
.demo-kpis strong { display: block; font-size: 22px; letter-spacing: -0.03em; }
.demo-kpis span { color: var(--muted); font-size: 12px; }
.demo-panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 14px 8px; box-shadow: var(--shadow);
}
.demo-panel__head {
  display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px;
}
.demo-panel__head h3 { margin: 0; font-size: 15px; }
.demo-panel__head span { color: var(--muted); font-size: 12px; }
.demo-chart { width: 100%; height: auto; display: block; }
.demo-bars { list-style: none; padding: 6px 4px 10px; margin: 0; display: grid; gap: 10px; }
.demo-bars li {
  display: grid;
  grid-template-columns: 88px 1fr 40px;
  gap: 8px;
  align-items: center;
  font-size: 13px;
}
.demo-bars__track {
  height: 10px; background: #f1f4f8; border-radius: 999px; overflow: hidden;
}
.demo-bars__track i {
  display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, #d82d28, #ff6b81);
}
.demo-bars strong { text-align: right; }

.site-foot {
  margin-top: 8px;
  background: #141b2d;
  color: #9aa6bf;
  font-size: 13px;
}
.site-foot__inner {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 18px;
  border-top: 3px solid var(--accent);
}
.site-foot__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  align-items: center;
}
.site-foot__nav a {
  color: #d5dced;
  text-decoration: none;
  font-weight: 700;
}
.site-foot__nav a:hover { color: #fff; }
.site-foot__copy {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 28px;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 16px;
  color: #7d89a3;
  font-size: 12px;
}

.auth { padding: 56px 0 80px; }
.auth-card, .legal {
  max-width: 480px;
  margin: 40px auto 80px;
}
.legal { max-width: 720px; }
.stack { display: grid; gap: 12px; }
.stack label { display: grid; gap: 6px; font-weight: 700; font-size: 13px; }
.stack input, .stack select, .stack textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff;
}
.check { display: flex !important; align-items: center; gap: 8px; font-weight: 700; }
.row-btns { display: flex; gap: 8px; flex-wrap: wrap; }

.discover { padding: 40px 0 80px; }
.discover-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.discover-card {
  display: block;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.04);
}
.discover-card__cover { height: 88px; background-size: cover; background-position: center; }
.discover-card__body { padding: 0 16px 16px; }
.discover-card__avatar {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
  margin-top: -24px; border: 3px solid #fff; background: var(--accent); color: #fff;
  display: grid; place-items: center; font-weight: 900;
}
.discover-card__body strong { display: block; margin-top: 8px; }
.discover-card__body span { color: var(--muted); font-size: 12px; }

.pub-page { max-width: 480px; margin: 0 auto; padding-bottom: 96px; }
.pub-cover { height: 160px; background-size: cover; background-position: center; }
.pub-card {
  margin: -42px 16px 0;
  background: #fff;
  border-radius: 10px;
  padding: 0 18px 28px;
  box-shadow: var(--shadow);
}
.pub-avatar {
  width: 84px; height: 84px; border-radius: 50%; object-fit: cover;
  margin: -42px auto 10px; border: 4px solid #fff; display: block;
}
.pub-avatar--ph {
  background: var(--accent); color: #fff; display: grid; place-items: center;
  font-size: 32px; font-weight: 900;
}
.pub-name { text-align: center; font-size: 22px; margin: 0 0 6px; }
.pub-bio { text-align: center; color: var(--muted); margin: 0 0 12px; }
.pub-announce {
  background: #fff2f2; color: var(--accent); border-radius: 12px;
  padding: 10px 12px; font-weight: 700; font-size: 13px; text-align: center; margin-bottom: 12px;
}
.pub-sns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 14px; }
.pub-sns a {
  font-size: 12px; font-weight: 800; text-decoration: none;
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px;
}
.pub-search {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin-bottom: 12px;
}
.pub-blocks { display: grid; gap: 10px; }
.pub-btn {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; text-decoration: none;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 6px 16px rgba(0,0,0,.04);
}
.pub--round .pub-btn { border-radius: 16px; }
.pub--pill .pub-btn { border-radius: 999px; }
.pub--square .pub-btn { border-radius: 6px; }
.pub-btn img { width: 48px; height: 48px; object-fit: cover; border-radius: 12px; }
.pub-btn span { display: grid; }
.pub-btn em { font-style: normal; color: var(--muted); font-size: 13px; }
.pub-text, .pub-cal, .pub-col, .pub-image, .pub-video {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px;
}
.pub-div { border: 0; border-top: 1px solid var(--line); margin: 8px 0; }
.pub-image img, .pub-video img { border-radius: 12px; width: 100%; }
.pub-video__frame { position: relative; padding-top: 56.25%; }
.pub-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 12px; }
.pub-cal__row { display: flex; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.pub-cal__row time { color: var(--accent); font-weight: 800; min-width: 72px; }
.pub-col__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pub-col__item {
  display: grid; gap: 6px; text-decoration: none; font-weight: 700; font-size: 13px;
}
.pub-col__item img { height: 88px; object-fit: cover; border-radius: 12px; width: 100%; }
.pub-actions { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.pub-ghost {
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 8px 14px; font-weight: 800; cursor: pointer; text-decoration: none;
}
.pub-brand { text-align: center; color: var(--muted); font-size: 12px; margin-top: 18px; }
.pub-brand__logo { height: 28px; width: auto; margin: 0 auto 8px; }
.pub-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  background: var(--accent); color: #fff; font-weight: 900; text-decoration: none;
}

.sheet {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(15, 23, 42, .45);
  display: grid; place-items: center; padding: 16px;
}
.sheet[hidden] { display: none !important; }
.sheet__card {
  width: min(440px, 100%);
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  max-height: calc(100vh - 32px);
  overflow: auto;
}
.sheet__card--wide { width: min(560px, 100%); }

@media (max-width: 860px) {
  .feat-stage { grid-template-columns: 1fr; }
  .demo-kpis { grid-template-columns: 1fr 1fr 1fr; }
  .site-foot__inner { padding-top: 28px; }
  .site-foot__nav { gap: 10px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .demo-btn__thumb--live i { animation: none; }
}
