:root {
  color-scheme: light;
  --background: #f7f9fc;
  --text: #10213d;
  --muted: #596a7c;
  --surface: #ffffff;
  --surface-tinted: #edf5fb;
  --border: rgba(16, 33, 61, 0.13);
  --blue: #1976bd;
  --blue-dark: #0f5489;
  --gold: #ffc94a;
  --shadow: 0 24px 70px rgba(16, 33, 61, 0.13);
  --content-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

a {
  color: var(--blue-dark);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--blue);
}

.site-header,
.site-footer,
.section {
  width: min(100% - 40px, var(--content-width));
  margin-inline: auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.brand__mark {
  display: grid;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: white;
  background: var(--text);
  font-size: 0.9rem;
  place-items: center;
}

.site-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 32px);
}

.site-nav a,
.site-footer a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(760px, calc(100svh - 78px));
  overflow: hidden;
  place-items: center;
  padding: 72px 20px;
  background:
    radial-gradient(circle at 78% 28%, rgba(255, 201, 74, 0.34), transparent 24%),
    radial-gradient(circle at 70% 62%, rgba(47, 142, 216, 0.28), transparent 34%),
    linear-gradient(135deg, #f7f9fc 12%, #e8f3fb 58%, #fdf6e7 100%);
}

.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__overlay {
  background:
    linear-gradient(110deg, rgba(247, 249, 252, 0.9), rgba(247, 249, 252, 0.1) 72%),
    repeating-linear-gradient(
      120deg,
      transparent 0,
      transparent 90px,
      rgba(255, 255, 255, 0.28) 91px,
      transparent 92px
    );
}

.hero__content {
  position: relative;
  width: min(100%, 800px);
  margin-right: min(20vw, 260px);
  padding: clamp(32px, 6vw, 64px);
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
}

h1 {
  max-width: 12ch;
  margin-bottom: 24px;
  font-size: clamp(3rem, 8vw, 6.2rem);
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2rem, 5vw, 3.8rem);
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.35rem;
}

.intro {
  max-width: 640px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
}

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

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

.button--secondary {
  color: var(--text);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.72);
}

.section {
  padding-block: clamp(76px, 10vw, 130px);
}

.section__heading {
  max-width: 670px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
}

.card__number {
  display: block;
  margin-bottom: 58px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
}

.card p,
.company-copy,
.contact-section p,
.legal-page p,
.legal-page li {
  color: var(--muted);
}

.section--tinted {
  position: relative;
}

.section--tinted::before {
  position: absolute;
  z-index: -1;
  inset: 24px -24px;
  border-radius: 28px;
  background: var(--surface-tinted);
  content: "";
}

.company-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 100px);
}

.company-copy {
  font-size: 1.08rem;
}

.company-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 54px 0 0;
  border-top: 1px solid var(--border);
}

.company-facts div {
  padding: 22px 20px 0 0;
}

.company-facts dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.company-facts dd {
  margin: 8px 0 0;
  font-size: 0.95rem;
  font-weight: 700;
}

.contact-section {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.contact-section > div {
  max-width: 700px;
}

.contact-section p {
  margin-bottom: 0;
  font-size: 1.08rem;
}

.site-footer {
  display: flex;
  min-height: 100px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--border);
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.page-header {
  width: min(100% - 40px, 820px);
  margin: 56px auto 0;
  padding: clamp(40px, 7vw, 72px);
  border-radius: 24px;
  background: var(--surface-tinted);
}

.page-header h1 {
  max-width: none;
  margin-bottom: 16px;
  font-size: clamp(2.7rem, 7vw, 5rem);
}

.page-header p {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.legal-page {
  width: min(100% - 40px, 760px);
  margin-inline: auto;
  padding-block: 68px 100px;
}

.legal-page section + section {
  margin-top: 48px;
}

.legal-page h2 {
  margin-bottom: 14px;
  font-size: clamp(1.5rem, 4vw, 2rem);
  letter-spacing: -0.02em;
}

.legal-page h3 {
  margin-top: 28px;
  font-size: 1.05rem;
}

.legal-page ul {
  padding-left: 1.3rem;
}

.legal-page .notice {
  padding: 20px;
  border-left: 4px solid var(--gold);
  background: #fff8e7;
}

.support-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.support-item {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}

.support-item h3 {
  margin: 0 0 8px;
}

.support-item p:last-child {
  margin-bottom: 0;
}

@media (max-width: 820px) {
  .hero__content {
    margin-right: 0;
  }

  .card-grid,
  .company-layout {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: auto;
  }

  .card__number {
    margin-bottom: 36px;
  }

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

  .contact-section {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 580px) {
  .site-header {
    min-height: 70px;
  }

  .site-nav a:not(:last-child) {
    display: none;
  }

  .hero {
    min-height: calc(100svh - 70px);
    padding: 42px 16px;
    place-items: end center;
  }

  .hero__content {
    padding: 28px;
    border-radius: 16px;
  }

  h1 {
    font-size: clamp(2.7rem, 15vw, 4.4rem);
  }

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

  .site-footer {
    align-items: start;
    flex-direction: column;
    padding-block: 28px;
  }

  .section--tinted::before {
    inset-inline: -10px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__content {
    animation: enter 500ms ease-out both;
  }

  @keyframes enter {
    from {
      opacity: 0;
      transform: translateY(10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
