:root {
  --paper: #faeedc;
  --paper-deep: #f0dfc5;
  --card: #fffaf2;
  --ink: #292827;
  --muted: #8f765f;
  --red: #e8415a;
  --red-dark: #c92e47;
  --pink: #f9ced3;
  --gold: #ffc83d;
  --gold-pale: #fff0b5;
  --silver: #aeb9c8;
  --line: #2f2e2c;
  --radius: 18px;
  --shadow: 7px 8px 0 rgba(47, 46, 44, .12);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  word-break: keep-all;
}
main { overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1160px, calc(100% - 40px));
  height: 72px;
  margin: 0 auto;
  border-bottom: 2px solid rgba(47, 46, 44, .12);
  background: rgba(250, 238, 220, .92);
  backdrop-filter: blur(12px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 900;
  text-decoration: none;
}
.brand img { filter: saturate(.95); }
.site-header nav { display: flex; gap: 28px; font-size: .92rem; font-weight: 750; }
.site-header nav a { text-decoration: none; }
.site-header nav a:hover { color: var(--red-dark); }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: clamp(40px, 7vw, 90px);
  width: min(1160px, calc(100% - 40px));
  min-height: calc(100dvh - 72px);
  margin: 0 auto;
  padding: 54px 0 70px;
}
.hero::before {
  position: absolute;
  z-index: -1;
  inset: 6% -14% auto 38%;
  height: 72%;
  border-radius: 48% 52% 46% 54%;
  background: radial-gradient(circle, rgba(232, 65, 90, .12) 0 2px, transparent 3px) 0 0 / 24px 24px;
  content: "";
  transform: rotate(-3deg);
}
.hero-kicker {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 11px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--gold-pale);
  font-size: .84rem;
  font-weight: 850;
  letter-spacing: .08em;
}
.hero h1 {
  max-width: 600px;
  margin: 0;
  font-size: clamp(3.5rem, 7vw, 6.7rem);
  line-height: .93;
  letter-spacing: -.075em;
}
.hero h1 strong { color: var(--red); font-weight: 950; }
.hero-lead {
  max-width: 580px;
  margin: 28px 0 0;
  color: #725f4e;
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  font-weight: 620;
  line-height: 1.75;
}
.hero-actions { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.launch-pill {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  padding: 0 20px;
  border: 2px solid rgba(47, 46, 44, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  color: #786b60;
  font-weight: 800;
}
.hero-cta {
  position: relative;
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  padding: 0 6px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}
.hero-cta::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  z-index: -1;
  height: 9px;
  background: var(--pink);
  content: "";
  transform: rotate(-1deg);
  transition: height .18s ease;
}
.hero-cta:hover::after { height: 20px; }

.hero-demo { position: relative; display: grid; place-items: center; min-height: 720px; }
.hero-mascot {
  position: absolute;
  right: -42px;
  bottom: 34px;
  width: 220px;
  filter: drop-shadow(8px 12px 0 rgba(47, 46, 44, .1));
  transform: rotate(7deg);
}
.phone-shell {
  position: relative;
  width: min(100%, 390px);
  padding: 16px;
  border: 5px solid var(--ink);
  border-radius: 48px;
  background: var(--ink);
  box-shadow: 18px 22px 0 rgba(47, 46, 44, .12);
  transform: rotate(1.5deg);
}
.phone-speaker {
  position: absolute;
  z-index: 2;
  top: 15px;
  left: 50%;
  width: 84px;
  height: 22px;
  border-radius: 0 0 16px 16px;
  background: var(--ink);
  transform: translateX(-50%);
}
.phone-screen {
  position: relative;
  overflow: hidden;
  min-height: 674px;
  padding: 24px 17px 18px;
  border-radius: 31px;
  background-color: var(--paper);
  background-image: radial-gradient(#e8d2b0 1.6px, transparent 1.7px);
  background-size: 24px 24px;
}
.balance-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.balance-row span {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: white;
  font-size: .76rem;
  font-weight: 900;
}
.balance-row span:last-child { background: var(--pink); }
.phone-logo { width: 245px; margin: 26px auto 18px; }
.stamp-card {
  padding: 14px 14px 12px;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 4px 5px 0 rgba(47, 46, 44, .11);
}
.stamp-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .82rem; }
.stamp-card-head span { color: var(--red); font-size: .7rem; font-weight: 900; }
.stamp-slots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; margin-top: 16px; }
.stamp-slot {
  display: grid;
  width: 100%;
  aspect-ratio: 1;
  place-items: center;
  border: 2px dashed #cdbda6;
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
}
.stamp-slot img { width: 116%; opacity: 0; transform: rotate(-18deg) scale(.25); }
.stamp-slot.filled img { opacity: 1; transform: rotate(-7deg) scale(1); }
.stamp-slot.silver { border-style: solid; border-color: var(--silver); background: #edf1f5; }
.stamp-slot.silver img { width: 104%; }
.stamp-slot.just-stamped img { animation: stamp-in .52s cubic-bezier(.2, 1.7, .35, 1) both; }
.slot-numbers { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 4px; color: #b59f80; font-size: .56rem; font-weight: 850; text-align: center; }
.gold-progress {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  padding: 8px 10px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--gold-pale);
  font-size: .68rem;
}
.gold-progress span { margin-right: auto; color: var(--muted); font-weight: 800; }
.gold-progress i { width: 12px; height: 12px; border: 2px solid var(--ink); border-radius: 50%; background: var(--gold); }
.gold-progress i.empty { background: white; }
.stamp-button {
  width: 100%;
  margin-top: 14px;
  padding: 15px 10px;
  border: 3px solid var(--ink);
  border-radius: 16px;
  background: var(--red);
  box-shadow: 0 5px 0 var(--ink);
  color: white;
  cursor: pointer;
  font: inherit;
  font-size: .98rem;
  font-weight: 950;
  transition: transform .12s ease, box-shadow .12s ease, background .2s ease;
}
.stamp-button:hover { background: var(--red-dark); }
.stamp-button:active { box-shadow: 0 1px 0 var(--ink); transform: translateY(4px); }
.demo-status { margin: 13px 0 0; color: var(--muted); font-size: .72rem; font-weight: 720; text-align: center; }
.confetti { position: absolute; inset: 0; pointer-events: none; }
.confetti i { position: absolute; top: 49%; left: 50%; width: 9px; height: 18px; border-radius: 3px; opacity: 0; background: var(--gold); }
.confetti i:nth-child(2) { background: var(--red); transform: rotate(34deg); }
.confetti i:nth-child(3) { background: var(--silver); transform: rotate(70deg); }
.confetti i:nth-child(4) { background: var(--gold); transform: rotate(115deg); }
.confetti i:nth-child(5) { background: var(--red); transform: rotate(150deg); }
.confetti i:nth-child(6) { background: var(--silver); transform: rotate(190deg); }
.confetti.burst i { animation: confetti-burst .72s ease-out both; }
.confetti.burst i:nth-child(2) { animation-delay: .03s; }
.confetti.burst i:nth-child(3) { animation-delay: .06s; }
.confetti.burst i:nth-child(4) { animation-delay: .09s; }
.confetti.burst i:nth-child(5) { animation-delay: .12s; }
.confetti.burst i:nth-child(6) { animation-delay: .15s; }

.section { width: min(1080px, calc(100% - 40px)); margin: 0 auto; padding: 112px 0; }
.section-heading { margin-bottom: 46px; }
.section-heading h2, .reward-intro h2, .mission-copy h2, .trust-title h2 {
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: -.055em;
}
.section-heading p, .reward-intro p, .mission-copy p, .trust-title p { max-width: 620px; margin: 15px 0 0; color: #7c6855; font-size: 1.05rem; font-weight: 580; }

.how { padding-top: 130px; }
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}
.steps li { position: relative; padding: 34px 24px 18px 0; border-top: 3px solid var(--ink); }
.steps li:not(:last-child)::after { position: absolute; top: -7px; right: 16px; width: 11px; height: 11px; border-radius: 50%; background: var(--red); content: ""; }
.steps li > span { display: inline-grid; width: 34px; height: 34px; place-items: center; border: 2px solid var(--ink); border-radius: 50%; background: var(--gold); font-weight: 950; }
.steps h3 { margin: 20px 0 8px; font-size: 1.2rem; letter-spacing: -.025em; }
.steps p { margin: 0; color: #796957; font-size: .91rem; line-height: 1.65; }

.reward-story { display: grid; grid-template-columns: .72fr 1fr 1fr; gap: 22px; align-items: stretch; }
.reward-intro { align-self: center; padding-right: 22px; }
.reward-intro p { font-size: .98rem; }
.reward-panel {
  min-height: 540px;
  padding: 34px;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.reward-panel p { margin: 0; color: #74685d; font-size: .84rem; font-weight: 850; }
.reward-panel h3 { margin: 9px 0 0; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.12; letter-spacing: -.05em; }
.reward-panel strong { display: block; margin-top: 12px; color: var(--red); font-size: 2rem; }
.reward-panel img { margin: 44px auto 0; filter: drop-shadow(8px 12px 0 rgba(47, 46, 44, .1)); }
.silver-panel { background: linear-gradient(165deg, #fffaf2 0 52%, #dfe5ec 52%); }
.gold-panel { display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(15deg, #fff0b5 0 55%, #fffaf2 55%); }
.gold-panel img { order: -1; margin: 0 auto 48px; }

.missions { padding-top: 70px; }
.mission-board {
  position: relative;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 50px;
  overflow: hidden;
  padding: 64px;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}
.mission-copy { align-self: center; }
.mission-copy h2 { font-size: clamp(2.4rem, 4vw, 4rem); }
.mission-list { display: grid; gap: 14px; align-content: center; }
.mission-list article {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 2px solid var(--ink);
  border-radius: 15px;
  background: var(--paper);
}
.mission-list h3, .mission-list p { margin: 0; }
.mission-list h3 { font-size: 1.1rem; }
.mission-list p { color: #796957; font-size: .88rem; }
.mission-list b { padding: 5px 11px; border: 2px solid var(--ink); border-radius: 999px; background: var(--gold); font-size: .84rem; }
.mission-emoji { font-size: 1.7rem; }
.mission-mascot { position: absolute; right: -38px; bottom: -78px; width: 170px; opacity: .18; transform: rotate(-10deg); }

.trust { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; align-items: start; }
.trust-title { position: sticky; top: 120px; }
.trust-list { margin: 0; border-top: 3px solid var(--ink); }
.trust-list div { display: grid; grid-template-columns: 170px 1fr; gap: 28px; padding: 28px 0; border-bottom: 2px solid rgba(47, 46, 44, .25); }
.trust-list dt { font-size: 1.12rem; font-weight: 900; }
.trust-list dd { margin: 0; color: #715f4f; }

.faq { padding-top: 80px; }
.faq-list { border-top: 3px solid var(--ink); }
.faq details { border-bottom: 2px solid rgba(47, 46, 44, .25); }
.faq summary { position: relative; padding: 24px 50px 24px 0; cursor: pointer; font-size: 1.08rem; font-weight: 850; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { position: absolute; top: 22px; right: 5px; content: "+"; color: var(--red); font-size: 1.6rem; font-weight: 500; }
.faq details[open] summary::after { content: "−"; }
.faq details p { max-width: 760px; margin: -5px 0 26px; color: #705f4e; }

footer { padding: 42px max(20px, calc((100% - 1080px) / 2)) 56px; border-top: 3px solid var(--ink); background: var(--card); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; font-size: .88rem; font-weight: 760; }
.footer-links a { text-decoration-thickness: 1px; text-underline-offset: 4px; }
footer > p { margin: 4px 0; color: #786957; font-size: .78rem; }

@keyframes stamp-in {
  0% { opacity: 0; transform: rotate(-22deg) scale(2.1); }
  58% { opacity: 1; transform: rotate(-7deg) scale(.86); }
  100% { opacity: 1; transform: rotate(-7deg) scale(1); }
}
@keyframes confetti-burst {
  0% { opacity: 1; transform: translate(0, 0) rotate(0deg); }
  100% { opacity: 0; transform: translate(calc((var(--i, 1) - 3.5) * 42px), -150px) rotate(260deg); }
}
.confetti i:nth-child(1) { --i: 1; }
.confetti i:nth-child(2) { --i: 2; }
.confetti i:nth-child(3) { --i: 3; }
.confetti i:nth-child(4) { --i: 4; }
.confetti i:nth-child(5) { --i: 5; }
.confetti i:nth-child(6) { --i: 6; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr 420px; gap: 24px; }
  .hero h1 { font-size: clamp(3.3rem, 7.7vw, 5.4rem); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .reward-story { grid-template-columns: 1fr 1fr; }
  .reward-intro { grid-column: 1 / -1; max-width: 700px; padding: 0 0 24px; }
  .mission-board { padding: 48px; }
}

@media (max-width: 760px) {
  .site-header { width: calc(100% - 28px); height: 64px; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; width: calc(100% - 32px); min-height: auto; padding: 58px 0 70px; }
  .hero h1 { font-size: clamp(3.6rem, 18vw, 5.4rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-demo { min-height: 670px; margin-top: 18px; }
  .hero-mascot { right: -12px; bottom: 18px; width: 170px; }
  .phone-shell { width: min(100%, 370px); }
  .section { width: calc(100% - 32px); padding: 82px 0; }
  .section-heading { margin-bottom: 34px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; padding: 22px 0; }
  .steps li:not(:last-child)::after { display: none; }
  .steps h3 { margin: 3px 0 5px; }
  .steps p { grid-column: 2; }
  .reward-story { grid-template-columns: 1fr; }
  .reward-intro { grid-column: auto; }
  .reward-panel { min-height: 470px; }
  .mission-board { grid-template-columns: 1fr; gap: 30px; padding: 34px 24px; }
  .mission-list article { grid-template-columns: auto 1fr; }
  .mission-list b { grid-column: 2; justify-self: start; }
  .trust { grid-template-columns: 1fr; gap: 38px; }
  .trust-title { position: static; }
  .trust-list div { grid-template-columns: 1fr; gap: 7px; }
  .footer-top { align-items: flex-start; flex-direction: column; }
  .footer-links { flex-direction: column; gap: 10px; }
}

@media (max-width: 410px) {
  .phone-shell { padding: 12px; border-radius: 40px; }
  .phone-screen { min-height: 620px; padding-inline: 12px; }
  .balance-row span { padding-inline: 9px; font-size: .67rem; }
  .reward-panel { padding: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
