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

/* Teal galaxy hacker vibe with frosted glass */
:root {
  --turquoise: #2af6ea;
  --turquoise-2: #17e5d3;
  --glass: rgba(255,255,255,0.16);
  --glass-border: rgba(255,255,255,0.28);
  --bg: #041018;
  --text: #e8fffe;
}
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: #eaffff;
  min-height: 100vh;
  background: #05131d;
  /* Teal galaxy with subtle stars and grid */
  background-image:
    radial-gradient(circle at 10% 20%, rgba(42,246,234,.8) 0 2px, transparent 2px),
    radial-gradient(circle at 70% 40%, rgba(0,255,255,.6) 0 2px, transparent 2px),
    radial-gradient(circle at 40% 70%, rgba(20,210,200,.5) 0 2px, transparent 2px),
    linear-gradient(135deg, rgba(3, 18, 23, .75), rgba(2, 14, 18, .75));
  background-blend-mode: screen;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.45;
}

/* Header */
.site-header { text-align: center; padding: 1rem; }
.brand { font-weight: 900; color: #2af6ea; text-shadow: 0 0 8px rgba(42,246,234,.9); }

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

/* Hero grid: mobile-first, two-column on large 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 */
.hero-content {
  background: rgba(255, 255, 255, 0.15);
  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: #0a1b1b;
  box-shadow: 0 8px 28px rgba(0,0,0,.25);
}

/* Title and subhead */
.hero-content h1 {
  font-size: clamp(1.6rem, 5vw, 2.8rem);
  margin: 0 0 0.6rem;
  line-height: 1.05;
  color: #002022;
  text-shadow: 0 1px 0 rgba(255,255,255,.6);
}
.hero-content .subhead {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: #0b3333;
  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, #2af6ea 0%, #0bd6c7 100%);
  border: 1px solid rgba(0,0,0,.15);
  box-shadow: 0 6px 16px rgba(0, 255, 214, 0.6);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cta:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0, 212, 210, .9); }
.cta:focus-visible { outline: 3px solid #2af6ea; 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: #c5fff8;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  background: rgba(42,246,234,.15);
  border: 1px solid rgba(42,246,234,.4);
}
.closing-note { font-size: 0.92rem; color: rgba(235,245,255,0.95); margin-top: 0.4rem; }

/* Focus styles for accessibility */
:focus-visible { outline: 3px solid #2af6ea; 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; }
}