html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

* {
    box-sizing: border-box;
} 

/** Main page */
.root {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 1.5rem;

    display: grid;
    grid-template-rows: 1fr auto 1fr;
}

.content {
    grid-row: 2;
    justify-self: center;
    align-self: center;
  
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.logo {
    display: flex;
    gap: 0.5rem;
    margin: 0;
    font-size: 2.5rem;
}
  
.logo span {
    display: grid;
    place-items: center;
    width: 4rem;
    aspect-ratio: 1;
    color: white;
    border-radius: 0.5rem;
}

.match-full {
    background-color: #7ca060;
}

.match-partial {
    background-color: #c9b458;
}

.match-none {
    background-color: #78808c;
}

.subtext {
    font-size: 1rem;
}

.store-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}
  
.store-links a,
.store-links img {
    display: block;
}
  
.store-links img {
    width: auto;
    height: 3rem;
}

.footer {
    grid-row: 3;
    justify-self: center;
    align-self: end;
}

/** Privacy policy page */
.policy {
    width: min(100% - 2rem, 44rem);
    margin-inline: auto;
    padding-block: 2rem 4rem;
    line-height: 1.6;
  }
  
  .policy article {
    margin-top: 3rem;
  }
  
  .policy h1 {
    font-size: clamp(2rem, 6vw, 3rem);
    line-height: 1.1;
  }
  
  .policy h2 {
    margin-top: 2rem;
    font-size: 1.25rem;
  }
  
  .policy a {
    color: inherit;
  }
  
  .back-link {
    display: inline-block;
  }
