/*
  Theraballs Coming Soon styles
  - Modern, responsive, accessible
  - No framework; system font stack
*/

:root {
  --bg: #0b0f14;
  --surface: #0f172a; /* slate-900 */
  --text: #e5e7eb; /* gray-200 */
  --muted: #9ca3af; /* gray-400 */
  --primary: #0ea5e9; /* sky-500 */
  --primary-contrast: #041019;
  --ring: rgba(14, 165, 233, 0.5);
  --shadow: rgba(2, 6, 23, 0.5);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f8fafc;
    --surface: #ffffff;
    --text: #0f172a;
    --muted: #475569;
    --primary: #0284c7;
    --primary-contrast: #ffffff;
    --ring: rgba(2, 132, 199, 0.35);
    --shadow: rgba(2, 6, 23, 0.07);
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
    Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(1000px 600px at 80% -10%, rgba(14, 165, 233, 0.15), transparent 60%),
    radial-gradient(800px 500px at -10% 110%, rgba(34, 197, 94, 0.12), transparent 60%),
    var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100dvh;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 8px 12px;
  background: var(--surface);
  color: var(--text);
  outline: 2px solid var(--primary);
  border-radius: 8px;
}

.site-header {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 20px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.brand-text {
  font-weight: 700;
  letter-spacing: 0.2px;
  font-size: 1.05rem;
  text-transform: lowercase;
}

.hero {
  display: grid;
  place-items: center;
  padding: 40px 20px;
}

.card {
  width: 100%;
  max-width: 720px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01))
      padding-box,
    linear-gradient(180deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.08)) border-box;
  border: 1px solid rgba(148, 163, 184, 0.18);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 10px 30px var(--shadow);
}

h1 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.15;
}

.tagline {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.125rem);
}

.cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  --btn-shadow: 0 8px 20px rgba(14, 165, 233, 0.35);
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--primary), color-mix(in oklab, var(--primary), black 12%));
  color: var(--primary-contrast);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.2px;
  box-shadow: var(--btn-shadow);
  transition: transform 120ms ease, box-shadow 200ms ease, filter 200ms ease;
}

.button:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
}

.button:active {
  transform: translateY(0);
  filter: brightness(0.98);
}

.button:focus-visible {
  outline: none;
  box-shadow: var(--btn-shadow), 0 0 0 4px var(--ring);
}

.helptext {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 20px 40px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer a {
  color: inherit;
}

@media (prefers-reduced-motion: reduce) {
  .button {
    transition: none;
  }
}


