:root {
  --bg: #070708;
  --bg-elev: #0c0c0d;
  --panel: rgba(16, 16, 18, 0.72);
  --stroke: #2e2e2e;
  --stroke-soft: #1e1e1e;
  --text: #f4f4f5;
  --muted: #8a8a8e;
  --dim: #5c5c61;
  --crit: #ff3f00;
  --watch: #f2ff00;
  --ample: #28e07b;
  --amber: #ffbf00;
  --sky: #8ec8ef;
  --radius: 20px;
  --max: 1120px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
}

body {
  font-family: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo",
    "Malgun Gothic", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100%;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 20;
  background: #fff;
  color: #000;
  padding: 8px 12px;
  border-radius: 8px;
}
.skip:focus { top: 12px; }

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

/* ---- nav -------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(7, 7, 8, 0.72);
  border-bottom: 1px solid var(--stroke-soft);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}

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

.nav-links a:not(.btn) {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  padding: 6px 8px;
}

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

/* ---- buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 650;
  font-size: 14.5px;
  letter-spacing: -0.02em;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }

.btn-primary {
  background: #fff;
  color: #111;
}

.btn-primary:hover { background: #f0f0f2; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--stroke);
}

.btn-ghost:hover { background: #141416; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

/* ---- hero ------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 72px 0 40px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -80px 0 auto auto;
  width: min(720px, 90vw);
  height: 520px;
  background:
    radial-gradient(closest-side, rgba(142, 200, 239, 0.22), transparent 72%),
    radial-gradient(closest-side, rgba(255, 63, 0, 0.12), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 48px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
}

.kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ample);
  box-shadow: 0 0 0 4px rgba(40, 224, 123, 0.14);
}

h1 {
  margin: 0;
  font-size: clamp(36px, 5.6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 750;
}

.lede-en {
  margin: 14px 0 0;
  color: var(--sky);
  font-size: 17px;
  letter-spacing: -0.02em;
}

.lede {
  margin: 16px 0 0;
  max-width: 38rem;
  color: #c8c8cc;
  font-size: 18px;
  line-height: 1.65;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 12.5px;
}

/* screenshot frame — reads as a monitor edge with the real notch */
.hero-visual { position: relative; }

.display {
  position: relative;
  margin-left: auto;
  width: min(100%, 420px);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid #3a3a3e;
  background: #8ec8ef;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.display img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.display::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.display-caption {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

/* ---- sections --------------------------------------------------------- */
section { padding: 28px 0; }

.section-head {
  margin: 0 0 22px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.035em;
}

.section-head p {
  margin: 8px 0 0;
  color: var(--muted);
  max-width: 40rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--stroke-soft);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  backdrop-filter: blur(16px);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.card p {
  margin: 0;
  color: #b8b8bc;
  font-size: 14.5px;
}

.card code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.9em;
  color: #e8e8ea;
}

.ring-ico {
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  color: var(--text);
}

.providers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.provider {
  border: 1px solid var(--stroke-soft);
  border-radius: 16px;
  padding: 16px;
  background: #0c0c0d;
  min-height: 112px;
}

.provider strong {
  display: block;
  font-size: 15px;
  letter-spacing: -0.02em;
}

.provider span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.step {
  border-top: 2px solid var(--stroke);
  padding-top: 14px;
}

.step b {
  display: block;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.step p {
  margin: 8px 0 0;
  font-size: 14.5px;
  color: #d4d4d8;
}

.note {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #3a2a14;
  background: #16110a;
  color: #e6d3b0;
  font-size: 14px;
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
}

.fine {
  color: var(--muted);
  font-size: 13.5px;
}

.fine a { color: #d0d0d4; }

footer {
  margin-top: 40px;
  padding: 28px 0 48px;
  border-top: 1px solid var(--stroke-soft);
  color: var(--dim);
  font-size: 13px;
}

.foot-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

footer a { color: var(--muted); }

@media (max-width: 880px) {
  .hero { padding-top: 24px; padding-bottom: 16px; }
  .hero-grid,
  .features,
  .providers,
  .steps,
  .split {
    grid-template-columns: 1fr;
  }
  .lede { font-size: 16px; }
  .meta-row { display: none; }
  .display {
    width: min(100%, 300px);
    height: 210px;
    margin: 0 auto;
    border-radius: 22px;
  }
  .display img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 100% 52%;
  }
  .display-caption { text-align: center; }
  .nav-links a:not(.btn) { display: none; }
  .cta-row .btn { flex: 1 1 220px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
