/*  - Teal parchment base with red hacker accents and frosted glass - */

/* Root palette for teal parchment with red accent hacker vibe */
:root{
  --bg: #d8f5f0;                 /* teal parchment base */
  --card: rgba(255,255,255,0.92);
  --card-border: rgba(0,0,0,0.15);
  --text: #0b1a1a;
  --muted: #8a1a1a;               /* muted red/rose for contrast accents */
  --accent-start: #ff3a3a;        /* red gradient start */
  --accent-end: #ff1e1e;          /* red gradient end */
  --radius: 14px;
  --shadow: 0 6px 18px rgba(0,0,0,.15);
  --glow: 0 0 14px rgba(255, 30, 30, 0.5);
}

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

/* Page base */
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, #e0f7f0 0%, #d0efe6 60%, #e0f7f0 100%);
  /* teal parchment with subtle checker-like overlay */
  background-image:
    linear-gradient(45deg, rgba(255,0,0,.04) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,0,0,.04) 25%, transparent 25%);
  background-size: 20px 20px, 20px 20px;
  min-height: 100vh;
  color-scheme: light;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.4;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 12px 20px;
  background: rgba(0,0,0,.28);
  border-bottom: 1px solid rgba(255, 0, 0, .25);
  backdrop-filter: blur(2px);
}
.brand-wrap { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; }
.brand-name {
  font-weight: 900;
  color: #eafff4;
  text-shadow: 0 0 8px rgba(255,0,0,.5);
  letter-spacing: .4px;
}

/* Main container */
main { padding: 20px 16px 40px; }

/* Hero: mobile-first single column; two-column on wide screens */
.hero.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
  justify-items: center;
  min-height: calc(100vh - 110px);
}

/* Frosted glass text panel */
.hero-content {
  width: 100%;
  max-width: 680px;
  padding: 26px 28px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.92);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: var(--shadow);
  text-align: left;
}
.hero-content h1 {
  font-size: clamp(28px, 6vw, 44px);
  line-height: 1.04;
  margin: 0 0 12px;
  color: #0a0a0a;
}
.subhead {
  font-size: clamp(14px, 2.5vw, 18px);
  color: var(--muted);
  margin: 0 0 18px;
}
.cta {
  display: inline-block;
  padding: 16px 28px;
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 900;
  color: #0b0404;
  text-decoration: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-start) 0%, var(--accent-end) 100%);
  border: 1px solid rgba(0,0,0,.15);
  box-shadow: var(--glow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 12px 22px rgba(0,0,0,.28); }
.cta:focus-visible { outline: 3px solid #ffd6ff; outline-offset: 2px; }

/* Visual centerpiece image */
.hero-visual {
  width: 100%;
  max-width: 680px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-visual img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 12px 28px rgba(0,0,0,.28);
}

/* Footer */
.site-footer {
  padding: 16px;
  text-align: center;
  color: #e2e2e2;
  background: rgba(0,0,0,.25);
  border-top: 1px solid rgba(255,0,0,.25);
}
.footer-ad { font-size: 14px; margin-bottom: 6px; }
.footer-ad a {
  color: #ffd0d0;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 214, 214, .6);
}
.closing-note { font-size: 13px; color: #e6e6e6; }

/* Desktop: two-column with image as centerpiece */
@media (min-width: 900px) {
  .hero.grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: center;
  }
  .hero-content { padding: 34px; background: rgba(255,255,255,.92); }
  .cta { font-size: 20px; padding: 18px 34px; }
}

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