@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&display=swap");

:root {
  --black: #070708;
  --white: #ffffff;
  --orange: #f24602;
  --muted: rgba(255, 255, 255, 0.55);
  --line: rgba(255, 255, 255, 0.14);
}

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

body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--black);
  color: var(--white);
  font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

header, main, footer {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-inline: clamp(1.5rem, 5vw, 3rem);
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 2rem;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 4rem;
}

footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 2rem;
  font-size: 0.875rem;
  color: var(--muted);
}

a { color: inherit; }

.brand {
  font-weight: 700;
  font-size: 1.375rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand span, .dot { color: var(--orange); }

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 2rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: 0.25; } }

h1 {
  font-size: clamp(2.75rem, 9vw, 6.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  max-width: 12ch;
}

.lead {
  margin-top: 2rem;
  max-width: 32rem;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.75rem;
  padding-inline: 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn-ghost { border-color: var(--line); color: var(--white); background: none; }
.btn-ghost:hover { border-color: var(--white); }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: #d93e00; }

.credit {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  transition: color 0.15s;
}
.credit:hover { color: var(--white); }

/* Login */
.card {
  width: 100%;
  max-width: 24rem;
}
.card h1 { font-size: 2.5rem; }
.card p { margin-top: 0.75rem; color: var(--muted); line-height: 1.5; }
.card form { margin-top: 2rem; display: grid; gap: 1rem; }
.card label { font-size: 0.875rem; color: var(--muted); }
.card input {
  width: 100%;
  height: 3rem;
  margin-top: 0.5rem;
  padding-inline: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: transparent;
  color: var(--white);
  font: inherit;
}
.card input:focus { outline: none; border-color: var(--orange); }
.card .btn { height: 3rem; width: 100%; }
.card .error { margin-top: 0; color: var(--orange); font-size: 0.875rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before { animation: none !important; transition: none !important; }
}
