@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/variable/pretendardvariable-dynamic-subset.css");

:root {
  --bg: #0b0c0f;
  --bg-2: #111318;
  --bg-3: #171a21;
  --text: #f2f4f7;
  --soft: #c5cad3;
  --muted: #8b93a1;
  --line: #252830;
  --line-2: #323844;
  --orange: #f6821f;
  --orange-hover: #ff9a3d;
  --orange-dim: rgba(246, 130, 31, 0.12);
  --max: 1160px;
  --font: "Pretendard Variable", Pretendard, "Noto Sans KR", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  letter-spacing: -0.015em;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 12, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
}

.nav.scrolled { border-bottom-color: var(--line); }

.nav-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.brand em {
  font-style: normal;
  color: var(--orange);
}

.nav-links {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 550;
}

.nav-links a:hover { color: var(--text); }

.nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 6px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
  transition: 0.15s ease;
  cursor: pointer;
}

.btn:hover {
  border-color: #4a5160;
  background: rgba(255, 255, 255, 0.03);
}

.btn.primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #0b0c0f;
}

.btn.primary:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
}

.btn.lg {
  min-height: 48px;
  padding: 0 24px;
  font-size: 15px;
}

.page-hero {
  position: relative;
  padding: 72px 0 56px;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}

.page-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    url("https://cdn.salv.me/images/806f377cdeb8e5885488f46775b8a70b.webp")
    center 40% / cover no-repeat;
  opacity: 0.45;
}

.page-hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 12, 15, 0.55) 0%, rgba(11, 12, 15, 0.82) 55%, var(--bg) 100%),
    linear-gradient(90deg, rgba(11, 12, 15, 0.78) 0%, rgba(11, 12, 15, 0.4) 70%, rgba(11, 12, 15, 0.7) 100%);
}

.hero-kicker,
.section-kicker,
.kicker {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page-hero h1 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.page-hero .hero-lead {
  max-width: 54ch;
  margin: 18px 0 0;
  color: var(--soft);
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.65;
  font-weight: 450;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  padding: 28px 0;
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.strip-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.strip-item span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 550;
  margin-bottom: 6px;
}

.strip-item strong {
  display: block;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.section {
  padding: 88px 0;
}

.section.alt {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 680px;
  margin-bottom: 40px;
}

.section-head h2,
.section > .wrap > h2 {
  margin: 0;
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.section-head p,
.lead {
  margin: 16px 0 0;
  color: var(--soft);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 450;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-3);
}

.card .code {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.feature-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: start;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}

.feature-row:last-child { border-bottom: 0; }

.feature-row h3 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 750;
  letter-spacing: -0.03em;
}

.feature-row p {
  margin: 0;
  color: var(--soft);
  font-size: 16px;
  line-height: 1.7;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.pill {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.list li {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--soft);
  font-size: 15px;
  line-height: 1.6;
}

.note {
  margin-top: 18px;
  padding: 18px 20px;
  border-left: 2px solid var(--orange);
  background: var(--bg-3);
  color: var(--soft);
  font-size: 15px;
  line-height: 1.65;
}

.price {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 20px;
  padding: 12px 16px;
  border: 1px solid rgba(246, 130, 31, 0.35);
  border-radius: 8px;
  background: var(--orange-dim);
}

.price strong {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--orange);
}

.price span {
  color: var(--soft);
  font-size: 14px;
  font-weight: 550;
}

.flow {
  display: grid;
  gap: 12px;
}

.flow-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
}

.flow-item i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--orange);
  color: #0b0c0f;
  font-style: normal;
  font-size: 14px;
  font-weight: 800;
}

.flow-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 750;
}

.flow-item span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th, td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 14px;
  line-height: 1.5;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-weight: 700;
  background: var(--bg-3);
}

td { color: var(--soft); }

tr:last-child td { border-bottom: 0; }

.tool-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-3);
}

.tool-panel label {
  display: block;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.tool-panel input[type="text"],
.tool-panel input[type="number"],
.tool-panel select,
.tool-panel textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
}

.tool-panel textarea { min-height: 110px; resize: vertical; }

.tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.tool-output {
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  word-break: break-all;
}

.check-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 14px;
}

.check-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--soft);
  font-size: 14px;
  font-weight: 550;
}

.cta {
  padding: 88px 0;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse 70% 90% at 85% 20%, rgba(246, 130, 31, 0.14), transparent 55%),
    var(--bg-2);
  text-align: center;
}

.cta h2 {
  margin: 0 auto;
  max-width: 18ch;
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.cta p {
  max-width: 48ch;
  margin: 16px auto 0;
  color: var(--soft);
  font-size: 16px;
  line-height: 1.65;
}

.cta .hero-cta {
  justify-content: center;
  margin-top: 28px;
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.chip {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg-3);
  color: var(--soft);
  font-size: 14px;
  font-weight: 600;
}

.warn,
.notice {
  margin-top: 20px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
}

.warn strong,
.notice strong {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 750;
}

.warn p,
.notice p {
  margin: 0;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.65;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
}

.timeline-item time {
  color: var(--orange);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.timeline-item h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 750;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.compare-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 14px 0 16px;
}

.compare-meta > div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
}

.compare-meta span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.compare-meta strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  padding: 12px 18px;
  border-radius: 8px;
  background: #1a1f29;
  border: 1px solid var(--line-2);
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
  z-index: 100;
}

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

.ip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.ip-grid .item {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
}

.ip-grid .item-name {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  margin-bottom: 6px;
}

.ip-grid .item-value {
  font-size: 15px;
  font-weight: 700;
}

.meter {
  height: 8px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line);
  overflow: hidden;
  margin-top: 10px;
}

.meter-fill {
  height: 100%;
  width: 0;
  background: var(--orange);
  transition: width 0.2s ease;
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .strip-grid,
  .strip-grid.cols-3,
  .card-grid,
  .card-grid.cols-2,
  .feature-row,
  .split,
  .compare-meta,
  .ip-grid,
  .timeline-item {
    grid-template-columns: 1fr;
  }
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .card-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .btn.hide-m { display: none; }
  .page-hero { padding: 56px 0 44px; }
  .section { padding: 64px 0; }
  .strip-grid,
  .card-grid { grid-template-columns: 1fr; }
}
