/* gray polka dots background and magenta hacker theme with frosted glass */

/* Core palette and reset */
:root{
  --bg: #f1f1f1;
  --text: #111111;
  --muted: #6b3a60;
  --mag: #ff2bd9;
  --mag-dark: #c012a6;
  --glass: rgba(255,255,255,.12);
  --stroke: rgba(255,0,128,.35);
  --radius: 14px;
  --shadow: 0 12px 28px rgba(0,0,0,.25);
}
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; }
html { font-size: 16px; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: var(--text);
  /* gray dots with magenta accents */
  background: #f0f0f0;
  background-image:
    radial-gradient(circle, rgba(255,0,128,.25) 1px, transparent 1px),
    radial-gradient(circle, rgba(255,0,128,.25) 1px, transparent 1px);
  background-size: 12px 12px, 12px 12px;
  background-position: 0 0, 6px 6px;
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.6;
  color-scheme: light;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }

/* Layout container */
.container { width: 100%; max-width: 1020px; margin: 0 auto; padding: 0 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 5;
  backdrop-filter: blur(6px);
  background: rgba(255,255,255,.75);
  border-bottom: 1px solid rgba(255,0,128,.25);
}
.site-header .brand {
  display: inline-block;
  padding: .75rem 0;
  font-weight: 800;
  color: #0b0b0b;
  text-shadow: 0 0 8px rgba(255,0,128,.8);
  letter-spacing: .4px;
}

/* Main area */
main { padding: 1.25rem 0 2rem; }

/* Hero (glass card) */
.hero { display: grid; place-items: center; padding: 1rem; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: center;
  justify-items: center;
  text-align: center;
  padding: 1rem;
  width: 100%;
  max-width: 1000px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,0,128,.35);
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-media img {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 12px;
  display: block;
  box-shadow: 0 14px 34px rgba(0,0,0,.35);
}
.hero-copy { text-align: left; padding: 0 1rem; width: 100%; max-width: 680px; }
.hero-copy h1 { font-size: 1.6rem; margin: 0.25rem 0 0.5rem; line-height: 1.15; color: #111; }
.subhead { color: rgba(17, 17, 17, .9); font-size: 1.05rem; }

/* CTA */
.cta-hero {
  display: inline-block;
  margin-top: 0.9rem;
  padding: 0.8rem 1.25rem;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff2bd9 0%, #ff4dbe 50%, #1e8aff 100%);
  color: #04150a;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cta-hero:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(0,0,0,.4); }
.cta-hero:focus-visible {
  outline: 3px solid rgba(255,0,128,.9);
  outline-offset: 2px;
}
.hero-note { display: none; }

/* Footer */
.site-footer { padding: 1rem; text-align: center; color: rgba(17,17,17,.92); }
.footer-ad a {
  display: inline-block;
  padding: .25rem .6rem;
  border-radius: 6px;
  background: rgba(255,0,128,.25);
  color: #1a0b0b;
  font-weight: 700;
  border: 1px solid rgba(255,0,128,.5);
}
.closing-note { margin-top: .75rem; color: #2b2b2b; }

/* Focus styles */
:focus { outline: none; }
:focus-visible { outline: 3px solid rgba(0, 120, 255, .9); outline-offset: 2px; }

/* Responsive grid (mobile-first) */
@media (min-width: 720px) {
  .hero-grid {
    grid-template-columns: 1fr 1.4fr 0.6fr;
    text-align: left;
    align-items: center;
  }
  .hero-media { justify-self: center; grid-column: 1; }
  .hero-copy { grid-column: 2; align-self: center; }
  .cta-hero { grid-column: 3; justify-self: end; align-self: center; }
}
@media (min-width: 1100px) {
  .hero-copy h1 { font-size: 2rem; }
}