:root {
  color: #163448;
  background: #eaf5fc;
  font-family: "Manrope", Arial, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: radial-gradient(ellipse at 75% 38%, #ffffffb3, transparent 48%), linear-gradient(135deg, #e0f0fc, #f1faff);
}
a { color: inherit; }
button, input, textarea { font: inherit; }
.contact-shell { max-width: 1120px; margin: auto; padding: 40px 48px 64px; }
.home-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 14px; font-weight: 700; text-decoration: none; }
svg { width: 22px; height: 22px; flex-shrink: 0; }
.home-link svg { width: 18px; }
.contact-layout { display: grid; grid-template-columns: 1.15fr 1fr; align-items: start; gap: 80px; padding-top: clamp(56px, 12vh, 128px); }
h1 { margin: 0; font-size: clamp(42px, 4.5vw, 60px); line-height: 1.1; letter-spacing: -.055em; font-weight: 800; }
h1 span { font-weight: 500; }
.intro-copy { max-width: 290px; margin: 24px 0 0; font-size: 15px; line-height: 1.8; color: #4c6576; }
.contact-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 40px; }
.contact-links a { display: inline-flex; align-items: center; gap: 13px; min-height: 44px; font-size: 13px; text-decoration: none; }
.contact-links a:hover span:not(.external-arrow) { text-decoration: underline; text-underline-offset: 5px; }
.external-arrow { color: #4c6576; }
.contact-form { display: grid; gap: 26px; min-width: 0; }
.field { display: grid; gap: 9px; }
.field label, legend { font-size: 12px; font-weight: 700; }
.field input, textarea { width: 100%; min-width: 0; border: 0; border-bottom: 1px solid #8aa3b3; border-radius: 0; padding: 10px 0 13px; background: transparent; color: #163448; font-size: 16px; line-height: 1.6; }
.field input::placeholder, textarea::placeholder { color: #607687; opacity: 1; }
textarea { resize: vertical; min-height: 116px; }
.topics { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 13px; }
legend span { margin-left: 8px; color: #4c6576; font-weight: 400; font-size: 11px; }
.topic-options { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-options label { position: relative; cursor: pointer; }
.topic-options input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.topic-options span { display: flex; align-items: center; min-height: 44px; border: 1px solid #8aa3b3; border-radius: 24px; padding: 9px 16px; font-size: 12px; }
.topic-options input:checked + span { background: #163448; color: #fff; border-color: #163448; }
button { display: flex; justify-content: space-between; align-items: center; gap: 32px; justify-self: start; min-height: 48px; padding: 13px 23px; border: 1px solid #163448; border-radius: 6px; background: #163448; color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; }
button:hover { background: #28546f; }
a:focus-visible, button:focus-visible, .field input:focus-visible, textarea:focus-visible, .topic-options input:focus-visible + span { outline: 2px solid #2677a9; outline-offset: 5px; }
@media (max-width: 800px) {
  .contact-shell { padding: 24px 6vw 48px; }
  .contact-layout { gap: 40px; }
  h1 { font-size: 42px; }
}
@media (max-width: 640px) {
  .contact-layout { grid-template-columns: 1fr; gap: 42px; padding-top: 44px; }
  h1 { font-size: clamp(36px, 9vw, 54px); }
  .intro-copy { max-width: 330px; margin-top: 18px; }
  .contact-links { margin-top: 22px; gap: 4px; }
}
