.page-body {
  position: relative;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse 55% 70% at 85% 30%, rgba(70, 110, 200, 0.08), transparent 55%),
    linear-gradient(180deg, var(--sky-mid) 0%, var(--sky-deep) 100%);
}

.page-body__inner {
  width: min(100% - (var(--page-inline) * 2), var(--page-max));
  margin-inline: auto;
  padding-block: clamp(2.75rem, 7vh, 5rem);
}

.page-prose {
  max-width: 42rem;
}

.page-prose--wide {
  max-width: 48rem;
}

.page-prose > *:first-child {
  margin-top: 0;
}

.page-prose h2 {
  margin: 2rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.5vw + 1rem, 1.85rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #f5f8ff;
}

.page-prose h3 {
  margin: 1.5rem 0 0.5rem;
  font-family: var(--font-ui);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #e8eefc;
}

.page-prose p {
  margin: 0 0 1rem;
  font-size: clamp(0.95rem, 0.25vw + 0.9rem, 1.05rem);
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink-muted);
}

.page-prose ul,
.page-prose ol {
  margin: 0 0 1.25rem;
  padding-left: 1.15rem;
  color: var(--ink-muted);
}

.page-prose li {
  margin-bottom: 0.45rem;
  font-weight: 400;
  line-height: 1.55;
}

.page-prose a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.page-meta {
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink-faint);
}

.page-callout {
  margin: 1.25rem 0;
  padding: 0.9rem 1rem;
  border-left: 2px solid var(--accent);
  background: rgba(158, 197, 255, 0.06);
  color: var(--ink-muted);
  font-weight: 400;
  line-height: 1.55;
}

.page-callout strong {
  color: #e8eefc;
  font-weight: 600;
}

.service-block {
  margin: 0 0 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.service-block:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

.service-block h2 {
  margin-top: 0;
}

.contact-grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
}

.contact-form {
  display: grid;
  gap: 1rem;
  max-width: 28rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-family: var(--font-nav);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.5rem;
  background: rgba(8, 12, 28, 0.85);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 2px;
}

.contact-form textarea {
  min-height: 8rem;
  resize: vertical;
}

.contact-form button {
  justify-self: start;
  margin-top: 0.25rem;
  padding: 0.7rem 1.35rem;
  border: 1px solid var(--cta-border);
  border-radius: 999px;
  background: var(--cta-bg);
  color: #f5f8ff;
  font-family: var(--font-nav);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.contact-form button:hover {
  background: rgba(158, 197, 255, 0.2);
  border-color: var(--accent-strong);
}

.contact-form button:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 3px;
}

.contact-aside {
  max-width: 24rem;
}

.contact-aside dl {
  margin: 0;
}

.contact-aside dt {
  margin: 1rem 0 0.25rem;
  font-family: var(--font-nav);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.contact-aside dt:first-child {
  margin-top: 0;
}

.contact-aside dd {
  margin: 0;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink-muted);
}

@media (min-width: 800px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: start;
  }
}
