/* The Coming soon page (index.html), in the website's colours and type
   (apps/web/src/app/globals.css): always its dark look, whatever the device prefers. */
:root {
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --bg: #0f1115;
  --surface: #171a21;
  --text: #e8eaee;
  --muted: #9aa3b2;
  --border: #2a2f3a;
  --accent: #a48eff;
  --ok: #56d364;
  --card-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--text); font: 16px/1.5 var(--font);
  -webkit-text-size-adjust: 100%;
}

.top { display: flex; align-items: center; min-height: 4.125rem; padding: 0.5rem 1.25rem; border-bottom: 1px solid var(--border); background: var(--surface); }
.logo { display: block; width: auto; height: 28px; }

.hero {
  flex: 1; width: 100%; max-width: 960px; margin: 0 auto; padding: 3.5rem 1rem;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 2.5rem; align-items: center;
}

.soon {
  display: inline-flex; align-items: center; gap: 0.5rem; margin: 0 0 1.25rem; padding: 0.3rem 0.8rem 0.3rem 0.65rem;
  border: 1px solid var(--accent); border-radius: 999px; font-size: 0.85rem; font-weight: 600; color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}
.soon-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--accent); animation: glow 1.6s ease-in-out infinite; }
@keyframes glow { 50% { opacity: 0.35; } }

.eyebrow { margin: 0 0 0.6rem; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
h1 { margin: 0 0 1rem; font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1.12; letter-spacing: -0.02em; }
.lede { margin: 0 0 1rem; max-width: 36rem; font-size: 1.15rem; color: var(--muted); }
.note { margin: 0; font-size: 0.9rem; color: var(--muted); }
.ready { margin: 1.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--border); font-weight: 600; }

/* The example server card, as on the homepage. */
.demo { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1.25rem 1.35rem; box-shadow: var(--card-shadow); }
.demo-head { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; margin-bottom: 0.9rem; font-size: 1.1rem; }
.badge { padding: 0.15rem 0.55rem; border: 1px solid var(--accent); border-radius: 999px; font-size: 0.8rem; font-weight: 600; color: var(--accent); background: var(--bg); white-space: nowrap; }
.demo-address {
  display: block; padding: 0.55rem 0.7rem; font: 0.98rem var(--mono); background: var(--bg);
  border: 1px solid var(--border); border-radius: 8px; overflow-wrap: anywhere;
}
.demo-domain { color: var(--muted); }
.caret { display: inline-block; width: 2px; height: 1.05em; margin: 0 -1px; vertical-align: -0.15em; background: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.steps { list-style: none; margin: 1rem 0 0.75rem; padding: 0; }
.steps li { display: flex; align-items: center; gap: 0.6rem; padding: 0.35rem 0; color: var(--muted); }
.steps li::before { content: ""; flex: none; width: 0.8rem; height: 0.8rem; border-radius: 50%; border: 2px solid var(--border); }
.steps li.done { color: var(--text); }
.steps li.done::before { background: var(--ok); border-color: var(--ok); }
.steps li.current { color: var(--text); font-weight: 600; }
.steps li.current::before { border-color: var(--accent); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { background: var(--accent); } }
.demo-foot { margin: 0; font-size: 0.9rem; color: var(--muted); }

.bottom { padding: 1.25rem 1rem 2rem; border-top: 1px solid var(--border); background: var(--surface); color: var(--muted); font-size: 0.85rem; text-align: center; }

@media (max-width: 760px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 2rem; padding: 2.25rem 1rem 2.5rem; }
}
@media (max-width: 420px) {
  .backed { display: none; }
  .demo-address { font-size: 0.86rem; }
}
@media (prefers-reduced-motion: reduce) {
  .soon-dot, .steps li.current::before { animation: none; }
  .steps li.current::before { background: var(--accent); }
  .caret { display: none; }
}
