:root {
  color-scheme: light;
  --ec-ink: #111111;
  --ec-paper: #f5f4f1;
  --ec-white: #ffffff;
  --ec-muted: #66635e;
  --ec-line: #d8d5cf;
  --ec-accent: #c13520;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ec-paper);
  color: var(--ec-ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--ec-paper);
}

a {
  color: inherit;
}

.ec-header,
.ec-footer,
main {
  width: min(100% - 48px, 1180px);
  margin-inline: auto;
}

.ec-header {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--ec-line);
}

.ec-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.ec-brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  background: var(--ec-accent);
  color: var(--ec-white);
  font-size: 20px;
  font-weight: 700;
}

.ec-brand-name {
  font-size: 18px;
  font-weight: 700;
}

.ec-header-link,
.ec-primary-link {
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.ec-header-link {
  font-size: 14px;
  font-weight: 700;
}

.ec-intro {
  display: grid;
  min-height: 520px;
  align-content: center;
  padding-block: 80px;
  border-bottom: 1px solid var(--ec-line);
}

.ec-kicker {
  margin: 0 0 18px;
  color: var(--ec-accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

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

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(64px, 10vw, 132px);
  line-height: .9;
  font-weight: 700;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1;
}

.ec-summary {
  max-width: 700px;
  margin-bottom: 34px;
  color: var(--ec-muted);
  font-size: clamp(20px, 2.4vw, 30px);
}

.ec-primary-link {
  width: fit-content;
  font-size: 18px;
  font-weight: 700;
}

.ec-details {
  display: grid;
  grid-template-columns: minmax(250px, .8fr) minmax(0, 1.2fr);
  gap: 80px;
  padding-block: 100px;
  border-bottom: 1px solid var(--ec-line);
}

.ec-facts {
  margin: 0;
  border-top: 1px solid var(--ec-line);
}

.ec-fact {
  display: grid;
  grid-template-columns: minmax(130px, .7fr) minmax(0, 1.3fr);
  gap: 28px;
  padding-block: 24px;
  border-bottom: 1px solid var(--ec-line);
}

.ec-fact dt {
  color: var(--ec-muted);
  font-size: 14px;
}

.ec-fact dd {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.ec-contact {
  display: flex;
  min-height: 300px;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding-block: 70px;
}

.ec-contact-action {
  display: grid;
  min-width: min(100%, 390px);
  gap: 4px;
  padding: 24px;
  border: 1px solid var(--ec-ink);
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}

.ec-contact-action span {
  color: var(--ec-muted);
  font-size: 13px;
}

.ec-contact-action strong {
  font-size: 18px;
}

.ec-contact-action:hover,
.ec-contact-action:focus-visible {
  background: var(--ec-ink);
  color: var(--ec-white);
}

.ec-contact-action:hover span,
.ec-contact-action:focus-visible span {
  color: #cfcdc8;
}

.ec-footer {
  display: flex;
  min-height: 120px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-top: 1px solid var(--ec-line);
  color: var(--ec-muted);
  font-size: 13px;
}

.ec-footer p {
  margin-bottom: 0;
}

.ec-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

@media (max-width: 760px) {
  .ec-header,
  .ec-footer,
  main {
    width: min(100% - 32px, 1180px);
  }

  .ec-header {
    min-height: 80px;
  }

  .ec-intro {
    min-height: 480px;
    padding-block: 64px;
  }

  h1 {
    font-size: clamp(56px, 22vw, 88px);
  }

  .ec-details {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-block: 72px;
  }

  .ec-fact {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .ec-contact,
  .ec-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .ec-contact {
    justify-content: center;
  }

  .ec-footer {
    justify-content: center;
    padding-block: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
