* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f7f8fb;
  color: #172a40;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
a {
  color: inherit;
}
header,
main,
footer {
  max-width: 1120px;
  margin: auto;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 40px;
}
.brand {
  font-size: 34px;
  font-weight: 750;
  letter-spacing: -2px;
  text-decoration: none;
}
.brand span {
  font-size: 11px;
  color: #5188bf;
  padding-left: 3px;
}
.site-link {
  font-size: 14px;
  text-decoration: none;
  color: #456e97;
}
main {
  padding: 45px 40px 60px;
}
.intro {
  max-width: 750px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 2px;
  color: #557594;
}
h1 {
  font-size: clamp(42px, 6.6vw, 76px);
  letter-spacing: -3.5px;
  line-height: 1.08;
  font-weight: 650;
  margin: 24px 0;
}
p {
  font-size: 18px;
  line-height: 1.7;
  color: #607183;
}
.intro p {
  max-width: 590px;
}
.pill {
  display: inline-block;
  border: 1px solid #d9e2ec;
  border-radius: 24px;
  padding: 9px 14px;
  font-size: 12px;
  color: #56738a;
  margin: 12px 0 40px;
  background: #fff;
}
.cards {
  margin-top: 4px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.demo-card {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid #dbe3ec;
  border-radius: 24px;
  overflow: hidden;
  background: white;
  text-decoration: none;
  box-shadow: 0 20px 60px #2144680a;
  transition: transform 0.2s;
}
.demo-card:hover {
  transform: translateY(-3px);
}
.card-art {
  min-height: 230px;
  background:
    radial-gradient(ellipse at 65% 15%, #e4f0d8, transparent 60%),
    linear-gradient(145deg, #bcd6c5, #6f9f8c);
  position: relative;
  overflow: hidden;
}
.demo-card:first-child {
  grid-column: 1 / -1;
  grid-template-columns: 1fr 1fr;
}
.demo-card:first-child .card-art {
  min-height: 350px;
}
.theme-potter .card-art {
  background: linear-gradient(145deg, #e3cba4, #8c5051);
}
.theme-middle-earth .card-art {
  background: linear-gradient(145deg, #cfddb0, #6e8d67);
}
.theme-star-trek .card-art {
  background:
    radial-gradient(ellipse at 75% 10%, #a1bbdf, transparent 60%),
    linear-gradient(145deg, #9ab2ca, #435c7c);
}
.theme-sex-and-the-city .card-art {
  background: linear-gradient(145deg, #efcdd6, #b98baf);
}
.theme-potter .tile {
  color: #843f41;
}
.theme-star-trek .tile {
  color: #425f85;
}
.theme-sex-and-the-city .tile {
  color: #8d507e;
}
.theme-potter .tag,
.theme-sex-and-the-city .tag {
  color: #4c243a;
}
.theme-star-trek .tag {
  color: #182d49;
}
.road {
  position: absolute;
  width: 650px;
  height: 650px;
  border: 48px solid #efe0a3;
  border-radius: 50%;
  top: 130px;
  left: -290px;
  transform: rotate(-20deg);
  box-shadow:
    0 0 0 2px #b19c6330,
    inset 0 0 0 2px #b19c6330;
}
.city {
  position: absolute;
  top: 27px;
  right: 52px;
  color: #457768;
  font-size: 105px;
}
.tile {
  position: absolute;
  left: 50%;
  top: 41%;
  width: 95px;
  height: 110px;
  border-radius: 18px;
  background: #fffdf6;
  color: #36756b;
  display: grid;
  place-items: center;
  font-family: Georgia, serif;
  font-size: 67px;
  box-shadow: 0 16px 35px #214c3e25;
  transform: rotate(-8deg);
}
.tag {
  position: absolute;
  bottom: 26px;
  left: 30px;
  font-size: 10px;
  letter-spacing: 2.5px;
  color: #1e554a;
  font-weight: 750;
}
.card-copy {
  padding: 48px 42px;
  align-self: center;
}
h2 {
  font-size: 31px;
  letter-spacing: -1px;
  line-height: 1.2;
  font-weight: 650;
  margin: 19px 0;
}
.card-copy p {
  font-size: 15px;
}
.open {
  display: inline-flex;
  gap: 30px;
  color: #31699f;
  font-weight: 650;
  font-size: 14px;
  margin-top: 22px;
}
.footnote {
  font-size: 12px;
  margin-top: 24px;
}
footer {
  padding: 28px 40px 35px;
  border-top: 1px solid #e0e6ed;
  display: flex;
  gap: 24px;
  color: #758494;
  font-size: 12px;
}
footer span {
  margin-right: auto;
}
footer a {
  text-decoration: none;
}
.privacy {
  max-width: 760px;
}
.privacy h1 {
  font-size: 48px;
}
.privacy p {
  font-size: 16px;
}
a:focus-visible {
  outline: 3px solid #346ea4;
  outline-offset: 5px;
}
@media (max-width: 680px) {
  .cards {
    grid-template-columns: 1fr;
  }
  header {
    padding: 24px;
  }
  main {
    padding: 32px 24px;
  }
  .demo-card,
  .demo-card:first-child {
    grid-template-columns: 1fr;
  }
  .card-art {
    min-height: 270px;
  }
  .card-copy {
    padding: 30px;
  }
  h1 {
    letter-spacing: -2px;
  }
  footer {
    padding: 24px;
    flex-wrap: wrap;
  }
  footer span {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .demo-card {
    transition: none;
  }
}
