:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Helvetica, Arial, sans-serif;
  color: #111111;
  background: #ffffff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  min-width: 280px;
  min-height: 100svh;
  margin: 0;
  background: #ffffff;
}

.page-shell {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 100svh;
  padding: clamp(28px, 5vw, 72px);
}

.content {
  display: grid;
  align-content: center;
  width: min(100%, 700px);
  padding-block: clamp(52px, 10vh, 112px);
}

.wordmark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: max-content;
  margin-bottom: clamp(36px, 5.5vh, 58px);
}

.wordmark-primary {
  font-size: clamp(1.8rem, 3.4vw, 2.85rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.wordmark-secondary {
  margin-top: 10px;
  font-size: clamp(0.63rem, 0.9vw, 0.74rem);
  font-weight: 590;
  line-height: 1.2;
  letter-spacing: 0.18em;
}

.message {
  max-width: 640px;
}

h1 {
  max-width: 590px;
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.9rem);
  font-weight: 480;
  line-height: 1;
  letter-spacing: -0.05em;
}

.intro {
  max-width: 520px;
  margin: clamp(22px, 3.2vw, 34px) 0 0;
  color: #4b4b4b;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.65;
}

.contact-block {
  margin-top: clamp(28px, 4vw, 42px);
}

.contact-label {
  margin: 0 0 11px;
  color: #7a7a7a;
  font-size: 0.66rem;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: 0.15em;
}

.contact-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  color: #111111;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  font-weight: 560;
  line-height: 1.5;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.32em;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  text-decoration-color: #111111;
}

.contact-link:focus-visible {
  outline: 1px solid #111111;
  outline-offset: 7px;
}

.contact-address {
  min-width: 0;
  overflow-wrap: anywhere;
}

.contact-icon,
.arrow-icon {
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-icon {
  width: 21px;
  height: 21px;
  margin-right: 10px;
}

.arrow-icon {
  width: 17px;
  height: 17px;
  margin-left: 8px;
}

footer {
  padding-top: 28px;
  border-top: 1px solid #e6e6e6;
}

footer p,
footer address {
  margin: 0;
  color: #686868;
  font-size: 0.72rem;
  font-style: normal;
  line-height: 1.55;
}

.legal-details {
  display: grid;
  gap: 2px;
  max-width: 680px;
}

.copyright {
  margin-top: 12px;
  color: #7a7a7a;
  font-size: 0.69rem;
}

@media (max-width: 520px) {
  .page-shell {
    padding: 24px;
  }

  .content {
    padding-block: clamp(38px, 8vh, 62px);
  }

  .wordmark {
    margin-bottom: 36px;
  }

  h1 {
    max-width: 340px;
    font-size: clamp(2.4rem, 11.6vw, 3.1rem);
  }

  .intro {
    margin-top: 20px;
    line-height: 1.55;
  }

  .contact-block {
    margin-top: 28px;
  }

  .contact-link {
    font-size: clamp(0.95rem, 4.4vw, 1.05rem);
  }

  .contact-icon {
    width: 19px;
    height: 19px;
    margin-right: 8px;
  }

  .arrow-icon {
    width: 15px;
    height: 15px;
    margin-left: 6px;
  }

  footer {
    padding-top: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
