/* Light theme styles for 5p58.org */
:root {
  --bg: #eef3ff;
  --surface: #fcfdff;
  --text: #0f172a;
  --muted: #475569;
  --border: #e5e7eb;
  --accent: #3b82f6;
  --accent-contrast: #ffffff;
  --accent-2: #0ea5e9;
  --shadow: 0 10px 30px rgba(2, 6, 23, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: linear-gradient(180deg, #dde4f7 0%, #d9e9ff 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(248, 251, 255, 0.85);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img { height: 36px; border-radius: 8px; }
.brand .brand-text { font-weight: 700; letter-spacing: 0.2px; }

.nav-links {
  display: none;
  align-items: center;
  gap: 20px;
}
.nav-links a { color: var(--muted); font-weight: 600; }
.nav-links a:hover { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform .06s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
  cursor: pointer;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-contrast); box-shadow: var(--shadow); }
.btn-primary:hover { background: #2563eb; }
.btn-outline { background: #eef4ff; color: #1e40af; border-color: #cfe0ff; }
.btn-outline:hover { background: #eef4ff; }

.burger {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
}
.burger-bars { position: relative; width: 20px; height: 2px; background: var(--text); }
.burger-bars::before, .burger-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--text);
}
.burger-bars::before { top: -6px; }
.burger-bars::after { top: 6px; }

/* Fullscreen overlay menu */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, #ffffff 0%, #f3f7ff 100%);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
  z-index: 1200;
}
.menu-overlay.open { opacity: 1; visibility: visible; pointer-events: auto; }
.menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.menu-body {
  display: grid;
  place-items: center;
  background-color: #cfe0ff;
  flex: 1;
  padding: 30px 20px;
}
.menu-grid {
  display: grid;
  gap: 16px;
}
.menu-grid a {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  text-align: center;
}
.menu-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}
.close-btn {
  width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.close-btn::before, .close-btn::after {
  content: ""; position: absolute; width: 18px; height: 2px; background: var(--text);
}
.close-btn { position: relative; }
.close-btn::before { transform: rotate(45deg); }
.close-btn::after { transform: rotate(-45deg); }

/* Hero */
.hero {
  padding: 64px 0 32px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}
.eyebrow { color: var(--accent-2); font-weight: 800; letter-spacing: .4px; text-transform: uppercase; font-size: 12px; }
.hero h1 { font-size: 40px; line-height: 1.1; margin: 10px 0 12px; }
.hero p { color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.hero-art { display: flex; align-items: center; justify-content: center; }
.hero-art img { width: clamp(280px, 36vw, 520px); height: auto; border-radius: 28px; box-shadow: var(--shadow); }

/* Sections */
section { padding: 40px 0; }
section .section-header { margin-bottom: 18px; }
h2 { font-size: 28px; margin: 0 0 8px; }
h3 { font-size: 20px; margin: 18px 0 8px; }
p { line-height: 1.7; }
ul { margin: 8px 0 16px; padding-left: 18px; }
li { margin: 6px 0; color: var(--muted); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.muted { color: var(--muted); }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
th, td { padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: left; }
th { background: #f2f6ff; color: #1f2937; font-weight: 800; }

/* FAQ */
.faq .qa { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px; box-shadow: var(--shadow); margin-bottom: 12px; }
.faq .q { font-weight: 800; }
.faq .a { color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: #ffffff; margin-top: 40px; }
.footer-inner { padding: 28px 10px; text-align: center; }
.footer-logo { display: flex; align-items: center; justify-content: center; }
.footer-logo img { height: 44px; border-radius: 8px; }
.footer-desc { color: var(--muted); max-width: 800px; margin: 12px auto; }
.copyright { color: #6b7280; font-weight: 700; }

/* Utilities */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.mobilecta {
  display: flex;
  margin-top: 0;
}
.mobilecta .btn {
  padding: 5px;
  font-size: 14px;
}
/* Responsive */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (min-width: 1025px) {
  .nav-links { display: flex; }
  .burger { display: none; }
  .menu-overlay { display: none; }
  .mobilecta {
    display: none;
  }
}
@media (max-width: 768px) {
  .cards { grid-template-columns: 1fr; }
  .menu-grid { gap: 12px; }
}



