/* ============================================================
   이야기모바일 법인 전용 — style.css

   색   : 큰사람커넥트 본사(ghconnect.co.kr) 실측값 기준
          본문 #2A2A2A · 면 #F6F6F6 · 다크밴드 #17191C
          포인트는 이야기모바일 로고 블루 #0267FF 한 곳만
   서체 : Wanted Sans (본문·제목) / IBM Plex Mono (숫자·라벨)
   구조 : 삼성 공개 웹 캡처 지오메트리 유지
          필 CTA 20px·h40 / 카드 r20 / 탭 18px·700 / shadow none
   ============================================================ */

:root {
  color-scheme: light;

  /* --- ground --- */
  --canvas:      #ffffff;
  --surface:     #f6f6f6;   /* 본사 실측 */
  --ink:         #17191c;   /* 다크 밴드 */
  --ink-2:       #212429;   /* 다크 위 카드 */

  /* --- ink --- */
  --fg:          #2a2a2a;   /* 본사 실측 본문색. 순수 검정 아님 */
  --muted:       #767b82;
  --border:      #e2e3e5;
  --inverse-fg:  #ffffff;

  /* --- accent --- */
  --brand:       #0267ff;   /* 이야기모바일 로고 블루 */
  --warn:        #c0362c;

  /* --- radius (삼성 캡처값) --- */
  --r-sharp: 0;
  --r-pill:  20px;
  --r-card:  20px;
  --r-chip:  40px;
  --r-field: 12px;

  /* --- spacing (삼성 캡처값) --- */
  --sp-nav:    12px;
  --sp-action: 24px;
  --sp-card:   32px;

  /* --- layout --- */
  --wrap:     1280px;
  --gutter:   24px;
  --header-h: 76px;

  /* --- type --- */
  --font: "Wanted Sans Variable", "Wanted Sans", -apple-system, BlinkMacSystemFont,
          "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --shadow: none;
}

/* ------------------------------------------------------------
   다크 밴드 — 토큰만 갈아끼우면 하위 컴포넌트가 전부 따라옴
   ------------------------------------------------------------ */
.on-dark {
  --canvas:     var(--ink-2);   /* 카드가 놓이는 지면 (한 단 띄움) */
  --surface:    #2b2f36;        /* 입력 필드 등 눌린 면 */
  --fg:         #ffffff;
  --inverse-fg: var(--ink);
  --muted:      #9aa0a8;
  --border:     #33373d;
  --warn:       #ff6b5e;
  background: var(--ink);
  color: var(--fg);
}

/* 다크 위에 얹는 밝은 카드 — 토큰만 되돌리면 내부가 전부 따라옴 */
.on-dark .contact-form,
.on-dark .phone-screen {
  --canvas: #ffffff;
  --surface: #f6f6f6;
  --fg: #2a2a2a;
  --inverse-fg: #ffffff;
  --muted: #767b82;
  --border: #e2e3e5;
  --warn: #c0362c;
  color: var(--fg);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);   /* 앵커 섹션이 헤더 바로 아래 밀착되도록 (+16px 여백 제거) */
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.015em;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.035em; text-wrap: balance; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--ink); color: #fff; padding: 12px 24px; }
.skip:focus { left: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 2px; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 880px; }

.section { padding: 64px 0 128px; }
.section-surface { background: var(--surface); }

.section-head { max-width: 760px; margin: 0 0 60px; }

.eyebrow {
  font-size: 17px; font-weight: 800;
  letter-spacing: 0.03em; text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 18px;
}
.on-dark .eyebrow { color: #5b9cff; }

.section-title { font-size: 46px; line-height: 1.2; margin-bottom: 22px; font-weight: 800; }
.section-lead { font-size: 17px; line-height: 1.75; color: var(--muted); }
.sub-lead { max-width: 760px; margin-bottom: 34px; }
.note { margin-top: 30px; font-size: 14px; line-height: 1.8; color: var(--muted); }

/* ============================================================
   CTA — 삼성 캡처 지오메트리 (r20 / h40 / 10px 24px 9px / 14px 700)
   ============================================================ */
.cta {
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; padding: 10px var(--sp-action) 9px;
  border-radius: var(--r-pill); border: 1px solid var(--fg);
  font-size: 14px; font-weight: 700; line-height: 19px; letter-spacing: -0.01em;
  white-space: nowrap; cursor: pointer; box-shadow: var(--shadow);
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.cta-filled   { background: var(--fg); color: var(--inverse-fg); }
.cta-outlined { background: transparent; color: var(--fg); border-color: var(--border); }
.cta-filled:hover   { background: var(--brand); border-color: var(--brand); color: #fff; }
.cta-outlined:hover { border-color: var(--fg); }
.cta-block { width: 100%; height: 50px; }

/* ---------- header (상시 다크) ---------- */
.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--border); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-logo { height: 21px; width: auto; }
.gnb { display: flex; align-items: center; gap: 2px; margin-right: auto; }
.gnb a {
  padding: 8px var(--sp-nav);
  font-size: 15px; font-weight: 500; color: #c8ccd2;
  border-radius: var(--r-pill); transition: color .15s ease, background-color .15s ease;
}
.gnb a:hover { color: #fff; background: rgba(255,255,255,.07); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-tel { font-family: var(--mono); font-size: 15px; font-weight: 500; letter-spacing: -.01em; }

.menu-toggle {
  display: none; width: 40px; height: 40px; padding: 0;
  background: none; border: 1px solid var(--border); border-radius: var(--r-pill);
  cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.menu-toggle span { display: block; width: 16px; height: 1.5px; background: var(--fg); transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (min-width: 1101px) { .mobile-nav { display: none !important; } }
.mobile-nav {
  display: flex; flex-direction: column; gap: 2px;
  padding: 12px var(--gutter) 24px;
  border-top: 1px solid var(--border); background: var(--ink);
}
.mobile-nav a { padding: 15px 4px; font-size: 16px; font-weight: 600; color: #dfe2e6; border-bottom: 1px solid var(--border); }
.mobile-nav .mobile-cta { margin-top: 18px; border-bottom: none; justify-content: center; }

/* ============================================================
   HERO — 밝은 캔버스 + "연결" 헤어라인 필드 + 기기 뒤 광원
   ============================================================ */
.hero {
  position: relative; overflow: hidden; padding: 116px 0 124px;
  background: linear-gradient(180deg, #eef4fd 0%, #ffffff 100%);
}

/* 광원: 기기 쪽에 은은하게 고이는 빛 */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(46% 58% at 76% 42%, rgba(2,103,255,.10) 0%, rgba(2,103,255,0) 62%),
    radial-gradient(70% 90% at 78% 40%, rgba(255,255,255,.6) 0%, rgba(255,255,255,0) 60%);
}
/* 연결 필드: 서로소 주기 3겹을 겹쳐 반복감이 드러나지 않는 헤어라인 */
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(23,25,28,.045) 0 1px, transparent 1px 37px),
    repeating-linear-gradient(0deg, rgba(23,25,28,.032) 0 1px, transparent 1px 73px),
    repeating-linear-gradient(90deg, rgba(23,25,28,.024) 0 1px, transparent 1px 149px);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.5) 55%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.5) 55%, transparent 100%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 64px; align-items: center; }

.hero-title { font-size: 64px; font-weight: 800; line-height: 1.13; letter-spacing: -0.045em; margin-bottom: 26px; }
.hero-title b { font-weight: 800; color: var(--brand); }
.hero-sub { font-size: 18px; line-height: 1.78; color: var(--muted); max-width: 550px; margin-bottom: 38px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

/* 제목 아래 짧은 룰 */
.hero-rule { display: block; width: 56px; height: 3px; background: var(--brand); border-radius: 2px; margin-bottom: 26px; }

/* 3대 강점 — 세로 구분선으로 나눈 아이콘 행 */
.hero-features {
  display: flex; flex-wrap: wrap; align-items: stretch;
  margin: 0 0 44px; padding: 26px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.hero-features li { flex: 1 1 0; min-width: 150px; padding: 0 26px; border-left: 1px solid var(--border); }
.hero-features li:first-child { border-left: none; padding-left: 0; }
.hf-icon {
  display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 15px;
  border-radius: 50%; background: rgba(2,103,255,.10); color: var(--brand);
}
.hf-icon svg { width: 24px; height: 24px; }
.hero-features strong { display: block; font-size: 17px; font-weight: 700; letter-spacing: -.03em; margin-bottom: 5px; }
.hero-features span:not(.hf-icon) { display: block; font-size: 13.5px; line-height: 1.5; color: var(--muted); }

/* 큰 필 CTA */
.cta-lg {
  height: 62px; padding: 0 32px; gap: 12px;
  border-radius: var(--r-chip); border-color: var(--brand);
  background: var(--brand); color: #fff;
  font-size: 17px; font-weight: 700; line-height: 1;
}
.cta-lg:hover { background: #0154d6; border-color: #0154d6; color: #fff; }
.cta-lg-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.2); }
.cta-lg-icon svg { width: 18px; height: 18px; }
.cta-lg-arrow { font-size: 22px; line-height: 1; opacity: .75; margin-left: 2px; }

/* 기기 목업 — 밝은 캔버스 위 포인트 오브젝트 */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
/* 기기 뒤 원형 면 */
.hero-visual::before {
  content: ""; position: absolute; z-index: 0;
  width: 132%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(2,103,255,.16) 0%, rgba(2,103,255,.06) 45%, rgba(2,103,255,0) 70%);
}
/* 도트 그리드 — 원 오른쪽 위로 살짝 물려서 */
.hero-visual::after {
  content: ""; position: absolute; z-index: 0;
  right: -4%; top: 2%; width: 42%; aspect-ratio: 1;
  background-image: radial-gradient(rgba(2,103,255,.30) 1.4px, transparent 1.4px);
  background-size: 13px 13px;
  -webkit-mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 72%);
          mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 72%);
}
.hero-visual > * { position: relative; z-index: 1; }

/* 실사 목업 (KakaoTalk_20260728_173049276, 배경 투명 처리) — CSS 목업 대체 */
.hero-photo {
  width: 400px; height: auto;
  filter: drop-shadow(0 26px 40px rgba(23,25,28,.22));
}

.device-stage { position: relative; width: 300px; aspect-ratio: 300 / 610; }

.phone {
  position: absolute; inset: 0;
  border-radius: 46px; padding: 11px;
  /* 금속 프레임: 모서리에서 빛이 도는 그라디언트 */
  background:
    linear-gradient(145deg, #f2f4f7 0%, #b9bfc8 16%, #6f7681 34%, #2f343c 52%, #6f7681 70%, #c6ccd4 86%, #8e959f 100%);
  box-shadow: 0 30px 70px rgba(0,0,0,.55), 0 2px 0 rgba(255,255,255,.35) inset;
}
/* 뒤에 겹쳐 세운 두 번째 기기 */
.phone-back {
  transform: translate(52px, -26px) rotate(7deg) scale(.94);
  background: linear-gradient(145deg, #dfe3e8 0%, #9aa1ab 30%, #4d545e 55%, #b4bbc4 80%, #7d848e 100%);
  box-shadow: 0 24px 50px rgba(0,0,0,.45);
}
/* 뒷면 카메라 범프 */
.phone-back::after {
  content: ""; position: absolute; right: 26px; top: 26px;
  width: 74px; height: 74px; border-radius: 24px;
  background: linear-gradient(150deg, #8f96a0, #3a4048);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35);
}
.phone-back::before {
  content: ""; position: absolute; right: 40px; top: 40px;
  width: 20px; height: 20px; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #6b7280 0%, #14171b 62%);
  box-shadow: 44px 0 0 -2px #14171b, 0 44px 0 -2px #14171b, 0 0 0 2px rgba(255,255,255,.12);
}

.phone-front { z-index: 2; }

/* 측면 버튼 */
.phone-btn { position: absolute; width: 3px; border-radius: 2px; background: linear-gradient(180deg, #aeb5bf, #5c626b); }
.btn-mute   { left: -3px; top: 108px; height: 26px; }
.btn-vol-up { left: -3px; top: 150px; height: 46px; }
.btn-vol-dn { left: -3px; top: 208px; height: 46px; }
.btn-power  { right: -3px; top: 172px; height: 72px; }

.phone-screen {
  position: relative; height: 100%; overflow: hidden;
  border-radius: 36px; background: var(--surface);
  padding: 40px 18px 22px;
  display: flex; flex-direction: column; gap: 11px;
}
/* 다이나믹 아일랜드 */
.phone-island {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 24px; border-radius: 14px; background: #0b0d10;
}
.phone-island::after {
  content: ""; position: absolute; right: 9px; top: 50%; transform: translateY(-50%);
  width: 9px; height: 9px; border-radius: 50%;
  background: radial-gradient(circle at 35% 32%, #2f3a52 0%, #05070a 70%);
}
/* 화면 위 사선 광택 */
.phone-gloss {
  position: absolute; inset: 11px; border-radius: 36px; pointer-events: none; z-index: 3;
  background: linear-gradient(118deg, rgba(255,255,255,.30) 0%, rgba(255,255,255,.06) 26%, rgba(255,255,255,0) 42%);
}

/* 유심 카드 */
.usim-card {
  position: absolute; z-index: 4; right: -34px; bottom: 34px;
  width: 116px; aspect-ratio: 116 / 152; border-radius: 12px;
  background: linear-gradient(150deg, #2b7bff 0%, #0267ff 46%, #0148b8 100%);
  box-shadow: 0 20px 40px rgba(2,72,184,.5), inset 0 1px 0 rgba(255,255,255,.35);
  transform: rotate(-7deg);
}
.usim-chip {
  position: absolute; left: 16px; bottom: 18px;
  width: 46px; height: 38px; border-radius: 6px;
  background: linear-gradient(150deg, #f5d98a, #c9a13f);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.18);
}
.usim-chip::before, .usim-chip::after {
  content: ""; position: absolute; left: 6px; right: 6px; height: 1px; background: rgba(0,0,0,.28);
}
.usim-chip::before { top: 12px; }
.usim-chip::after  { top: 24px; }
.usim-brand {
  position: absolute; left: 16px; top: 16px;
  font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .1em; color: #fff;
}
.on-dark .phone-screen { --surface: #f6f6f6; --canvas: #fff; --muted: #767b82; --fg: #2a2a2a; color: #2a2a2a; }
.ps-top { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.ps-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.ps-card { background: #fff; border-radius: var(--r-card); padding: 20px; }
.ps-label { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #767b82; }
.ps-value { display: block; font-family: var(--mono); font-size: 27px; font-weight: 500; line-height: 1.15; margin: 8px 0 15px; font-variant-numeric: tabular-nums; color: #2a2a2a; }
.ps-bar { height: 3px; background: #e2e3e5; border-radius: 2px; overflow: hidden; }
.ps-bar i { display: block; height: 100%; background: var(--brand); }
.ps-row { display: flex; justify-content: space-between; align-items: center; background: #fff; border-radius: var(--r-pill); padding: 13px 18px; font-size: 14px; font-weight: 600; color: #2a2a2a; }
.ps-row em { font-family: var(--mono); font-style: normal; font-size: 11px; font-weight: 500; letter-spacing: .06em; color: #767b82; }
.ps-note { margin-top: auto; font-size: 12px; color: #767b82; text-align: center; }

/* ---------- about ---------- */
.about-facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 44px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.fact { padding: 30px var(--sp-action); border-left: 1px solid var(--border); }
.fact:first-child { border-left: none; padding-left: 0; }
.fact strong { display: block; font-size: 21px; font-weight: 700; letter-spacing: -.035em; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.fact > span { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.fact .swatch { width: 13px; height: 13px; border-radius: 3px; background: var(--brand); flex-shrink: 0; }
.fact .mono { font-family: var(--mono); font-size: 12.5px; }

/* ---------- cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--canvas); border: 1px solid var(--border);
  border-radius: var(--r-card); padding: var(--sp-card);
  box-shadow: var(--shadow); transition: border-color .18s ease;
}
.section-surface .card { border-color: transparent; }
.card:hover { border-color: var(--brand); }
.card-num {
  display: inline-block;
  font-size: 18px; font-weight: 800; letter-spacing: -0.01em;
  color: var(--brand); margin-bottom: 18px;
}
.card-title { font-size: 20px; line-height: 1.4; margin-bottom: 12px; }
.card-body { font-size: 15px; line-height: 1.75; color: var(--muted); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); }
.step { padding: var(--sp-card) var(--sp-action) 44px 0; border-right: 1px solid var(--border); }
.step:last-child { border-right: none; }
.step:not(:first-child) { padding-left: var(--sp-action); }
.step-num { display: block; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; color: var(--brand); margin-bottom: 22px; }
.step-title { font-size: 22px; line-height: 1.4; margin-bottom: 12px; }
.step-body { font-size: 15px; line-height: 1.75; color: var(--muted); }

/* ---------- callout ---------- */
.callout {
  margin-top: 44px; padding: var(--sp-card);
  background: var(--canvas); border: 1px solid var(--border); border-radius: var(--r-card);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-card); flex-wrap: wrap;
}
.section-surface .callout { border-color: transparent; }
.callout-title { font-size: 18px; margin-bottom: 11px; }
.callout-body { font-size: 15px; line-height: 1.8; color: var(--muted); }
.callout-body strong { color: var(--fg); font-weight: 600; }
.callout-tip .callout-title { color: #5b9cff; }

/* ---------- 방문 개통 안내 — 강조 카드 ---------- */
.callout-visit {
  padding: 46px var(--sp-card);
  background: linear-gradient(135deg, #e9f1fe 0%, #f8fbff 100%);
  border: 1px solid rgba(2,103,255,.25);
}
.section-surface .callout-visit { border-color: rgba(2,103,255,.25); }
.callout-visit .callout-title { font-size: 26px; margin-bottom: 16px; }
.callout-visit .callout-body { font-size: 17px; line-height: 1.85; color: var(--fg); }
.callout-visit .callout-body strong { color: var(--brand); font-weight: 700; font-size: 18px; }
.callout-visit .cta {
  height: 54px; padding: 0 34px; font-size: 16px;
  background: var(--brand); border-color: var(--brand); color: #fff;
}
.callout-visit .cta:hover { background: #0154d6; border-color: #0154d6; }

/* ---------- 특수 법인 유형별 제출 서류 (접이식, 기본 접힘) ---------- */
.special-docs { flex-basis: 100%; border-top: 1px solid var(--border); margin-top: 6px; }
.special-docs summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 20px 40px 20px 0;
  font-size: 15.5px; font-weight: 700; line-height: 1.5; letter-spacing: -.02em;
}
.special-docs summary::-webkit-details-marker { display: none; }
.special-docs summary:hover { color: var(--brand); }
.special-docs summary::after {
  content: ""; position: absolute; right: 10px; top: 50%;
  width: 9px; height: 9px; margin-top: -6px;
  border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg); transition: transform .2s ease;
}
.special-docs[open] summary::after { transform: rotate(-135deg); margin-top: -2px; border-color: var(--brand); }
.sdoc-group { padding: 26px 0 28px; border-top: 1px solid var(--border); }
.sdoc-title { font-size: 16.5px; line-height: 1.5; margin-bottom: 14px; }
.sdoc-num {
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .1em;
  color: var(--brand); margin-right: 12px; vertical-align: 1px;
}
.sdoc-row { display: grid; grid-template-columns: 160px minmax(0,1fr); gap: 20px; padding: 7px 0; }
.sdoc-row dt { font-size: 14px; font-weight: 600; line-height: 1.75; }
.sdoc-row dd { font-size: 14.5px; line-height: 1.75; color: var(--muted); }
.sdoc-row dd strong { color: var(--fg); font-weight: 600; }

/* ---------- rules (카드형 체크리스트) ---------- */
.rules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.rules li {
  position: relative;
  padding: 22px 26px 22px 60px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  font-size: 15.5px; line-height: 1.75; color: var(--muted);
}
.rules li strong { color: var(--fg); font-weight: 700; }
.rule-mark {
  position: absolute; left: 24px; top: 24px;
  width: 22px; height: 22px;
  border-radius: 50%; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-size: 11px; font-weight: 700;
}

/* ---------- tabs (삼성 캡처값: 18px/700, padding 4px 0, radius 0) ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 34px; border-bottom: 1px solid var(--border); margin-bottom: 44px; }
.tab { background: none; border: none; padding: 0 0 15px; cursor: pointer; position: relative; }
.tab .tab__item-title {
  display: block; padding: 4px 0; border-radius: var(--r-sharp);
  font-size: 18px; font-weight: 700; line-height: 1.3; letter-spacing: -.03em;
  color: var(--muted); transition: color .15s ease;
}
.tab:hover .tab__item-title { color: var(--fg); }
.tab[aria-selected="true"] .tab__item-title { color: var(--fg); }
.tab[aria-selected="true"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px; background: var(--brand);
}

/* ---------- 구비서류 탭 — 알약형 버튼으로 구분 강화 ---------- */
#docs .tabs { gap: 10px; border-bottom: none; margin-bottom: 36px; }
#docs .tab {
  padding: 0; background: var(--canvas);
  border: 1.5px solid var(--border); border-radius: var(--r-chip);
  transition: border-color .15s ease, background-color .15s ease;
}
#docs .tab .tab__item-title { padding: 11px 24px; font-size: 16px; }
#docs .tab:hover { border-color: var(--brand); }
#docs .tab:hover .tab__item-title { color: var(--brand); }
#docs .tab[aria-selected="true"] { background: var(--brand); border-color: var(--brand); }
#docs .tab[aria-selected="true"] .tab__item-title { color: #fff; }
#docs .tab[aria-selected="true"]::after { content: none; }

.panel-grid { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 52px; align-items: start; }
.panel-title { font-size: 24px; line-height: 1.4; margin-bottom: 22px; }
.panel-title-sub { font-size: 17px; margin-top: 44px; color: var(--muted); }

.doclist { border-top: 1px solid var(--border); }
.doc { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 21px 4px; border-bottom: 1px solid var(--border); }
.doc-name { font-size: 17px; font-weight: 600; line-height: 1.55; }
.doc-name em { font-style: normal; font-weight: 400; font-size: 14px; color: var(--muted); }
.doc-form .doc-name::before {
  content: "FORM"; display: inline-block; vertical-align: 2px; margin-right: 10px;
  font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .1em;
  color: var(--brand); border: 1px solid var(--brand);
  padding: 2px 7px; border-radius: var(--r-chip);
}
.doc-dl {
  flex-shrink: 0; display: inline-flex; align-items: center; height: 44px;
  padding: 0 24px; border: none; border-radius: var(--r-pill);
  font-size: 15px; font-weight: 700; background: var(--brand); color: #fff;
  transition: background .15s ease;
}
.doc-dl:hover { background: #0154d6; color: #fff; }
.doc-dl::after { content: "↓"; font-family: var(--mono); margin-left: 8px; }
.doclist-extra .doc-name { font-size: 16px; font-weight: 500; }

.panel-aside { background: var(--canvas); border-radius: var(--r-card); padding: var(--sp-card); }
.panel-aside h4 { font-size: 15px; margin-bottom: 13px; }
.panel-aside p { font-size: 14px; line-height: 1.8; color: var(--muted); }
.panel-aside .aside-note { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); font-size: 13px; }

/* ---------- 요금제 표 ---------- */
.section-title em { font-style: normal; font-size: .52em; font-weight: 600; color: var(--muted); letter-spacing: -.02em; }

/* 해시태그 분류 칩 — 클릭하면 표가 해당 분류로 바뀐다 */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  height: 36px; padding: 0 16px;
  background: var(--canvas); border: 1px solid var(--border); border-radius: var(--r-chip);
  font-size: 13.5px; font-weight: 500; color: var(--muted); white-space: nowrap;
  cursor: pointer; transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
.chip:hover { border-color: var(--fg); color: var(--fg); }
.chip.is-on { border-color: var(--brand); color: var(--brand); font-weight: 700; background: rgba(2,103,255,.07); }
.chip-n {
  font-family: var(--mono); font-size: 11px; font-variant-numeric: tabular-nums;
  color: var(--muted); background: var(--surface); border-radius: var(--r-chip); padding: 2px 7px;
}
.chip.is-on .chip-n { color: var(--brand); background: rgba(2,103,255,.12); }
/* 법인 개통 제외 분류 — 볼 수는 있게 두되 표시로 구분 */
.chip.is-off { border-style: dashed; }
.chip.is-off::after {
  content: "제외"; font-family: var(--mono); font-size: 10px;
  letter-spacing: .06em; color: var(--warn);
}
.plan-empty { padding: 40px 16px !important; text-align: center; color: var(--muted); }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.plan-table { width: 100%; min-width: 760px; border-collapse: collapse; }
.plan-table th, .plan-table td { text-align: left; vertical-align: top; padding: 18px 16px; border-bottom: 1px solid var(--border); }
.plan-table thead th {
  font-family: var(--mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  padding-top: 0; border-bottom: 1px solid var(--fg); white-space: nowrap;
}
.plan-table tbody th { font-size: 15.5px; font-weight: 700; line-height: 1.5; letter-spacing: -.03em; min-width: 190px; }
.plan-table td { font-size: 14px; line-height: 1.5; }
.plan-table td em { display: block; font-style: normal; font-size: 12.5px; line-height: 1.55; color: var(--muted); margin-top: 4px; }
.plan-table .num { text-align: right; white-space: nowrap; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.plan-table .strike { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1px; }
.plan-table .pay { font-size: 17px; font-weight: 600; color: var(--brand); }
.plan-table .pay::after { content: "원"; font-family: var(--font); font-size: 12px; font-weight: 500; margin-left: 2px; }
.plan-table tbody tr:hover { background: var(--surface); }

.plan-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 20px; font-size: 13.5px;
}
.plan-foot .plan-excl { color: var(--muted); margin: 0; }
.plan-foot a { font-weight: 700; color: var(--brand); }
.plan-foot a:hover { text-decoration: underline; }

/* ---------- 유심 ---------- */
.sub-title { font-size: 24px; line-height: 1.4; margin: 72px 0 26px; }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.steplist { counter-reset: s; }
.steplist li {
  counter-increment: s; position: relative; padding-left: 30px; margin-bottom: 11px;
  font-size: 15px; line-height: 1.65; color: var(--muted);
}
.steplist li::before {
  content: counter(s); position: absolute; left: 0; top: 2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand); color: #fff;
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  display: grid; place-items: center;
}
.steplist-wide li { font-size: 16px; padding-left: 34px; margin-bottom: 15px; }
.steplist .mono { font-family: var(--mono); font-size: .95em; color: var(--fg); background: var(--surface); padding: 2px 7px; border-radius: 5px; }
.card-body-tip { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.card-body-tip strong { color: var(--fg); font-weight: 600; }

/* 유심 장착 이미지 (eyagi.co.kr leaflet 원본) */
.usim-imgs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.usim-imgs li { margin: 0; }
.usim-imgs img { display: block; width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--border); background: #fff; }
.usim-tip-img { margin: 16px 0 0; }
.usim-tip-img img { display: block; max-width: 300px; width: 100%; height: auto; }
.usim-type-img { margin: 0 0 22px; }
.usim-type-img img { display: block; max-width: 520px; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--border); background: #fff; }

.warn-line { margin: 22px 0; font-size: 14.5px; line-height: 1.7; color: var(--muted); }
.warn-line strong { color: var(--warn); font-weight: 700; }
.notice-list { color: var(--muted); }

/* ---------- plans (구 카드형, 미사용 시 안전하게 유지) ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--border); border-radius: var(--r-card); padding: var(--sp-card);
  background: var(--canvas); transition: border-color .18s ease;
}
.plan-card:hover { border-color: var(--brand); }
.plan-net { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; color: var(--brand); margin-bottom: 18px; }
.plan-title { font-size: 24px; line-height: 1.35; margin-bottom: 12px; }
.plan-body { font-size: 15px; line-height: 1.75; color: var(--muted); margin-bottom: 12px; }
.plan-excl { font-size: 13px; line-height: 1.7; color: var(--muted); margin-bottom: var(--sp-card); }
.plan-link { margin-top: auto; align-self: flex-start; font-size: 14px; font-weight: 700; color: var(--brand); border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* ---------- about (회사소개 / ABOUT US) ---------- */
.about-hero { padding: 92px 0 100px; text-align: center; background: var(--ink) url("about-hero-bg.svg") center / cover no-repeat; }
.about-hero-kicker { font-size: 15px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #5b9cff; margin-bottom: 18px; }
.about-hero-title { font-size: 44px; line-height: 1.32; font-weight: 800; margin-bottom: 22px; }
.about-hero-sub { font-size: 17px; line-height: 1.8; color: #b3b8bf; }
.about-intro { max-width: 820px; margin: 0 auto 84px; text-align: center; }
.about-intro .section-title { margin-bottom: 26px; }
.about-intro p { font-size: 16.5px; line-height: 1.95; color: var(--muted); text-align: left; }
.about-services { margin-bottom: 24px; }
.about-svc-icon {
  width: 54px; height: 54px; border-radius: 15px;
  display: flex; align-items: center; justify-content: center;
  background: #eaf2ff; color: var(--brand); margin-bottom: 20px;
}
.about-cta { text-align: center; margin-top: 40px; }

/* ---------- 법인폰 — 업무폰 필요성 일러스트 카드 · 혜택 강조 ---------- */
.card-illust { margin-bottom: 20px; border-radius: 12px; overflow: hidden; background: #eef4ff; }
.card-illust svg { display: block; width: 100%; height: auto; }
.card-title .hl { font-style: normal; color: var(--brand); }

/* 8단계 프로세스 (2행 × 4열) */
.steps-8 .step:nth-child(4n) { border-right: none; }
.steps-8 .step:nth-child(n+5) { border-top: 1px solid var(--border); padding-left: 0; }
.steps-8 .step:nth-child(4n+1) { padding-left: 0; }
.steps-8 .step:nth-child(n+5):not(:nth-child(4n+1)) { padding-left: var(--sp-action); }

/* ---------- ABOUT US — 주요 고객사 (롤링 로고월) ---------- */
.client-head { text-align: center; margin: 84px 0 34px; }
.client-title { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.client-title em { font-style: normal; color: var(--brand); }
.client-sub { margin-top: 12px; font-size: 15.5px; color: var(--muted); }
.client-marquee { border: 1px solid var(--border); border-radius: 18px; background: var(--surface); padding: 26px 20px; }
.client-track, .client-group {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 0;
}
.client-tile { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; padding: 14px 34px; }
.client-tile img { display: block; height: 34px; width: auto; }

/* ---------- notice ---------- */
.notice { margin-top: 44px; padding: var(--sp-card); border: 1px solid var(--warn); border-radius: var(--r-card); }
.notice-title { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--warn); margin-bottom: 14px; }
.notice-body { font-size: 15px; line-height: 1.85; color: var(--muted); }
.notice-body strong { color: var(--warn); font-weight: 700; }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { list-style: none; cursor: pointer; padding: 27px 44px 27px 0; position: relative; font-size: 18px; font-weight: 700; line-height: 1.55; letter-spacing: -.03em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--brand); }
.faq-item summary::after {
  content: ""; position: absolute; right: 10px; top: 50%;
  width: 9px; height: 9px; margin-top: -6px;
  border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; border-color: var(--brand); }
.faq-answer { padding: 0 44px 30px 0; }
.faq-answer p { font-size: 16px; line-height: 1.85; color: var(--muted); }

/* ---------- contact ---------- */
.contact-inner { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,520px); gap: 84px; align-items: start; }
.contact-lead { font-size: 17px; line-height: 1.78; color: var(--muted); margin-bottom: 50px; }
.contact-list { border-top: 1px solid var(--border); }
.contact-list > div { display: flex; gap: 24px; padding: 19px 0; border-bottom: 1px solid var(--border); }
.contact-list dt { width: 110px; flex-shrink: 0; font-size: 15.5px; font-weight: 700; color: #9aa1a9; padding-top: 1px; }
.contact-list dd { font-size: 16px; font-weight: 600; }
.contact-list .mono { font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; }
.contact-list a:hover { color: #5b9cff; }

.contact-form {
  background: var(--canvas); color: var(--fg);
  border: 1px solid var(--border); border-radius: var(--r-card); padding: 40px;
}
.form-title { font-size: 23px; margin-bottom: 30px; }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 9px; color: var(--muted); }
.field label span { color: var(--warn); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px;
  background: var(--surface); border: 1px solid transparent; border-radius: var(--r-field);
  font-size: 15px; line-height: 1.4; outline: none;
  transition: border-color .15s ease, background-color .15s ease;
}
.field textarea { resize: vertical; min-height: 100px; }
.field input::placeholder, .field textarea::placeholder { color: #a4a9b0; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); background: var(--canvas); }
.field [aria-invalid="true"] { border-color: var(--warn); }

/* ---------- 개인정보 수집·이용 동의 ---------- */
.consent { margin: 26px 0; }
.consent-head { font-size: 14px; font-weight: 700; margin-bottom: 11px; }
.consent-head .req { color: var(--brand); margin-right: 5px; }
.consent-box {
  max-height: 190px; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-field);
  padding: 18px; font-size: 13px; line-height: 1.7; color: var(--muted);
}
.consent-box > p { margin-bottom: 14px; }
.consent-table { width: 100%; border-collapse: collapse; background: var(--canvas); border: 1px solid var(--border); }
.consent-table th, .consent-table td { border: 1px solid var(--border); padding: 10px 12px; font-size: 12.5px; line-height: 1.6; text-align: left; vertical-align: middle; }
.consent-table th { width: 88px; background: var(--surface); font-weight: 700; color: var(--fg); text-align: center; white-space: nowrap; }
.consent-notes { margin-top: 14px; font-size: 12.5px; line-height: 1.75; }
.consent-notes li { padding-left: 13px; text-indent: -13px; }

.check { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0 26px; font-size: 14px; line-height: 1.55; color: var(--muted); cursor: pointer; }
.check input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--brand); flex-shrink: 0; }
.check a { color: var(--brand); text-decoration: underline; }
.form-note { margin-top: 15px; font-size: 13px; line-height: 1.7; color: var(--muted); min-height: 20px; }
.form-note[data-state="error"] { color: var(--warn); }
.form-note[data-state="ok"] { color: var(--brand); font-weight: 600; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 68px 0 76px; }
.footer-inner { display: grid; grid-template-columns: 240px minmax(0,1fr); gap: 44px 64px; }
.footer-logo { height: 19px; width: auto; opacity: .85; margin-bottom: 14px; }
.footer-tag { font-size: 13px; color: var(--muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 26px; grid-column: 2; }
.footer-nav a { font-size: 14px; font-weight: 500; color: #b3b8bf; }
.footer-nav a:hover { color: #fff; }
.footer-biz { grid-column: 2; font-size: 13px; line-height: 2; color: #7c828a; }
.footer-biz .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.footer-copy { margin-top: 18px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: #61666d; }

/* ---------- 네이버 지도 위치 확인 링크 ---------- */
.map-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-left: 10px; padding: 3px 13px;
  font-size: 13px; font-weight: 600; color: var(--brand);
  border: 1px solid currentColor; border-radius: var(--r-chip);
  white-space: nowrap; transition: background-color .15s ease;
}
.map-link::before { content: "📍"; font-size: 12px; }
.map-link:hover { background: rgba(2, 103, 255, .07); }
.contact-list .map-link { margin-left: 0; margin-top: 8px; }

/* ---------- 푸터 관련 사이트 드롭업 ---------- */
.footer-sites { position: relative; margin-left: auto; }
.footer-sites__toggle {
  display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 18px;
  font-size: 14px; font-weight: 500; color: #b3b8bf;
  background: transparent; border: 1px solid #3a3f46; border-radius: 8px; cursor: pointer;
  transition: color .18s ease, border-color .18s ease;
}
.footer-sites__toggle:hover,
.footer-sites.is-open .footer-sites__toggle { color: #fff; border-color: #7c828a; }
.footer-sites__arrow {
  width: 7px; height: 7px; margin-top: 3px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(-135deg);            /* 위를 향한 화살표 = 위로 열림 */
  transition: transform .18s ease;
}
.footer-sites.is-open .footer-sites__arrow { transform: rotate(45deg); margin-top: -3px; }
.footer-sites__list {
  position: absolute; right: 0; bottom: calc(100% + 10px); z-index: 60;
  min-width: 210px; margin: 0; padding: 8px; list-style: none;
  background: var(--ink-2); border: 1px solid #3a3f46; border-radius: 12px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .4);
}
.footer-sites__list a {
  display: block; padding: 10px 14px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: #b3b8bf;
  transition: color .15s ease, background-color .15s ease;
}
.footer-sites__list a:hover { color: #fff; background: rgba(255, 255, 255, .07); }

/* ---------- floating call ---------- */
.float-call {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  display: inline-flex; align-items: center; gap: 9px; height: 50px; padding: 0 22px;
  background: var(--brand); color: #fff;
  border-radius: var(--r-chip); font-size: 15px; font-weight: 700;
  transition: background-color .18s ease;
}
.float-call:hover { background: #0154d6; }
.float-call .num { font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .gnb { display: none; }
  .menu-toggle { display: flex; }
  .header-inner { gap: 16px; justify-content: space-between; }
  .header-actions { margin-left: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-title { font-size: 50px; }
  .hero-visual::before { width: 92%; max-width: 460px; }
  .about-facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3), .fact:nth-child(4) { border-top: 1px solid var(--border); }
  .fact:nth-child(2n+1) { border-left: none; padding-left: 0; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2n) { border-right: none; }
  .step:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .panel-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  :root { --gutter: 20px; --header-h: 62px; }
  .section { padding: 38px 0 76px; }
  .section-head { margin-bottom: 38px; }
  .section-title { font-size: 31px; }
  .section-lead { font-size: 16px; }

  .header-tel { display: none; }
  .header-actions .cta-filled { display: none; }

  .hero { padding: 60px 0 68px; }
  .hero-title { font-size: 36px; }
  .hero-sub { font-size: 16px; margin-bottom: 30px; }
  .hero-actions { gap: 10px; }
  .hero-actions .cta { flex: 1 1 100%; }
  .hero-rule { margin-bottom: 22px; }
  .hero-features { margin-bottom: 32px; padding: 20px 0; gap: 22px 0; }
  .hero-features li { flex: 1 1 100%; padding: 0; border-left: none; display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; }
  .hf-icon { grid-row: 1 / 3; width: 44px; height: 44px; margin: 0; }
  .hero-features strong { align-self: end; margin-bottom: 2px; }
  .cta-lg { height: 56px; font-size: 16px; padding: 0 24px; }
  /* 모바일: 본문 아래 목업 이미지가 홀로 남아 어색 → 숨김 */
  .hero-visual { display: none; }
  .hero-inner { gap: 0; }
  /* 기기는 stage 단위로 축소한다 (.phone 은 absolute 라 width 를 주면 안 됨) */
  .device-stage { width: 244px; }
  .phone { border-radius: 38px; padding: 9px; }
  .phone-screen { border-radius: 30px; padding: 34px 15px 18px; }
  .phone-gloss { inset: 9px; border-radius: 30px; }
  .phone-island { width: 70px; height: 20px; top: 10px; }
  .phone-back { transform: translate(40px, -20px) rotate(7deg) scale(.94); }
  .phone-back::after { width: 58px; height: 58px; right: 20px; top: 20px; border-radius: 18px; }
  .phone-back::before { right: 31px; top: 31px; width: 16px; height: 16px; box-shadow: 34px 0 0 -2px #14171b, 0 34px 0 -2px #14171b, 0 0 0 2px rgba(255,255,255,.12); }
  .usim-card { width: 92px; right: -18px; bottom: 26px; }
  .usim-chip { width: 36px; height: 30px; left: 12px; bottom: 14px; }
  .usim-chip::before { top: 9px; } .usim-chip::after { top: 19px; }
  .usim-brand { left: 12px; top: 12px; font-size: 10px; }

  .about-hero { padding: 56px 0 64px; }
  .about-hero-title { font-size: 30px; }
  .about-hero-sub { font-size: 15px; }
  .about-intro { margin-bottom: 56px; }
  .about-cta { margin-top: 24px; }

  .client-tile { padding: 12px 26px; }
  .client-tile img { height: 26px; }

  .about-facts { grid-template-columns: 1fr; }
  .fact { padding: 22px 0; border-left: none; border-top: 1px solid var(--border); }
  .fact:first-child { border-top: none; }
  .fact strong { font-size: 19px; }

  .card-grid, .card-grid-2, .card-grid-3, .plan-grid { grid-template-columns: 1fr; }
  .sub-title { font-size: 20px; margin: 48px 0 20px; }
  /* 요금제 표 → 카드형: 좁은 화면에서 가로 스크롤 없이 가격까지 다 보이게 */
  .plan-table { min-width: 0; }
  .plan-table thead { display: none; }
  .plan-table, .plan-table tbody { display: block; }
  .plan-table tbody tr {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "name  name"
      "data  base"
      "voice pay";
    gap: 2px 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
  }
  .plan-table tbody tr:hover { background: none; }
  .plan-table tbody th, .plan-table tbody td { display: block; padding: 0; border-bottom: 0; min-width: 0; }
  .plan-table tbody th { grid-area: name; margin-bottom: 6px; }
  .plan-table tbody td:nth-of-type(1) { grid-area: data; }
  .plan-table tbody td:nth-of-type(2) { grid-area: voice; }
  .plan-table tbody td:nth-of-type(3) { grid-area: base; align-self: end; font-size: 12.5px; }
  .plan-table tbody td:nth-of-type(3):not(.strike) { visibility: hidden; }
  .plan-table tbody td:nth-of-type(4) { grid-area: pay; }
  .plan-table tbody td.plan-empty { grid-column: 1 / -1; visibility: visible; }
  .plan-foot { flex-direction: column; align-items: flex-start; gap: 8px; }
  .card, .plan-card, .callout, .panel-aside, .notice, .contact-form { padding: 24px; }

  /* 세로 나열 → 타임라인: 왼쪽 점과 선으로 단계 흐름을 보여줘 시인성 확보 */
  .steps { grid-template-columns: 1fr; border-top: none; padding-top: 6px; }
  .step,
  .step:not(:first-child),
  .steps-8 .step:nth-child(n+1):not(:nth-child(0)) {
    position: relative;
    border: none;
    padding: 0 0 30px 44px;
  }
  .step::before {
    content: ""; position: absolute; left: 14px; top: 24px; bottom: -5px;
    width: 2px; background: var(--border);
  }
  .step:last-child::before { content: none; }
  .step:last-child { padding-bottom: 6px; }
  .step::after {
    content: ""; position: absolute; left: 8px; top: 4px;
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--canvas); border: 3px solid var(--brand);
  }
  .step-num { margin-bottom: 8px; }
  .step-title { font-size: 20px; margin-bottom: 8px; }

  .rules { grid-template-columns: 1fr; gap: 10px; }
  .rules li { font-size: 15px; padding: 18px 20px 18px 54px; }
  .rule-mark { left: 20px; top: 20px; }

  .tabs { gap: 22px; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex-shrink: 0; }
  .tab .tab__item-title { font-size: 15px; }

  /* 구비서류 탭: 가로 스크롤 대신 2×2 그리드로 네 구분이 한눈에 보이게 */
  #docs .tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; overflow: visible; }
  #docs .tab .tab__item-title { padding: 12px 6px; font-size: 14px; text-align: center; white-space: nowrap; }
  .panel-title { font-size: 20px; }

  .doc { flex-direction: column; align-items: flex-start; gap: 13px; padding: 19px 0; }
  .doc-name { font-size: 16px; }

  .sdoc-row { grid-template-columns: 1fr; gap: 3px; padding: 10px 0; }
  .sdoc-title { font-size: 15.5px; }

  .callout-visit { padding: 30px 24px; }
  .callout-visit .callout-title { font-size: 21px; }
  .callout-visit .callout-body { font-size: 15.5px; }
  .callout-visit .callout-body strong { font-size: 16px; }
  .callout-visit .cta { width: 100%; }

  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form-title { font-size: 20px; }

  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .footer-nav, .footer-biz { grid-column: 1; }
  .footer-sites { margin-left: 0; width: 100%; }
  .footer-sites__list { left: 0; right: auto; }

  .map-link { margin-left: 0; margin-top: 8px; }

  .float-call { right: 16px; bottom: 16px; height: 46px; padding: 0 18px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
  .site-header, .float-call, .contact-form, .menu-toggle, .mobile-nav { display: none !important; }
  .panel[hidden] { display: block !important; }
  .on-dark { background: #fff !important; color: #2a2a2a !important; }
  .section { padding: 24px 0; }
}

