:root {
  --paper: #fbf0e6;
  --paper-light: #fffaf5;
  --ink: #090909;
  --blue: #2517ff;
  --coral: #f49a8a;
  --line: #1b1714;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Poppins, "Avenir Next", Arial, sans-serif;
}

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

.hidden-field {
  display: none;
}

a {
  color: inherit;
}

.header,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 46px 5vw;
}

.logo {
  width: min(225px, 48vw);
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-right: auto;
}

.nav a,
.footer a {
  text-decoration: none;
}

.nav .active {
  border-bottom: 1px solid var(--ink);
}

.contact {
  border: 1px solid var(--coral);
  border-radius: 999px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 12px 24px;
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 42px;
  padding: 64px 4vw 145px;
}

.hero-copy {
  align-self: start;
  padding-top: 6px;
  text-align: center;
}

.hero-copy h1,
.business-intro h1 {
  font-size: clamp(34px, 4vw, 62px);
  font-weight: 400;
  line-height: 1.18;
  margin: 0 0 28px;
}

.hero-copy p,
.business-intro p,
.section-copy p,
.interest p {
  font-size: 16px;
  line-height: 1.75;
  margin: 0 auto 42px;
  max-width: 720px;
}

.form-title {
  font-size: clamp(30px, 3vw, 48px);
  font-weight: 400;
  margin: 0 0 18px;
}

.form {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.form input {
  background: white;
  border: 1px solid #ddd8d2;
  border-radius: 0;
  color: var(--ink);
  font: inherit;
  min-width: 245px;
  padding: 20px 26px;
}

.form button {
  background: transparent;
  border: 1px solid var(--coral);
  border-radius: 999px;
  color: var(--coral);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  min-width: 132px;
  padding: 14px 22px;
}

.rule {
  border-top: 1px solid rgba(27, 23, 20, 0.72);
  margin-top: 46px;
}

.marquee {
  font-size: clamp(18px, 1.75vw, 28px);
  overflow: hidden;
  padding: 34px 0;
  white-space: nowrap;
}

.marquee-track {
  animation: marquee-slide 28s linear infinite;
  display: inline-flex;
  min-width: max-content;
}

.marquee-track-reverse {
  animation-direction: reverse;
}

.marquee span {
  display: inline-block;
  padding-right: 22px;
}

@keyframes marquee-slide {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}

.feature-section,
.business-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.88fr) minmax(360px, 1.12fr);
  gap: 72px;
  padding: 0 4vw 110px;
}

.section-visual,
.section-copy {
  align-self: center;
}

.friends-media {
  margin: 0 auto;
  max-width: min(620px, 100%);
}

.section-copy {
  text-align: center;
}

.wordmark {
  color: var(--blue);
  font-size: clamp(46px, 6.6vw, 96px);
  font-weight: 500;
  letter-spacing: 0.22em;
  line-height: 1;
  margin-bottom: 34px;
}

.section-copy h2 {
  font-size: clamp(26px, 2.55vw, 40px);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 24px;
}

.accordion {
  border-top: 1px solid rgba(27, 23, 20, 0.75);
  margin-top: 44px;
  text-align: left;
}

.accordion details {
  border-bottom: 1px solid rgba(27, 23, 20, 0.75);
  padding: 18px 0;
}

.accordion summary {
  cursor: pointer;
  display: flex;
  font-size: 17px;
  justify-content: space-between;
  list-style: none;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  height: 13px;
  margin-top: 2px;
  transform: rotate(45deg);
  width: 13px;
}

.accordion details[open] summary::after {
  margin-top: 8px;
  transform: rotate(225deg);
}

.accordion p {
  font-size: 14px;
  line-height: 1.65;
  margin: 14px 0 2px;
  max-width: 620px;
}

.city-section {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(300px, 0.85fr);
  gap: 54px;
  padding: 0 4vw 82px;
}

.city-card {
  background: var(--blue);
  border-radius: 8px 8px 0 0;
  overflow: hidden;
}

.business-title {
  background: var(--paper-light);
  color: var(--blue);
  font-size: clamp(58px, 9vw, 132px);
  font-weight: 400;
  line-height: 1;
  padding: 18px 4vw 42px;
  white-space: nowrap;
}

.business-grid {
  background: var(--paper-light);
  grid-template-columns: minmax(340px, 0.95fr) minmax(340px, 1fr);
  padding-bottom: 0;
}

.business-intro {
  align-self: start;
  padding-bottom: 46px;
}

.business-intro h1 {
  font-size: clamp(42px, 5vw, 76px);
  margin-bottom: 18px;
}

.features-label {
  display: inline-block;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 400;
  margin: 34px 0 8px;
  position: relative;
}

.features-label::after {
  border: 5px solid var(--blue);
  border-radius: 50%;
  content: "";
  inset: 4px -16px -4px -18px;
  position: absolute;
  transform: rotate(-2deg);
}

.interest {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
  gap: 46px;
  padding: 58px 4vw 68px;
}

.interest h2 {
  font-size: clamp(34px, 3.5vw, 50px);
  font-weight: 400;
  margin: 0 0 18px;
}

.banner {
  background: var(--blue);
  width: 100%;
}

.footer {
  align-items: center;
  flex-direction: column;
  gap: 22px;
  justify-content: center;
  padding: 64px 5vw 76px;
  text-align: center;
}

.footer-logo {
  width: min(580px, 72vw);
}

.footer-wordmark {
  margin-bottom: 8px;
}

.fine-print {
  font-size: clamp(15px, 1.35vw, 22px);
  line-height: 2;
  margin: 0;
}

.fine-print a {
  color: var(--coral);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.thanks {
  display: grid;
  min-height: 52vh;
  padding: 64px 6vw 120px;
  place-items: center;
  text-align: center;
}

.thanks-content {
  max-width: 680px;
}

.thanks h1 {
  font-size: clamp(40px, 6vw, 92px);
  font-weight: 400;
  line-height: 1.05;
  margin: 0 0 26px;
}

.thanks p {
  font-size: 18px;
  line-height: 1.7;
  margin: 0 auto 34px;
}

.button-link {
  border: 1px solid var(--coral);
  border-radius: 999px;
  color: var(--coral);
  display: inline-flex;
  font-weight: 600;
  padding: 14px 28px;
  text-decoration: none;
}

@media (max-width: 900px) {
  .header {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 28px 14px;
    justify-content: center;
    padding: 28px 6vw;
  }

  .header > a:first-child {
    display: flex;
    flex-basis: 100%;
    justify-content: center;
  }

  .nav {
    flex: 0 0 auto;
    gap: 18px;
    margin-right: 0;
  }

  .contact {
    flex: 0 0 auto;
    font-size: 13px;
    padding: 9px 18px;
    white-space: nowrap;
  }

  .hero,
  .feature-section,
  .city-section,
  .business-grid,
  .interest {
    grid-template-columns: 1fr;
    padding-left: 6vw;
    padding-right: 6vw;
  }

  .hero {
    padding-top: 38px;
    padding-bottom: 90px;
  }

  .hero-copy {
    text-align: left;
  }

  .form {
    align-items: stretch;
    flex-direction: column;
  }

  .form input,
  .form button {
    min-width: 0;
    width: 100%;
  }

  .wordmark {
    letter-spacing: 0.12em;
  }

  .business-title {
    padding-top: 40px;
    white-space: normal;
  }
}
