/*
 * www.nowire.co (WEB-037): the "coming soon" page and the 404 page.
 *
 * The tokens are the dashboard's (nowire-cloud-frontend src/styles/tokens.css),
 * copied in, because this site has no build step. They are written as a light set plus a dark
 * set under prefers-color-scheme, instead of light-dark(), so older browsers
 * on a public page still get readable colours. Change both files together.
 */
:root {
  /* surfaces */
  --bg: #f5f6fa;
  --panel: #ffffff;
  --panel-2: #f0f2f7;
  --border: #d5d9e4;
  --border-soft: #e4e7ee;

  /* text */
  --text: #0a0022; /* the logo's navy */
  --text-dim: #464e63;
  --text-mute: #646b7e;

  /* brand accent: the logo's blues (WEB-053). --accent fills and borders,
     --accent-2 text and links; the gradient is decoration, never under text. */
  --accent: #0450fd;
  --accent-2: #0a6cbf;
  --accent-soft: rgba(4, 80, 253, 0.1);
  --accent-grad-end: #139cf8;
  --accent-grad: linear-gradient(135deg, var(--accent) 0%, var(--accent-grad-end) 100%);
  --glow-1: rgba(4, 80, 253, 0.08);
  --glow-2: rgba(59, 197, 232, 0.08);

  /* geometry */
  --radius: 12px;
  --radius-sm: 8px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;

  /* type */
  --font: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;

  --shadow-color: rgba(20, 24, 40, 0.12);
  --shadow: 0 8px 24px var(--shadow-color);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a1a; /* a navy tint toward the logo's #0a0022 */
    --panel: #12141d;
    --panel-2: #171a24;
    --border: #232739;
    --border-soft: #1b1e2b;

    --text: #e9ebf3;
    --text-dim: #9aa3bd;
    --text-mute: #6a7186;

    --accent: #2d68fc;
    --accent-2: #5b8cff;
    --accent-soft: rgba(91, 140, 255, 0.14);
    --accent-grad-end: #3bc5e8;
    --glow-1: rgba(45, 104, 252, 0.16);
    --glow-2: rgba(59, 197, 232, 0.07);

    --shadow-color: rgba(0, 0, 0, 0.35);
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-5);
  min-height: 100vh;
  min-height: 100dvh;
  padding: var(--space-6) var(--space-4);
  background:
    radial-gradient(700px 420px at 50% -10%, var(--glow-1), transparent 60%),
    radial-gradient(500px 300px at 100% 100%, var(--glow-2), transparent 60%), var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-2);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
a:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
  border-radius: 4px;
}

/* the page's one card */
.card {
  width: 100%;
  max-width: 600px;
  padding: 40px;
  background: var(--panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

/* the NoWire wordmark (WEB-053): dark letters on light, light letters on
   dark, picked by prefers-color-scheme in the <picture> */
.brand {
  display: block;
  line-height: 0;
}
.brand img {
  display: block;
  width: 200px;
  height: auto;
}

.badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 4px 12px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-grad);
}

h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.lead {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  color: var(--text-dim);
}

.contact {
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-soft);
  color: var(--text-dim);
  font-size: 15px;
}
.contact a {
  font-weight: 600;
}

.footer {
  color: var(--text-mute);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 480px) {
  .card {
    padding: var(--space-5);
    gap: var(--space-4);
  }
  h1 {
    font-size: 26px;
  }
  body {
    font-size: 15px;
  }
}
