/* violet low-poly triangles background with beige hacker theme and frosted glass */
/* Mobile-first, single stylesheet */

:root{
  --bg: #1a0a2a;
  --bg-top: rgba(0,0,0,.25);
  --beige: #f5e6cb;
  --text: #f6f0e0;
  --muted: #e6d8c9;
  --glass: rgba(255,255,255,.08);
  --glass-strong: rgba(255,255,255,.18);
  --shadow: rgba(0,0,0,.5);
  --focus: rgba(255, 214, 0, 0.95);
  --cta-start: #ffd57a;
  --cta-end: #f59a00;
}

/* turquoise-like data-URI violet low-poly overlay for accessibility */
:root { --bg-overlay:
  url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='600' height='600' viewBox='0 0 600 600'>\
<polygon points='0,420 120,480 0,520' fill='%237a5bd2'/>\
<polygon points='120,480 240,420 240,500' fill='%23b07bd0'/>\
<polygon points='0,180 120,260 60,320' fill='%23a57bdc'/>\
<polygon points='240,360 360,420 420,360' fill='%23c870e3'/>\
<polygon points='260,140 360,180 320,260' fill='%23b26bd9'/>\
<polygon points='420,120 600,60 600,180' fill='%23d07bdc'/>\
<polygon points='320,260 420,360 600,300' fill='%23a160d6'/>\
</svg>"); } /* end bg-overlay */

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

html, body { height: 100%; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--text);
  background: #1a0a2a;
  background-image: var(--bg-overlay), linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.25));
  background-position: center;
  background-size: 100% 100%, cover;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.4;
  overflow-x: hidden;
}

/* Header - frosted glass, beige/beige-tinted text */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: center;
  background: rgba(0,0,0,.38);
  border-bottom: 1px solid rgba(255, 214, 130, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.brand {
  font-weight: 900;
  color: #f6e8d3;
  text-shadow: 0 0 12px rgba(255, 214, 130, 0.9);
  letter-spacing: .5px;
  font-size: 1.05rem;
}

/* Layout container */
main { width: 100%; flex: 1 1 auto; }

/* Hero section grid (image centerpiece with content) */
.hero { padding: 2rem 1rem; display: flex; justify-content: center; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: center;
  width: 100%;
  max-width: 1100px;
  padding: 0 1rem;
}
.hero-image {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 14px 40px rgba(0,0,0,.5);
  image-rendering: crisp-edges;
}
.hero-content {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: 1.25rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--text);
}
.hero-content h1 {
  font-size: 1.9rem;
  line-height: 1.15;
  margin: 0;
  color: #fff;
  text-shadow: 0 0 8px rgba(0,0,0,.25);
}
.hero-content h2 {
  font-size: .95rem;
  font-weight: 500;
  color: #f3e4d4;
  margin: 0;
  opacity: .95;
}
.cta {
  display: inline-block;
  align-self: flex-start;
  padding: 0.95rem 1.25rem;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  color: #0a0a04;
  background: linear-gradient(135deg, var(--cta-start) 0%, var(--cta-end) 60%, #e29c00 100%);
  box-shadow: 0 6px 16px rgba(255, 208, 87, 0.6);
  border: 1px solid rgba(0,0,0,.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(255,208,87,.8); }
.cta:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Two-column layout on larger screens to emphasize the center image as the centerpiece */
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 2rem; }
  .hero-content { padding: 2rem; }
  .hero-content h1 { font-size: 2.25rem; }
  .hero-content h2 { font-size: 1.02rem; }
  .hero-image { border-radius: 16px; }
}

/* Footer with small advertisement and closing note */
.site-footer {
  padding: 1rem;
  text-align: center;
  font-size: 0.92rem;
  color: #efe7d9;
  background: rgba(0,0,0,.5);
  border-top: 1px solid rgba(255, 214, 130, 0.25);
}
.advertisement {
  color: #f3e5cd;
  margin-bottom: .25rem;
}
.advertisement a {
  color: #ffd47a;
  font-weight: 700;
  text-decoration: none;
}
.advertisement a:hover { text-decoration: underline; }
.thank-you { margin: .25rem 0; color: #f9f4e6; }

/* Focus styles for accessibility for links */
a:focus-visible {
  outline: 3px solid rgba(255, 214, 0, 0.95);
  outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .cta { transition: none; }
  .cta:hover { transform: none; }
}