:root {
  --ink: #0f1a2e; --muted: #5b6475; --line: #e6e9f0; --bg: #f7f8fb;
  --blue: #1463ff; --violet: #7b3fe4; --ok: #1fa45a; --ko: #e5484d;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { min-height: 100vh; display: flex; flex-direction: column; color: var(--ink); background:
  radial-gradient(60rem 30rem at 0% 100%, rgba(123, 63, 228, .07), transparent 60%),
  radial-gradient(50rem 30rem at 100% 0%, rgba(20, 99, 255, .06), transparent 60%), var(--bg);
  font: 16px/1.5 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.topbar { display: flex; justify-content: space-between; align-items: center; padding: 1rem 2rem; background: #0b0d12; color: #fff; }
.product { font-weight: 500; letter-spacing: .01em; }
.product sup { font-size: .55em; }
.logo { height: 30px; width: auto; filter: invert(1); padding-left: 1.25rem; border-left: 1px solid rgba(255, 255, 255, .2); }

.page { flex: 1; width: 100%; max-width: 1000px; margin: 0 auto; padding: 3.5rem 1.5rem 2rem; text-align: center; }
.eyebrow { margin: 0 0 1rem; color: var(--blue); font-weight: 600; letter-spacing: .25em; font-size: .85rem; }
.env { margin-left: .5rem; padding: .15rem .55rem; border-radius: 999px; background: rgba(20, 99, 255, .1); letter-spacing: .05em; font-size: .72rem; }
.env:empty { display: none; }
h1 { margin: 0 0 1rem; font-size: clamp(1.9rem, 4.5vw, 3rem); line-height: 1.12; letter-spacing: -.02em; font-weight: 750; }
.grad { background: linear-gradient(90deg, var(--blue), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin: 0 auto 2.5rem; max-width: 36rem; color: var(--muted); }

.urls { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: center; margin-bottom: 2rem; text-align: left; }
.url { position: relative; display: flex; gap: .9rem; align-items: center; padding: 1.1rem 2.5rem 1.1rem 1.1rem; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.url .ico { flex: none; width: 28px; height: 28px; }
.label { display: block; font-size: .8rem; font-weight: 600; margin-bottom: .15rem; }
.url code { font-family: inherit; font-size: .95rem; font-weight: 500; line-height: 1.35; overflow-wrap: anywhere; }
.old { background: #f3f4f7; color: var(--muted); }
.old code { text-decoration: line-through; }
.new { border-color: rgba(20, 99, 255, .25); background: rgba(20, 99, 255, .04); color: var(--blue); }
.new code { color: var(--ink); font-weight: 600; }
.state { position: absolute; top: .7rem; right: .7rem; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; color: #fff; font-size: .75rem; line-height: 1; }
.ko { background: var(--ko); } .ok { background: var(--ok); }
.arrow { width: 48px; height: 24px; color: var(--blue); stroke-width: 2; }

.actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem; }
.btn { display: inline-flex; align-items: center; gap: .6rem; padding: .85rem 1.6rem; border-radius: 10px; border: 1px solid transparent;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .15s, box-shadow .15s; }
.btn svg { width: 20px; height: 20px; stroke-width: 2; }
.primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(20, 99, 255, .25); }
.primary:hover { background: #0d50d6; }
.ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.ghost:hover { background: #f1f3f8; }
.btn:focus-visible { outline: 3px solid rgba(20, 99, 255, .35); outline-offset: 2px; }

.help { max-width: 30rem; margin: 1.25rem auto 0; padding: 1rem 1.25rem; text-align: left; font-size: .92rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.help p, .help ol { margin: .35rem 0; }
.help ol { padding-left: 1.2rem; }
kbd { padding: .05rem .4rem; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 4px; background: var(--bg); font-size: .82rem; }
.drag { padding: .1rem .55rem; border: 1px dashed var(--blue); border-radius: 6px; color: var(--blue); text-decoration: none; cursor: grab; }

.note { margin: 1.75rem auto 0; max-width: 32rem; color: var(--muted); font-size: .92rem; }
.heart { width: 18px; height: 18px; vertical-align: -3px; color: var(--blue); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); margin: 3rem auto 0; padding: 0; max-width: 680px; list-style: none; font-size: .88rem; color: var(--muted); }
.features li { display: flex; flex-direction: column; align-items: center; gap: .6rem; padding: 0 1rem; }
.features li + li { border-left: 1px solid var(--line); }
.fi { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(20, 99, 255, .08); color: var(--blue); }
.features li:nth-child(2) .fi { background: rgba(123, 63, 228, .08); color: var(--violet); }
.fi svg { width: 22px; height: 22px; }

.foot { display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: 2rem 1rem; text-transform: uppercase; color: var(--muted); }
.brand { font-size: .72rem; letter-spacing: .35em; padding-bottom: .35rem; border-bottom: 1px solid var(--line); }
.tagline { font-size: .62rem; letter-spacing: .3em; }

@media (max-width: 720px) {
  .topbar { padding: .8rem 1rem; }
  .product { font-size: .9rem; }
  .logo { height: 24px; padding-left: .8rem; }
  .page { padding-top: 2.25rem; }
  .urls { grid-template-columns: 1fr; }
  .arrow { justify-self: center; transform: rotate(90deg); }
  .features { grid-template-columns: 1fr; gap: 1.25rem; }
  .features li + li { border-left: 0; }
}
