* {
  box-sizing: border-box;
}

:root {
  --bg: #f5f7fa;
  --text: #111827;
  --muted: #5f6b7a;
  --dark: #101820;
  --line: #d9e1ea;
  --accent: #f3c400;
  --accent-dark: #111827;
  --card: #ffffff;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  max-width: 780px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.site-logo {
  width: 86px;
  height: 48px;
  object-fit: contain;
  display: block;
}

nav {
  display: flex;
  gap: 24px;
}

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

nav a:hover {
  color: var(--text);
}

.hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.96), rgba(255,255,255,0.82), rgba(255,255,255,0.52)),
    repeating-linear-gradient(0deg, rgba(16,24,32,0.055) 0, rgba(16,24,32,0.055) 1px, transparent 1px, transparent 48px),
    repeating-linear-gradient(90deg, rgba(16,24,32,0.055) 0, rgba(16,24,32,0.055) 1px, transparent 1px, transparent 48px);
}

.hero-bg::after {
  content: "";
  position: absolute;
  right: -80px;
  top: 120px;
  width: 650px;
  height: 380px;
  border: 2px solid rgba(31,122,140,0.25);
  border-radius: 28px;
  transform: rotate(-8deg);
  background:
    linear-gradient(135deg, transparent 0 30%, rgba(31,122,140,0.08) 30% 31%, transparent 31% 60%, rgba(31,122,140,0.08) 60% 61%, transparent 61%),
    rgba(255,255,255,0.25);
}

.hero-content {
  position: relative;
  max-width: 820px;
  padding: 80px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

h1, h2, h3 {
  line-height: 1.12;
  margin: 0;
}

h1 {
  font-size: clamp(2.35rem, 5.4vw, 4.75rem);
  max-width: 920px;
  letter-spacing: -0.06em;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  letter-spacing: -0.04em;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.hero-text {
  font-size: 1.18rem;
  color: var(--muted);
  max-width: 760px;
  margin: 26px 0 0;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 800;
  transition: 0.2s ease;
}

.btn.primary {
  background: var(--accent-dark);
  color: white;
}

.btn.primary:hover {
  background: #000;
}

.btn.secondary {
  background: white;
  color: var(--text);
  border: 1px solid var(--line);
}

.section {
  padding: 90px 0;
}

.section h2 + p,
.highlight p {
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.1rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 38px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 10px 24px rgba(16,24,32,0.04);
}

.card p {
  margin: 0;
  color: var(--muted);
}

.split {
  background: white;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.split-grid p {
  color: var(--muted);
  font-size: 1.08rem;
}

.highlight {
  background: var(--dark);
  color: white;
  text-align: center;
}

.highlight p {
  color: rgba(255,255,255,0.78);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.highlight .btn {
  margin-top: 24px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 50px;
  align-items: start;
}

.contact-card {
  background: white;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 10px 24px rgba(16,24,32,0.05);
}

.contact-card p {
  margin: 0 0 20px;
  color: var(--muted);
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.contact-card strong {
  color: var(--text);
}

.contact-card a {
  color: var(--accent-dark);
  font-weight: 700;
}

.legal h1 {
  font-size: 3rem;
  margin-bottom: 24px;
}

.legal h2 {
  font-size: 1.4rem;
  margin-top: 34px;
}

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

.site-footer {
  padding: 28px 0;
  background: white;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo {
  width: 64px;
  height: 36px;
  object-fit: contain;
}

.site-footer a {
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 900px) {
  .cards,
  .split-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    min-height: 600px;
  }
}

@media (max-width: 620px) {
  .brand span {
    display: none;
  }

  .site-logo {
    width: 74px;
    height: 42px;
  }

  nav {
    display: none;
  }

  .container {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 70px 0;
  }

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

  .section {
    padding: 64px 0;
  }

  .footer-grid,
  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
  }
}
