:root {
  --ink: #342b26;
  --muted: #75685f;
  --paper: #fffaf1;
  --sage: #99a77b;
  --moss: #6f7f54;
  --coral: #e99486;
  --shadow: 0 24px 80px rgba(83, 63, 45, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, #fff0db 0, transparent 34%),
    radial-gradient(circle at 85% 12%, #ffe4df 0, transparent 28%),
    linear-gradient(180deg, var(--paper), #fffdf8 58%, #fff7e9);
  font-family: "Nunito", system-ui, sans-serif;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background-image: radial-gradient(#b99c7d 0.7px, transparent 0.7px);
  background-size: 18px 18px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

.site-header {
  width: min(1000px, calc(100% - 32px));
  margin: 20px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 5;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.avatar {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(52,43,38,.12);
  box-shadow: 0 10px 28px rgba(82, 60, 40, .1);
}

.brand strong {
  display: block;
  font-family: "Gaegu", cursive;
  font-size: clamp(1.45rem, 5vw, 1.75rem);
  line-height: .9;
}

.brand small {
  color: var(--muted);
  font-size: .82rem;
}

.nav {
  display: flex;
  gap: 8px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(52,43,38,.1);
  border-radius: 999px;
  padding: 8px;
  backdrop-filter: blur(10px);
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  padding: 9px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.nav a:hover {
  background: #fff;
}

.hero {
  width: min(1000px, calc(100% - 32px));
  margin: 8px auto 0;
  
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 10px 18px;
  border: 2px solid rgba(52,43,38,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.64);
  font-family: "Gaegu", cursive;
  font-size: clamp(1.05rem, 4vw, 1.35rem);
  transform: rotate(-1deg);
}

h1 {
  margin: 16px 0 12px;
  font-family: "Gaegu", cursive;
  font-size: clamp(4rem, 12vw, 8.6rem);
  line-height: .78;
  letter-spacing: -0.04em;
}

h1 span {
  color: var(--coral);
}

.lead {
  max-width: 520px;
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  line-height: 1.75;
  color: var(--muted);
}


.mini-notes {
  display: flex;
  margin-top: 24px;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  color: var(--muted);
  font-family: "Gaegu", cursive;
  font-size: clamp(1.05rem, 4vw, 1.25rem);
}

.hero-art {
  display: flex;
  justify-content: center;
  align-items: center;
  
  padding: 0;
}

.hero-character {
  width: clamp(260px, 40vw, 600px);
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.08));
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.preview {
  width: min(1120px, calc(100% - 32px));
  margin: 24px auto 0;
  text-align: center;
}

h2 {
  font-family: "Gaegu", cursive;
  font-size: clamp(2.6rem, 7vw, 4rem);
  margin: 0 0 22px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.cards article {
  padding: clamp(22px, 5vw, 28px);
  border-radius: 34px;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(52,43,38,.1);
  box-shadow: 0 16px 48px rgba(83, 63, 45, 0.09);
}

.cards span {
  font-size: 2.2rem;
}

.cards h3 {
  margin: 12px 0 8px;
  font-family: "Gaegu", cursive;
  font-size: 2rem;
}

.cards p {
  color: var(--muted);
  line-height: 1.65;
}

.updates {
  width: min(800px, calc(100% - 32px));
  margin: 40px auto 42px;
  text-align: center;
  padding: clamp(24px, 6vw, 36px);
  border-radius: 40px;
  background: rgba(255,250,241,.72);
}

.updates p {
  font-family: "Gaegu", cursive;
  font-size: clamp(1.35rem, 5vw, 1.8rem);
  margin-top: 0;
}

.socials {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.socials a {
  color: var(--ink);
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(52,43,38,.1);
  font-weight: 900;
}

footer {
  text-align: center;
  color: var(--muted);
  padding: 20px 20px 40px;
}

/* Tablet */
@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
  }

  .nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: auto;
  }

  .hero-copy,
  .lead,
  .notify-card {
    margin-left: auto;
    margin-right: auto;
  }

  .mini-notes {
    justify-content: center;
  }

  .hero-art {
    min-height: auto;
    margin-top: 8px;
  }

  .hero-character {
    width: clamp(300px, 76vw, 560px);
  }

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

/* Phone */
@media (max-width: 560px) {
  .site-header,
  .hero,
  .preview,
  .updates {
    width: min(100% - 24px, 1120px);
  }

  .site-header {
    margin-top: 14px;
  }

  .avatar {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  h1 {
    font-size: clamp(3.5rem, 19vw, 5.3rem);
  }

  .lead {
    line-height: 1.65;
  }

  .input-row {
    flex-direction: column;
  }

  button {
    width: 100%;
    padding: 14px 18px;
  }

  .hero-character {
    width: min(92vw, 390px);
  }

  .hero-art {
    padding: 0;
  }

  .socials a {
    width: 100%;
  }
}

/* Very small phones */
@media (max-width: 380px) {
  h1 {
    font-size: 3.35rem;
  }

  .pill {
    padding: 8px 14px;
  }

  .hero-character {
    width: 96vw;
  }
}

@media (max-width: 920px) {
  .hero {
    gap: 12px;
    margin-top: 20px;
  }

  .hero-character {
    width: min(85vw, 420px);
  }
}
