:root {
  --navy: #0a1f44;
  --navy-light: #132d5c;
  --gold: #c9a227;
  --gold-soft: #e8d48a;
  --white: #ffffff;
  --bg: #f4f6fa;
  --text: #1a2332;
  --muted: #5c677d;
  --border: #dde3ee;
  --max: 1120px;
  --radius: 14px;
  --shadow: 0 12px 40px rgba(10, 31, 68, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover,
a:focus-visible {
  color: var(--gold);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  background: var(--navy);
  color: var(--white);
  border-bottom: 3px solid var(--gold);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(201, 162, 39, 0.45);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current='page'] {
  color: var(--gold-soft);
}

.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 55%, #1a3a6e 100%);
  color: var(--white);
  padding: 4rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}

.hero p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  max-width: 42rem;
}

.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.hero-card img {
  width: 180px;
  margin: 0 auto 1rem;
  border-radius: 24px;
}

.badge {
  display: inline-block;
  background: rgba(201, 162, 39, 0.18);
  color: var(--gold-soft);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section {
  padding: 3rem 0;
}

.section h2 {
  color: var(--navy);
  margin: 0 0 1rem;
  font-size: 1.7rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 0.5rem;
  color: var(--navy);
  font-size: 1.05rem;
}

.link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1rem;
}

.link-list a {
  font-weight: 600;
}

.muted {
  color: var(--muted);
}

.legal-page {
  padding: 2.5rem 0 3rem;
}

.legal-shell {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.legal-shell h1 {
  color: var(--navy);
  margin-top: 0;
}

.legal-shell h2 {
  color: var(--navy);
  font-size: 1.15rem;
  margin-top: 1.75rem;
}

.legal-shell h3 {
  color: var(--navy);
  font-size: 1rem;
  margin-top: 1rem;
}

.legal-shell ul,
.legal-shell ol {
  padding-left: 1.25rem;
}

.legal-shell li + li {
  margin-top: 0.35rem;
}

.callout {
  background: #f8f3df;
  border-left: 4px solid var(--gold);
  padding: 0.9rem 1rem;
  border-radius: 8px;
  margin: 1rem 0;
}

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.86);
  padding: 2rem 0;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--gold-soft);
}

@media (max-width: 860px) {
  .hero-grid,
  .grid-3,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
