/* ==========================================================================
   마크호스팅 웹빌더 — 공통 스타일
   ========================================================================== */

:root {
  --navy: #14141d;
  --panel: #1c1c26;
  --panel-2: #242430;
  --line-dark: #33333f;

  --brand: #0283cb;
  --brand-dark: #026da8;
  --brand-soft: #e6f4fc;
  --brand-2: #22c3f5;
  --gold: #d99a0b;
  --gold-soft: #fdf5e3;
  --danger: #d94848;
  --ok: #17a673;

  --bg: #f4f6f9;
  --surface: #ffffff;
  --line: #e2e6ed;
  --line-2: #eef1f6;
  --ink: #171c2b;
  --ink-2: #4b5468;
  --muted: #8b93a5;

  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(20, 20, 29, .04), 0 8px 24px rgba(20, 20, 29, .06);
  --shadow-lg: 0 18px 50px rgba(20, 20, 29, .16);
  --container: 1120px;
  --header-h: 64px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Pretendard", "Pretendard Variable", -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; letter-spacing: -.025em; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- 헤더 ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 20, 29, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -.03em;
  white-space: nowrap;
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: -.04em;
}

.logo-sub {
  color: #8f98ad;
  font-weight: 500;
  font-size: .78rem;
  padding-left: 9px;
  margin-left: 2px;
  border-left: 1px solid rgba(255, 255, 255, .16);
}

.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  color: #b7becd;
  font-size: .88rem;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 8px;
  transition: .15s;
}

.nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.user-greeting { color: #dfe4ee; font-size: .86rem; font-weight: 600; white-space: nowrap; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 9px 16px;
  font-size: .88rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: .15s;
}

.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }

.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { filter: brightness(.94); }

.btn-outline { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }

.btn-ghost { background: transparent; color: #c7cddb; border-color: rgba(255, 255, 255, .18); }
.btn-ghost:hover { color: #fff; border-color: rgba(255, 255, 255, .42); }

.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #e9edf4; }

.btn-line-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.btn-line-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

.btn-lg { padding: 13px 26px; font-size: .96rem; border-radius: 9px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- 히어로 ---------- */
.hero {
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(2, 131, 203, .32), transparent 62%),
    radial-gradient(700px 360px at 6% 110%, rgba(34, 195, 245, .14), transparent 60%),
    var(--navy);
  color: #fff;
  padding: 84px 0 96px;
  border-bottom: 1px solid var(--line-dark);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--brand-2);
  border: 1px solid rgba(34, 195, 245, .32);
  background: rgba(34, 195, 245, .08);
  border-radius: 100px;
  padding: 5px 13px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: 2.65rem;
  line-height: 1.24;
  margin-bottom: 18px;
  letter-spacing: -.04em;
}

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

.hero-desc {
  color: #a9b2c4;
  font-size: 1.02rem;
  max-width: 520px;
  margin-bottom: 30px;
}

.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.hero-meta {
  display: flex;
  gap: 26px;
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  flex-wrap: wrap;
}

.hero-meta div strong { display: block; font-size: 1.24rem; color: #fff; }
.hero-meta div span { font-size: .8rem; color: #8b94a8; }

/* 히어로 우측 미리보기 패널 */
.hero-panel {
  background: var(--panel);
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
  overflow: hidden;
}

.hero-panel-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 14px;
  background: #16161f;
  border-bottom: 1px solid var(--line-dark);
}

.hero-panel-bar i {
  width: 9px; height: 9px; border-radius: 50%;
  background: #3a3a47; display: inline-block;
}

.hero-panel-bar span {
  margin-left: 8px;
  font-size: .72rem;
  color: #6e7688;
  font-family: ui-monospace, Menlo, Consolas, monospace;
}

.hero-panel-body { padding: 18px; display: grid; gap: 10px; }

.panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  background: #1f1f2a;
}

.panel-row b { color: #e7ebf3; font-size: .88rem; font-weight: 600; }
.panel-row small { display: block; color: #7a8295; font-size: .76rem; font-weight: 400; }

.panel-pill {
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(2, 131, 203, .16);
  color: var(--brand-2);
  white-space: nowrap;
}

.panel-pill.ok { background: rgba(23, 166, 115, .16); color: #3ddb9f; }

/* ---------- 섹션 공통 ---------- */
.section { padding: 84px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { max-width: 640px; margin-bottom: 44px; }

.section-label {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--brand);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.section-head h2 { font-size: 1.85rem; margin-bottom: 12px; letter-spacing: -.035em; }
.section-head p { color: var(--ink-2); font-size: .98rem; }

/* ---------- 기능 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.feature-item { background: var(--surface); padding: 30px 26px; }

.feature-item .num {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: .78rem;
  color: var(--brand);
  font-weight: 700;
  letter-spacing: .06em;
}

.feature-item h3 { font-size: 1.04rem; margin: 12px 0 8px; }
.feature-item p { color: var(--ink-2); font-size: .9rem; }

/* ---------- 요금제 ---------- */
.billing-switch {
  display: inline-flex;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 100px;
  margin-bottom: 34px;
}

.billing-switch button {
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink-2);
  padding: 9px 22px;
  border-radius: 100px;
  cursor: pointer;
  transition: .15s;
}

.billing-switch button.active { background: var(--navy); color: #fff; }

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.plan {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.plan.featured { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft), var(--shadow); }
.plan.vip { border-color: #e9cf95; box-shadow: 0 0 0 3px var(--gold-soft), var(--shadow); }

.plan-flag {
  position: absolute;
  top: -11px;
  left: 24px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: #fff;
  background: var(--brand);
  border-radius: 100px;
  padding: 4px 12px;
}

.plan.vip .plan-flag { background: var(--gold); }

.plan-cat {
  font-size: .76rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .02em;
}

.plan-name { font-size: 1.32rem; font-weight: 800; margin: 4px 0 10px; letter-spacing: -.03em; }

.plan-price {
  font-size: 2.05rem;
  font-weight: 800;
  letter-spacing: -.045em;
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.plan-price span { font-size: .88rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan-note { font-size: .82rem; color: var(--muted); margin-top: 6px; min-height: 20px; }

.plan-desc {
  font-size: .88rem;
  color: var(--ink-2);
  margin: 16px 0 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}

.plan-features { list-style: none; display: grid; gap: 9px; margin-bottom: 24px; }

.plan-features li {
  position: relative;
  padding-left: 24px;
  font-size: .89rem;
  color: var(--ink-2);
}

.plan-features li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}

.plan.vip .plan-features li::before { border-color: var(--gold); }
.plan-cta { margin-top: auto; }

/* 일회성 이용권 옵션 목록 */
.term-list { display: grid; gap: 8px; margin-bottom: 22px; }

.term-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 13px;
  background: #fbfcfe;
}

.term-row .t-label { font-size: .88rem; font-weight: 600; }
.term-row .t-price { font-size: .82rem; color: var(--ink-2); }

.term-row button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 7px;
  padding: 6px 13px;
  font-family: inherit;
  font-size: .8rem;
  font-weight: 700;
  color: var(--brand);
  cursor: pointer;
  transition: .15s;
}

.term-row button:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

.pricing-note { margin-top: 26px; font-size: .84rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: .95rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-weight: 700; }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--ink-2); font-size: .9rem; margin-top: 10px; }

/* ---------- CTA 배너 ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, #1d2b44 100%);
  color: #fff;
  padding: 58px 0;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
}

.cta-band h2 { font-size: 1.5rem; margin-bottom: 6px; }
.cta-band p { color: #a9b2c4; font-size: .93rem; }

/* ---------- 폼 ---------- */
.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: .84rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--ink);
}

.form-group input[type=text],
.form-group input[type=email],
.form-group input[type=tel],
.form-group input[type=password] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 12px 14px;
  font-size: .94rem;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  transition: .15s;
}

.form-group input:focus {
  outline: 0;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.form-group input[readonly] { background: #f5f7fa; color: var(--ink-2); }
.form-hint { font-size: .79rem; color: var(--muted); margin-top: 6px; }

/* ---------- 인증 페이지 ---------- */
.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 48px 20px;
  background:
    radial-gradient(700px 320px at 50% -8%, rgba(2, 131, 203, .16), transparent 62%),
    var(--bg);
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 36px 32px;
}

.auth-card .logo { color: var(--ink); justify-content: center; margin-bottom: 22px; }
.auth-card .logo-sub { color: var(--muted); border-left-color: var(--line); }
.auth-card h1 { font-size: 1.4rem; text-align: center; }

.auth-sub {
  text-align: center;
  color: var(--ink-2);
  font-size: .89rem;
  margin: 8px 0 26px;
}

.auth-foot {
  text-align: center;
  font-size: .86rem;
  color: var(--ink-2);
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line-2);
}

.auth-foot a { color: var(--brand); font-weight: 600; }

.checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: .85rem;
  color: var(--ink-2);
}

.checkbox-line input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--brand); }
.checkbox-line a { color: var(--brand); font-weight: 600; }

/* ---------- 결제 페이지 ---------- */
.page { padding: 44px 0 72px; }

.page-head { margin-bottom: 26px; }
.page-head h1 { font-size: 1.55rem; }
.page-head p { color: var(--ink-2); font-size: .9rem; margin-top: 6px; }

.crumb { font-size: .8rem; color: var(--muted); margin-bottom: 10px; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--brand); }

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  align-items: start;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow);
}

.card h2 {
  font-size: 1.05rem;
  padding-bottom: 14px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line-2);
}

.summary {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  background: var(--panel);
  color: #fff;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-lg);
}

.summary h2 {
  font-size: 1.02rem;
  color: #fff;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line-dark);
}

.sum-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: .88rem;
  padding: 7px 0;
  color: #a9b2c4;
}

.sum-row span:last-child { color: #e8ecf3; font-weight: 600; text-align: right; }

.sum-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line-dark);
}

.sum-total span { font-size: .92rem; color: #cfd6e2; font-weight: 600; }
.sum-total strong { font-size: 1.5rem; color: #fff; letter-spacing: -.035em; }

.summary .btn { margin-top: 20px; }

.summary-terms { font-size: .78rem; color: #8b94a8; text-align: center; margin-top: 12px; }
.summary-terms a { color: var(--brand-2); }

.pay-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line-dark);
  font-size: .76rem;
  color: #8b94a8;
}

.pay-badge b { color: #cfd6e2; font-weight: 600; }

/* ---------- 카드 등록 ---------- */
.register-wrap { max-width: 520px; margin: 0 auto; }

.register-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.register-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-2);
  background: #fbfcfe;
}

.register-top h1 { font-size: 1.02rem; flex: 1; text-align: center; }

.icon-btn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ink-2);
  font-size: 1rem;
  font-family: inherit;
  transition: .15s;
}

.icon-btn:hover { border-color: var(--brand); color: var(--brand); }

.register-body { padding: 24px 20px 28px; }

.plan-box {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 24px;
  background: linear-gradient(180deg, #fbfdff 0%, #f5f9fd 100%);
}

.plan-box-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .76rem;
  color: var(--brand);
  font-weight: 700;
  letter-spacing: .02em;
  margin-bottom: 6px;
}

.plan-box-tags .dot { color: var(--muted); }
.plan-box-name { font-size: 1.05rem; font-weight: 700; }

.plan-box-price {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -.04em;
  margin-top: 2px;
}

.plan-box-price span { font-size: .84rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }

.plan-box-desc {
  font-size: .8rem;
  color: var(--ink-2);
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.plan-box-desc a { color: var(--brand); font-weight: 600; }

.field { margin-bottom: 16px; }

.field > label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .84rem;
  font-weight: 600;
  margin-bottom: 7px;
}

.char-count { font-size: .76rem; color: var(--muted); font-weight: 500; }

.field input[type=text] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 13px 14px;
  font-size: .95rem;
  font-family: inherit;
  transition: .15s;
}

.field input:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.brand-marks { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }

.brand-marks span {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 3px 7px;
  background: #fbfcfe;
}

.notice {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  background: var(--brand-soft);
  border: 1px solid #c9e6f7;
  border-radius: 10px;
  padding: 12px 13px;
  font-size: .8rem;
  color: #125f88;
  margin-bottom: 18px;
}

.notice i {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-style: normal;
  font-size: .68rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-top: 1px;
}

.agree-box {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 14px;
  margin-bottom: 12px;
}

.agree-label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.agree-label input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); flex: 0 0 auto; }
.agree-label strong { display: block; font-size: .88rem; }
.agree-label p { font-size: .79rem; color: var(--ink-2); margin-top: 3px; }
.agree-label a { color: var(--brand); font-weight: 600; text-decoration: underline; }

/* ---------- 모달 ---------- */
.modal[hidden] { display: none; }

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

.modal-backdrop { position: absolute; inset: 0; background: rgba(20, 20, 29, .6); }

.modal-box {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 34px 28px 28px;
  width: 100%;
  max-width: 360px;
  text-align: center;
}

.modal-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 1.6rem;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
}

.modal-box h2 { font-size: 1.16rem; margin-bottom: 8px; }
.modal-box p { font-size: .88rem; color: var(--ink-2); margin-bottom: 22px; }

/* ---------- 결과 페이지 ---------- */
.result-page { padding: 80px 0 96px; text-align: center; }

.result-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  font-size: 2rem;
  background: #e6f7f1;
  color: var(--ok);
}

.result-icon.fail { background: #fdeceb; color: var(--danger); }
.result-page h1 { font-size: 1.6rem; margin-bottom: 12px; }
.result-page > .container > p { color: var(--ink-2); margin-bottom: 26px; }

.receipt {
  max-width: 440px;
  margin: 0 auto 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  text-align: left;
  box-shadow: var(--shadow);
}

.receipt h3 {
  font-size: .82rem;
  color: var(--muted);
  letter-spacing: .06em;
  text-transform: uppercase;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: .87rem;
  padding: 6px 0;
}

.receipt-row span { color: var(--ink-2); flex: 0 0 auto; }

.receipt-row b {
  font-weight: 600;
  text-align: right;
  word-break: break-all;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: .82rem;
}

.result-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------- 마이페이지 ---------- */
.info-list { display: grid; gap: 12px; }

.info-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: .9rem;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line-2);
}

.info-row:last-child { border-bottom: 0; padding-bottom: 0; }
.info-row span { color: var(--ink-2); }
.info-row b { font-weight: 600; text-align: right; }

.empty { text-align: center; padding: 24px 0; color: var(--muted); font-size: .9rem; }

.badge {
  display: inline-block;
  font-size: .74rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  background: #e6f7f1;
  color: var(--ok);
}

/* ---------- 약관 페이지 ---------- */
.legal { padding: 48px 0 80px; }

.legal-card {
  max-width: 820px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 38px;
  box-shadow: var(--shadow);
}

.legal-card h1 { font-size: 1.55rem; margin-bottom: 6px; }

.legal-date {
  font-size: .84rem;
  color: var(--muted);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-2);
  margin-bottom: 26px;
}

.legal-card h2 { font-size: 1.02rem; margin: 30px 0 10px; color: var(--brand); }
.legal-card h2:first-of-type { margin-top: 0; }
.legal-card p { color: var(--ink-2); font-size: .92rem; margin-bottom: 10px; }
.legal-card ul, .legal-card ol { padding-left: 20px; margin-bottom: 12px; }
.legal-card li { color: var(--ink-2); font-size: .92rem; margin-bottom: 6px; }
.legal-card a { color: var(--brand); text-decoration: underline; }

.legal-foot {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line-2);
  font-size: .82rem;
  color: var(--muted);
}

/* ---------- 푸터 ---------- */
.footer {
  background: var(--navy);
  color: #8b94a8;
  padding: 54px 0 0;
  font-size: .86rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}

.footer-grid h4 { color: #fff; font-size: .86rem; margin-bottom: 14px; }
.footer-grid ul { list-style: none; display: grid; gap: 9px; }
.footer-grid li { font-size: .84rem; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-about { font-size: .84rem; line-height: 1.7; margin-top: 14px; max-width: 280px; }

.footer-bank {
  margin-top: 16px;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  padding: 12px 14px;
  background: var(--panel);
  max-width: 280px;
}

.footer-bank small { display: block; font-size: .74rem; color: #6e7688; }
.footer-bank b { color: #dfe4ee; font-size: .95rem; letter-spacing: -.01em; }

.footer-bottom { border-top: 1px solid var(--line-dark); padding: 22px 0 32px; }

.biz-info { font-size: .78rem; line-height: 1.9; color: #767f93; }
.biz-info b { color: #a9b2c4; font-weight: 600; }
.biz-info a { color: #767f93; text-decoration: underline; }
.biz-copy { margin-top: 10px; font-size: .76rem; color: #5e6678; }

/* ---------- 토스트 ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translate(-50%, 20px);
  background: var(--navy);
  color: #fff;
  font-size: .88rem;
  font-weight: 500;
  padding: 13px 22px;
  border-radius: 100px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: .25s;
  z-index: 200;
  max-width: calc(100% - 40px);
  text-align: center;
}

.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 반응형 ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 2.15rem; }
  .checkout-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .feature-grid, .plan-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav { display: none; }
  .section { padding: 56px 0; }
  .hero { padding: 56px 0 64px; }
  .hero h1 { font-size: 1.82rem; }
  .feature-grid, .plan-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .legal-card { padding: 28px 20px; }
  .card, .summary { padding: 20px; }
  .logo-sub { display: none; }
  .result-page { padding: 56px 0 72px; }
}
