:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #536071;
  --line: #dbe3ee;
  --paper: #f7f9fc;
  --white: #fff;
  --blue: #1167d8;
  --blue-dark: #0b3d91;
  --green: #73b900;
  --orange: #ff8b00;
  --red: #f23d18;
  --shadow: 0 18px 55px rgba(11, 35, 66, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.62;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: 0; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.site-header nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: center; }
.site-header nav a, .header-call {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: .94rem;
  font-weight: 800;
  color: #263447;
}
.site-header nav a:hover, .header-call { background: #eef5ff; color: var(--blue-dark); }
.section {
  padding: clamp(46px, 8vw, 96px) clamp(18px, 5vw, 64px);
}
.section-inner { max-width: 1180px; margin: 0 auto; }
.hero {
  background: #fbfdff;
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid #cfd9e8;
  border-radius: 8px;
  background: #fff;
  color: var(--blue-dark);
  font-weight: 900;
  font-size: .88rem;
}
h1, h2, h3 { line-height: 1.18; letter-spacing: 0; margin: 0; }
h1 { margin-top: 18px; font-size: 3rem; max-width: 820px; overflow-wrap: anywhere; word-break: keep-all; }
h2 { font-size: 2rem; overflow-wrap: anywhere; word-break: keep-all; }
.panel-head h2 { font-size: 1.6rem; }
.local-hero h1 { font-size: 2.5rem; }
h3 { font-size: 1.08rem; }
.lead { font-size: 1.15rem; color: #344154; max-width: 760px; margin: 20px 0 0; }
.hero-actions, .button-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #c9d5e5;
  background: #fff;
  color: #182233;
  font-weight: 900;
}
.btn.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn.dark { background: #121826; border-color: #121826; color: #fff; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(17, 103, 216, .15); }
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}
.stat {
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.stat strong { display: block; font-size: 1.55rem; line-height: 1; }
.stat span { display: block; margin-top: 6px; color: var(--muted); font-size: .9rem; }
.activation-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.panel-head {
  padding: 22px;
  background: #101827;
  color: #fff;
}
.panel-head p { margin: 8px 0 0; color: #c7d5ea; }
.usim-grid { display: grid; grid-template-columns: 1fr 1fr; }
.usim-card { padding: 18px; border-top: 1px solid var(--line); }
.usim-card + .usim-card { border-left: 1px solid var(--line); }
.usim-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid #e7edf5;
  background: #fff;
}
.usim-card .carrier {
  display: inline-flex;
  margin-top: 14px;
  padding: 4px 8px;
  border-radius: 6px;
  color: #fff;
  font-size: .78rem;
  font-weight: 900;
}
.carrier.kt { background: #008e8a; }
.carrier.lg { background: #d60a68; }
.usim-card p { margin: 8px 0 0; color: var(--muted); font-size: .95rem; }
.search-band {
  margin-top: 28px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.search-box { position: relative; }
.search-box input {
  width: 100%;
  min-height: 54px;
  border: 2px solid #c7d7ee;
  border-radius: 8px;
  padding: 0 16px;
  font: inherit;
  font-weight: 800;
  background: #fbfdff;
}
.search-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.search-results a {
  display: block;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.search-results small { display: block; color: var(--muted); margin-top: 2px; }
.two-col {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 54px);
  align-items: start;
}
.section-title p { color: var(--muted); margin: 12px 0 0; font-size: 1.02rem; }
.method-grid, .plan-grid, .province-grid, .dong-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}
.method, .plan, .province-link, .dong-link, .info-box, .faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}
.method .tag, .plan .tag {
  display: inline-flex;
  min-width: 34px;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 6px;
  background: #eaf3ff;
  color: var(--blue-dark);
  font-weight: 900;
}
.method p, .plan p, .province-link p, .dong-link p, .info-box p, .faq-item p { color: var(--muted); margin: 10px 0 0; }
.plan strong { display: block; font-size: 1.5rem; margin-top: 8px; }
.province-link { display: block; }
.province-link strong { display: flex; justify-content: space-between; gap: 8px; }
.province-link span { color: var(--blue); }
.directory-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.breadcrumb { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.breadcrumb a { color: var(--blue-dark); font-weight: 800; }
.local-hero {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.local-hero .section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: center;
}
.local-summary { display: grid; gap: 10px; }
.local-summary .info-box:nth-child(1) { border-left: 5px solid var(--blue); }
.local-summary .info-box:nth-child(2) { border-left: 5px solid var(--green); }
.process {
  counter-reset: step;
  display: grid;
  gap: 12px;
}
.process li {
  list-style: none;
  counter-increment: step;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.process li::before {
  content: counter(step, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #101827;
  color: #fff;
  font-weight: 900;
}
.notice {
  padding: 14px 16px;
  border: 1px solid #f3d19a;
  border-radius: 8px;
  background: #fff7e8;
  color: #5f3c00;
}
.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, .95fr) minmax(240px, 1fr) minmax(260px, 1.15fr);
  gap: 24px;
  padding: 36px clamp(18px, 5vw, 64px);
  background: #101827;
  color: #fff;
}
.site-footer p { color: #bfccdc; margin: 8px 0 0; }
.site-footer h2 {
  margin: 0 0 10px;
  font-size: 1rem;
  color: #fff;
}
.footer-brand strong { display: block; font-size: 1.15rem; }
.footer-brand b { color: #fff; }
.footer-block dl { display: grid; gap: 8px; margin: 0; }
.footer-block dl div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 10px;
}
.footer-block dt { color: #8ea3bd; font-size: .9rem; }
.footer-block dd { margin: 0; color: #e6eef8; }
.footer-block a { color: #fff; font-weight: 800; }
.footer-links {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.footer-links a {
  padding: 9px 11px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  color: #dce8f7;
  font-size: .92rem;
}
.footer-note {
  grid-column: 1 / -1;
  padding-top: 2px;
}
.article-body { max-width: 780px; margin: 0 auto; }
.article-body section + section { margin-top: 36px; }
.article-body p, .article-body li { line-height: 1.85; }
.article-meta { color: var(--muted); font-size: .9rem; }
.article-image { width: 100%; max-width: 380px; height: auto; margin: 24px auto; }
.article-body a:not(.btn) { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; }
.article-body h2 { font-size: 1.6rem; }
.article-body details { padding: 18px 0; border-bottom: 1px solid var(--line); }
.article-body summary { cursor: pointer; font-weight: 700; }
.source-links { margin-top: 28px; font-size: .9rem; }
.section-inner > *, .site-footer > * { min-width: 0; }
.site-footer dd { overflow-wrap: anywhere; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 900px) {
  .site-header { position: static; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .site-header nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; }
  .header-call { grid-column: 2; grid-row: 1; }
  .hero, .two-col, .local-hero .section-inner, .site-footer { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .directory-head { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 560px) {
  .brand { font-size: .86rem; gap: 6px; }
  .brand img { width: 32px; height: 32px; }
  .header-call { font-size: .78rem; padding: 6px; }
  .site-header nav { gap: 0; }
  .site-header nav a { font-size: .79rem; padding: 6px; }
  .stat { padding: 12px 8px; }
  .stat strong { font-size: 1.35rem; }
  .stat span { font-size: .78rem; }
  .usim-grid { grid-template-columns: 1fr; }
  .footer-block dl div { grid-template-columns: 1fr; gap: 2px; }
  .usim-card + .usim-card { border-left: 0; }
  h1, .local-hero h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
}
