:root {
  font-family: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: #252921;
  background: #fbf9f3;
  --nav-height: 69px;
  --paper: #fbf9f3;
  --green: #263b30;
  --muted: #565b50;
  --line: #d9dbcd;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }
body { margin: 0; word-break: keep-all; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid #8b4d51; outline-offset: 5px; }
.wrap { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.header { position: sticky; top: 0; z-index: 5; background: transparent; transition: background-color .2s ease; }
.header.scrolled { background-color: #fbf9f3f5; }
.nav { height: var(--nav-height); display: flex; align-items: center; justify-content: space-between; }
.logo { width: 132px; }
.nav nav, .footer nav { display: flex; gap: clamp(22px, 4vw, 53px); font-weight: 650; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; background: var(--green); color: #fff; padding: 15px 20px; border: 1px solid var(--green); border-radius: 6px; font-weight: 680; white-space: nowrap; transition: background .2s, transform .2s; }
.button:hover { background: #3c5344; transform: translateY(-2px); }
.hero { position: relative; margin-top: calc(-1 * var(--nav-height)); overflow: hidden; background: radial-gradient(ellipse at 73% 28%, #f7e7c8, transparent 58%), linear-gradient(114deg,#fbf8ed,#e7ead8); }
.hero-inner { position: relative; display: grid; align-items: center; min-height: calc(min(740px, 85svh) + var(--nav-height)); padding-block: calc(96px + var(--nav-height)) 122px; }
.hero-copy { z-index: 1; }
.hero-copy > :is(h1, p) { animation: enter .75s both; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { letter-spacing: -.055em; }
h1 { font-size: clamp(56px, 7.4vw, 108px); line-height: .99; font-weight: 840; }
h2 { font-size: clamp(38px, 5.05vw, 70px); line-height: 1.1; font-weight: 800; }
h3 { font-size: clamp(26px, 3vw, 44px); line-height: 1.13; font-weight: 780; }
.hero p, .section-intro p, .split > div > p, .space-chat p { margin-top: 23px; color: var(--muted); font-size: clamp(17px, 1.6vw, 22px); line-height: 1.6; }
.stores { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.store-badge { display: block; padding: 0; border: 0; border-radius: 5px; background: transparent; }
.store-badge img { width: auto; height: 44px; }
.google-play img { height: 58px; }
.hero-scene {
  position: absolute;
  inset: 0 min(-48px, -4vw) 0 auto;
  width: 79%;
  height: 100%;
  object-fit: cover;
  object-position: 74% center;
  mask-image: linear-gradient(90deg, transparent 4%, #000 61%);
  pointer-events: none;
  animation: scene-in 1.35s ease-out both;
}
.scroll-link { position: absolute; bottom: 23px; left: 50%; translate: -50% 0; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #52644e66; border-radius: 50%; }
@keyframes enter { from { opacity: 0; transform: translateY(22px); } }
@keyframes scene-in { from { opacity: 0; transform: scale(1.045); } }
.spaces { background: var(--paper); padding: clamp(76px, 10vw, 155px) 0; }
.section-intro { margin-bottom: 42px; }
.places { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 14px; }
.place { position: relative; display: grid; grid-template-rows: auto 1fr; border-bottom: 1px solid var(--line); }
.place img { width: 100%; height: clamp(190px, 23vw, 330px); object-fit: cover; }
.place div { padding: 18px 0 26px; }
.place h3 { font-size: clamp(22px, 2.5vw, 33px); }
.place p { color: var(--muted); margin-top: 8px; line-height: 1.55; }
.space-chat { margin-top: clamp(70px, 10vw, 135px); display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(25px, 7vw, 100px); align-items: center; }
.space-chat-image { position: relative; overflow: hidden; background: #edebdd; }
.space-chat-image img { width: 100%; }
.scene-messages { position: absolute; left: 8%; bottom: 12%; display: grid; justify-items: start; gap: 8px; }
.scene-messages span, .message { padding: 12px 16px; background: #fff9ec; border-radius: 6px; font-weight: 650; }
.scene-messages span + span { margin-left: 26px; }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(28px, 7vw, 104px); padding-block: clamp(75px, 11vw, 160px); }
.questions { border-top: 1px solid var(--line); padding-block: clamp(75px, 10vw, 135px); }
.example-caption { color: var(--muted); font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.question-list { display: grid; gap: 14px; }
.question-story {
  display: grid;
  grid-template-columns: minmax(145px, .65fr) 2fr;
  gap: clamp(20px, 4vw, 52px);
  align-items: start;
  border-radius: 14px;
  background: #f3e9d8;
  padding: clamp(22px, 4vw, 50px);
}
.question-contact { background: #e8eddf; }
.question-makeup { background: #f3e5e5; }
.question-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 0; }
.question-pair > div { border-top: 1px solid #373c3040; padding-top: 14px; }
.question-pair dt { color: var(--muted); font-size: 14px; font-weight: 700; }
.question-pair dd { margin: 8px 0 0; }
.question-pair p { font-size: clamp(17px, 2vw, 24px); font-weight: 760; line-height: 1.35; }
.question-pair span { display: inline-block; margin-top: 13px; background: #fff9; border-radius: 7px; padding: 8px 11px; font-weight: 620; line-height: 1.4; }
.conversation { background: #243a30; color: #fbf7eb; }
.conversation .split > div > p { color: #dce5d9; }
.chat-art { position: relative; padding: 27px 0 12px; display: grid; gap: 13px; min-width: 0; }
.chat-header { display: flex; gap: 12px; align-items: center; font-weight: 700; }
.message { color: #282821; width: fit-content; }
.outgoing { justify-self: end; background: #d9e7be; }
.match-card { padding: clamp(16px, 3vw, 30px); background: #fffdf7; border: 1px solid #dcded1; border-radius: 16px; box-shadow: 0 16px 35px #263b3010; }
.match-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 15px; }
.score-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.score { --bar: #52745d; background: #eaf0e5; padding: clamp(10px, 2vw, 20px); border-radius: 9px; color: #263b30; }
.score + .score { --bar: #a3636e; background: #f6e7e8; color: #713c45; }
.score span { display: block; font-size: clamp(13px, 1.45vw, 17px); font-weight: 700; }
.score strong { display: block; margin-top: 8px; font-size: clamp(33px, 4.6vw, 62px); line-height: 1; letter-spacing: -.055em; }
.score-track { margin-top: 13px; height: 6px; border-radius: 8px; background: #30282019; overflow: hidden; }
.score-track::before { content: ""; display: block; width: var(--score); height: 100%; border-radius: inherit; background: var(--bar); transform-origin: left; transition: transform .85s .22s ease; }
.match-card.waiting .score-track::before { transform: scaleX(0); }
.match-card.visible .score-track::before { transform: scaleX(1); }
.match-answer { margin-top: 19px; border-top: 1px solid var(--line); padding-top: 15px; }
.answer-heading { font-size: 18px; }
.answer-comparison { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: clamp(5px, 1.4vw, 12px); margin-top: 10px; }
.answer-comparison dl { align-self: stretch; margin: 0; padding: 10px 6px; background: #f3f3eb; border-radius: 8px; text-align: center; }
.answer-comparison dt { color: var(--muted); font-size: 13px; line-height: 1.35; }
.answer-comparison dd { color: var(--green); margin: 5px 0 0; font-size: 14px; font-weight: 750; line-height: 1.4; }
.answer-equals { display: grid; justify-items: center; gap: 2px; width: 36px; color: #ba2c44; font-size: 22px; font-weight: 750; line-height: 1; }
.answer-equals svg { display: block; width: 24px; height: 24px; filter: drop-shadow(0 2px 2px #9d233839); }
.download { background: #e5eadb; padding-block: clamp(65px, 9vw, 125px); text-align: center; }
.download .wrap > img { width: 120px; margin: 0 auto 19px; mix-blend-mode: multiply; }
.download .stores { justify-content: center; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-block: 30px; }
.footer nav { font-size: 14px; gap: 18px; }
dialog { border: 0; border-radius: 10px; color: inherit; background: var(--paper); padding: 26px; width: min(350px, 90vw); }
dialog h2 { font-size: 26px; }
dialog p { margin: 12px 0 20px; }
dialog::backdrop { background: #16231cb0; }
.reveal.waiting { opacity: 0; transform: translateY(26px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (max-width: 740px) {
  .wrap { width: calc(100% - 40px); }
  :root { --nav-height: 62px; }
  .nav nav { display: none; }
  .logo { width: 105px; }
  .hero-inner { display: block; padding-block: calc(60px + var(--nav-height)) 0; min-height: 0; }
  h1 { font-size: clamp(46px, 10.5vw, 72px); }
  .hero-copy { position: relative; }
  .hero-scene {
    position: relative;
    inset: auto;
    width: calc(100% + 40px);
    max-width: none;
    height: clamp(235px, 72vw, 390px);
    margin: 3px -20px 0;
    object-position: right 60%;
    mask-image: linear-gradient(180deg, transparent, #000 24%);
  }
  .scroll-link { bottom: 11px; width: 36px; height: 36px; background: var(--paper); }
  .desktop { display: none; }
  .places { grid-template-columns: 1fr 1fr; }
  .place:first-child { grid-column: span 2; }
  .place img { height: clamp(120px, 31vw, 225px); }
  .place:first-child img { height: clamp(170px, 50vw, 300px); }
  .space-chat, .split { grid-template-columns: 1fr; }
  .space-chat-image, .chat-art { grid-row: 2; }
  .question-story, .question-pair { grid-template-columns: 1fr; }
  .question-pair { gap: 14px; }
  .footer nav { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
