:root {
  --bg: #0e1013;
  --bg-2: #14171b;
  --panel: #1c2026;
  --panel-2: #262b32;
  --line: #2a2f37;
  --text: #eceff3;
  --muted: #a3abb6;
  --accent: #4c9aff;
  --accent-fill: #2f6fc4;
  --snap: #f5a524;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 "IBM Plex Sans KR", system-ui, -apple-system, "Malgun Gothic", sans-serif;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); }
code {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: .86em;
  background: var(--panel-2);
  border-radius: 5px;
  padding: 1px 6px;
}
.wrap { width: min(1180px, 100% - 32px); margin: 0 auto; }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 24px; border-radius: 12px;
  font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: background-color .15s, border-color .15s;
}
.btn-sm { min-height: 40px; padding: 0 16px; border-radius: 10px; font-size: 14px; }
.btn-primary { background: var(--accent-fill); color: #fff; }
.btn-primary:hover { background: #3a7fd6; }
.btn-ghost { color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--muted); }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Header */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(14, 16, 19, .86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-row { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 18px; }
.brand img { border-radius: 7px; }
.brand b { color: var(--accent); font-weight: inherit; }
.brand-sm { font-size: 15px; gap: 8px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav-links a:hover { color: var(--text); }

/* Hero */
.hero { padding: 80px 0 40px; overflow: hidden; }
.hero-copy { max-width: 760px; }
.eyebrow { margin: 0 0 16px; color: var(--accent); font: 500 14px "IBM Plex Mono", monospace; letter-spacing: .02em; }
h1 { margin: 0; font-size: clamp(38px, 6vw, 68px); line-height: 1.12; letter-spacing: -.025em; font-weight: 700; }
.lead { margin: 24px 0 0; font-size: 19px; color: var(--muted); max-width: 36em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.note { margin: 18px 0 0; font-size: 14px; color: var(--muted); }

/* PC and phone screenshots */
.showcase { position: relative; margin: 64px 0 0; padding: 0 0 48px; }
.frame-pc {
  width: 88%; border-radius: 14px; overflow: hidden; background: var(--panel);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .07);
}
.frame-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: var(--panel-2); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a4048; }
.frame-bar span { margin-left: 12px; font: 12px "IBM Plex Mono", monospace; color: var(--muted); }
.frame-phone {
  position: absolute; right: 0; bottom: 0; width: 23%; min-width: 150px;
  border-radius: 34px; padding: 9px; background: #050607; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .1);
}
.frame-phone img { border-radius: 26px; }

/* Sections */
.section { padding: 104px 0; }
.band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { margin: 0; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.25; letter-spacing: -.015em; }
.section-lead { margin: 16px 0 0; color: var(--muted); font-size: 17px; max-width: 40em; }
h3 { margin: 0; font-size: 19px; line-height: 1.4; }

.devices { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.platforms { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.platforms li { display: flex; flex-direction: column; gap: 4px; padding: 22px 24px; background: var(--panel); border-radius: 16px; }
.platforms strong { font-size: 18px; }
.platforms span { color: var(--muted); font-size: 15px; }

.flow { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--panel); border-radius: 18px; padding: 30px 28px; display: flex; flex-direction: column; gap: 12px; }
.step { font: 500 13px "IBM Plex Mono", monospace; color: var(--accent); }
.card h3 { font-size: 22px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }

.counts { margin-top: 16px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: 18px; overflow: hidden; }
.counts div { background: var(--panel); padding: 22px 24px; display: flex; flex-direction: column; gap: 2px; }
.counts strong { font: 600 32px/1.1 "IBM Plex Sans KR", sans-serif; letter-spacing: -.02em; }
.counts span { color: var(--muted); font-size: 14px; }

.field { margin-top: 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.item { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg); }
.item p { margin: 10px 0 0; color: var(--muted); font-size: 15.5px; }

.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.steps li { padding: 28px; border: 1px solid var(--line); border-radius: 18px; }
.num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(76, 154, 255, .16); color: var(--accent); font: 600 15px "IBM Plex Mono", monospace; margin-bottom: 16px; }
.steps p { margin: 8px 0 0; color: var(--muted); font-size: 15.5px; }
.final { margin-top: 56px; padding: 56px 24px; border-radius: 22px; background: var(--panel); text-align: center; }
.final p { margin: 0 0 24px; font-size: 20px; font-weight: 600; }

.footer { border-top: 1px solid var(--line); padding: 28px 0 36px; font-size: 14px; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.footer nav { display: flex; gap: 20px; margin-left: auto; }
.footer nav a { color: var(--muted); text-decoration: none; }
.footer nav a:hover { color: var(--text); }
.biz { margin-top: 16px; color: var(--muted); font-size: 12.5px; line-height: 1.7; }
.biz p { margin: 0; }

@media (max-width: 960px) {
  .hero { padding: 56px 0 24px; }
  .devices { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .flow, .steps { grid-template-columns: minmax(0, 1fr); }
  .counts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .section { padding: 80px 0; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-row { justify-content: space-between; }
  .lead { font-size: 17px; }
  .cta-row .btn { flex: 1 1 100%; }
  .showcase { margin-top: 44px; padding-bottom: 28px; }
  .frame-pc { width: 100%; }
  .frame-bar span { display: none; }
  .frame-phone { width: 38%; min-width: 0; right: -6px; border-radius: 22px; padding: 6px; }
  .frame-phone img { border-radius: 17px; }
  .field { grid-template-columns: minmax(0, 1fr); }
  .counts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .counts div:first-child { grid-column: 1 / -1; }
  .footer nav { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
