:root {
  color-scheme: light;
  --primary: #071a33;
  --blue: #1769e0;
  --red: #c51d2f;
  --gold: #c89435;
  --ink: #12213a;
  --muted: #647089;
  --line: #d9e2ef;
  --soft: #eef5ff;
  --surface: #ffffff;
  --background: #f6f9fd;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(217, 226, 239, 0.8);
  background: rgba(246, 249, 253, 0.9);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(200, 148, 53, 0.5);
}

.brand span {
  display: block;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.nav-links a {
  text-decoration: none;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--primary);
  font-weight: 850;
  text-decoration: none;
}

.button.primary {
  border-color: var(--blue);
  background: var(--blue);
  color: white;
}

.hero {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 36px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--primary);
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 0.96;
  letter-spacing: 0;
}

.lead {
  max-width: 660px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-visual {
  min-height: 430px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    linear-gradient(140deg, rgba(23, 105, 224, 0.12), rgba(197, 29, 47, 0.08)),
    var(--surface);
  box-shadow: 0 24px 60px rgba(7, 26, 51, 0.08);
}

.hero-visual img {
  width: min(82%, 420px);
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 28px;
  box-shadow: 0 18px 42px rgba(7, 26, 51, 0.12);
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
}

.section h2 {
  margin: 0 0 16px;
  color: var(--primary);
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 22px;
  box-shadow: 0 14px 36px rgba(7, 26, 51, 0.05);
}

.card h3 {
  margin: 10px 0 8px;
  color: var(--primary);
}

.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--soft);
  color: var(--blue);
  font-size: 22px;
  font-weight: 900;
}

.legal-layout {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.legal-doc {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: clamp(22px, 4vw, 42px);
}

.legal-doc h1 {
  font-size: clamp(34px, 4vw, 52px);
}

.legal-doc h2 {
  margin-top: 32px;
  color: var(--primary);
}

.legal-doc p,
.legal-doc li {
  color: var(--muted);
}

.notice {
  margin: 22px 0;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid rgba(200, 148, 53, 0.4);
  background: rgba(200, 148, 53, 0.1);
  color: var(--primary);
  font-weight: 750;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

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

.footer-links a {
  text-decoration: none;
  font-weight: 750;
}

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 36px;
  }

  .hero-visual {
    min-height: 320px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }
}
