:root {
  --bg: #ffffff;
  --navy: #142c4c;
  --navy-hover: #1c3a62;
  --muted: #5c6570;
  --silver: #c5cdd6;
  --on-navy: #ffffff;
  --font: "Montserrat", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  background: var(--bg);
  color: var(--navy);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.5;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 36rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 1.5rem;
}

.mark {
  display: block;
  width: 180px;
  height: 180px;
  aspect-ratio: 1;
}

h1 {
  margin: 1.25rem 0 0;
  color: var(--navy);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  white-space: nowrap;
}

.tagline {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.status {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  background: var(--navy);
  color: var(--on-navy);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.contact:hover,
.contact:focus-visible {
  background: var(--navy-hover);
}

.contact:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

footer {
  padding: 1.25rem 1.5rem 1.75rem;
  text-align: center;
}

footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
}

@media (max-width: 30rem) {
  .mark {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 24rem) {
  h1,
  .tagline {
    white-space: normal;
  }
}
