.page-hero {
  padding: clamp(96px, 12vw, 176px) 0 clamp(72px, 9vw, 128px);
  border-bottom: 1px solid var(--line-light);
}

.page-hero--dark,
.page-section--dark {
  background: var(--night);
  color: var(--paper);
}

.page-hero h1,
.page-section h2,
.legal-document__head h1 {
  max-width: 14em;
  font-size: clamp(2.25rem, 5vw, 4.75rem);
  line-height: 1.28;
}

.page-label {
  margin-bottom: 16px;
  color: var(--gold);
  font-family: "Space Grotesk", sans-serif;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .13em;
}

.page-intro {
  max-width: 38rem;
  margin-top: 28px;
  color: var(--text-muted);
}

.service-page .page-hero h1 {
  max-width: 14em;
  font-size: clamp(3rem, 3.6vw, 3.25rem);
  line-height: 1.42;
}

.service-page .page-section h2 {
  max-width: 14em;
  font-size: clamp(2.15rem, 3.3vw, 3rem);
  line-height: 1.44;
}

.page-eyecatch {
  width: 100%;
  aspect-ratio: 4 / 1;
  margin: 0;
  margin-top: 36px;
  overflow: hidden;
  border: 1px solid var(--line-light);
  background: var(--smoke);
}

.page-eyecatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-section {
  padding: clamp(72px, 9vw, 128px) 0;
  border-bottom: 1px solid var(--line-light);
}

.subpage-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(44px, 8vw, 128px);
}

.service-page .subpage-grid {
  display: block;
}

.service-page .page-section__body {
  margin-top: 40px;
}

.page-section__body,
.legal-document__body {
  max-width: 46rem;
  font-size: 1rem;
  line-height: 1.9;
}

.scope-list,
.flow-list {
  margin-top: 34px;
  border-top: 1px solid var(--line-light);
}

.scope-list li,
.flow-list li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-light);
}

.scope-list li > span,
.flow-list li > span,
.contact-route > span {
  color: var(--gold);
  font-family: "Space Grotesk", sans-serif;
  font-size: .78rem;
  font-weight: 700;
}

.scope-list h3,
.flow-list h3,
.contact-route h3 {
  margin-bottom: 6px;
  font-size: 1.3rem;
}

.scope-list p,
.flow-list p,
.contact-route p,
.contact-note {
  color: var(--text-muted);
}

.route-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.contact-routes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-route {
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--line-light);
  text-decoration: none;
  transition: border-color .2s ease, background-color .2s ease;
}

.contact-route:hover {
  border-color: var(--gold);
  background: rgb(242 239 232 / 5%);
}

.contact-route h3 {
  margin-top: 40px;
}

.contact-note {
  margin-top: 24px;
}

.contact-form {
  display: grid;
  gap: 22px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-light);
  border-radius: 0;
  background: rgb(242 239 232 / 5%);
  color: var(--paper);
  font: inherit;
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.contact-form .form-consent {
  grid-template-columns: auto 1fr;
  align-items: center;
  font-size: .9rem;
  font-weight: 400;
}

.form-consent input {
  width: 1.2rem;
  height: 1.2rem;
}

.form-status {
  min-height: 1.9em;
  color: var(--text-muted);
}

.form-status[data-state="success"] { color: var(--gold); }
.form-status[data-state="failure"] { color: #f1a7a7; }

.legal-page {
  padding-top: clamp(96px, 12vw, 176px);
}

.legal-document {
  max-width: 56rem;
  margin-inline: auto;
}

.legal-document__head {
  padding-bottom: clamp(48px, 7vw, 88px);
  border-bottom: 1px solid var(--line-light);
}

.legal-document__body {
  max-width: none;
  padding-top: clamp(40px, 6vw, 72px);
}

.legal-document__body section + section {
  margin-top: 42px;
}

.legal-document__body h2 {
  margin-bottom: 12px;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}

@media (max-width: 760px) {
  .page-hero { padding: 72px 0 64px; }
  .subpage-grid { grid-template-columns: 1fr; gap: 36px; }
  .service-page .page-hero h1 { font-size: 2.15rem; line-height: 1.48; }
  .service-page .page-section h2 { font-size: 1.62rem; line-height: 1.3; }
  .page-eyecatch { height: 135px; aspect-ratio: auto; margin-top: 24px; }
  .service-page .page-section__body { margin-top: 20px; }
  .contact-routes { grid-template-columns: 1fr; }
  .contact-route { min-height: 0; }
}
