/*
 * J Rock Report, coming soon page.
 *
 * One stylesheet, no build step, no framework. Dark by design rather than by
 * preference, so there is no light variant to keep in sync.
 */

:root {
  --ink:        #f4f2ef;
  --ink-soft:   #a7a2b0;
  --ink-faint:  #6f6a7a;
  --bg:         #0a0910;
  --bg-raised:  #14121d;
  --line:       #262234;
  --accent:     #e2354f;
  --accent-lit: #ff5a72;

  --font: "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* Layout ------------------------------------------------------------------ */

.stage {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px 24px;
  isolation: isolate;
}

/* The rising sun sits behind everything, cropped by the viewport. Decorative
   only, so it is aria-hidden in the markup. */
.sun {
  position: fixed;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: min(78vw, 620px);
  aspect-ratio: 1;
  transform: translate(-50%, -52%);
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    rgba(226, 53, 79, 0.30) 0%,
    rgba(226, 53, 79, 0.13) 42%,
    rgba(226, 53, 79, 0.00) 70%
  );
  filter: blur(6px);
  animation: breathe 9s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { transform: translate(-50%, -52%) scale(1); opacity: 1; }
  50%      { transform: translate(-50%, -52%) scale(1.06); opacity: 0.86; }
}

.panel {
  width: 100%;
  max-width: 560px;
  text-align: center;
}

/* Wordmark ---------------------------------------------------------------- */

.eyebrow {
  margin: 0 0 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.wordmark {
  margin: 0;
  font-size: clamp(40px, 11vw, 76px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.wordmark-j {
  color: var(--accent);
}

.wordmark-report {
  display: block;
  color: var(--ink-soft);
  font-weight: 300;
  letter-spacing: 0.02em;
}

.tagline {
  margin: 22px auto 0;
  max-width: 42ch;
  color: var(--ink-soft);
  font-size: 16px;
}

/* Signup ------------------------------------------------------------------ */

.signup {
  margin-top: 40px;
}

.signup-label {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--ink-faint);
}

.signup-row {
  display: flex;
  gap: 8px;
  max-width: 440px;
  margin: 0 auto;
}

.signup input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
  padding: 13px 16px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.signup input[type="email"]::placeholder { color: var(--ink-faint); }

.signup input[type="email"]:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(226, 53, 79, 0.22);
}

.signup button {
  flex: 0 0 auto;
  padding: 13px 22px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.08s ease;
}

.signup button:hover:not(:disabled) { background: var(--accent-lit); }
.signup button:active:not(:disabled) { transform: translateY(1px); }

.signup button:focus-visible {
  outline: 2px solid var(--accent-lit);
  outline-offset: 2px;
}

.signup button:disabled {
  opacity: 0.55;
  cursor: default;
}

/* Honeypot. Hidden from people without display:none, which some bots detect
   and skip. Kept out of the tab order and the accessibility tree too. */
.botcheck {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.status {
  margin: 14px 0 0;
  min-height: 1.4em;
  font-size: 14px;
  color: var(--ink-soft);
}

.status[data-tone="ok"]  { color: #58c98a; }
.status[data-tone="bad"] { color: var(--accent-lit); }

/* Footer ------------------------------------------------------------------ */

.foot {
  margin-top: 56px;
  font-size: 12px;
  color: var(--ink-faint);
}

.foot p { margin: 0; }

.foot a {
  color: var(--ink-faint);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.foot a:hover { color: var(--ink-soft); }

/* Motion ------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Small screens ----------------------------------------------------------- */

@media (max-width: 480px) {
  .signup-row { flex-direction: column; }
  .signup button { width: 100%; }
}
