:root {
  --ink: #182019;
  --green: #129447;
  --green-dark: #087437;
  --paper: #fff;
  --muted: #69726c;
  --line: #e5e9e5;
  --yellow: #ffe400;
  --blue: #0052bd;
  --radius: 18px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
  background: #272d25 url("assets/images/bg.png") center top/836px auto repeat;
  line-height: 1.5;
}

.site-shell {
  min-height: 100dvh;
  padding: 24px 12px 40px;
  display: flex;
  justify-content: center;
}

.landing-card {
  width: min(100%, 500px);
  overflow: hidden;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgb(0 0 0 / .32);
}

.hero {
  text-align: center;
  padding: 22px 22px 25px;
  border-bottom: 1px solid var(--line);
}

.mentor-image {
  width: min(100%, 420px);
  display: block;
  margin: 0 auto -6px;
}

.identity {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  margin: 0;
  padding: 7px 15px;
  border-radius: 999px;
  background: #172119;
  color: #fff;
  font-size: 13px;
}

.identity strong { font-size: 14px; }

.hero h1 {
  margin: 20px 0 13px;
  font-size: clamp(25px, 6.2vw, 33px);
  line-height: 1.28;
  letter-spacing: -1.6px;
}

.hero h1 em {
  color: var(--green);
  font-style: normal;
}

.hero-copy {
  margin: 0;
  color: #5d655f;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.4px;
}

.credentials {
  padding: 9px 20px 12px;
}

.credential {
  display: grid;
  grid-template-columns: 33px 1fr;
  gap: 11px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.credential:last-child { border-bottom: 0; }

.number {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: #e8f6ec;
  color: var(--green);
  font-weight: 900;
  font-size: 11px;
}

.credential h2 {
  margin: 0 0 4px;
  font-size: 15px;
  letter-spacing: -.55px;
}

.credential p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
  letter-spacing: -.35px;
}

.credential p strong { color: #182019; }

.join-section {
  padding: 8px 20px 27px;
  text-align: center;
}

.join-button {
  appearance: none;
  width: 100%;
  min-height: 59px;
  border: 0;
  border-radius: 13px;
  padding: 10px 14px;
  background: var(--yellow);
  color: #211d00;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: 800 16px/1.2 inherit;
  letter-spacing: -.5px;
  cursor: pointer;
  box-shadow: 0 6px 0 #d6bd00;
  transition: transform .15s, box-shadow .15s;
}

.join-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 7px 0 #d6bd00;
}

.join-button:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 #d6bd00;
}

.join-button:disabled {
  opacity: .72;
  cursor: wait;
}

.kakao-mark {
  display: grid;
  place-items: center;
  width: 25px;
  height: 21px;
  border-radius: 7px;
  background: #402d00;
  color: var(--yellow);
  font-size: 7px;
  font-weight: 900;
}

.join-button b {
  font-size: 26px;
  font-weight: 400;
  line-height: 0;
}

.join-note {
  margin: 15px 0 0;
  color: #737970;
  font-size: 11.5px;
}

.join-status {
  min-height: 18px;
  margin: 7px 0 0;
  color: #ba3535;
  font-size: 12px;
}

.results {
  padding: 25px 20px 23px;
  background: #f5fbf6;
  text-align: center;
}

.results h2 {
  margin: 0 0 17px;
  color: #1b3622;
  font-size: 21px;
  letter-spacing: -.8px;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.result-grid img {
  display: block;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgb(20 35 23 / .12);
}

.disclaimer {
  margin: 16px 0 0;
  color: #7c827d;
  font-size: 10.5px;
  line-height: 1.55;
  letter-spacing: -.25px;
}

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

@media (max-width: 390px) {
  .site-shell { padding: 0; }
  .landing-card { border-radius: 0; }
  .hero { padding-inline: 16px; }
  .credentials, .join-section, .results { padding-inline: 16px; }
  .result-grid {
    grid-template-columns: 1fr;
    max-width: 180px;
    margin: auto;
  }
  .hero h1 { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

.promo-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease;
}

.promo-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.promo-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / .62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.promo-modal__card {
  position: relative;
  width: min(100%, 456px);
  border-radius: 10px;
  padding: 20px 58px 22px;
  background: #fff;
  text-align: center;
  box-shadow: 0 22px 70px rgb(0 0 0 / .36);
}

.promo-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.promo-modal__close::before,
.promo-modal__close::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 14px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #5f6368;
}

.promo-modal__close::before { transform: rotate(45deg); }
.promo-modal__close::after { transform: rotate(-45deg); }

.promo-modal__icon {
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  margin: 0 auto 21px;
  border-radius: 25px;
  background: #ffd900;
  color: #ffd900;
  font-weight: 900;
  font-size: 31px;
  line-height: 1;
  letter-spacing: -1px;
  box-shadow: inset 0 -1px 0 rgb(0 0 0 / .08);
}

.promo-modal__icon--small {
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 8px;
  font-size: 10px;
}

.promo-modal__icon span {
  position: relative;
  display: grid;
  place-items: center;
  width: 86px;
  height: 60px;
  border-radius: 50%;
  background: #241900;
}

.promo-modal__icon span::after {
  content: "";
  position: absolute;
  left: 16px;
  bottom: -10px;
  border-width: 13px 4px 0 16px;
  border-style: solid;
  border-color: #241900 transparent transparent transparent;
  transform: rotate(-24deg);
}

.promo-modal__icon--small span {
  width: 27px;
  height: 19px;
}

.promo-modal__icon--small span::after {
  left: 5px;
  bottom: -4px;
  border-width: 5px 2px 0 6px;
}

.promo-modal__headline {
  margin: 0;
  color: #101010;
  font-size: 27px;
  font-weight: 900;
  line-height: 1.24;
  letter-spacing: -1.4px;
  white-space: nowrap;
}

.promo-modal__headline em {
  color: var(--green);
  font-style: normal;
}

.promo-modal__headline--blue {
  color: var(--blue);
  font-size: 28px;
  margin-top: 5px;
  line-height: 1.08;
  white-space: normal;
}

.promo-modal__mentor {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 14px 0 10px;
  padding: 5px 17px;
  border-radius: 8px;
  background: #fff0d8;
  color: #151515;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -.4px;
}

.promo-modal__mentor span {
  position: relative;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #050505;
}

.promo-modal__mentor span::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: -7px;
  height: 8px;
  border-radius: 8px 8px 2px 2px;
  background: #050505;
}

.promo-modal__details {
  width: 100%;
  margin: 0 auto 14px;
  padding: 8px 23px;
  border: 1px solid #e4e4e4;
  border-radius: 7px;
  text-align: left;
}

.promo-modal__details p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 8px 0;
  color: #151515;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -.35px;
  border-bottom: 1px dotted #d9d9d9;
}

.promo-modal__details p:last-child { border-bottom: 0; }

.promo-modal__details strong { color: var(--blue); }
.promo-modal__details b { color: #f32121; }

.promo-modal__detail-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  color: #ff2333;
  font-size: 13px;
  line-height: 1;
}

.promo-modal__detail-icon--people {
  color: #0052bd;
  font-size: 9px;
  letter-spacing: -3px;
}

.promo-modal__detail-icon--hot {
  color: #ff4a00;
  font-size: 15px;
}

.promo-modal__message {
  margin: 0;
  color: #121212;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -.8px;
}

.promo-modal__message strong { color: #ffce00; }

.promo-modal__button {
  appearance: none;
  width: 100%;
  min-height: 52px;
  margin-top: 13px;
  border: 0;
  border-radius: 18px;
  padding: 10px 22px;
  background: var(--yellow);
  color: #211d00;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font: 900 15px/1.15 inherit;
  letter-spacing: -.35px;
  cursor: pointer;
  box-shadow: 0 6px 0 #d6bd00;
  transition: transform .15s, box-shadow .15s;
}

.promo-modal__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 7px 0 #d6bd00;
}

.promo-modal__button:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 #d6bd00;
}

.promo-modal__button:disabled {
  opacity: .72;
  cursor: wait;
}

.promo-modal__button-icon {
  display: grid;
  place-items: center;
  position: relative;
  flex: 0 0 auto;
  width: 35px;
  height: 24px;
  border-radius: 50%;
  background: #241900;
  color: var(--yellow);
  font-size: 9px;
  font-weight: 900;
}

.promo-modal__button-icon::after {
  content: "";
  position: absolute;
  left: 7px;
  bottom: -5px;
  border-width: 6px 2px 0 8px;
  border-style: solid;
  border-color: #241900 transparent transparent transparent;
  transform: rotate(-24deg);
}

.promo-modal__footnote {
  margin: 15px 0 0;
  color: #6f7479;
  font-size: 9px;
  line-height: 1.45;
  letter-spacing: -.2px;
}

@media (max-width: 520px) {
  .promo-modal { padding: 0; }
  .promo-modal__card {
    width: min(100%, 390px);
    max-height: 100dvh;
    overflow: auto;
    border-radius: 8px;
    padding: 17px 28px 20px;
  }
  .promo-modal__close {
    top: 12px;
    right: 14px;
  }
  .promo-modal__icon--small {
    width: 40px;
    height: 40px;
    margin-bottom: 13px;
  }
  .promo-modal__headline {
    font-size: 24px;
    letter-spacing: -1.2px;
  }
  .promo-modal__headline--blue {
    font-size: 23px;
    line-height: 1.12;
  }
  .promo-modal__mentor {
    margin-top: 12px;
    margin-bottom: 10px;
    font-size: 13px;
    padding: 5px 14px;
  }
  .promo-modal__details { padding: 7px 20px; }
  .promo-modal__details p {
    font-size: 13px;
    padding: 7px 0;
  }
  .promo-modal__message { font-size: 18px; }
  .promo-modal__button {
    min-height: 51px;
    padding: 10px 12px;
    gap: 12px;
    font-size: 14px;
  }
  .promo-modal__footnote { font-size: 8.5px; }
}

@media (max-width: 360px) {
  .promo-modal__card { padding-inline: 24px; }
  .promo-modal__headline { font-size: 21px; }
  .promo-modal__headline--blue { font-size: 20px; }
  .promo-modal__message { font-size: 16px; }
  .promo-modal__button { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .promo-modal { transition: none !important; }
}

