/* LANDING_TYPE2 톤앤매너 버전 */

:root {
  --orange: #FF7A00;
  --orange-deep: #F05A00;
  --sun: #FFD56B;
  --sun-soft: #FFF1BD;
  --cream: #FFF8E7;
  --ink: #111111;
  --muted: #67533E;
  --white: #FFFFFF;
  --line: rgba(17, 17, 17, 0.18);
  --radius: 10px;
  --max-width: 430px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 20%, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0) 18%),
    linear-gradient(180deg, #FFD56B 0%, #FFF1BD 38%, #FFFFFF 78%);
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 0 48px;
}

.hero {
  min-height: 258px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 18px 30px;
  text-align: center;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.2) 0 1px, transparent 1px) 22px 20px / calc(100% - 44px) 1px no-repeat,
    radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.58) 0%, rgba(255, 255, 255, 0) 35%),
    linear-gradient(180deg, #FFD56B 0%, #FFF1BD 84%, rgba(255, 241, 189, 0) 100%);
}

.hero-inner {
  width: 100%;
}

.dday {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  max-width: 100%;
  margin-bottom: 18px;
  padding: 6px 16px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--orange-deep);
  background: var(--white);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.headline {
  color: var(--ink);
  font-size: 34px;
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: 0;
  text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.65);
}

.headline span {
  color: var(--orange);
  font-weight: 900;
  font-size: 1.08em;
  text-shadow: 2px 2px 0 var(--ink);
}

.hero-copy {
  max-width: 360px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
}

.hero-sub {
  display: block;
  margin-top: 6px;
  color: var(--orange-deep);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
}

.card,
.form {
  margin: 18px 12px 0;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 5px 5px 0 rgba(17, 17, 17, 0.9);
}

.timer-box {
  padding: 18px 16px;
  text-align: center;
  border-bottom: 2px solid var(--ink);
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
}

.timer-label {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 13px;
  font-weight: 800;
}

.timer {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.seg {
  min-width: 58px;
  padding: 10px 4px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.2);
}

.seg .num {
  display: block;
  color: var(--white);
  font-size: 28px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.seg .unit {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 700;
}

.colon {
  align-self: center;
  color: var(--white);
  font-size: 26px;
  font-weight: 900;
}

.pad {
  padding: 18px;
}

.discount {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 15px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: #FFF1BD;
}

.discount .pct {
  color: var(--orange);
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 2px 2px 0 var(--ink);
}

.discount .txt {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.35;
  font-weight: 900;
}

.benefit-note {
  margin: 0;
  padding: 12px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--cream);
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.ref {
  margin: 18px 12px 0;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--sun);
  box-shadow: 5px 5px 0 rgba(17, 17, 17, 0.9);
}

.ref img {
  display: block;
  width: 100%;
}

.form {
  padding: 20px;
}

.form h2 {
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 900;
  line-height: 1.35;
}

.form .hint {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
}

.field {
  width: 100%;
  min-height: 52px;
  margin-bottom: 10px;
  padding: 14px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  outline: none;
}

.field:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.16);
}

select.field {
  appearance: none;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center;
}

.option-group {
  margin: 2px 0 10px;
  padding: 0;
  border: 0;
}

.option-group legend {
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

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

.radio-grid label {
  position: relative;
  min-height: 52px;
}

.radio-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-grid span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: #FFFDF7;
  color: var(--muted);
  font-size: 16px;
  font-weight: 800;
}

.radio-grid input:checked + span {
  color: var(--ink);
  background: var(--sun);
  box-shadow: inset 0 0 0 2px var(--orange);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 4px 0 12px;
  padding: 12px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: #FFFDF7;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.consent input {
  width: 17px;
  height: 17px;
  margin-top: 1px;
  accent-color: var(--orange);
}

.privacy-toggle {
  display: inline;
  border: 0;
  padding: 0;
  color: var(--orange-deep);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.cta {
  display: block;
  width: 100%;
  min-height: 60px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  color: var(--white);
  background: var(--orange);
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 18px;
  font-weight: 900;
}

.cta:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.note {
  margin-top: 12px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
}

.trust {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 18px 12px 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.trust .sep {
  display: none;
}

.viewers {
  margin-top: 10px;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}

.viewers b {
  color: var(--orange-deep);
}

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse 1.4s infinite;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 18px;
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
}

.modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 390px);
  max-height: min(78vh, 620px);
  overflow: auto;
  padding: 22px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 5px 5px 0 var(--ink);
  outline: none;
}

.modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  background: var(--sun);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.modal h2 {
  margin: 0 34px 14px 0;
  color: var(--ink);
  font-size: 19px;
  font-weight: 900;
  line-height: 1.35;
}

.modal__body {
  display: grid;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.modal__body strong {
  color: var(--ink);
  font-weight: 900;
}

.modal__agree {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--sun-soft);
}

.modal__agree-note {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.45;
  font-weight: 600;
}

.modal__agree-btn {
  align-self: center;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 12px 20px;
  color: var(--white);
  background: var(--orange);
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

.modal__agree-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}

@media (max-width: 390px) {
  .hero {
    min-height: 238px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .headline {
    font-size: 31px;
  }

  .dday {
    padding: 6px 12px;
    font-size: 12px;
  }

  .hero-copy,
  .hero-sub {
    font-size: 14px;
  }

  .seg {
    min-width: 54px;
  }

  .seg .num {
    font-size: 26px;
  }
}
