/* 741a569a.css - blue parchment background with coral hacker theme
   Responsive mobile-first, frosted glass hero, accessible focus styles. */

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

/* Base layout */
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: #0a1a2b;
  /* blue parchment vibe with soft texture hints */
  background: linear-gradient(135deg, #b9ddff 0%, #8bc6ff 60%, #60a6ff 100%);
  background-blend-mode: overlay;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* subtle parchment-like noise */
  background-image:
    linear-gradient(135deg, rgba(255,255,255,.15) 0 60%, rgba(255,255,255,0) 60%),
    radial-gradient(circle at 0 0, rgba(255,255,255,.08) 0 2px, transparent 2px);
  background-size: 60px 60px, 100% 100%;
}

/* Color palette */
:root {
  --coral: #ff5a5f;
  --coral-dark: #e0494a;
  --glass: rgba(255, 255, 255, 0.92);
  --text: #0b1b2b;
  --shadow: rgba(0,0,0,.15);
  --focus: #fff;
}

/* Header */
.site-header { padding: 12px; text-align: center; }
.brand {
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--coral);
  text-shadow: 0 0 12px rgba(255, 90, 95, 0.6);
}

/* Main content wrapper */
main { display: block; }

/* Hero section - frosted glass, mobile-first layout with grid */
.hero {
  width: min(1000px, 92%);
  margin: 22px auto;
  padding: 22px;
  border-radius: 14px;
  background: var(--glass);
  backdrop-filter: saturate(125%) blur(6px);
  -webkit-backdrop-filter: saturate(125%) blur(6px);
  border: 1px solid rgba(255,255,255,.85);
  box-shadow: 0 22px 44px rgba(0,0,0,.15);
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 12px;
  text-align: center;
}

/* Title styling (single H1) */
.hero > h1 {
  margin: 0;
  font-size: 1.6rem;
  color: #0e1a2a;
  text-shadow: 0 0 8px rgba(255, 90, 95, 0.25);
}

/* Centerpiece image */
.hero-media { width: 100%; display: flex; justify-content: center; }
.hero-media img {
  width: 100%;
  max-width: 720px;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
  background: #fff;
  display: block;
}

/* Subhead and CTA */
.subhead { font-size: 1.05rem; color: #2b2b2b; margin: 0; }
.cta {
  display: inline-block;
  margin: 6px auto 0;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 800;
  color: #04152a;
  text-decoration: none;
  /* coral gradient to emphasize CTA as centerpiece */
  background: linear-gradient(135deg, #fff 0%, #ffd6d6 60%, #ff8a8a 100%);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 8px 22px rgba(255, 90, 95, 0.5);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255, 90, 95, 0.65); }
.cta:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Footer */
.site-footer { text-align: center; padding: 14px; }
.footer-ad a {
  display: inline-block;
  font-size: 0.85rem;
  color: #04152a;
  padding: 6px 10px;
  border-radius: 6px;
  text-decoration: none;
  background: linear-gradient(135deg, #c8f0ff 0%, #7bd0ff 100%);
}
.gratitude { margin-top: 8px; color: #555; }

/* Desktop layout: image to the right, text left */
@media (min-width: 860px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    text-align: left;
    align-items: center;
  }
  .hero > h1 { font-size: 2rem; }
  .subhead { font-size: 1.08rem; }
  .cta { justify-self: start; }
  .hero-media { justify-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  .cta { transition: none; }
  .hero { transition: none; }
}