/* ============================================================
   Stackin 사전예약 랜딩 — "페이지 자체가 하루 타임라인"
   앱 디자인 언어 이식: 코랄 브랜드 액센트, 화이트 워크벤치 캔버스,
   유리질 카드(65% 틴트), 레인보우 태스크 팔레트, 타임라인 그리드 모티프
   ============================================================ */

@import url("https://cdn.jsdelivr.net/gh/sun-typeface/SUIT@2/fonts/variable/woff2/SUIT-Variable.css");

:root {
  /* 브랜드 */
  --coral: #ed7470;
  --coral-deep: #c04844;
  --coral-tint: #fcecea;
  --coral-pressed: #d95f5b;

  /* 워크벤치 캔버스 */
  --canvas: #fdfcfa;
  --ink: #1c1c1e;
  --ink-2: #48484a;
  --gray: #8e8e93;
  --hairline: rgba(60, 60, 67, 0.14);
  --hairline-soft: rgba(60, 60, 67, 0.07);
  --card-glass: rgba(255, 255, 255, 0.65);
  --now-red: #ff3b30;

  /* 레인보우 태스크 팔레트 (design.md) */
  --t-blue-bg: #bfc9d7;   --t-blue-mid: #4f6785;   --t-blue-dark: #3f536b;
  --t-orange-bg: #e6c3a3; --t-orange-mid: #9a6e47; --t-orange-dark: #6e4e33;
  --t-green-bg: #d5f5e3;  --t-green-mid: #1d8348;  --t-green-dark: #145a32;
  --t-purple-bg: #e8daef; --t-purple-mid: #7d3c98; --t-purple-dark: #512e5f;
  --t-yellow-bg: #f9e79f; --t-yellow-mid: #b7950b; --t-yellow-dark: #7d6608;

  --font-sans: "SUIT Variable", "Pretendard Variable", -apple-system,
    BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;

  --radius-card: 20px;
  --radius-block: 12px;
  --maxw: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background-color: var(--canvas);
  /* 타임라인 그리드 모티프: 페이지 전체에 아주 옅은 시간 눈금 */
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 95px,
    var(--hairline-soft) 95px,
    var(--hairline-soft) 96px
  );
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  word-break: keep-all;
  overflow-x: clip;
}

::selection { background: var(--coral-tint); color: var(--coral-deep); }

a { color: inherit; }

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

/* ---------- 상단 내비게이션 ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(253, 252, 250, 0.72);
  border-bottom: 1px solid var(--hairline-soft);
}

.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.logo-mark {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--coral);
  display: grid;
  place-items: center;
  gap: 0;
  box-shadow: 0 4px 10px rgba(237, 116, 112, 0.35);
}

.logo-mark span {
  display: block;
  width: 13px;
  height: 3px;
  border-radius: 2px;
  background: #fff;
}
.logo-mark span:nth-child(1) { opacity: 0.55; width: 13px; }
.logo-mark span:nth-child(2) { opacity: 0.8; width: 9px; margin: 2px 4px 2px 0; }
.logo-mark span:nth-child(3) { opacity: 1; }

.nav-cta {
  font-size: 14px;
  font-weight: 700;
  color: var(--coral-deep);
  background: var(--coral-tint);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.15s ease;
}
.nav-cta:hover { background: #f9dedc; transform: translateY(-1px); }

/* ---------- 히어로 ---------- */

.hero {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 72px 24px 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 48px;
  align-items: center;
  min-height: 640px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--coral-deep);
  background: var(--coral-tint);
  border: 1px solid rgba(237, 116, 112, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  animation: pulse-dot 2.4s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(237, 116, 112, 0.45); }
  50% { box-shadow: 0 0 0 6px rgba(237, 116, 112, 0); }
}

.hero h1 {
  font-size: clamp(40px, 6vw, 62px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.035em;
}

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

.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 12px;
  background: var(--coral-tint);
  z-index: -1;
  border-radius: 4px;
}

.hero .lede {
  margin-top: 20px;
  font-size: 18px;
  color: var(--ink-2);
  max-width: 44ch;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(180deg, #f08480, var(--coral-pressed));
  padding: 15px 30px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(237, 116, 112, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 30px rgba(237, 116, 112, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-primary:active { transform: translateY(0) scale(0.99); }

.hero-hint { font-size: 14px; color: var(--gray); }

/* 히어로 로드 스태거 */
.hero-copy > * { opacity: 0; transform: translateY(16px); animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.15s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.28s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.4s; }

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- iPhone 목업 ---------- */

.hero-phone {
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translateY(30px) rotate(3deg);
  animation: phone-in 0.9s 0.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes phone-in {
  to { opacity: 1; transform: translateY(0) rotate(0deg); }
}

.phone {
  width: 330px;
  height: 660px;
  border-radius: 52px;
  background: #17171a;
  padding: 9px;
  box-shadow:
    0 40px 80px rgba(28, 28, 30, 0.28),
    0 12px 28px rgba(28, 28, 30, 0.18),
    inset 0 0 0 2px #3a3a3e;
  flex-shrink: 0;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 44px;
  background: #fff;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", var(--font-sans);
}

.p-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 26px;
  border-radius: 999px;
  background: #17171a;
  z-index: 6;
}

.p-header {
  padding: 48px 18px 8px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.p-title { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.p-day { font-size: 12px; font-weight: 600; color: var(--gray); }

.p-allday {
  margin: 0 14px;
  padding: 6px 4px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--hairline-soft);
}

.p-allday-label { font-size: 10px; font-weight: 600; color: var(--gray); width: 40px; flex-shrink: 0; }

.p-capsule {
  font-size: 11px;
  font-weight: 700;
  color: var(--t-green-dark);
  background: rgba(213, 245, 227, 0.65);
  border-left: 3px solid var(--t-green-mid);
  padding: 3px 10px;
  border-radius: 6px;
}

.p-body { position: relative; height: 384px; margin: 0 0 0 14px; }

.p-hour {
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.p-hour-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--gray);
  width: 34px;
  flex-shrink: 0;
  transform: translateY(-6px);
  font-variant-numeric: tabular-nums;
}

.p-hour-line { flex: 1; height: 1px; background: rgba(142, 142, 147, 0.18); margin-right: 14px; }

.p-block {
  position: absolute;
  left: 44px;
  right: 14px;
  border-radius: var(--radius-block);
  padding: 7px 10px 7px 13px;
  overflow: hidden;
}

.p-block::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 7px;
  bottom: 7px;
  width: 3px;
  border-radius: 2px;
}

.p-block .t { font-size: 12.5px; font-weight: 700; line-height: 1.3; }
.p-block .m { font-size: 10px; font-weight: 500; line-height: 1.4; }

.p-block.blue { background: rgba(191, 201, 215, 0.65); }
.p-block.blue::before { background: var(--t-blue-mid); }
.p-block.blue .t { color: var(--t-blue-dark); }
.p-block.blue .m { color: var(--t-blue-mid); }

.p-block.orange { background: rgba(230, 195, 163, 0.65); }
.p-block.orange::before { background: var(--t-orange-mid); }
.p-block.orange .t { color: var(--t-orange-dark); }
.p-block.orange .m { color: var(--t-orange-mid); }

.p-now {
  position: absolute;
  left: 40px;
  right: 10px;
  height: 1px;
  background: var(--now-red);
  z-index: 4;
}

.p-now::before {
  content: "";
  position: absolute;
  left: -4px;
  top: -3.5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--now-red);
  animation: pulse-now 2s ease-in-out infinite;
}

@keyframes pulse-now {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.4); }
  50% { box-shadow: 0 0 0 5px rgba(255, 59, 48, 0); }
}

/* 인박스 → 타임라인으로 날아가는 블록 (시그니처 모션) */
.p-fly {
  position: absolute;
  z-index: 5;
  border-radius: 10px;
  background: rgba(232, 218, 239, 0.92);
  border-left: 3px solid var(--t-purple-mid);
  padding: 6px 10px;
  overflow: hidden;
  animation: fly 7.5s cubic-bezier(0.45, 0, 0.2, 1) infinite;
  box-shadow: 0 2px 8px rgba(81, 46, 95, 0.12);
  will-change: top, left, width, height;
}

.p-fly .t { font-size: 12.5px; font-weight: 700; color: var(--t-purple-dark); white-space: nowrap; }
.p-fly .m { font-size: 10px; font-weight: 500; color: var(--t-purple-mid); opacity: 0; animation: fly-meta 7.5s linear infinite; }

@keyframes fly {
  0%, 14% { top: 388px; left: 24px; width: 130px; height: 28px; box-shadow: 0 2px 8px rgba(81, 46, 95, 0.12); }
  24% { top: 336px; left: 36px; width: 156px; height: 42px; box-shadow: 0 18px 34px rgba(81, 46, 95, 0.3); }
  38%, 88% { top: 256px; left: 44px; width: 240px; height: 90px; box-shadow: 0 4px 12px rgba(81, 46, 95, 0.1); }
  96%, 100% { top: 388px; left: 24px; width: 130px; height: 28px; box-shadow: 0 2px 8px rgba(81, 46, 95, 0.12); }
}

@keyframes fly-meta {
  0%, 40% { opacity: 0; }
  48%, 86% { opacity: 1; }
  94%, 100% { opacity: 0; }
}

/* 인박스 바텀 시트 */
.p-inbox {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 22px 22px 0 0;
  background: rgba(250, 250, 250, 0.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--hairline-soft);
  padding: 8px 14px 14px;
  box-shadow: 0 -8px 24px rgba(28, 28, 30, 0.08);
}

.p-grabber { width: 36px; height: 4px; border-radius: 2px; background: rgba(142, 142, 147, 0.35); margin: 0 auto 8px; }

.p-inbox-head { font-size: 12px; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.p-inbox-head b { color: var(--coral-deep); font-weight: 800; }

.p-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 2px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  border-bottom: 1px solid var(--hairline-soft);
}

.p-row:last-of-type { border-bottom: none; }

.p-radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid rgba(142, 142, 147, 0.4);
  flex-shrink: 0;
}
.p-row.yellow .p-radio { border-color: var(--t-yellow-mid); }
.p-row.blue .p-radio { border-color: var(--t-blue-mid); }

.p-row.ghost { opacity: 0.35; }
.p-row.ghost .p-radio { border-style: dashed; }

.p-input {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: 999px;
  padding: 9px 6px 9px 16px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  font-size: 12.5px;
  color: var(--gray);
}

.p-send {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--coral);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

/* ---------- 섹션 공통: 타임라인 문법 ---------- */

.section { max-width: var(--maxw); margin: 0 auto; padding: 88px 24px 24px; }

.section-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 40px; }

.time-chip {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray);
  font-variant-numeric: tabular-nums;
  padding-top: 8px;
  flex-shrink: 0;
  width: 52px;
}

.section-title-group { border-left: 3px solid var(--coral); border-radius: 2px; padding-left: 18px; }

.section-title-group.blue { border-color: var(--t-blue-mid); }
.section-title-group.green { border-color: var(--t-green-mid); }
.section-title-group.purple { border-color: var(--t-purple-mid); }
.section-title-group.yellow { border-color: var(--t-yellow-mid); }

.section h2 {
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.section .sub { margin-top: 10px; font-size: 16px; color: var(--ink-2); max-width: 56ch; }

/* ---------- 기능 카드 = 태스크 블록 문법 ---------- */

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

.feature-card {
  position: relative;
  border-radius: var(--radius-card);
  padding: 28px 26px 26px 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 2px 10px rgba(28, 28, 30, 0.04);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
}

.feature-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(28, 28, 30, 0.1); }

.feature-card::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 26px;
  bottom: 26px;
  width: 3.5px;
  border-radius: 2px;
}

.feature-card .f-time { font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; margin-bottom: 10px; }
.feature-card h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.feature-card p { font-size: 15px; line-height: 1.65; }

.feature-card.blue { background: rgba(191, 201, 215, 0.28); }
.feature-card.blue::before { background: var(--t-blue-mid); }
.feature-card.blue .f-time, .feature-card.blue p { color: var(--t-blue-mid); }
.feature-card.blue h3 { color: var(--t-blue-dark); }

.feature-card.orange { background: rgba(230, 195, 163, 0.28); }
.feature-card.orange::before { background: var(--t-orange-mid); }
.feature-card.orange .f-time, .feature-card.orange p { color: var(--t-orange-mid); }
.feature-card.orange h3 { color: var(--t-orange-dark); }

.feature-card.green { background: rgba(213, 245, 227, 0.38); }
.feature-card.green::before { background: var(--t-green-mid); }
.feature-card.green .f-time, .feature-card.green p { color: var(--t-green-mid); }
.feature-card.green h3 { color: var(--t-green-dark); }

.feature-card.purple { background: rgba(232, 218, 239, 0.32); }
.feature-card.purple::before { background: var(--t-purple-mid); }
.feature-card.purple .f-time, .feature-card.purple p { color: var(--t-purple-mid); }
.feature-card.purple h3 { color: var(--t-purple-dark); }

.feature-card.yellow { background: rgba(249, 231, 159, 0.3); grid-column: 1 / -1; }
.feature-card.yellow::before { background: var(--t-yellow-mid); }
.feature-card.yellow .f-time, .feature-card.yellow p { color: var(--t-yellow-mid); }
.feature-card.yellow h3 { color: var(--t-yellow-dark); }

/* ---------- 작동 방식 3단계 ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }

.step {
  position: relative;
  background: var(--card-glass);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-card);
  padding: 30px 26px;
  box-shadow: 0 2px 10px rgba(28, 28, 30, 0.04);
  backdrop-filter: blur(8px);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: var(--coral-tint);
  color: var(--coral-deep);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 18px;
}

.step h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 6px; }
.step p { font-size: 14.5px; color: var(--ink-2); }

.step .arrow {
  position: absolute;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--coral);
  font-size: 18px;
  font-weight: 800;
  z-index: 2;
}

/* ---------- Pro 밴드 ---------- */

.pro-band {
  border-radius: 26px;
  background:
    radial-gradient(120% 160% at 85% 0%, rgba(237, 116, 112, 0.16), transparent 55%),
    linear-gradient(160deg, #211f1e, #2c2422);
  color: #fff;
  padding: 52px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  overflow: hidden;
  position: relative;
}

.pro-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 47px,
    rgba(255, 255, 255, 0.04) 47px,
    rgba(255, 255, 255, 0.04) 48px
  );
  pointer-events: none;
}

.pro-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--coral);
  background: rgba(237, 116, 112, 0.15);
  border: 1px solid rgba(237, 116, 112, 0.4);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.pro-band h2 { font-size: clamp(24px, 3.2vw, 32px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.3; }
.pro-band p { margin-top: 12px; font-size: 15.5px; color: rgba(255, 255, 255, 0.72); max-width: 52ch; }

.pro-band .btn-primary { flex-shrink: 0; position: relative; z-index: 1; }

/* ---------- 사전예약 폼 ---------- */

.prereg-card {
  max-width: 620px;
  margin: 0 auto;
  background: var(--card-glass);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 26px;
  padding: 48px 44px;
  box-shadow: 0 24px 60px rgba(28, 28, 30, 0.1);
  text-align: center;
}

.prereg-card h2 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; letter-spacing: -0.03em; }
.prereg-card .sub { margin: 12px auto 30px; }

.field-row { display: flex; gap: 10px; }

.field-row input[type="email"] {
  flex: 1;
  min-width: 0;
  font-family: inherit;
  font-size: 16px;
  padding: 15px 20px;
  border: 1.5px solid var(--hairline);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field-row input[type="email"]:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 4px rgba(237, 116, 112, 0.15);
}

.field-row input[type="email"]::placeholder { color: var(--gray); }

.consent {
  margin-top: 18px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  font-size: 13.5px;
  color: var(--ink-2);
}

.consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--coral);
  flex-shrink: 0;
  cursor: pointer;
}

.consent a { color: var(--coral-deep); font-weight: 700; }

.form-status { margin-top: 14px; min-height: 22px; font-size: 14px; font-weight: 600; color: var(--coral-deep); }

.form-note { margin-top: 8px; font-size: 12.5px; color: var(--gray); }

/* 허니팟: 시각적으로 완전히 숨김 */
.hp-field {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* 성공 상태 */
.prereg-success { display: none; }
.prereg-card.done .prereg-form-area { display: none; }
.prereg-card.done .prereg-success { display: block; animation: rise 0.6s cubic-bezier(0.22, 1, 0.36, 1); }

.success-check {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--t-green-bg);
  display: grid;
  place-items: center;
}

.success-check svg { width: 34px; height: 34px; stroke: var(--t-green-dark); }

.prereg-success h2 { color: var(--t-green-dark); }
.prereg-success p { margin-top: 10px; color: var(--ink-2); font-size: 15.5px; }

/* ---------- FAQ ---------- */

.faq-list { max-width: 720px; }

.faq-list details {
  border-bottom: 1px solid var(--hairline-soft);
  padding: 4px 0;
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 4px;
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--coral);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-list details[open] summary::after { transform: rotate(45deg); }

.faq-list .faq-a { padding: 0 4px 20px; font-size: 15px; color: var(--ink-2); max-width: 60ch; }

/* ---------- 푸터 ---------- */

footer {
  margin-top: 96px;
  border-top: 1px solid var(--hairline-soft);
  background: rgba(253, 252, 250, 0.8);
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 36px 24px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--gray);
}

.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--coral-deep); }

/* ---------- 스크롤 리빌 ---------- */

/* JS가 있는 환경에서만 숨겼다가 드러낸다 — JS 실패 시에도 콘텐츠는 항상 보인다 */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.js .reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- 개인정보처리방침 문서 페이지 ---------- */

.doc { max-width: 760px; margin: 0 auto; padding: 64px 24px 96px; }
.doc h1 { font-size: clamp(28px, 4vw, 38px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 8px; }
.doc .doc-date { font-size: 14px; color: var(--gray); margin-bottom: 40px; }
.doc h2 { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; margin: 40px 0 12px; padding-left: 14px; border-left: 3px solid var(--coral); border-radius: 2px; }
.doc p, .doc li { font-size: 15px; color: var(--ink-2); line-height: 1.75; }
.doc ul { padding-left: 22px; margin: 8px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14px; }
.doc th, .doc td { border: 1px solid var(--hairline); padding: 10px 14px; text-align: left; color: var(--ink-2); }
.doc th { background: var(--coral-tint); color: var(--coral-deep); font-weight: 700; }
.doc .back-link { display: inline-block; margin-bottom: 32px; font-size: 14px; font-weight: 700; color: var(--coral-deep); text-decoration: none; }

/* ---------- 반응형 ---------- */

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; text-align: center; min-height: unset; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-phone { margin-top: 16px; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step .arrow { display: none; }
  .pro-band { flex-direction: column; align-items: flex-start; padding: 40px 30px; }
  .time-chip { display: none; }
  .prereg-card { padding: 38px 24px; }
  .field-row { flex-direction: column; }
  .field-row .btn-primary { justify-content: center; }
}

@media (max-width: 380px) {
  .phone { width: 290px; height: 590px; }
}

/* ---------- 모션 최소화 ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy > *, .hero-phone { animation: none; opacity: 1; transform: none; }
  .p-fly { animation: none; top: 256px; left: 44px; width: 240px; height: 90px; }
  .p-fly .m { animation: none; opacity: 1; }
  .p-now::before, .eyebrow::before { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn-primary, .feature-card, .nav-cta { transition: none; }
}
