/* Production Soft — Coming Soon
   Zero-build, no dependencies. Accessible, responsive, and tasteful.
*/

:root {
  --bg-0: #07090f;
  --bg-1: #0b1220;
  --bg-2: #111a2b;
  --text: #e8ecf4;
  --text-dim: #c5ccda;
  --muted: #9aa3b2;
  --accent-1: #7dd3fc;
  --accent-2: #a78bfa;
  --accent-3: #34d399;
  --glass-bg: rgba(17, 26, 43, 0.48);
  --glass-border: rgba(255, 255, 255, 0.14);
  --radius: 18px;
  --shadow: 0 10px 30px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.04);
  --focus: #93c5fd;
}

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

html, body { height: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(1200px 800px at 10% 10%, #0b1220, transparent 60%),
              radial-gradient(1000px 700px at 90% 20%, #111a2b, transparent 60%),
              radial-gradient(1000px 700px at 50% 100%, #121b2e, transparent 60%),
              var(--bg-0);
  min-height: 100%;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Animated conic gradient bloom */
body::before {
  content: "";
  position: fixed;
  inset: -30vmax;
  z-index: -2;
  background: conic-gradient(from 0deg at 60% 40%,
              #0ea5e9, #a78bfa, #14b8a6, #0ea5e9);
  filter: blur(80px) saturate(130%);
  opacity: 0.24;
  animation: spin 28s linear infinite;
  transform-origin: 60% 40%;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Subtle texture overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(255,255,255,0.08) 0, rgba(255,255,255,0) 50%),
    radial-gradient(circle at 80% 90%, rgba(255,255,255,0.05) 0, rgba(255,255,255,0) 45%);
  pointer-events: none;
}

/* Reduced motion: freeze the gradient */
@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; }
}

/* Layout */
.site-header, .site-footer {
  width: 100%;
  padding: 24px clamp(16px, 3vw, 32px);
}

.site-header .brand img {
  display: block;
  height: 40px;
  width: auto;
}

.site-main {
  display: grid;
  place-items: center;
  padding: clamp(24px, 5vw, 64px);
}

.card {
  width: min(880px, 100%);
  background: var(--glass-bg);
  backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(20px, 4vw, 48px);
  position: relative;
}

.card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius) - 1px);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0));
  pointer-events: none;
}

/* Content */
.status {
  display: inline-block;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  color: var(--text);
  background: linear-gradient(90deg, rgba(125,211,252,0.25), rgba(167,139,250,0.25));
  border: 1px solid rgba(255,255,255,0.16);
  padding: 6px 10px;
  border-radius: 999px;
  margin: 0 0 10px 0;
}

h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  margin: 8px 0 12px;
  letter-spacing: -0.02em;
}

.lede {
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--text);
  margin: 0 0 18px 0;
}

.bullets {
  margin: 0 0 18px 18px;
  padding: 0;
}
.bullets li {
  margin: 10px 0;
  color: var(--text-dim);
}

.button {
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
  color: #071018;
  background: linear-gradient(180deg, #7dd3fc, #64c3f0);
  padding: 12px 16px;
  border-radius: 12px;
  border: 0;
  box-shadow: 0 6px 20px rgba(125,211,252,0.35), inset 0 1px 0 rgba(255,255,255,0.4);
  transition: transform 120ms ease, filter 200ms ease;
}
.button:hover,
.button:focus-visible { transform: translateY(-1px); filter: brightness(1.02); }
.button:active { transform: translateY(0); }

.contact { margin: 16px 0 8px 0; }

.fineprint {
  margin: 12px 0 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.fineprint .haiden {
  color: var(--text-dim);
  font-weight: 600;
}

.site-footer {
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

/* Confetti canvas fills the screen but ignores pointer events */
#confetti {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Ensure content is above confetti */
.site-header, .site-main, .site-footer { position: relative; z-index: 1; }

/* Accessibility + interactions */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  width: auto; height: auto;
  padding: 10px 12px;
  background: #111827;
  color: white;
  border-radius: 10px;
  outline: 3px solid var(--focus);
  z-index: 2;
}

/* Focus ring */
:where(a, button, [tabindex="0"]):focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 10px;
}

/* Light mode fallback if preferred */
@media (prefers-color-scheme: light) {
  :root {
    --text: #0a0d12;
    --text-dim: #1f2a3a;
    --muted: #4b5563;
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(0,0,0,0.08);
  }
  body { background: radial-gradient(1200px 800px at 10% 10%, #e6f1ff, transparent 60%),
                 radial-gradient(1000px 700px at 90% 20%, #eef6ff, transparent 60%),
                 #f3f7ff; }
  .button { color: #071018; }
}

/* Safe-area padding for notched devices */
@supports (padding: max(0px)) {
  .site-header, .site-footer, .site-main {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }
}
