:root {
  --bg: #0a0a0a;
  --text: #f5f5f5;
  --muted: #a3a3a3;
  --line: #2a2a2a;
  --red: #c41e1e;
  --red-hover: #e02424;
  --input: #161616;
  --focus: #ffffff;
}

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

html, body {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: "Plus Jakarta Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px calc(48px + env(safe-area-inset-bottom));
}

.wrap {
  width: 100%;
  max-width: 560px;
  text-align: left;
}

.mark { margin-bottom: 28px; }
.mark svg { display: block; border-radius: 12px; }

h1 {
  font-size: clamp(2.4rem, 8vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.95;
  margin-bottom: 20px;
}

.tagline {
  font-size: clamp(1.05rem, 3.4vw, 1.35rem);
  font-weight: 500;
  line-height: 1.45;
  color: #e7e7e7;
  margin-bottom: 28px;
}

.features {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.01em;
  line-height: 1.6;
  margin-bottom: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.features span { color: var(--red); padding: 0 0.35em; font-weight: 700; }

form { width: 100%; }

.row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

input[type="email"] {
  flex: 1;
  min-width: 0;
  background: var(--input);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  font: inherit;
  font-size: 1rem;
  outline: none;
}

input[type="email"]::placeholder { color: #737373; }

input[type="email"]:focus {
  border-color: var(--text);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.08);
}

button {
  background: var(--red);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 14px 18px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
}

button:hover { background: var(--red-hover); }
button:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
button:disabled { opacity: 0.65; cursor: default; }

.note, .status {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.4;
}

.status.ok { color: #f5f5f5; }
.status.err { color: #f2b8b8; }

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 520px) {
  .row { flex-direction: column; }
  button { width: 100%; }
  body { padding-top: 64px; align-items: flex-start; }
}

@media (min-width: 900px) {
  .wrap { max-width: 640px; }
}
