:root {
  --primary: #1e52a1;
  --accent: #ffc82f;
  --bg: #eaeefb;
  --text: #1a1a1a;
  --text-muted: #5c6470;
  --border: #e5e8ec;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

a {
  color: var(--primary);
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */
.nav-inner {
  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;
}

.nav-cta {
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 18px;
  border-radius: 8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(30, 82, 161, 0.25);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
  align-items: center;
  padding: 64px 0 80px;
}

.hero-content {
  grid-column: span 6;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 20px;
  color: var(--text);
}

.hero-content h1 span {
  color: var(--primary);
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin: 0 0 32px;
  max-width: 42ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.cta {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 16px 32px;
  border-radius: 10px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30, 82, 161, 0.25);
}

.cta-outline {
  display: inline-block;
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 14.5px 32px;
  border-radius: 10px;
  transition: background 0.15s ease, color 0.15s ease;
}

.cta-outline:hover {
  background: var(--text);
  color: #fff;
}

.hero-visual {
  grid-column: span 6;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-card {
  width: 100%;
  max-width: 420px;
  border-radius: 12px;
  overflow: hidden;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Footer */
.site-footer {
  padding: 24px 0 40px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

.site-footer p {
  margin: 0;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.site-footer p a {
  color: var(--primary);
  text-decoration: none;
}

.site-footer p a:hover {
  color: var(--primary);
}

@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 32px 0;
  }

  .hero-content,
  .hero-visual {
    grid-column: span 1;
  }

  .hero-visual {
    order: -1;
  }

  .hero-content p {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }
}

/* Legal pages */
.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

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

.legal-header .brand img {
  height: 28px;
  width: auto;
}

.legal-header .back {
  text-decoration: none;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.legal-content h1 {
  font-size: 2rem;
  margin-bottom: 4px;
}

.legal-content .updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 40px;
}

.legal-content h2 {
  color: var(--primary);
  font-size: 1.25rem;
  margin-top: 40px;
}

.legal-content p,
.legal-content li {
  color: var(--text);
  font-size: 1rem;
}

.legal-content a {
  color: var(--primary);
}
