/* beyondpediatrics.com holding page. Colors are the lockup's: navy #1a3c64 for the wordmark and rule. */

:root {
  --navy: #1a3c64;
  --ink: #1f2937;
  --muted: #4b5563;
  --line: #d6dbe1;
  --tile-border: #e2e6ea;
  --bg: #ffffff;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

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

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background: var(--bg);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.page {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 46rem;
  margin: 0 auto;
  padding: 3rem 1rem 2rem;
  text-align: center;
}

.brand {
  width: min(100%, 34rem);
  margin: 0;
}

.rule {
  width: min(100%, 38rem);
  margin: 1.75rem 0 1.5rem;
  border: 0;
  border-top: 1px solid var(--line);
}

.lede {
  margin: 0 0 2rem;
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--muted);
}

.practices {
  display: grid;
  gap: 1rem;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 40rem) {
  .practices {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  height: 100%;
  padding: 1.75rem 1.5rem 1.5rem;
  color: var(--navy);
  text-decoration: none;
  background: var(--bg);
  border: 1px solid var(--tile-border);
  border-radius: 1rem;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.tile:hover {
  border-color: var(--navy);
  box-shadow: 0 10px 24px -12px rgb(26 60 100 / 0.35);
  transform: translateY(-2px);
}

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

.tile__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 7.5rem;
}

.tile__logo img {
  max-height: 100%;
  width: auto;
}

.tile__logo img[alt="Families First Pediatrics"] {
  width: min(100%, 15rem);
  height: auto;
}

.tile__url {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.tile__url::after {
  content: " \2192";
}

.footer {
  padding: 1.5rem 1rem 2rem;
  font-size: 0.8125rem;
  color: var(--muted);
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .tile {
    transition: none;
  }

  .tile:hover {
    transform: none;
  }
}
