@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/inter.woff2) format('woff2'); }
:root {
  --bg: #ffffff; --text: #1d1d1f; --text-2: #6e6e73; --text-3: #a1a1a6; --line: #ececf0; --fill: #f4f4f6; --fill-2: #ebebef;
  --accent: #1d1d1f; --on-accent: #ffffff; --live: #e0336f; --ok: #1f9d55;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #121214; --text: #f2f2f5; --text-2: #a1a1aa; --text-3: #6c6c76; --line: #2a2a30; --fill: #1f1f24; --fill-2: #2c2c33; --accent: #f2f2f5; --on-accent: #121214; --live: #ff5c93; --ok: #3ccf7f; color-scheme: dark; }
}
* { box-sizing: border-box; border-radius: 0 !important; }
html, body { margin: 0; }
body { font-family: var(--font); font-size: 15px; line-height: 1.5; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }

.top { display: flex; align-items: center; gap: 16px; padding: 18px 28px; border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -.01em; text-decoration: none; }
.disc { width: 22px; height: 22px; border-radius: 50% !important; background: radial-gradient(circle, var(--bg) 0 3px, var(--text) 3.5px 4.5px, transparent 5px), conic-gradient(from 30deg, #c9cfe6, #f1d1e0, #d3ead9, #c9cfe6); box-shadow: inset 0 0 0 1.5px var(--text); }
#nav { margin-left: auto; display: flex; gap: 6px; align-items: center; }
#nav a, #nav button { text-decoration: none; padding: 8px 14px; background: none; border: 0; cursor: pointer; color: var(--text-2); }
#nav a:hover, #nav button:hover { color: var(--text); background: var(--fill); }
#nav .solid { background: var(--accent); color: var(--on-accent); }
#nav .solid:hover { background: var(--accent); color: var(--on-accent); opacity: .88; }

main { flex: 1; width: 100%; max-width: 1040px; margin: 0 auto; padding: 48px 28px 80px; animation: rise .5s var(--out); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { main { animation: none; } }

/* landing */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; min-height: 52vh; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.02; letter-spacing: -.035em; margin: 0 0 18px; font-weight: 750; }
.hero p { color: var(--text-2); font-size: 18px; max-width: 30em; margin: 0 0 28px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border: 1px solid var(--line); background: var(--fill); text-decoration: none; cursor: pointer; font-weight: 600; transition: background .15s linear, opacity .15s linear; }
.btn:hover { background: var(--fill-2); }
.btn.solid { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.btn.solid:hover { opacity: .88; }
.btn.danger { color: var(--live); }
.btn:disabled { opacity: .45; cursor: default; }
.stack { position: relative; aspect-ratio: 1; }
.stack .cd { position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50% !important; box-shadow: 0 30px 60px rgba(0,0,0,.18); background: radial-gradient(circle, var(--bg) 0 7%, rgba(0,0,0,.25) 7.5% 8.5%, transparent 9%), conic-gradient(from var(--r, 0deg), var(--a), var(--b), var(--c), var(--a)); animation: spin 18s linear infinite; }
.stack .cd:nth-child(1) { --a: #f6c1d4; --b: #c9cfe6; --c: #fde5b2; left: 0; top: 6%; }
.stack .cd:nth-child(2) { --a: #b8e3cf; --b: #c6c2f0; --c: #f6d2c1; left: 34%; top: 32%; animation-duration: 24s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 64px; }
.features div { background: var(--bg); padding: 26px; }
.features b { display: block; margin-bottom: 6px; font-size: 16px; }
.features span { color: var(--text-2); }

/* forms */
.card { max-width: 420px; margin: 4vh auto 0; }
.card h1 { font-size: 30px; letter-spacing: -.02em; margin: 0 0 22px; }
.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-size: 13px; color: var(--text-2); margin-bottom: 6px; }
.field input { width: 100%; padding: 12px 14px; background: var(--fill); border: 1px solid var(--line); outline: none; transition: border-color .15s linear; }
.field input:focus { border-color: var(--text-3); }
.field small { display: block; color: var(--text-3); font-size: 12px; margin-top: 5px; }
.card .btn { width: 100%; margin-top: 6px; }
.status { min-height: 22px; margin: 12px 0 0; color: var(--text-2); font-size: 14px; }
.status.err { color: var(--live); }
.status.ok { color: var(--ok); }
.alt { margin-top: 22px; color: var(--text-2); font-size: 14px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.seg { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); margin-bottom: 18px; }
.seg button { padding: 10px; background: none; border: 0; cursor: pointer; color: var(--text-2); }
.seg button.on { background: var(--fill-2); color: var(--text); font-weight: 600; }

/* account */
.acct { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.acct h1 { grid-column: 1 / -1; margin: 0; font-size: 34px; letter-spacing: -.02em; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.acct h1 small { font-size: 15px; font-weight: 400; color: var(--text-2); }
.box { border: 1px solid var(--line); padding: 22px; }
.box h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-2); margin: 0 0 14px; font-weight: 600; }
.box.wide { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; justify-content: space-between; flex-wrap: wrap; }
.row { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.row:first-of-type { border-top: 0; }
.row .grow { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dot { width: 9px; height: 9px; border-radius: 50% !important; background: var(--text-3); flex: none; }
.dot.on { background: var(--ok); }
.muted { color: var(--text-3); }
.link-btn { background: none; border: 0; padding: 4px 0; cursor: pointer; color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--text); }
.inline { display: flex; gap: 8px; margin-top: 10px; }
.inline input { flex: 1; padding: 10px 12px; background: var(--fill); border: 1px solid var(--line); outline: none; }
.inline .btn { padding: 10px 14px; }

/* opening the app */
.launch { text-align: center; max-width: 520px; margin: 8vh auto 0; }
.launch h1 { font-size: 32px; letter-spacing: -.02em; margin: 22px 0 8px; }
.launch p { color: var(--text-2); margin: 0 0 24px; }
.launch .actions { justify-content: center; }
.ring { width: 46px; height: 46px; margin: 0 auto; border-radius: 50% !important; border: 3px solid var(--fill-2); border-top-color: var(--text); animation: spin .9s linear infinite; }
.port { display: flex; gap: 8px; justify-content: center; margin-top: 22px; color: var(--text-2); font-size: 14px; align-items: center; }
.port input { width: 90px; padding: 8px 10px; background: var(--fill); border: 1px solid var(--line); text-align: center; }

@media (max-width: 760px) {
  .hero, .acct { grid-template-columns: 1fr; }
  .stack { max-width: 340px; }
  .features { grid-template-columns: 1fr; }
}
#nav a, #nav button { white-space: nowrap; }
@media (max-width: 480px) {
  .top { padding: 14px 16px; }
  #nav a, #nav button { padding: 8px 10px; }
  main { padding: 32px 18px 60px; }
}
