:root {
  --navy: #0f2540;
  --navy-light: #1b3a5e;
  --accent: #2f7de1;
  --accent-dark: #1f5fb8;
  --ink: #1d2733;
  --muted: #5b6b7d;
  --line: #e3e9f0;
  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  height: 28px;
  width: auto;
  display: block;
}

@media (max-width: 560px) {
  .brand img { height: 22px; }
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a:hover { color: var(--accent); }

.nav-links a.btn-support {
  color: #fff;
  background: var(--accent);
  padding: 8px 18px;
  border-radius: 8px;
  transition: background 0.15s ease;
}

.nav-links a.btn-support:hover { background: var(--accent-dark); color: #fff; }

/* Hero */
.hero {
  background: var(--navy) url('/assets/hero-bg.svg') center / cover no-repeat;
  color: #fff;
  padding: 96px 0 104px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 780px;
  margin: 0 auto 20px;
}

.hero p {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: #c3d3e6;
  max-width: 640px;
  margin: 0 auto 36px;
}

.hero .cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 10px;
  transition: background 0.15s ease;
}

.hero .cta:hover { background: var(--accent-dark); }

.hero .cta.secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  margin-left: 12px;
}

.hero .cta.secondary:hover { background: rgba(255, 255, 255, 0.08); }

/* Sections */
section { padding: 72px 0; }

section.soft { background: var(--bg-soft); }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-head h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 750;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin-bottom: 12px;
}

.section-head p { color: var(--muted); font-size: 1.05rem; }

/* Feature grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.feature {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
}

.feature .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #e8f1fc;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature h3 {
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--navy);
  margin-bottom: 8px;
}

.feature p { color: var(--muted); font-size: 0.95rem; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-grid h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 750;
  color: var(--navy);
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}

.about-grid p { color: var(--muted); margin-bottom: 14px; }

@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* Cards (support page) */
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 24px;
}

.card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.card p { color: var(--muted); margin-bottom: 10px; }

.card a { color: var(--accent); font-weight: 600; text-decoration: none; }
.card a:hover { text-decoration: underline; }

.contact-email {
  display: inline-block;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
  margin: 6px 0 4px;
}

/* Page header (interior pages) */
.page-head {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: 56px 0;
}

.page-head h1 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.page-head p { color: var(--muted); font-size: 1.05rem; }

/* Prose (privacy page) */
.prose { max-width: 760px; }

.prose h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin: 36px 0 12px;
}

.prose h3 {
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--navy);
  margin: 24px 0 8px;
}

.prose p, .prose li { color: var(--ink); margin-bottom: 12px; }

.prose ul { padding-left: 24px; margin-bottom: 16px; }

.prose li { margin-bottom: 6px; }

.prose a { color: var(--accent); }

.prose .updated { color: var(--muted); font-size: 0.9rem; }

/* FAQ */
.faq details {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 22px;
  margin-bottom: 12px;
  background: var(--bg);
}

.faq summary {
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}

.faq details p { color: var(--muted); margin-top: 10px; }

/* Footer */
footer {
  background: var(--navy);
  color: #a9bcd2;
  padding: 40px 0;
  font-size: 0.92rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

footer a { color: #d6e2f0; text-decoration: none; }
footer a:hover { color: #fff; }

.footer-links { display: flex; gap: 24px; }

@media (max-width: 560px) {
  .nav-links { gap: 16px; }
  .nav-links a:not(.btn-support) { display: none; }
  .hero { padding: 64px 0 72px; }
  .hero .cta.secondary { margin-left: 0; margin-top: 12px; }
}
