.records-page {
  --records-ink: #10233f;
  --records-muted: #5b6b7e;
  --records-line: #dce4ed;
  --records-soft: #f4f7fa;
  color: var(--records-ink);
}

.records-hero {
  background: linear-gradient(128deg, #071d38 0%, #0c315c 64%, #164b7a 100%);
  color: #fff;
  padding: 72px 0 66px;
}

.records-hero-inner { max-width: 900px; }
.records-hero .eyebrow,
.records-section .eyebrow {
  color: #d9ad63;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.records-hero h1 {
  color: #fff;
  font-size: clamp(2.35rem, 5.4vw, 4.25rem);
  letter-spacing: -.045em;
  line-height: 1.03;
  margin: 0;
}

.records-hero-lead {
  color: #dce8f5;
  font-size: 1.1rem;
  line-height: 1.72;
  margin: 22px 0 0;
  max-width: 760px;
}

.records-hero-actions,
.records-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 28px;
}

.records-hero .button-secondary {
  border-color: rgba(255,255,255,.6);
  color: #fff;
}

.records-section { padding: 66px 0; }
.records-section--soft {
  background: var(--records-soft);
  border-bottom: 1px solid var(--records-line);
  border-top: 1px solid var(--records-line);
}

.records-heading { max-width: 780px; }
.records-heading h2 {
  color: var(--records-ink);
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  letter-spacing: -.035em;
  line-height: 1.12;
  margin: 0;
}

.records-heading > p {
  color: var(--records-muted);
  line-height: 1.72;
  margin: 15px 0 0;
}

.route-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
}

.route-card {
  background: #fff;
  border: 1px solid var(--records-line);
  border-radius: 11px;
  display: flex;
  flex-direction: column;
  padding: 25px;
}

.route-number,
.route-icon {
  align-items: center;
  background: #eaf1f8;
  border-radius: 8px;
  color: #153f69;
  display: flex;
  font-size: 1rem;
  font-weight: 800;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.route-card h3 { font-size: 1.08rem; margin: 17px 0 8px; }
.route-card p { color: var(--records-muted); font-size: .9rem; line-height: 1.62; margin: 0; }
.route-card a { color: #9d373b; font-size: .86rem; font-weight: 750; margin-top: auto; padding-top: 17px; text-decoration: none; }
.route-card a:hover { text-decoration: underline; }

.records-table-wrap {
  border: 1px solid var(--records-line);
  border-radius: 10px;
  margin-top: 30px;
  overflow-x: auto;
}

.records-table {
  border-collapse: collapse;
  min-width: 760px;
  width: 100%;
}

.records-table th {
  background: #102f51;
  color: #fff;
  font-size: .75rem;
  letter-spacing: .07em;
  padding: 15px 17px;
  text-align: left;
  text-transform: uppercase;
}

.records-table td {
  border-top: 1px solid var(--records-line);
  color: var(--records-muted);
  font-size: .88rem;
  line-height: 1.55;
  padding: 17px;
  vertical-align: top;
}

.records-table tbody tr:first-child td { border-top: 0; }
.records-table tbody tr:nth-child(even) { background: #f8fafc; }
.records-table strong { color: var(--records-ink); display: block; margin-bottom: 4px; }
.records-table a { color: #9d373b; font-weight: 700; }

.steps-list {
  counter-reset: records-step;
  display: grid;
  gap: 15px;
  margin: 30px 0 0;
  padding: 0;
}

.steps-list li {
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--records-line);
  border-radius: 10px;
  display: grid;
  gap: 18px;
  grid-template-columns: 42px minmax(0, 1fr);
  list-style: none;
  padding: 22px;
}

.steps-list li::before {
  align-items: center;
  background: #b64145;
  border-radius: 50%;
  color: #fff;
  content: counter(records-step);
  counter-increment: records-step;
  display: flex;
  font-size: .88rem;
  font-weight: 800;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.steps-list h3 { font-size: 1rem; margin: 0 0 6px; }
.steps-list p { color: var(--records-muted); font-size: .9rem; line-height: 1.62; margin: 0; }
.steps-list a { color: #9d373b; font-weight: 700; }

.records-two-column {
  display: grid;
  gap: 38px;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
}

.records-checklist {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
}

.records-checklist li {
  color: var(--records-muted);
  display: flex;
  font-size: .9rem;
  gap: 10px;
  line-height: 1.55;
  list-style: none;
}

.records-checklist i { color: #2c725c; flex: 0 0 auto; }

.records-callout {
  background: #fff;
  border: 1px solid var(--records-line);
  border-left: 4px solid #d3a14f;
  border-radius: 8px;
  padding: 25px;
}

.records-callout h2,
.records-callout h3 { font-size: 1.2rem; margin: 0 0 10px; }
.records-callout p { color: var(--records-muted); font-size: .9rem; line-height: 1.65; margin: 0; }
.records-callout p + p { margin-top: 12px; }
.records-callout a { color: #9d373b; font-weight: 700; }

.use-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.use-card {
  border-top: 3px solid #173f68;
  padding: 19px 4px 0;
}

.use-card h3 { font-size: 1rem; margin: 0 0 7px; }
.use-card p { color: var(--records-muted); font-size: .87rem; line-height: 1.6; margin: 0; }

.records-faq {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.records-faq details {
  background: #fff;
  border: 1px solid var(--records-line);
  border-radius: 8px;
  padding: 0 20px;
}

.records-faq summary {
  cursor: pointer;
  font-weight: 750;
  padding: 18px 0;
}

.records-faq details p {
  color: var(--records-muted);
  font-size: .9rem;
  line-height: 1.68;
  margin: 0;
  padding: 0 0 18px;
}

.records-next {
  background: #102f51;
  color: #fff;
}

.records-next .container {
  align-items: center;
  display: flex;
  gap: 30px;
  justify-content: space-between;
}

.records-next h2 { color: #fff; margin: 0 0 8px; }
.records-next p { color: #cbd9e7; margin: 0; }
.records-next .records-actions { flex: 0 0 auto; margin: 0; }

@media (max-width: 850px) {
  .route-grid,
  .use-grid { grid-template-columns: 1fr; }
  .records-two-column { grid-template-columns: 1fr; }
  .records-next .container { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .records-hero { padding: 52px 0 48px; }
  .records-section { padding: 49px 0; }
  .route-card { padding: 21px; }
  .steps-list li { gap: 12px; grid-template-columns: 36px minmax(0, 1fr); padding: 18px; }
  .steps-list li::before { height: 32px; width: 32px; }
  .records-actions,
  .records-hero-actions { align-items: stretch; flex-direction: column; }
  .records-actions .button,
  .records-hero-actions .button { text-align: center; }
}
