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

html,
body {
  margin: 0;
  background: #f3ebdd;
  color: #1c1915;
  font-family: Outfit, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
}

body {
  min-height: 100vh;
}

::selection {
  background: #e7c3b2;
  color: #1c1915;
}

h1,
h2,
p,
figure {
  margin: 0;
}

a {
  color: #c2552a;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid #c2552a;
  outline-offset: 3px;
}

.page {
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 36px 56px;
}

.top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 22px;
}

.links {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.nav {
  color: #5c5348;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav:hover {
  color: #c2552a;
}

.brand {
  color: #1c1915;
  font-family: Fraunces, serif;
  font-size: 1.35rem;
  font-weight: 600;
  font-style: normal;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 34rem);
  align-items: start;
  column-gap: 64px;
  margin-top: 64px;
}

.hero.has-shot {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
}

.hero + .hero {
  margin-top: 72px;
  padding-top: 72px;
  border-top: 1px solid #ddd0bc;
}

.kicker {
  margin: 0 0 12px;
  color: #5c5348;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.display {
  margin: 0;
  font-family: Fraunces, serif;
  font-weight: 600;
  font-style: italic;
  font-size: clamp(4.4rem, 8vw, 6.6rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.prose .display {
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  line-height: 1.02;
}

.rule {
  display: block;
  width: 4.4rem;
  height: 7px;
  margin: 1.2rem 0 1.35rem;
  border-top: 1.5px solid #1c1915;
  border-bottom: 1.5px solid #1c1915;
}

.tagline {
  max-width: 16em;
  margin: 0 0 0.85rem;
  font-family: Fraunces, serif;
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.25;
  text-wrap: pretty;
}

.lead {
  max-width: 34rem;
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.45;
  text-wrap: pretty;
}

.button {
  display: inline-block;
  margin-top: 1.6rem;
  padding: 0.9rem 1.4rem;
  border-radius: 16px;
  background: #c2552a;
  color: #fffbf5;
  font-weight: 600;
}

.button:hover {
  background: #a34722;
  color: #fffbf5;
  text-decoration: none;
}

.portrait {
  display: block;
  color: inherit;
  text-decoration: none;
}

.portrait img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #ddd0bc;
  border-radius: 32px;
  background: #fffbf5;
  box-shadow: 0 22px 48px rgba(28, 25, 21, 0.12);
}

a.portrait {
  transition: transform 0.2s ease;
}

a.portrait:hover {
  transform: translateY(-4px);
  text-decoration: none;
}

.phones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 28px;
  margin-top: 56px;
}

.phones .portrait {
  width: min(240px, 100%);
}

.band {
  margin-top: 88px;
}

.policy {
  max-width: 40rem;
  margin-top: 88px;
  padding: 28px 32px 32px;
  border: 1px solid #ddd0bc;
  border-radius: 28px;
  background: #fffbf5;
}

.policy .lead {
  max-width: none;
}

.label {
  margin: 0 0 18px;
  color: #5c5348;
  font-family: Outfit, sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: feature;
}

.features li {
  position: relative;
  padding: 16px 18px 16px 58px;
  border: 1px solid #ddd0bc;
  border-radius: 22px;
  background: #fffbf5;
  line-height: 1.35;
  text-wrap: pretty;
  counter-increment: feature;
}

.features li::before {
  content: counter(feature, decimal-leading-zero);
  position: absolute;
  left: 18px;
  top: 15px;
  color: #c2552a;
  font-family: Fraunces, serif;
  font-size: 1.05rem;
  font-weight: 600;
}

.prose {
  max-width: 40rem;
  margin-top: 64px;
}

.prose h2 {
  margin: 2rem 0 0.7rem;
  font-family: Fraunces, serif;
  font-size: 1.55rem;
  font-weight: 600;
  font-style: normal;
  line-height: 1.2;
}

.prose p {
  margin: 0 0 0.8rem;
}

.updated {
  color: #5c5348;
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin-top: 80px;
  padding-top: 18px;
  border-top: 1px solid #ddd0bc;
  color: #5c5348;
  font-size: 0.95rem;
}

footer p {
  margin: 0;
}

@media (max-width: 760px) {
  .page {
    padding: 22px 20px 40px;
  }

  .hero,
  .hero.has-shot {
    grid-template-columns: 1fr;
    row-gap: 36px;
    margin-top: 40px;
  }

  .hero .portrait,
  .phones .portrait {
    max-width: 280px;
  }

  .policy {
    padding: 22px 20px 24px;
  }

  .display {
    font-size: 3.6rem;
  }

  .features {
    grid-template-columns: 1fr;
  }

}

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