@font-face {
  font-family: "Inter";
  src: url("/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #0b0b10;
  --surface: #13131b;
  --line: #262633;
  --text: #ecebf3;
  --muted: #9b99ab;
  --violet: #b066ff;
  --blue: #3fa9ff;
  --focus: #7fd4ff;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(60rem 30rem at 50% -10rem, rgba(120, 70, 255, 0.14), transparent 70%),
    var(--bg);
  color: var(--text);
  font: 400 1rem/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

a { color: var(--text); text-underline-offset: 3px; text-decoration-color: var(--violet); }
a:hover { color: #fff; text-decoration-color: var(--blue); }
a:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.wrap {
  flex: 1;
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: clamp(3rem, 12vh, 7rem) 1rem 3rem;
}

.hero { margin-bottom: 4rem; }

.logo { margin: 0 0 2.25rem; line-height: 0; }
.logo img { display: block; width: min(100%, 26rem); height: auto; }

.lead {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 4.2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.sub { margin: 0; color: var(--muted); font-size: 1.05rem; }

.label {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card {
  position: relative;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.card::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto;
  height: 2px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(90deg, var(--violet), var(--blue));
}
.card p { margin: 0 0 0.35rem; }
.card .status { color: var(--muted); margin-bottom: 1.25rem; }

.button {
  display: inline-block;
  padding: 0.65rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #1c1c27;
  font-weight: 600;
  text-decoration: none;
}
.button:hover { border-color: var(--violet); background: #222231; }

.foot {
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}
.foot p { margin: 0 0 0.35rem; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--text); }

.ft-title { margin: 0 0 0.75rem; line-height: 0; }
.ft-title .ft-logo { display: block; width: auto; height: 1.75rem; overflow: visible; }
.ft-logo .ft-name { fill: var(--text); }
.ft-logo .ft-mark { fill: #8b3dff; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Privacy and 404 */
.doc h1 { margin: 0 0 0.5rem; font-size: 2rem; letter-spacing: -0.02em; }
.doc h2 { margin: 2rem 0 0.5rem; font-size: 1.1rem; }
.doc p, .doc li { color: #cfcde0; }
.doc .updated { color: var(--muted); margin-bottom: 2rem; }
.back { display: inline-block; margin-bottom: 2.5rem; color: var(--muted); font-size: 0.9rem; }
.small-logo { display: block; width: 9rem; height: auto; }
