:root {
  color-scheme: light;
  --paper: #f7f4ed;
  --ink: #182035;
  --blue: #0d5bd7;
  --coral: #f05237;
  --lime: #d7f55c;
  --line: rgba(24, 32, 53, 0.18);
  --muted: #5f6675;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", sans-serif;
  line-height: 1.6;
}

body {
  margin: 0;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 4px;
}

.site-header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 1rem clamp(1.25rem, 4vw, 4rem);
}

.wordmark {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  font-size: 0.78rem;
  gap: 1rem;
  letter-spacing: 0.04em;
}

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

.hero {
  display: grid;
  min-height: min(74vh, 720px);
  overflow: hidden;
  position: relative;
}

.hero::before,
.hero::after {
  content: "";
  grid-area: 1 / 1;
}

.hero::before {
  background: var(--blue);
  clip-path: polygon(0 0, 61% 0, 43% 100%, 0 100%);
}

.hero::after {
  background: var(--coral);
  clip-path: polygon(61% 0, 100% 0, 100% 100%, 43% 100%);
}

.hero-copy {
  align-self: center;
  color: white;
  grid-area: 1 / 1;
  max-width: 760px;
  padding: clamp(3rem, 10vw, 8rem) clamp(1.25rem, 8vw, 8rem);
  position: relative;
  z-index: 1;
  animation: arrive 640ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.eyebrow,
.meta {
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.page-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.3rem, 10vw, 7.6rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.92;
  margin: 1.25rem 0;
}

.hero p {
  font-size: clamp(1.05rem, 2.5vw, 1.45rem);
  max-width: 32rem;
}

.signal {
  background: var(--lime);
  color: var(--ink);
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-top: 1.5rem;
  padding: 0.75rem 1rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.signal:hover {
  box-shadow: 7px 7px 0 var(--ink);
  transform: translate(-3px, -3px);
}

.content,
.legal {
  margin: 0 auto;
  max-width: 760px;
  padding: clamp(3rem, 8vw, 7rem) 1.25rem;
}

.content-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto;
  max-width: 1120px;
  padding: 0 1.25rem clamp(3rem, 8vw, 7rem);
}

.content-card {
  background: white;
  border: 1px solid var(--line);
  min-height: 220px;
  padding: 1.5rem;
  transition: background-color 180ms ease, color 180ms ease;
}

.content-card:hover {
  background: var(--ink);
  color: white;
}

.content-card:hover p {
  color: rgba(255, 255, 255, 0.78);
}

.content-card h2,
.legal h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

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

.page-band {
  background: linear-gradient(105deg, var(--blue) 0 57%, var(--coral) 57% 100%);
  color: white;
  padding: clamp(3rem, 8vw, 7rem) clamp(1.25rem, 8vw, 8rem);
}

.page-title {
  font-size: clamp(3rem, 8vw, 6rem);
  max-width: 980px;
}

.legal h2 {
  margin-top: 2.8rem;
}

.legal h3 {
  font-size: 1rem;
  margin-top: 2rem;
}

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

.notice {
  background: white;
  border-left: 0.4rem solid var(--lime);
  margin: 2rem 0;
  padding: 1rem 1.2rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.76rem;
  gap: 1rem;
  justify-content: space-between;
  padding: 1.5rem clamp(1.25rem, 4vw, 4rem);
}

@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    gap: 0.75rem;
  }

  .site-nav {
    justify-content: flex-end;
  }

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

  .hero::before {
    clip-path: polygon(0 0, 76% 0, 48% 100%, 0 100%);
  }

  .hero::after {
    clip-path: polygon(76% 0, 100% 0, 100% 100%, 48% 100%);
  }
}
