* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.5;
  color: #222;
  background: #cbcbcb;
}

.site-main {
  display: grid;
  min-height: 100vh;
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px;
  place-items: center;
}

.about-page {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100vh;
  overflow: hidden;
}

.about-header {
  width: min(100% - 48px, 720px);
  margin: 0 auto;
  padding-top: clamp(8px, 1.5vh, 16px);
  font-family: "Raleway", sans-serif;
}

.about-header h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 0.7;
  text-align: left;
}

.about-page .site-main {
  width: 100%;
  min-height: 0;
  padding: clamp(12px, 3vh, 32px) 24px clamp(12px, 3vh, 24px);
}

.about-page .about-panel {
  min-height: 0;
  padding: clamp(16px, 4vh, 40px);
}

.about-page .contact-block {
  margin-top: clamp(20px, 4vh, 40px);
}

.about-page .site-footer {
  padding-bottom: clamp(16px, 3vh, 32px);
}

h1 {
  margin: 0 0 12px;
  font-size: 2rem;
}

.site-hero {
  display: flex;
  flex-direction: column;
  gap: 0;
  opacity: 0;
}

.site-hero h1 {
  font-size: 20rem;
  line-height: 0.8;
  margin: 0;
}

.site-hero-tagline {
  text-align: center;
  line-height: 1;
}

.about-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(100%, 680px);
  min-height: 60vh;
  padding: 48px;
  font-family: "Raleway", sans-serif;
}

.about-panel h1 {
  margin: 0 0 24px;
  font-family: "Raleway", sans-serif;
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 600;
  line-height: 1;
}

.about-body {
  display: grid;
  gap: 16px;
  max-width: 58ch;
  font-family: "Raleway", sans-serif;
  font-size: 1.15rem;
  line-height: 1.6;
}

.about-body p {
  margin: 0;
}

.contact-block {
  display: grid;
  gap: 8px;
  margin-top: 40px;
  font-family: "Raleway", sans-serif;
}

.contact-block h2 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.2;
}

.contact-block p {
  margin: 0;
}

.contact-block a {
  width: fit-content;
  color: #555;
  font-family: "Raleway", sans-serif;
  font-size: 1.05rem;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.contact-block a:hover {
  color: #222;
}

.site-footer {
  width: min(100% - 48px, 720px);
  margin: 0 auto;
  padding: 0 0 32px;
  font-family: "Raleway", sans-serif;
}

.site-footer hr {
  border: 0;
  border-top: 1px solid #9f9f9f;
  margin: 0 0 16px;
}

.site-footer p {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin: 0;
}

.rates-link {
  color: #555;
  font-family: "Raleway", sans-serif;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.rates-link:hover {
  color: #222;
}

.rates-modal {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 250ms ease,
    visibility 0ms linear 250ms;
}

.rates-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0ms;
}

.rates-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(34, 34, 34, 0.38);
}

.rates-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  padding: 32px;
  font-family: "Raleway", sans-serif;
  color: #222;
  background: #d8d8d8;
  border: 1px solid #9f9f9f;
  box-shadow: 0 24px 80px rgba(34, 34, 34, 0.22);
}

.rates-modal__dialog h2 {
  margin: 0 0 20px;
  font-size: 2rem;
  line-height: 1;
}

.rates-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 0;
  color: #555;
  background: transparent;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.rates-modal__close:hover {
  color: #222;
}

.rate-card {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid #aaa;
  background: #aaa;
}

.rate-card__row {
  display: flex;
  gap: 16px;
  align-items: baseline;
  justify-content: space-between;
  padding: 16px;
  background: #d8d8d8;
}

.rate-card__row strong {
  white-space: nowrap;
}

.insetText {
  font-family:
    Libertinus Math,
    system-ui;
  background-color: #666666;
  text-align: center;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: rgba(255, 255, 255, 0.5) 6px 6px 6px;
}

p {
  margin: 0;
  font-family: "Raleway", sans-serif;
  font-size: 1rem;
  color: #555;
}

.libertinus-math-regular {
  font-family: "Libertinus Math", system-ui;
  font-weight: 400;
  font-style: normal;
}

.raleway-platform-regular {
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
