:root {
  --bg: #f2f4f6;
  --paper: rgba(255,255,255,.92);
  --paper-2: #f8f9fb;
  --text: #15181d;
  --muted: #68707c;
  --line: #dde2e8;
  --dark: #171c24;
  --dark-2: #252c37;
  --accent: #14756c;
  --accent-soft: #e6f4f1;
  --accent-line: #a9d7cf;
  --warn: #9a6610;
  --warn-soft: #fff4d7;
  --danger: #a63d48;
  --danger-soft: #fff0f1;
  --radius: 24px;
  --shadow: 0 18px 55px rgba(24,31,42,.07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: Inter, Pretendard, "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 3%, rgba(20,117,108,.08), transparent 27rem),
    radial-gradient(circle at 12% 17%, rgba(76,91,113,.07), transparent 28rem),
    var(--bg);
  word-break: keep-all;
}

a { color: inherit; }
button, input, select { font: inherit; }

.app-shell {
  width: min(1460px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 230px minmax(0, 1120px);
  gap: 34px;
  align-items: start;
  justify-content: center;
}

.side-nav {
  position: sticky;
  top: 24px;
  height: calc(100vh - 48px);
  padding: 18px;
  display: flex;
  flex-direction: column;
  background: rgba(250,251,252,.84);
  border: 1px solid rgba(211,217,224,.9);
  backdrop-filter: blur(18px);
  border-radius: 24px;
  box-shadow: 0 16px 48px rgba(24,31,42,.06);
  margin-top: 24px;
}

.brand { display: flex; gap: 12px; align-items: center; text-decoration: none; padding: 7px 5px 15px; }
.brand-mark { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--dark); color: #fff; font-weight: 900; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 14px; }
.brand small { margin-top: 2px; color: var(--muted); font-size: 10px; letter-spacing: .05em; }

.nav-progress { height: 3px; background: #e5e9ee; border-radius: 99px; overflow: hidden; margin: 0 5px 15px; }
.nav-progress span { display: block; width: 0; height: 100%; background: var(--accent); transition: width .1s linear; }

#section-nav { display: grid; gap: 3px; }
#section-nav a {
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 10px 11px;
  border-radius: 12px;
  color: #59616d;
  font-size: 13px;
  text-decoration: none;
  transition: .18s ease;
}
#section-nav a span { color: #a1a8b3; font-size: 10px; font-weight: 800; }
#section-nav a:hover { background: #eef1f4; color: #242a32; }
#section-nav a.active { background: var(--dark); color: white; font-weight: 800; }
#section-nav a.active span { color: #aab4c2; }
.side-note { margin: auto 6px 4px; color: #8a919d; font-size: 10px; line-height: 1.6; }

.mobile-nav-wrap { display: none; }
.content { padding: 24px 0 80px; min-width: 0; }

.hero {
  min-height: 330px;
  padding: 42px 44px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-radius: 32px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fcfdfd 0%, #e9edef 100%);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: var(--shadow);
}
.hero::before { content: ""; position: absolute; width: 370px; height: 370px; border: 70px solid rgba(20,117,108,.055); border-radius: 50%; right: -110px; top: -170px; }
.eyebrow, .kicker { margin: 0 0 10px; color: #76808e; font-size: 11px; font-weight: 900; letter-spacing: .16em; }
.hero h1 { margin: 0; font-size: clamp(44px, 7vw, 78px); line-height: .96; letter-spacing: -.06em; }
.hero h1 span { color: #737b87; font-weight: 560; }
.hero-copy { margin: 18px 0 0; max-width: 650px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.hero-status { position: relative; z-index: 1; display: flex; gap: 10px; align-items: center; background: rgba(255,255,255,.7); border: 1px solid var(--line); border-radius: 15px; padding: 12px 14px; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(20,117,108,.1); }
.hero-status small, .hero-status strong { display:block; }
.hero-status small { color: var(--muted); font-size: 9px; }
.hero-status strong { margin-top: 2px; font-size: 13px; }

.overview-strip { margin: 16px 0 54px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: 0 8px 30px rgba(24,31,42,.035); }
.overview-strip > div { padding: 17px 19px; background: rgba(255,255,255,.82); }
.overview-strip span, .overview-strip strong { display:block; }
.overview-strip span { color: var(--muted); font-size: 10px; margin-bottom: 5px; }
.overview-strip strong { font-size: 13px; }

.section-card {
  scroll-margin-top: 96px;
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 8px;
  padding: 31px 32px 32px 22px;
  margin-bottom: 22px;
  border: 1px solid rgba(215,221,228,.95);
  border-radius: var(--radius);
  background: var(--paper);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 36px rgba(24,31,42,.045);
}
.section-number { color: #a6adb7; font-weight: 900; font-size: 12px; letter-spacing: .04em; padding-top: 7px; }
.section-body { min-width: 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 22px; }
.section-head h2 { margin: 0; font-size: clamp(27px, 4vw, 37px); letter-spacing: -.045em; }
.priority { flex: 0 0 auto; display:inline-flex; padding: 7px 10px; border-radius: 99px; background: #eef1f4; color: #606976; font-size: 10px; font-weight: 900; }
.priority.high { background: var(--accent-soft); color: var(--accent); }
.priority.mid { background: var(--warn-soft); color: var(--warn); }
.priority.low { background: #eef1f4; color: #707987; }

.keyword-row { display:flex; flex-wrap:wrap; gap: 9px; }
.keyword-row span, .weather-tags span { background: #f2f4f6; border: 1px solid #e1e5ea; border-radius: 999px; padding: 9px 12px; font-size: 12px; font-weight: 780; }
.subtle { margin: 16px 0 0; color: #858d98; font-size: 12px; line-height: 1.65; }
.lead-short { color: #4f5763; font-size: 15px; line-height: 1.75; margin: 0 0 18px; }
.link-row { margin-top: 18px; display:flex; flex-wrap: wrap; gap: 9px; }
.link-row a, .product-link { display:inline-flex; text-decoration:none; font-size: 11px; font-weight: 850; color: #505965; border-bottom: 1px solid #aeb6c1; padding-bottom: 2px; }
.link-row a:hover, .product-link:hover { color: var(--accent); border-color: var(--accent); }

.callout { padding: 17px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper-2); }
.callout strong { font-size: 13px; }
.callout p { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.risk-grid { display:grid; grid-template-columns: repeat(5, 1fr); gap: 9px; margin-top: 12px; }
.risk-grid > div { padding: 14px; border-radius: 15px; border: 1px solid #efdadc; background: var(--danger-soft); }
.risk-grid span, .risk-grid strong { display:block; }
.risk-grid span { font-size: 9px; color: var(--danger); font-weight: 900; margin-bottom: 5px; }
.risk-grid strong { font-size: 13px; }
.rule-line { margin: 16px 0 0; padding-left: 14px; border-left: 3px solid var(--accent); font-size: 13px; color: #4c5560; }
.rule-line em { font-style: normal; color: var(--accent); font-weight: 900; }

.spec-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.spec-grid > div { background: var(--dark); color:white; border-radius: 17px; padding: 17px; }
.spec-grid small, .spec-grid strong { display:block; }
.spec-grid small { color: #aeb7c4; font-size: 10px; }
.spec-grid strong { margin-top: 5px; font-size: 21px; letter-spacing: -.03em; }
.power-flow { display:flex; align-items:center; justify-content:center; gap: 14px; padding: 20px 0 16px; }
.power-flow div { border: 1px solid var(--line); border-radius: 13px; padding: 11px 15px; background:#fafbfc; font-size:12px; font-weight:800; }
.power-flow .accent-box { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent); }
.power-flow b { color: #a2aab5; }
.two-col { display:grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mini-panel, .detail-card { padding: 19px; border: 1px solid var(--line); border-radius: 17px; background: #fbfcfd; }
.mini-label { display:block; color:#7c8591; font-size: 9px; font-weight:900; letter-spacing:.06em; margin-bottom:7px; }
.mini-panel h3, .detail-card h3 { margin:0 0 8px; font-size:18px; letter-spacing:-.025em; }
.mini-panel p, .detail-card p { margin:0 0 12px; color:var(--muted); font-size:12px; line-height:1.65; }
.recommend-line { display:grid; grid-template-columns: 70px 1fr; gap:14px; padding:16px 17px; border-radius:15px; background:var(--accent-soft); color:#285f59; font-size:13px; line-height:1.6; }

.hero-recommend { display:flex; justify-content:space-between; gap:22px; align-items:center; padding:22px 24px; border-radius:19px; background: linear-gradient(135deg, #151b22, #29323d); color:white; }
.hero-recommend span, .hero-recommend strong, .hero-recommend p { display:block; }
.hero-recommend span { color:#9eabb9; font-size:10px; font-weight:900; }
.hero-recommend strong { margin-top:4px; font-size:25px; letter-spacing:-.03em; }
.hero-recommend p { margin:6px 0 0; color:#c7ced7; font-size:12px; }
.hero-recommend a { flex:0 0 auto; text-decoration:none; background:white; color:#151b22; padding:12px 14px; border-radius:12px; font-size:11px; font-weight:900; }
.option-grid { display:grid; grid-template-columns:repeat(4, 1fr); gap:10px; margin-top:12px; }
.option-card { position:relative; border:1px solid var(--line); border-radius:17px; padding:18px; background:#fbfcfd; }
.option-card.selected { border-color:var(--accent-line); background:#f5fffc; }
.tag { display:inline-block; padding:4px 7px; border-radius:99px; background:var(--accent-soft); color:var(--accent); font-size:9px; font-weight:900; margin-bottom:7px; }
.option-card h3 { margin:0 0 7px; font-size:16px; }
.option-card p { color:#5f6874; font-size:11px; line-height:1.55; min-height:51px; }
.option-card ul { margin:12px 0 0; padding-left:16px; color:#77808c; font-size:10px; line-height:1.65; }
.price-block { margin-top:12px; border:1px solid var(--line); border-radius:18px; overflow:hidden; background:#fff; }
.price-head { padding:17px 18px; display:flex; justify-content:space-between; gap:16px; align-items:center; background:#f8fafb; border-bottom:1px solid var(--line); }
.price-head span, .price-head strong { display:block; }
.price-head span { font-size:9px; color:#7d8691; font-weight:900; }
.price-head strong { margin-top:4px; font-size:14px; }
.price-head small { color:#8a929d; font-size:9px; }
.price-table-wrap { overflow:auto; }
table { width:100%; border-collapse:collapse; min-width:620px; }
th, td { text-align:left; border-bottom:1px solid var(--line); padding:13px 16px; font-size:11px; }
th { color:#7b8490; font-size:9px; letter-spacing:.06em; }
tbody tr:last-child td { border-bottom:0; }
td:nth-child(2) { font-weight:900; }
.pill { display:inline-flex; padding:5px 8px; border-radius:99px; background:#eef1f4; font-size:9px; font-weight:900; }
.pill.good { background:var(--accent-soft); color:var(--accent); }
.pill.warn { background:var(--warn-soft); color:var(--warn); }
.formula-row { display:grid; grid-template-columns:auto 1fr auto; gap:15px; align-items:center; padding:14px 17px; background:#fafbfc; border-top:1px solid var(--line); }
.formula-row span { color:#7e8793; font-size:10px; }
.formula-row strong { font-size:18px; letter-spacing:-.025em; }
.formula-row small { color:#8b939e; font-size:9px; }
.carrier-strip { display:grid; grid-template-columns:1.2fr 1fr 1fr; gap:9px; margin-top:12px; }
.carrier { text-decoration:none; border:1px solid var(--line); border-radius:15px; padding:14px 15px; background:#fafbfc; }
.carrier strong, .carrier span { display:block; }
.carrier strong { font-size:12px; }
.carrier span { margin-top:4px; color:#7a838f; font-size:9px; }
.carrier.primary { background:var(--accent-soft); border-color:var(--accent-line); }
.carrier.primary strong { color:var(--accent); }
.roaming-note { margin-top:12px; display:flex; justify-content:space-between; gap:18px; align-items:center; padding:17px 18px; border-radius:16px; background:#eff2f5; }
.roaming-note strong { font-size:12px; }
.roaming-note p { margin:5px 0 0; color:#68717c; font-size:10px; line-height:1.55; }
.roaming-links { display:flex; gap:7px; flex:0 0 auto; }
.roaming-links a { text-decoration:none; background:white; border:1px solid #d8dde3; border-radius:10px; padding:8px 9px; font-size:9px; font-weight:900; }

.payment-stack { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.payment-stack article { display:flex; gap:13px; padding:18px; border:1px solid var(--line); border-radius:17px; background:#fbfcfd; }
.stack-num { flex:0 0 auto; width:28px; height:28px; border-radius:9px; display:grid; place-items:center; background:var(--dark); color:white; font-size:10px; font-weight:900; }
.payment-stack small { color:#818a96; font-size:9px; font-weight:800; }
.payment-stack h3 { margin:3px 0 7px; font-size:17px; }
.payment-stack p { margin:0; color:var(--muted); font-size:11px; line-height:1.6; }
.payment-details { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-top:10px; }
.detail-card a { text-decoration:none; font-size:10px; font-weight:900; color:var(--accent); }
.caution-card { background:var(--warn-soft); border-color:#edd9a8; }
.check-row { margin-top:10px; display:grid; grid-template-columns:110px 1fr; gap:14px; align-items:center; padding:14px 16px; border-radius:14px; background:#181e27; color:white; }
.check-row span { color:#9da8b5; font-size:9px; font-weight:900; }
.check-row strong { font-size:11px; line-height:1.6; }

.transport-mapline { display:flex; align-items:center; justify-content:center; gap:13px; padding:17px; border-radius:17px; background:#171d25; color:white; overflow:auto; }
.transport-mapline > div { min-width:125px; }
.transport-mapline small, .transport-mapline strong { display:block; }
.transport-mapline small { color:#929eac; font-size:9px; }
.transport-mapline strong { margin-top:4px; font-size:12px; }
.transport-mapline > span { color:#7a8796; }
.transport-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-top:10px; }
.transport-card { padding:18px; border:1px solid var(--line); border-radius:17px; background:#fbfcfd; }
.transport-icon { width:27px; height:27px; display:grid; place-items:center; border-radius:9px; background:var(--accent-soft); color:var(--accent); font-size:10px; font-weight:900; margin-bottom:12px; }
.transport-card h3 { margin:0 0 8px; font-size:15px; }
.transport-card p { margin:0 0 12px; color:var(--muted); font-size:10px; line-height:1.65; }
.transport-card a { font-size:9px; font-weight:900; text-decoration:none; color:var(--accent); }
.transport-tips { display:grid; grid-template-columns:repeat(2,1fr); gap:8px; margin-top:10px; }
.transport-tips > div { display:grid; grid-template-columns:80px 1fr; gap:10px; padding:13px 14px; border-radius:13px; background:#f1f3f5; }
.transport-tips strong { font-size:10px; }
.transport-tips span { color:#6e7782; font-size:10px; line-height:1.55; }

.weather-layout { display:grid; grid-template-columns:1fr 360px; gap:16px; align-items:stretch; }
.weather-tags { display:flex; flex-wrap:wrap; gap:8px; }
.weather-link { text-decoration:none; display:flex; flex-direction:column; justify-content:center; padding:22px; border-radius:18px; background:linear-gradient(145deg,#12202a,#23404b); color:white; }
.weather-link small { color:#9db3bd; font-size:9px; font-weight:900; }
.weather-link strong { margin-top:5px; font-size:18px; }
.weather-link span { margin-top:8px; color:#c2d0d6; font-size:10px; line-height:1.6; }

footer { margin-top:36px; padding:23px 4px 0; border-top:1px solid #d9dee4; display:flex; justify-content:space-between; gap:20px; color:#838c98; }
footer strong, footer span { display:block; }
footer strong { color:#5d6672; font-size:11px; }
footer span { margin-top:3px; font-size:9px; }
footer a { font-size:10px; font-weight:900; text-decoration:none; }

@media (max-width: 1180px) {
  .app-shell { grid-template-columns: 205px minmax(0, 1fr); gap:22px; }
  .risk-grid { grid-template-columns:repeat(3,1fr); }
  .option-grid, .transport-grid { grid-template-columns:repeat(2,1fr); }
  .weather-layout { grid-template-columns:1fr 310px; }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 68px; }
  .app-shell { display:block; width:min(100% - 20px, 1120px); }
  .side-nav { display:none; }
  .mobile-nav-wrap { display:block; position:sticky; top:0; z-index:30; margin:0 -10px; padding:8px 10px; background:rgba(242,244,246,.88); backdrop-filter:blur(14px); }
  .mobile-nav { display:flex; gap:6px; overflow-x:auto; scrollbar-width:none; padding:2px 0; }
  .mobile-nav::-webkit-scrollbar { display:none; }
  .mobile-nav a { flex:0 0 auto; padding:8px 11px; border-radius:999px; border:1px solid #d8dee5; background:rgba(255,255,255,.9); text-decoration:none; color:#65707c; font-size:10px; font-weight:850; }
  .mobile-nav a.active { background:var(--dark); color:white; border-color:var(--dark); }
  .content { padding-top:8px; }
  .hero { min-height:290px; padding:30px 26px; }
  .overview-strip { grid-template-columns:repeat(2,1fr); }
  .section-card { grid-template-columns:42px minmax(0,1fr); padding:24px 20px 25px 16px; }
  .payment-stack, .payment-details { grid-template-columns:1fr; }
  .weather-layout { grid-template-columns:1fr; }
}

@media (max-width: 620px) {
  body { word-break: normal; }
  .hero { min-height:310px; align-items:flex-start; flex-direction:column; padding:27px 22px; }
  .hero h1 { font-size:48px; }
  .hero-copy { font-size:14px; }
  .hero-status { align-self:flex-end; }
  .overview-strip { margin-bottom:38px; }
  .overview-strip > div { padding:14px; }
  .overview-strip strong { font-size:11px; }
  .section-card { grid-template-columns:1fr; padding:21px 18px; margin-bottom:14px; scroll-margin-top:62px; }
  .section-number { display:none; }
  .section-head { margin-bottom:16px; }
  .section-head h2 { font-size:27px; }
  .priority { font-size:8px; }
  .risk-grid { grid-template-columns:repeat(2,1fr); }
  .spec-grid { grid-template-columns:repeat(2,1fr); }
  .two-col, .option-grid, .transport-grid { grid-template-columns:1fr; }
  .power-flow { gap:7px; }
  .power-flow div { padding:9px; font-size:10px; text-align:center; }
  .hero-recommend { align-items:flex-start; flex-direction:column; }
  .hero-recommend a { width:100%; text-align:center; }
  .option-card p { min-height:auto; }
  .price-head { flex-direction:column; align-items:flex-start; }
  .formula-row { grid-template-columns:1fr; gap:4px; }
  .carrier-strip { grid-template-columns:1fr; }
  .roaming-note { align-items:flex-start; flex-direction:column; }
  .transport-mapline { justify-content:flex-start; }
  .transport-tips { grid-template-columns:1fr; }
  .check-row { grid-template-columns:1fr; gap:5px; }
  footer { flex-direction:column; }
}
