/* ---------- Base / Theme ---------- */
:root {
  --bg: #000;          /* pure black background */
  --text: #e5e7eb;     /* gray-200 */
  --muted: #9ca3af;    /* gray-400 */
  --accent: #0ea5e9;   /* sky-500 */
  --accent-press: #0284c7; /* sky-600 */
  --border: #1f2937;   /* gray-800 */
  --card: #0a0a0a;     /* near black */
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
               "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- Layout ---------- */
.site-header, .site-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.25rem 1rem;
}

.brand {
  font-weight: 800;
  letter-spacing: .5px;
  text-decoration: none;
  color: var(--text);
  padding: .5rem .9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: linear-gradient(90deg, #3b82f6, #22c55e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent; /* gradient text */
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

/* Hero: image left / text right */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(1.2rem, 3vw, 2.5rem);
  align-items: center;
  min-height: calc(100svh - 140px); /* visible height minus header/footer approx */
}

.hero-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-media img {
  width: min(100%, 560px);
  height: auto;
  display: block;
  /* No filters or effects so your transparent image stays unchanged */
}

.hero-content {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}

h1 {
  margin: 0 0 .5rem;
  font-size: clamp(1.9rem, 2.8vw + 1rem, 3rem);
  line-height: 1.1;
}

.tagline {
  margin: 0 0 1rem;
  color: var(--muted);
}

/* Subscribe form */
.subscribe {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .6rem;
  margin: .8rem 0 1rem;
}

.subscribe input[type="email"] {
  width: 100%;
  padding: .85rem 1rem;
  border-radius: calc(var(--radius) - 4px);
  border: 1px solid var(--border);
  background: #0b0b0b;
  color: var(--text);
  outline: none;
}

.subscribe input[type="email"]::placeholder { color: #6b7280; }

.btn {
  padding: .85rem 1rem;
  border: 0;
  border-radius: calc(var(--radius) - 4px);
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.btn:hover { background: var(--accent-press); }

/* Social */
.social {
  display: inline-flex;
  gap: 1rem;
  margin-top: .25rem;
}

.social a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid transparent;
}

.social a:hover { border-color: currentColor; }

/* Footer */
.site-footer small { color: var(--muted); }

/* Screen-reader only */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); border: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr; /* stack */
    min-height: auto;
  }
  .hero-content {
    margin-top: .5rem; /* collapses below image */
  }
}
