:root {
  --blue: #145cff;
  --blue-dark: #0d3fb3;
  --blue-soft: #edf4ff;
  --mint: #18c29c;
  --mint-soft: #e6faf5;
  --yellow: #ffd84d;
  --navy: #111827;
  --muted: #64748b;
  --line: #dbe4f0;
  --surface: #f4f7fb;
}

.guide-page { padding-bottom: 0; background: #fff; }
.guide-hero { padding: 42px 0 38px; border-bottom: 1px solid #dce7f7; background: var(--blue-soft); text-align: center; }
.guide-wrap { width: min(1080px, calc(100% - 32px)); margin: 0 auto; }
.guide-alert { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; margin: 0 0 18px; padding: 0 14px; border: 1px solid #b9d0ff; border-radius: 999px; background: #fff; color: var(--blue-dark); font-size: 13px; font-weight: 900; }
.guide-alert::before { content: "!"; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; font-size: 12px; }
.guide-hero h1 { margin: 0; color: var(--navy); font-size: clamp(30px, 7vw, 48px); line-height: 1.18; }
.guide-hero p { max-width: 620px; margin: 14px auto 0; color: #40506a; font-size: 16px; line-height: 1.7; }

.compare-section { padding: 54px 0; background: #fff; }
.usim-compare-grid { display: grid; gap: 18px; }
.usim-product { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 12px 34px rgba(17, 24, 39, .07); }
.usim-product-media { min-height: 250px; display: grid; place-items: center; padding: 24px; background: var(--surface); }
.usim-product-media img { width: 100%; max-width: 390px; height: 230px; object-fit: contain; }
.usim-product-body { padding: 24px; }
.network-badge { display: inline-flex; align-items: center; min-height: 30px; margin-bottom: 10px; padding: 0 11px; border-radius: 999px; font-size: 12px; font-weight: 900; }
.network-badge.kt { background: var(--blue-soft); color: var(--blue-dark); }
.network-badge.lg { background: #fff0f7; color: #b81867; }
.usim-product h2 { margin: 0; color: var(--navy); font-size: 26px; }
.usim-summary { margin: 8px 0 18px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.usim-checks { display: grid; gap: 11px; margin: 0 0 24px; padding: 0; list-style: none; }
.usim-checks li { position: relative; padding-left: 28px; color: #27364a; font-size: 15px; line-height: 1.5; }
.usim-checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--mint-soft); color: #087d66; font-size: 12px; font-weight: 900; }
.guide-button { min-height: 56px; display: flex; align-items: center; justify-content: center; padding: 0 18px; border: 1px solid transparent; border-radius: 16px; font-size: 16px; font-weight: 900; text-align: center; transition: transform .16s ease, box-shadow .16s ease; }
.guide-button:hover { transform: translateY(-1px); }
.guide-button:active { transform: scale(.985); }
.guide-button.primary { background: var(--blue); color: #fff; box-shadow: 0 10px 22px rgba(20, 92, 255, .22); }
.guide-button.lg-button { background: #cf176f; color: #fff; box-shadow: 0 10px 22px rgba(207, 23, 111, .18); }
.guide-button.kakao { background: var(--yellow); color: #251f00; }
.guide-button.outline { border-color: #b8c9df; background: #fff; color: var(--blue-dark); }
.guide-button.is-selected { box-shadow: 0 0 0 4px rgba(20, 92, 255, .15); }

.help-section { padding: 0 0 54px; background: #fff; }
.photo-help { display: grid; gap: 18px; align-items: center; padding: 28px; border: 1px solid #bdebe1; border-radius: 20px; background: var(--mint-soft); }
.photo-help-copy { display: flex; align-items: flex-start; gap: 16px; }
.photo-icon { flex: 0 0 54px; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: #fff; font-size: 25px; box-shadow: 0 7px 18px rgba(8, 125, 102, .1); }
.photo-help h2, .purchase-guide h2 { margin: 0; color: var(--navy); font-size: 24px; }
.photo-help p, .purchase-guide p { margin: 7px 0 0; color: #435469; font-size: 15px; line-height: 1.65; }

.purchase-section-new { padding: 54px 0 72px; background: var(--surface); }
.purchase-guide { text-align: center; }
.purchase-actions { display: grid; gap: 10px; max-width: 720px; margin: 22px auto 0; }

.guide-footer { padding: 34px 0 108px; background: #101827; color: #c8d0dc; }
.guide-footer p { margin: 7px 0 0; font-size: 13px; }
.guide-footer b { color: #fff; }

@media (min-width: 720px) {
  .guide-hero { padding: 68px 0 56px; }
  .usim-compare-grid { grid-template-columns: 1fr 1fr; }
  .photo-help { grid-template-columns: 1fr auto; padding: 34px; }
  .purchase-actions { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .compare-section { padding: 76px 0; }
  .guide-footer { padding-bottom: 38px; }
}

@media (max-width: 390px) {
  .guide-wrap { width: min(100% - 24px, 1080px); }
  .guide-hero h1 { font-size: 29px; }
  .guide-hero p { font-size: 15px; }
  .usim-product-media { min-height: 220px; padding: 18px; }
  .usim-product-media img { height: 200px; }
  .usim-product-body { padding: 20px; }
  .usim-product h2 { font-size: 24px; }
}
