@font-face {
  font-family: Pretendard;
  src: url("assets/pretendard-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fff;
  --text: #231b17;
  --muted: #62564e;
  --accent: #ad3d17;
  --accent-hover: #8a2d11;
  --line: #ebdfd5;
  --peach: #f7d1bc;
  --gold: #f6dfa8;
  --mint: #cce4cd;
  --panel-text: #47362c;
  --width: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font: 400 1rem / 1.55 Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  word-break: keep-all;
  overflow-wrap: break-word;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.1; }

.wrap { width: min(var(--width), calc(100% - 64px)); margin-inline: auto; }

.skip-link {
  position: fixed;
  z-index: 6;
  top: 10px;
  left: 10px;
  transform: translateY(-150%);
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--text);
  color: var(--paper);
}

.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  z-index: 5;
  top: 0;
  background: #fffdf9f2;
  border-bottom: 1px solid #ebdfd5aa;
  backdrop-filter: blur(14px);
}

.topbar { display: flex; align-items: center; gap: 30px; min-height: 68px; }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  flex: none;
  font-size: 1.45rem;
  font-weight: 850;
  letter-spacing: -.06em;
  white-space: nowrap;
}

.logo img { border-radius: 10px; }

.nav, .footer nav { display: flex; align-items: center; gap: 26px; }
.nav { margin-left: auto; }
.nav a, .footer nav a { font-size: .9375rem; font-weight: 650; color: var(--muted); }
.nav a:hover, .footer nav a:hover { color: var(--accent); }

.btn {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding-inline: 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 750;
  white-space: nowrap;
  transition: transform .18s ease, background-color .18s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 24px #ad3d1730; }
.btn-accent:hover { background: var(--accent-hover); }
.btn-dark { background: #29211d; color: #fff; box-shadow: 0 8px 22px #301d1928; }
.btn-dark:hover { background: #44342b; }
.header-cta { min-height: 42px; padding-inline: 17px; font-size: .875rem; }

.store-icon { display: block; position: relative; width: 16px; height: 18px; flex: none; }

.store-icon-apple::before {
  content: "";
  position: absolute;
  inset: 5px 1px 0 0;
  border-radius: 48% 47% 52% 48% / 48% 48% 65% 65%;
  background: currentColor;
  clip-path: polygon(0 0, 100% 0, 100% 12%, 82% 26%, 81% 45%, 100% 57%, 100% 100%, 0 100%);
}

.store-icon-apple::after {
  content: "";
  position: absolute;
  top: 0;
  left: 8px;
  width: 5px;
  height: 6px;
  border-radius: 100% 12% 100% 12%;
  background: currentColor;
}

.store-icon-play {
  background: conic-gradient(from 32deg at 46% 47%, #f7bd59 0 96deg, #ff7a69 96deg 171deg, #72b8fb 171deg 275deg, #79d7af 275deg);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.hero {
  padding-top: clamp(37px, 5.3vw, 76px);
  background:
    radial-gradient(ellipse at 4% 17%, #ffe1cb 0, transparent 33%),
    radial-gradient(ellipse at 97% 29%, #fff0cb 0, transparent 31%),
    linear-gradient(180deg, #fff9f2 6%, #fff 45%, #fff 100%);
}

.hero-copy { text-align: center; position: relative; z-index: 1; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border: 1px solid #f1d8c7;
  border-radius: 999px;
  background: #fffaf5;
  color: var(--accent);
  font-size: .875rem;
  font-weight: 760;
}

.hero-tag::before { content: ""; width: 6px; aspect-ratio: 1; border-radius: 50%; background: currentColor; }

.hero h1 {
  margin-top: 17px;
  font-size: clamp(2.75rem, 6.8vw, 5.65rem);
  font-weight: 890;
  letter-spacing: -.077em;
  line-height: 1.08;
}

.hero h1 span { color: var(--accent); }

@supports (background-clip: text) {
  .hero h1 span {
    color: transparent;
    background: linear-gradient(100deg, #a93718 0%, #c94916 58%, #a44711 100%);
    background-clip: text;
  }
}

@media (forced-colors: active) {
  .hero h1 span { color: CanvasText; }
}

.lead { margin: 24px auto 0; color: var(--muted); font-size: clamp(1.0625rem, 2vw, 1.31rem); }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero-visual { width: min(810px, calc(100% - 38px)); margin: 55px auto 0; padding-bottom: 27px; }
.hero-stage { position: relative; display: grid; justify-items: center; align-items: end; isolation: isolate; }

.hero-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 19% 2% 2%;
  border-radius: 50% 50% 22% 22% / 60% 60% 38% 38%;
  background: radial-gradient(ellipse at 50% 100%, #ffdba6 0%, #ffe2cc 47%, #fff5e9 74%);
  mask-image: linear-gradient(#000 70%, transparent 100%);
}

.hero-device {
  width: clamp(205px, 31vw, 337px);
  transform: rotate(-7deg);
  padding: 7px;
  overflow: hidden;
  border: 1px solid #e4d2c1;
  border-radius: clamp(25px, 4vw, 44px);
  background: #fff;
  box-shadow: 0 22px 57px #79472d35, inset 0 0 0 1px #fff;
}

.hero-device img { width: 100%; height: auto; border-radius: clamp(19px, 3.2vw, 36px); }

.hero-mascot {
  position: absolute;
  bottom: 1%;
  right: 4%;
  width: clamp(108px, 27vw, 286px);
  height: auto;
  transform: rotate(6deg);
  filter: drop-shadow(0 18px 13px #ad5b3925);
}

.hero-reward {
  position: absolute;
  bottom: 26%;
  left: 4%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 17px 13px 12px;
  border: 1px solid #f0d7c5;
  border-radius: 18px;
  background: #fffdfa;
  box-shadow: 0 12px 32px #7e4c2927;
  transform: rotate(-5deg);
}

.reward-icon { flex: none; }
.reward-icon img { border-radius: 9px; }
.hero-reward strong, .hero-reward small { display: block; }
.hero-reward strong { font-weight: 820; }
.hero-reward small { margin-top: 2px; font-size: .8125rem; color: var(--muted); }

.hero-visual figcaption, .feature-visual figcaption {
  text-align: center;
  color: var(--muted);
  font-size: .875rem;
}

.hero-visual figcaption { position: relative; margin-top: 15px; }

.reward-section {
  padding-block: clamp(56px, 8vw, 104px);
  background: linear-gradient(125deg, #faeddc, #fbe7d9 55%, var(--peach));
}

.reward-layout {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(28px, 6.5vw, 95px);
}

.section-label { margin-bottom: 12px; color: var(--accent); font-size: .9375rem; font-weight: 820; }

.reward-copy h2, .section-title h2, .footer-cta h2 {
  font-size: clamp(2.3rem, 4.9vw, 4.1rem);
  font-weight: 860;
  letter-spacing: -.071em;
}

.reward-copy h2 span { color: var(--accent); }
.reward-copy > p:not(.section-label) { max-width: 36ch; margin-top: 16px; color: var(--muted); font-size: 1.125rem; }
.reward-copy strong { color: var(--text); }

.btn-outline {
  min-height: 46px;
  border-color: #d4aa91;
  color: var(--accent);
  background: #fffdfa;
  font-size: .9375rem;
}

.btn-outline:hover { background: #ffebdc; }
.reward-copy .btn-outline, .faq-layout .btn-outline { margin-top: 21px; }

.reward-receipt {
  min-width: 0;
  border: 1px solid #ead4c1;
  border-radius: 26px;
  padding: clamp(20px, 3vw, 34px);
  background: #fff;
  box-shadow: 0 16px 42px #7a442415;
}

.receipt-header { display: flex; align-items: center; gap: 12px; padding-bottom: 17px; border-bottom: 1px dashed #e4cbb7; }
.receipt-header img { border-radius: 12px; flex: none; }
.receipt-header p { font-size: 1.25rem; font-weight: 820; letter-spacing: -.04em; }

.reward-timeline { display: grid; gap: 10px; margin: 17px 0 0; padding: 0; list-style: none; }

.reward-timeline li {
  display: grid;
  grid-template-columns: minmax(max-content, 6rem) 1fr;
  gap: 12px;
  align-items: center;
  border-radius: 13px;
  padding: 14px;
  background: #fae7cc;
}

.reward-timeline li:last-child { background: #dcecd9; }
.reward-timeline strong { display: block; font-size: 1.0625rem; line-height: 1.3; }
.reward-timeline p { margin-top: 4px; color: var(--panel-text); font-size: .9375rem; line-height: 1.4; }

.timeline-status {
  width: max-content;
  border-radius: 999px;
  padding: 5px 11px;
  background: #8f3618;
  color: #fff;
  font-size: .875rem;
  font-weight: 790;
  white-space: nowrap;
}

.reward-timeline li:last-child .timeline-status { background: #2d6242; }

.section { padding-block: clamp(56px, 8.5vw, 112px); }

.section-title { margin-bottom: clamp(24px, 4vw, 49px); }
.section-title-center { text-align: center; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  counter-reset: step;
  list-style: none;
}

.steps li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(20px, 2.6vw, 30px);
  border-radius: 27px;
  background: var(--peach);
  counter-increment: step;
}

.steps li:nth-child(2) { background: var(--gold); }
.steps li:nth-child(3) { background: var(--mint); color: #23382b; }

.step-number {
  display: inline-grid;
  place-items: center;
  min-width: 35px;
  height: 35px;
  border-radius: 11px;
  background: #8f3618;
  color: #fff;
  font-size: 1rem;
  font-weight: 850;
}

.step-number::before { content: counter(step); }
.steps li:nth-child(2) .step-number { background: #76500b; }
.steps li:nth-child(3) .step-number { background: #2d6242; }
.steps h3 { margin-top: 18px; font-size: clamp(1.375rem, 2.4vw, 1.85rem); font-weight: 830; letter-spacing: -.048em; }
.steps p { margin: 8px 0 20px; color: var(--panel-text); }

.step-visual {
  --preview-inset: clamp(9px, 1.2vw, 14px);
  position: relative;
  width: 100%;
  aspect-ratio: 1.72;
  min-height: 132px;
  margin-top: auto;
  overflow: hidden;
  border: 1px solid #fff8;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 5px 16px #4c2b1914;
}

.step-visual img {
  position: absolute;
  inset: var(--preview-inset);
  width: calc(100% - 2 * var(--preview-inset));
  height: calc(100% - 2 * var(--preview-inset));
  border-radius: 9px;
  object-fit: cover;
}

.step-malls img {
  object-position: center 22%;
  mask-image: linear-gradient(#000 77%, transparent 94%);
}

.step-transfer img {
  object-position: center 52%;
  clip-path: inset(0 4% round 9px);
}

.step-ledger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: var(--preview-inset);
  font-size: .9375rem;
}

.ledger-example { margin-inline-start: 4px; color: var(--muted); font-size: .875rem; font-weight: 500; }

.ledger-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 8px;
  padding-top: 6px;
  border-top: 1px solid #eae4dc;
  font-size: .875rem;
  line-height: 1.25;
}

.ledger-status { border-radius: 999px; padding: 4px 8px; background: #fae7cc; color: #74451f; white-space: nowrap; }
.ledger-confirmed { background: #dcecd9; color: #30563c; }

.features { padding-top: 36px; }

.feature {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  align-items: center;
  gap: clamp(32px, 7.5vw, 105px);
  margin-top: clamp(37px, 8vw, 105px);
}

.feature-reverse { grid-template-columns: 1.15fr .85fr; }
.feature-reverse .feature-visual { grid-area: 1 / 1; }

.feature h3 {
  font-size: clamp(2.05rem, 4.1vw, 3.62rem);
  font-weight: 850;
  letter-spacing: -.068em;
}

.feature-copy > p:last-child { max-width: 31ch; margin-top: 15px; font-size: 1.125rem; color: var(--muted); }

.feature-visual {
  min-width: 0;
  margin: 0;
  padding: clamp(20px, 4.1vw, 46px);
  border-radius: 33px;
}

.feature-price { background: var(--mint); }
.feature-shopping { background: var(--gold); }
.feature-gifts { background: var(--peach); }

.feature-visual img {
  margin-inline: auto;
  height: auto;
  width: min(100%, 355px);
  box-shadow: 0 14px 34px #5a402923;
  border-radius: 20px;
}

.feature-visual figcaption { margin-top: 13px; color: var(--panel-text); }

.faq-section { background: #f7ece3; }
.faq-layout { display: grid; grid-template-columns: minmax(220px, .75fr) 1.25fr; gap: 35px; }
.faq-layout .section-title { margin: 0; }
.faq-layout h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.faq-layout .section-title > p:not(.section-label) { max-width: 29ch; margin-top: 14px; color: var(--muted); }

.faq { display: grid; gap: 26px; }
.faq-group { display: grid; gap: 8px; }
.faq-group h3 { margin-bottom: 2px; color: var(--accent); font-size: 1.0625rem; font-weight: 830; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.faq-item[open] { border-color: #ca8b72; background: #fff3e9; }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  list-style: none;
  padding: 17px 20px;
  border-radius: inherit;
  font-size: 1.0625rem;
  font-weight: 740;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }

.faq-item summary::after {
  content: "";
  width: 10px;
  height: 10px;
  flex: none;
  margin: 0 3px 4px 0;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
}

.faq-item[open] summary::after { margin-bottom: -4px; transform: rotate(225deg); }
.faq-item p { padding: 0 20px 17px; color: var(--muted); }

.footer-cta {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 20px;
  overflow: hidden;
  padding: clamp(28px, 6.4vw, 75px);
  border-radius: 35px;
  background: radial-gradient(ellipse at 98% 95%, #c4552f, transparent 68%), linear-gradient(125deg, #8d321b, #a83e1d);
  color: #fff;
  box-shadow: 0 19px 49px #85300f22;
}

.footer-cta::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -2%;
  top: 4%;
  width: 47%;
  aspect-ratio: 1;
  border: 1px solid #ffe8c65c;
  border-radius: 37% 63% 55% 45% / 57% 37% 63% 43%;
  background: #ffe5b012;
  transform: rotate(-18deg);
}

.footer-cta h2 { font-size: clamp(2.3rem, 5vw, 4.2rem); }
.footer-cta p { margin-top: 13px; color: #fff4e5; font-size: 1.125rem; }
.footer-cta .hero-actions { justify-content: flex-start; }
.footer-cta .btn { background: #fffaf4; color: var(--text); box-shadow: none; }
.footer-cta .btn:hover { background: #ffdfc8; }
.download-mascot { width: min(100%, 290px); height: auto; justify-self: end; filter: drop-shadow(0 13px 15px #631c163a); }

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  padding-block: 24px 34px;
  border-top: 1px solid var(--line);
}

.footer nav { flex-wrap: wrap; gap: 12px 20px; }
.footer-about p { margin-top: 6px; color: var(--muted); font-size: .875rem; }

@media (max-width: 850px) {
  .wrap { width: min(var(--width), calc(100% - 44px)); }
  .hero-reward { left: 1%; }
  .hero-mascot { right: 5%; }
  .reward-layout { gap: 28px; }
  .steps { gap: 11px; }
  .feature { gap: 35px; }
}

@media (max-width: 650px) {
  html { scroll-padding-top: 72px; }
  .wrap { width: calc(100% - 36px); }
  .topbar { min-height: 62px; justify-content: space-between; gap: 12px; }
  .nav { display: none; }
  .hero h1 { font-size: clamp(2.3rem, 9.4vw, 3.85rem); }
  .lead { margin-top: 17px; }
  .desktop-break { display: none; }
  .hero-actions { margin-top: 21px; gap: 8px; }
  .hero-visual { margin-top: 35px; }
  .hero-device { margin-inline-start: -20px; transform: rotate(-5deg); }
  .hero-mascot { right: 0; bottom: 3%; }
  .hero-reward { display: none; }
  .reward-layout, .steps, .feature, .feature-reverse, .faq-layout { grid-template-columns: 1fr; }
  .step-visual { max-width: 430px; }
  .feature { gap: 19px; }
  .feature-reverse .feature-visual { grid-area: auto; }
  .feature-visual { border-radius: 24px; }
  .feature-visual img { max-width: 320px; }
  .faq-layout { gap: 22px; }
  .footer-cta { grid-template-columns: 1fr; border-radius: 26px; }
  .footer-cta::before { top: auto; right: -10%; bottom: -10%; width: 62%; }
  .download-mascot { width: min(45%, 190px); grid-row: 1; justify-self: start; }
}

@media (max-width: 360px) {
  .wrap { width: calc(100% - 28px); }
  .btn { padding-inline: 15px; }
  .footer-cta .btn { padding-inline: 13px; }
  .reward-timeline li { grid-template-columns: 1fr; gap: 8px; }
  .reward-copy h2 { font-size: 2.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
