/* 색상: PSD 텍스트 레이어 / 합성 이미지 샘플링 값 */
:root {
  --bg: #fdf9f0;
  --text: #111111;
  --text-sub: #616161;
  --red: #c22635;        /* 버튼 */
  --red-badge: #cc1f24;  /* +4개월 배지 */
  --red-check: #cb0e17;  /* 체크 아이콘 */
  --red-swoosh: #d2404c;
  --icon: #0a1f2c;
  --line: #efe7de;
  --panel: #fffdf8;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
ul { list-style: none; margin: 0; padding: 0; }
p, h1 { margin: 0; }

/*
 * 시안 좌표를 그대로 쓰기 위해 1u = 시안 1px 로 두고 컨테이너 폭에 비례해 스케일한다.
 * PC 시안 803 x 606, 모바일 시안 300 x 623
 */
.lp {
  container-type: inline-size;
  width: min(100% - 48px, 1120px);
  margin: 0 auto;
  padding: 32px 0;
}
.hero {
  --u: calc(100cqw / 803);
  position: relative;
  height: calc(606 * var(--u));
  overflow: hidden;
  background: var(--bg);
}
.hero > * { position: absolute; }

.hero__swoosh { display: none; }

.hero__head { left: calc(25 * var(--u)); top: calc(28 * var(--u)); z-index: 2; }
.logo { width: calc(155 * var(--u)); height: auto; }

.hero__copy { left: calc(25 * var(--u)); top: calc(92 * var(--u)); z-index: 2; }
.title { font-weight: 400; letter-spacing: -0.04em; }
.title__lead {
  display: block;
  font-size: calc(36 * var(--u));
  font-weight: 600;
  line-height: 1.3;
}
.title__main {
  display: block;
  margin-top: calc(2 * var(--u));
  font-size: calc(51 * var(--u));
  font-weight: 700;
  line-height: 1.25;
}
.sub {
  margin-top: calc(16 * var(--u));
  font-size: calc(22.5 * var(--u));
  font-weight: 500;
  color: var(--text-sub);
  letter-spacing: -0.04em;
}
.br-mo { display: none; }

.hero__visual { left: calc(392 * var(--u)); top: 0; width: calc(411 * var(--u)); }
.hero__visual img { width: 100%; height: auto; }
.hero__visual {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%);
          mask-image: linear-gradient(90deg, transparent 0, #000 6%);
}

.hero__offer {
  left: calc(25 * var(--u)); top: calc(308 * var(--u));
  display: flex; align-items: center; z-index: 2;
}
.badge {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: calc(120 * var(--u)); height: calc(120 * var(--u));
  border-radius: 50%;
  background: var(--red-badge);
  color: #fff;
  box-shadow: 0 calc(6 * var(--u)) calc(16 * var(--u)) rgb(204 31 36 / .25);
  letter-spacing: -0.03em;
}
.badge__num { font-size: calc(34 * var(--u)); font-weight: 800; line-height: 1.05; }
.badge__num small { font-size: calc(24 * var(--u)); font-weight: 700; }
.badge__txt { margin-top: calc(4 * var(--u)); font-size: calc(18 * var(--u)); font-weight: 700; }

.checks {
  margin-left: calc(15 * var(--u));
  padding-left: calc(12 * var(--u));
  border-left: 1px solid var(--line);
  display: grid; gap: calc(12 * var(--u));
}
.checks li {
  display: flex; align-items: center; gap: calc(7 * var(--u));
  font-size: calc(13.5 * var(--u)); font-weight: 500; letter-spacing: -0.03em;
}
.checks svg { width: calc(15.4 * var(--u)); height: calc(15.4 * var(--u)); color: var(--red-check); flex: none; }

.panel {
  left: calc(31 * var(--u)); right: calc(3 * var(--u));
  top: calc(461 * var(--u)); bottom: calc(-12 * var(--u));
  padding: calc(18 * var(--u)) calc(32 * var(--u)) 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: calc(16 * var(--u));
  box-shadow: 0 calc(-2 * var(--u)) calc(18 * var(--u)) rgb(120 80 40 / .06);
  z-index: 2;
}
.features { display: grid; grid-template-columns: repeat(3, 1fr); }
.features li {
  display: flex; align-items: center; justify-content: center; gap: calc(14 * var(--u));
  height: calc(40 * var(--u));
  font-size: calc(15.5 * var(--u)); font-weight: 600; letter-spacing: -0.03em;
}
.features li + li { border-left: 1px solid var(--line); }
.features svg { color: var(--icon); width: calc(28 * var(--u)); height: calc(26 * var(--u)); flex: none; }
.features .ic-devices { width: calc(32 * var(--u)); }

.cta {
  display: flex; align-items: center; justify-content: center; gap: calc(12 * var(--u));
  height: calc(50 * var(--u));
  margin-top: calc(18 * var(--u));
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: calc(17 * var(--u)); font-weight: 600; letter-spacing: -0.02em;
  text-decoration: none;
  box-shadow: 0 calc(6 * var(--u)) calc(14 * var(--u)) rgb(194 38 53 / .25);
  transition: background-color .2s, transform .2s;
}
.cta svg { width: calc(18 * var(--u)); height: calc(18 * var(--u)); }
.cta:hover { background: #a91e2c; transform: translateY(-1px); }
.cta:focus-visible { outline: 3px solid var(--icon); outline-offset: 3px; }

/* ---------- PC: 첫 화면 꽉 차게 (>= 768px) ----------
 * 시안 비율(803x606)을 유지한 채 화면 폭·높이 중 작은 쪽에 맞춰 스케일.
 * 배경은 화면 전체, 일러스트는 화면 오른쪽 끝까지 붙인다.
 */
@media (min-width: 768px) {
  .lp { width: 100%; padding: 0; overflow: clip; }
  .hero {
    --u: min(100cqw / 803, 100svh / 606);
    --bleed: calc((100cqw - 803 * var(--u)) / 2); /* 스테이지 바깥 좌우 여백 */
    width: calc(803 * var(--u));
    margin: 0 auto;
    overflow: visible;
  }
  .hero__visual { left: auto; right: calc(-1 * var(--bleed)); }
}

/* ---------- 모바일 (< 768px) ---------- */
@media (max-width: 767.98px) {
  .lp { width: min(100%, 480px); padding: 0; }
  .hero { --u: calc(100cqw / 300); height: calc(623 * var(--u)); }

  .hero__swoosh {
    display: block;
    right: calc(-40 * var(--u)); top: calc(-150 * var(--u));
    width: calc(150 * var(--u)); height: calc(240 * var(--u));
    border-radius: 50%;
    background: linear-gradient(200deg, #e4555f, var(--red-swoosh) 60%, #c3303c);
    transform: rotate(-38deg);
  }

  .hero__head { left: calc(22 * var(--u)); top: calc(28 * var(--u)); }
  .logo { width: calc(142 * var(--u)); }

  .hero__copy { left: calc(22 * var(--u)); right: calc(8 * var(--u)); top: calc(68 * var(--u)); }
  .br-mo { display: inline; }
  .title__lead { font-size: calc(26.5 * var(--u)); font-weight: 700; line-height: 1.3; }
  .title__main { margin-top: 0; font-size: calc(26.5 * var(--u)); line-height: 1.4; color: var(--red); }
  .sub { margin-top: calc(4 * var(--u)); font-size: calc(15.5 * var(--u)); color: var(--text); }

  .hero__visual { left: 0; top: calc(268 * var(--u)); width: 100%; -webkit-mask-image: none; mask-image: none; }

  .hero__offer { left: calc(22 * var(--u)); top: calc(230 * var(--u)); }
  .badge { width: calc(96 * var(--u)); height: calc(96 * var(--u)); }
  .badge__num { font-size: calc(28 * var(--u)); }
  .badge__num small { font-size: calc(18 * var(--u)); }
  .badge__txt { font-size: calc(14 * var(--u)); margin-top: calc(2 * var(--u)); }
  .checks {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
  }

  .panel {
    left: 0; right: 0; top: calc(495 * var(--u)); bottom: 0;
    padding: calc(7 * var(--u)) calc(18 * var(--u)) 0;
    background: var(--bg); border: 0; border-radius: 0; box-shadow: none;
  }
  .features {
    height: calc(54 * var(--u));
    align-items: center;
    background: #f7f2ea;
    border: 1px solid var(--line);
    border-radius: calc(8 * var(--u));
  }
  .features li {
    flex-direction: column; gap: calc(6 * var(--u)); height: calc(36 * var(--u));
    font-size: calc(9.5 * var(--u)); font-weight: 700;
  }
  .features svg { width: calc(21 * var(--u)); height: calc(19 * var(--u)); }
  .features .ic-devices { width: calc(24 * var(--u)); }
  .cta {
    height: calc(38 * var(--u)); margin-top: calc(11 * var(--u));
    font-size: calc(15 * var(--u)); gap: calc(8 * var(--u));
  }
  .cta svg { width: calc(14 * var(--u)); height: calc(14 * var(--u)); }
}

/* ---------- 푸터 ---------- */
.footer { border-top: 1px solid var(--line); }
.footer__inner {
  width: min(100% - 32px, 1120px);
  margin: 0 auto;
  padding: 24px 0 32px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-sub);
}
.footer__inner p:empty { min-height: 1.6em; }

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

.footer__company { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.footer__company span + span::before { content: "|"; margin-right: 16px; color: var(--line); }
.footer a { color: inherit; }
@media (max-width: 767.98px) {
  .footer__company { flex-direction: column; }
  .footer__company span + span::before { content: none; }
}
