.records-page {
  background: var(--white);
}

.records-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
}

.records-hero > img,
.records-hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.records-hero > img {
  object-fit: cover;
}

.records-hero-overlay {
  background: linear-gradient(90deg, rgba(10, 17, 24, 0.94) 0%, rgba(10, 17, 24, 0.78) 45%, rgba(10, 17, 24, 0.18) 100%);
}

.records-hero-content {
  position: relative;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 150px 0 70px;
}

.records-hero-content h1 {
  max-width: 760px;
  margin: 8px 0 16px;
  font-size: clamp(46px, 7vw, 84px);
  line-height: 1.02;
  letter-spacing: 0;
}

.records-hero-content > p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 21px);
}

.records-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.records-access-note {
  margin-top: 16px;
  font-size: 14px !important;
}

.records-band {
  padding: 76px 0;
  background: var(--white);
}

.records-inner,
.records-cta {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.records-heading {
  max-width: 820px;
  margin-bottom: 42px;
}

.records-heading h2,
.records-privacy h2,
.records-cta h2 {
  margin: 7px 0 0;
  font-size: clamp(32px, 4.5vw, 54px);
  line-height: 1.06;
  letter-spacing: 0;
}

.records-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.records-grid article {
  min-height: 250px;
  padding: 28px 22px 30px;
  border-right: 1px solid var(--line);
}

.records-grid article:last-child {
  border-right: 0;
}

.records-grid article > span {
  color: var(--blue);
  font-size: 18px;
  font-weight: 800;
}

.records-grid h3 {
  margin: 38px 0 10px;
  font-size: 25px;
}

.records-grid p,
.records-privacy p {
  color: var(--muted);
}

.records-band-dark {
  color: var(--white);
  background: var(--ink);
}

.records-band-dark .eyebrow,
.records-band-dark .records-flow span {
  color: rgba(255, 255, 255, 0.72);
}

.records-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.records-flow li {
  min-height: 220px;
  padding: 28px 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.records-flow li:last-child {
  border-right: 0;
}

.records-flow strong,
.records-flow span {
  display: block;
}

.records-flow strong {
  margin-bottom: 50px;
  font-size: 28px;
}

.records-privacy {
  background: var(--paper);
}

.records-privacy-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 70px;
  align-items: start;
}

.records-privacy-layout > div:last-child {
  padding-top: 22px;
  border-top: 2px solid var(--ink);
}

.records-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 40px;
  padding: 72px 0;
}

.records-cta h2 {
  max-width: 790px;
}

.records-dark-button {
  color: var(--ink);
  border-color: var(--ink);
}

.records-footer-notice {
  grid-column: span 2;
}

@media (max-width: 940px) {
  .records-grid,
  .records-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .records-grid article:nth-child(2),
  .records-flow li:nth-child(2) {
    border-right: 0;
  }

  .records-grid article:nth-child(-n + 2),
  .records-flow li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .records-flow li:nth-child(-n + 2) {
    border-bottom-color: rgba(255, 255, 255, 0.2);
  }

  .records-privacy-layout,
  .records-cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .records-hero {
    min-height: 82vh;
  }

  .records-hero-overlay {
    background: linear-gradient(0deg, rgba(10, 17, 24, 0.94) 0%, rgba(10, 17, 24, 0.55) 100%);
  }

  .records-hero-content {
    width: calc(100% - 28px);
    padding: 122px 0 46px;
  }

  .records-hero-content h1 {
    font-size: 46px;
  }

  .records-actions,
  .records-actions .button {
    width: 100%;
  }

  .records-grid,
  .records-flow {
    grid-template-columns: 1fr;
  }

  .records-grid article,
  .records-flow li {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .records-flow li {
    border-bottom-color: rgba(255, 255, 255, 0.2);
  }

  .records-flow strong {
    margin-bottom: 20px;
  }

  .records-band {
    padding: 58px 0;
  }

  .records-cta {
    width: calc(100% - 28px);
    padding: 58px 0;
  }
}
