:root {
  --charcoal: #0E1014;
  --surface: #1A1D24;
  --amber: #E0863D;
  --amber-soft: rgba(224, 134, 61, 0.14);
  --text: #F2F2F2;
  --muted: rgba(242, 242, 242, 0.60);
  --border: rgba(242, 242, 242, 0.12);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  min-height: 100%;
  background: var(--charcoal);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
               "PT Sans", "Inter", system-ui, sans-serif;
  font-feature-settings: "ss01", "kern";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(ellipse 70% 50% at 50% 25%, var(--amber-soft), transparent 65%),
    linear-gradient(180deg, var(--charcoal) 0%, #07080B 100%);
}
main {
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
}
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 56px;
}
.logo-mark {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--amber);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--amber);
}
.logo-mark svg { width: 28px; height: 28px; }
.logo-text {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 36px;
  background: rgba(255, 255, 255, 0.02);
}
.status-dot {
  width: 8px; height: 8px;
  background: var(--amber);
  border-radius: 50%;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
h1 {
  font-size: clamp(40px, 9vw, 72px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.subtitle {
  font-size: clamp(15px, 2.4vw, 17px);
  color: var(--muted);
  font-weight: 400;
  line-height: 1.55;
  margin-bottom: 48px;
  max-width: 420px;
}
form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
input[type="email"] {
  flex: 1 1 240px;
  min-width: 0;
  padding: 14px 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 10px;
  font-size: 16px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease;
}
input[type="email"]:focus { border-color: var(--amber); }
input[type="email"]::placeholder { color: rgba(242, 242, 242, 0.38); }
button {
  padding: 14px 24px;
  border: 1px solid var(--amber);
  background: var(--amber);
  color: var(--charcoal);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.15s ease;
  letter-spacing: 0.01em;
}
button:hover { opacity: 0.88; }
button:disabled { opacity: 0.5; cursor: not-allowed; }
.msg {
  min-height: 22px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 48px;
}
.msg.ok { color: var(--amber); }
.msg.err { color: #F2A0A0; }
footer {
  font-size: 12px;
  color: rgba(242, 242, 242, 0.38);
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  line-height: 1.7;
}
a { color: var(--muted); text-decoration: none; }
a:hover { color: var(--amber); }
