/* Reset & base */
*, *::before, *::after { box-sizing: border-box; }

/* White sunset gradient background with violet hacker accents */
:root {
  --violet: #8b5cf6;
  --violet-dark: #6d28d9;
  --sunset: #fff4e6;
  --beige: #f5e6d1;
  --glass: rgba(255,255,255,.22);
  --glass-border: rgba(255,255,255,.28);
  --bg: #fff;
  --text: #1a0c18;
}
html, body { height: 100%; }
html { font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial; }
body {
  margin: 0;
  padding: 0;
  color: var(--text);
  min-height: 100vh;
  /* white-to-beige sunset with violet accents for hacker vibe */
  background: linear-gradient(135deg, #fffaf0 0%, #fff3e0 40%, #f0e0ff 100%);
  background-attachment: fixed;
  background-size: cover;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
}

/* Header */
.site-header { text-align: center; padding: 1rem; }
.brand { font-weight: 900; color: var(--violet); text-shadow: 0 0 8px rgba(139,92,246,.8); }

/* Main */
main { width: 100%; }

/* Hero grid: mobile-first, two-column on larger screens */
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 1.75rem; padding: 1rem; max-width: 1100px; margin: 0 auto; align-items: center; }

/* Frosted glass content block (beige tint) */
.hero-content {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  padding: 1.5rem;
  max-width: 720px;
  margin: 0 auto;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #2b1a16;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

/* Title & subhead */
.hero-content h1 {
  font-size: clamp(1.6rem, 5vw, 2.8rem);
  margin: 0 0 0.6rem;
  line-height: 1.05;
  color: #1a0e18;
  text-shadow: 0 1px 0 rgba(255,255,255,.6);
}
.hero-content .subhead {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: #3b2b3d;
  margin: 0 0 1rem;
}

/* CTA: prominent centerpiece link (styled button) */
.cta {
  display: inline-block;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  color: #04131b;
  background: linear-gradient(135deg, #7c3aed 0%, #ff6b6b 100%);
  border: 1px solid rgba(0,0,0,.15);
  box-shadow: 0 6px 16px rgba(124,58,237,.6);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cta:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(124,58,237,.9); }
.cta:focus-visible { outline: 3px solid #7c3aed; outline-offset: 2px; }

/* Hero media (image) */
.hero-media { display: flex; justify-content: center; align-items: center; padding: 0; }
.hero-media img { width: 100%; height: auto; max-width: 720px; border-radius: 16px; box-shadow: 0 12px 28px rgba(0,0,0,.45); }

/* Footer */
.site-footer { text-align: center; padding: 1rem; }
.footer-ad {
  display: inline-block;
  font-size: 0.92rem;
  color: #ffdbe8;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  background: rgba(155, 68, 173, 0.15);
  border: 1px solid rgba(155, 68, 173, 0.4);
}
.closing-note { font-size: 0.92rem; color: rgba(30, 20, 20, 0.95); margin-top: 0.4rem; }

/* Focus styles for accessibility */
:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }

/* Desktop two-column layout with centerpiece image */
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 2rem; padding: 2rem; }
  .hero-content { padding: 1.75rem; }
  .hero-media { padding-left: 1rem; }
  .site-header { padding-top: 1rem; }
}