:root {
  --ink: #1b2936;
  --ink-soft: #f6f1e8;
  --paper: #fffdf8;
  --paper-dim: #5c6973;
  --mint: #b8ecd7;
  --coral: #e86452;
  --yellow: #f8cc65;
  --line: rgba(27, 41, 54, 0.14);
  --wechat: #07c160;
}

* { box-sizing: border-box; }

html { background: #f6f1e8; }

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: #f6f1e8;
  font-family: Arial, "Noto Sans KR", "Noto Sans", sans-serif;
  letter-spacing: 0;
}

button { font: inherit; }

.shell {
  width: min(100%, 500px);
  min-height: 100svh;
  margin: 0 auto;
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--paper);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.live-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--paper-dim);
  font-size: 10px;
  font-weight: 700;
}

.live-label::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  content: "";
}

.hero { padding: 22px 16px 16px; }

.eyebrow {
  margin: 0 0 10px;
  color: #1a9b74;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

h1 {
  max-width: 450px;
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(38px, 11.5vw, 54px);
  font-weight: 900;
  line-height: 0.94;
  text-transform: uppercase;
}

h1 span { display: block; color: var(--coral); }

.local-line {
  margin: 12px 0 6px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.32;
}

.hero-copy {
  max-width: 410px;
  margin: 0;
  color: var(--paper-dim);
  font-size: 12px;
  line-height: 1.5;
}

.request-band {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: stretch;
  color: var(--ink);
  background: var(--mint);
}

.request-mark {
  display: grid;
  place-items: center;
  border-right: 1px solid rgba(17, 24, 23, 0.25);
  font-size: 22px;
  font-weight: 900;
}

.request-band p {
  margin: 0;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.42;
}

.request-band span {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 700;
}

.contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: center;
  padding: 16px 16px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.contact-kicker {
  margin: 0 0 5px;
  color: #c88600;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact h2 {
  margin: 0 0 7px;
  font-size: 20px;
  line-height: 1.18;
}

.contact-copy {
  margin: 0 0 9px;
  color: var(--paper-dim);
  font-size: 12px;
  line-height: 1.4;
}

.wechat-id {
  display: block;
  width: fit-content;
  margin: 0 auto 7px;
  padding: 5px 8px;
  border-left: 5px solid var(--coral);
  color: var(--ink);
  background: var(--yellow);
  font-family: Consolas, "Courier New", monospace;
  font-size: 17px;
  font-weight: 900;
}

.mini-copy {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  color: var(--ink);
  background: transparent;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.qr-wrap {
  order: -1;
  width: min(220px, calc(100vw - 72px));
  margin: 6px auto 4px;
  padding: 10px;
  background: #ffffff;
  box-shadow: 8px 8px 0 var(--coral), -5px -5px 0 var(--mint);
}

.qr-wrap img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #fff;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.benefit {
  min-width: 0;
  padding: 11px 9px;
  border-right: 1px solid var(--line);
}

.benefit:last-child { border-right: 0; }

.benefit strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 11px;
  line-height: 1.3;
}

.benefit span {
  display: block;
  color: var(--paper-dim);
  font-size: 9px;
  line-height: 1.4;
}

.policy-note {
  margin: 0;
  padding: 10px 16px 92px;
  color: #71808a;
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
}

.sticky {
  position: fixed;
  z-index: 5;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(27, 41, 54, 0.14);
  background: rgba(246, 241, 232, 0.97);
}

.primary {
  display: flex;
  width: min(100%, 472px);
  min-height: 48px;
  margin: 0 auto;
  padding: 0 18px;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--wechat);
  box-shadow: 0 8px 24px rgba(7, 193, 96, 0.24);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.primary::after { content: attr(data-tap-copy); font-size: 10px; opacity: 0.88; }

.toast {
  position: fixed;
  z-index: 9;
  top: 18px;
  left: 50%;
  width: calc(100% - 32px);
  max-width: 440px;
  padding: 13px 15px;
  transform: translate(-50%, -18px);
  border-radius: 5px;
  color: var(--ink);
  background: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

@media (max-width: 370px) {
  .qr-wrap { width: min(210px, calc(100vw - 64px)); }
  .benefits { grid-template-columns: 1fr; }
  .benefit { border-right: 0; border-bottom: 1px solid var(--line); }
  .benefit:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) { .toast { transition: none; } }
