:root {
  --bg: #ffffff;
  --bg-soft: #f4f7fa;
  --text: #232b33;
  --text-dim: #5b6572;
  --blue: #068ad0;
  --blue-dark: #0672a8;
  --green: #99c80a;
  --border: #e3e8ee;
  --shadow: rgba(6,60,90,0.10);
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.glow-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 12% 15%, rgba(6,138,208,0.06), transparent 40%),
    radial-gradient(circle at 88% 85%, rgba(153,200,10,0.08), transparent 42%);
  z-index: 0;
  pointer-events: none;
}

header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  padding: 28px clamp(20px, 6vw, 64px);
}
.logo a { display: flex; align-items: center; }
.logo img { height: 90px; width: auto; display: block; }

/* Homepage hero */
main.hero {
  flex: 1;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 20px 100px;
}

.hero-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}

.hero-logo img {
  position: relative;
  z-index: 1;
  height: clamp(200px, 350px, 400px);
  width: auto;
  
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text-dim);
  font-size: 13px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(153,200,10,0.7);
}

main.hero h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.75rem);
  line-height: 1.15;
  margin: 0 0 18px;
  max-width: 780px;
  color: var(--text);
  font-weight: 700;
}

.subtitle {
  max-width: 600px;
  color: var(--text-dim);
  font-size: clamp(15px, 2vw, 18px);
  margin-bottom: 40px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.15s ease, opacity 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.cta.primary {
  background: var(--blue-dark);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(6,138,208,0.25);
}
.cta.primary:hover { background: #055a86; transform: translateY(-2px); }
.cta.secondary {
  color: var(--text);
  border: 1px solid var(--border);
  background: #ffffff;
}
.cta.secondary:hover { border-color: var(--blue); color: var(--blue-dark); transform: translateY(-2px); }

/* Policy content pages */
main.content {
  flex: 1;
  position: relative;
  z-index: 1;
  text-align: justify;
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
  padding: 10px 24px 80px;
}

.back-link {
  display: block;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 28px;
}
.back-link:hover { color: var(--blue-dark); }

main.content h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 3px solid;
  border-image: linear-gradient(90deg, var(--blue), var(--green)) 1;
  color: var(--text);
  font-weight: 700;
  display: block;
  width: fit-content;
}
h2 { color: var(--text); margin-top: 32px; margin-bottom: 12px; font-size: 19px; }
p, li { color: var(--text-dim); font-size: 15.5px; line-height: 1.7; }
ul { padding-left: 20px; margin: 0 0 16px; }
li { margin-bottom: 10px; }
strong { color: var(--text); }
a { color: var(--blue-dark); text-decoration: none; }
a:hover { color: var(--blue); text-decoration: underline; }

.info-box {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  padding: 20px 24px;
  border-radius: 10px;
  margin-top: 40px;
}
.info-box h2 { margin-top: 0; }

pre {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 18px;
  border-radius: 10px;
  font-family: Consolas, "Courier New", monospace;
  overflow-x: auto;
  white-space: pre-wrap;
  font-size: 14px;
  line-height: 1.6;
}

/* Footer (shared across all pages) */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(153,200,10,0.22) 0%, rgba(153,200,10,0.10) 32%, var(--bg-soft) 55%, rgba(6,138,208,0.14) 100%);
  padding: 48px clamp(20px, 6vw, 64px) 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.3fr 1fr 1fr;
  gap: 36px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}
.footer-logo {
  height: 200px;
  width: auto;
  display: block;
}
.footer-col h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text);
  margin: 0 0 16px;
}
.footer-col p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 10px;
}
.footer-col a {
  display: block;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 12px;
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--blue-dark); }

.footer-bottom {
  max-width: 1100px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  color: var(--text-dim);
  font-size: 13px;
}
