/* Theme variables */

:root {
  --bg: #050608;
  --bg-soft: #10131a;
  --bg-card: #151925;
  --accent: #2b7cf6;
  --accent-soft: rgba(43, 124, 246, 0.15);
  --text-main: #f6f7fb;
  --text-muted: #a8b0c7;
  --border-soft: rgba(255, 255, 255, 0.06);
  --radius-lg: 18px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.55);
}

body[data-theme="light"] {
  --bg: #f1f3f8;
  --bg-soft: #ffffff;
  --bg-card: #ffffff;
  --accent: #1f5fd6;
  --accent-soft: rgba(12, 93, 232, 0.1);
  --text-main: #162033;
  --text-muted: #4f5a73;
  --border-soft: rgba(0, 0, 0, 0.06);
  --shadow-soft: 0 10px 28px rgba(20, 35, 75, 0.18);
}

/* Global reset */

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

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #141a28 0, #050608 55%);
  color: var(--text-main);
  line-height: 1.6;
  transition: background 0.25s ease, color 0.25s ease;
}

body[data-theme="light"] {
  background: radial-gradient(circle at top, #ffffff 0, #f1f3f8 55%);
}

/* Header / Hero */

.site-header {
  border-bottom: 1px solid var(--border-soft);
  padding: 32px 18px 12px;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.hero-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-logo {
  flex: 0 0 210px;
  display: flex;
  justify-content: center;
}

.hero-logo img {
  max-width: 210px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.7));
}

body[data-theme="light"] .hero-logo img {
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.35));
}

.hero-text {
  flex: 1 1 320px;
  min-width: 0;
}

.hero-tagline {
  margin: 0 0 6px;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-text h1 {
  margin: 0 0 8px;
  font-size: clamp(2.1rem, 2.3rem + 0.7vw, 2.6rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-subtitle {
  margin: 0 0 18px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.hero-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nav-chip {
  font-size: 0.8rem;
  text-decoration: none;
  color: var(--text-main);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--accent-soft);
  background: rgba(5, 8, 16, 0.9);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.08s ease, color 0.18s ease;
}

body[data-theme="light"] .nav-chip {
  background: #f5f7fc;
  backdrop-filter: none;
}

.nav-chip:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  transform: translateY(-1px);
}

/* Theme toggle button */

.theme-toggle {
  border: 1px solid var(--border-soft);
  background: rgba(5, 8, 16, 0.9);
  cursor: pointer;
  margin-left: auto;
  border-radius: 999px;
  width: 48px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.08s ease;
}

body[data-theme="light"] .theme-toggle {
  background: #ffffff;
  box-shadow: 0 6px 14px rgba(23, 41, 82, 0.2);
}

.theme-toggle:hover {
  transform: translateY(-1px);
}

.theme-icon {
  position: absolute;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.theme-icon-dark {
  opacity: 1;
  transform: translateY(0);
}

body[data-theme="light"] .theme-icon-dark {
  opacity: 0;
  transform: translateY(-6px);
}

body[data-theme="light"] .theme-icon-light {
  opacity: 1;
  transform: translateY(0);
}

/* Main content */

.content {
  max-width: 960px;
  margin: 24px auto 40px;
  padding: 0 18px 10px;
}

.policy-card {
  background: linear-gradient(135deg, rgba(21, 25, 37, 0.98), rgba(7, 10, 18, 0.98));
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  padding: 20px 20px 18px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.08s ease;
}

body[data-theme="light"] .policy-card {
  background: linear-gradient(135deg, #ffffff, #f4f6fb);
}

.policy-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(43, 124, 246, 0.1), transparent 55%);
  pointer-events: none;
}

.policy-card:hover {
  transform: translateY(-1px);
}

.policy-card h2 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body[data-theme="light"] .policy-card h2 {
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

.policy-card p {
  position: relative;
  margin: 8px 0;
  color: var(--text-muted);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border-soft);
  padding: 12px 18px 18px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: radial-gradient(circle at bottom, #0c101b 0, #050608 60%);
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

body[data-theme="light"] .site-footer {
  background: radial-gradient(circle at bottom, #dde3f4 0, #f2f4fb 60%);
}

/* Responsive tweaks */

@media (max-width: 720px) {
  .site-header {
    padding-top: 22px;
  }

  .hero-inner {
    align-items: flex-start;
  }

  .hero-logo {
    flex: 0 0 auto;
  }

  .hero-text {
    text-align: left;
  }

  .policy-card {
    padding: 16px 15px 14px;
  }

  .theme-toggle {
    margin-left: 0;
  }
}
