@font-face {
  font-family: "Comfortaa";
  src: url("/font/Comfortaa.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #122f3f;
  --light: #5a7f9c;
  --accent: #95b3cf;
}

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

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: "Comfortaa", sans-serif;
  line-height: 1.5;
  color: var(--primary);
  background: white;
}

h1,
h2 {
  font-size: inherit;
  font-weight: inherit;
}

a {
  color: inherit;
}

main {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.logo {
  display: block;
  max-width: 100%;
  height: auto;
  margin-top: 0.5rem;
}

h1 {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.section-title {
  width: 100%;
  font-size: 1.25rem;
  line-height: 1.75rem;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.founders {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--light);
}

.details {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 1rem 2rem;
  padding: 2rem 0;
  font-size: 0.875rem;
  line-height: 1.25rem;
  text-align: left;
}

.details dt {
  font-size: 0.75rem;
  line-height: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light);
}

.details dd,
.services dt {
  letter-spacing: 0.025em;
}

.services {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  padding: 0 1rem 2rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  text-align: left;
}

.services dd {
  margin-left: 1rem;
  color: var(--light);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  padding: 0 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: all 150ms;
  outline: none;
}

.button:focus-visible {
  box-shadow: 0 0 0 3px rgb(160 160 160 / 0.5);
}

.button-outline {
  border: 1px solid var(--accent);
  background: white;
  color: var(--light);
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.button-outline:hover {
  background: var(--accent);
  color: white;
}

.button-primary {
  height: 2.25rem;
  padding: 0 1rem;
  margin: 1rem;
  background: var(--primary);
  color: white;
}

.button-primary:hover {
  background: rgb(18 47 63 / 0.9);
}

footer {
  margin: 1rem 0 0.5rem;
  padding: 0 1.5rem;
  font-size: 0.75rem;
  line-height: 1rem;
  text-align: center;
  color: var(--light);
}

.not-found {
  justify-content: center;
  gap: 0;
}

@media (min-width: 40rem) {
  .logo {
    margin-top: 4rem;
  }

  h1 {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }

  .details {
    grid-auto-flow: column;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: auto auto;
    text-align: center;
  }
}
