/* Beige radial gradient + teal hacker theme with frosted glass */

/* Color palette */
:root{
  --beige-1: #f7ecd5;
  --beige-2: #edd9bb;
  --teal-1: #2ee5c8;
  --teal-2: #0b8a7a;
  --text: #0b1a14;
  --muted: #5a8f87;
  --card: rgba(255,255,255,.42);
  --ring: rgba(46, 226, 180, .6);
  --radius: 14px;
  --shadow: 0 10px 28px rgba(0,0,0,.25);
}

/* Reset */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }

/* Background: beige radial gradient with subtle grid overlay (beige paper) */
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--text);
  background: linear-gradient(135deg, var(--beige-1) 0%, var(--beige-2) 100%);
  background-image:
    linear-gradient(to right, rgba(0,0,0,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,.04) 1px, transparent 1px);
  background-size: 20px 20px, 20px 20px;
  background-attachment: fixed;
  color-scheme: dark;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}

/* Subtle glow overlay for depth */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 60% 20%, rgba(46,226,180,.08) 0 140px, transparent 140px);
  mix-blend-mode: overlay;
  opacity: .9;
  z-index: 0;
}

/* Header: frosted glass with teal accent */
.site-header {
  position: sticky;
  top: 0;
  z-index: 2;
  text-align: center;
  padding: 0.65rem 1rem;
  background: rgba(255,255,255,.28);
  border-bottom: 1px solid rgba(0,0,0,.15);
  backdrop-filter: blur(6px);
}
.brand {
  font-weight: 800;
  color: #0a6f66;
  text-shadow: 0 0 8px rgba(46,226,180,.6);
}

/* Layout center container */
main {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 120px);
  position: relative;
  z-index: 1;
}

/* Frosted glass hero block */
.hero {
  width: 100%;
  max-width: 900px;
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid rgba(46,226,180,.4);
  background: rgba(255,255,255,.40);
  backdrop-filter: blur(8px) saturate(125%);
  -webkit-backdrop-filter: blur(8px) saturate(125%);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1.25rem;
  text-align: center;
}

/* Title and subhead with teal glow */
.hero h1 {
  font-size: clamp(1.8rem, 4vw + 1rem, 3rem);
  margin: 0;
  color: #0b1a14;
  text-shadow: 0 0 12px rgba(46,226,180,.9);
}
.subhead {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--muted);
  margin: 0.25rem 0 0;
}

/* Media grid: image + CTA */
.hero-media {
  display: grid;
  gap: 20px;
  align-items: center;
  justify-items: center;
}
.hero-media img {
  width: min(92%, 720px);
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.25);
  background: rgba(0,0,0,.18);
  box-shadow: 0 14px 38px rgba(0,0,0,.6);
}
.cta {
  display: inline-block;
  padding: 14px 28px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0b0b0b;
  text-decoration: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cta-start) 0%, var(--cta-end) 100%);
  border: 1px solid rgba(0,0,0,.25);
  box-shadow: 0 8px 22px rgba(0,0,0,.45);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.55); }
.cta:focus { outline: none; box-shadow: 0 0 0 4px var(--ring); }

/* Footer block */
footer {
  padding: 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  border-top: 1px solid rgba(0,0,0,.15);
  margin-top: 2rem;
  background: rgba(0,0,0,.28);
  backdrop-filter: blur(2px);
}
.footer-ad a {
  color: #9affc4;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,.25);
  background: rgba(0,0,0,.18);
}
.gratitude { margin-top: 6px; }

/* Accessibility focus for CTA */
a.cta:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(0, 255, 128, 0.65);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* Responsive tweaks for larger screens */
@media (min-width: 768px) {
  .hero { padding: 2rem; }
  .hero-media { gap: 28px; }
  .hero-media img { width: auto; max-width: 760px; }
}