@font-face {
  font-family: "Fredoka";
  src: url("./assets/fonts/Fredoka-Variable.ttf") format("truetype");
  font-weight: 300 600;
  font-stretch: 100% 125%;
  font-display: swap;
}

@font-face {
  font-family: "Varela Round";
  src: url("./assets/fonts/VarelaRound-Regular.ttf") format("truetype");
  font-weight: 300;
  font-display: swap;
}

:root {
  --cream: #f7f3ea;
  --coral: #ed6c59;
  --charcoal: #233038;
  --teal: #489a9c;
}

* {
  box-sizing: border-box;
  margin: 0;
}

body {
  background: var(--cream);
  color: var(--charcoal);
  font-family: "Varela Round", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 75px 16px 140px;
  text-align: center;
}

/* Logo: brand icon + typed wordmark */
.logo {
  display: flex;
  align-items: flex-start;
  gap: 62px;
  color: inherit;
  text-decoration: none;
}

.logo-icon {
  width: 64px;
  height: 61px;
}

.wordmark {
  margin-top: -6px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wordmark-name {
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: 44px;
  font-stretch: 108%;
  line-height: 1;
  letter-spacing: -0.02em;
}

.wordmark-sub {
  margin-top: 9px;
  font-size: 15px;
  letter-spacing: 0.3em;
  margin-right: -0.3em;
}

/* "Good times in the making" badge */
.badge {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 67px;
  padding: 12.5px 27px 12.5px 26px;
  border: 1.5px solid var(--charcoal);
  border-radius: 999px;
  font-size: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: rotate(-3.4deg);
}

.badge-dot {
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--coral);
}

h1 {
  margin-top: 49px;
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: min(134px, 15vw);
  line-height: 1.015;
  letter-spacing: -0.037em;
}

.tagline {
  margin-top: 52px;
  font-size: 26px;
}

.people {
  width: 365px;
  max-width: 100%;
  margin-top: 64px;
}

.intro {
  max-width: 880px;
  margin-top: 70px;
  font-size: 21px;
  line-height: 1.57;
}

@media (max-width: 700px) {
  .logo { gap: 32px; }
  .badge { font-size: 12px; }
  .tagline { font-size: 20px; }
  .people { width: 260px; }
  .intro { font-size: 17px; }
}
