/* YETI LIFE — site styles. Watercolor book style: warm sky blues, orange accents. */
@font-face {
  font-family: "Fredoka";
  src: url("fonts/Fredoka-600.ttf") format("truetype");
  font-weight: 600;
}
@font-face {
  font-family: "Fredoka";
  src: url("fonts/Fredoka-700.ttf") format("truetype");
  font-weight: 700;
}
@font-face {
  font-family: "Andika";
  src: url("fonts/Andika-400.ttf") format("truetype");
  font-weight: 400;
}
@font-face {
  font-family: "Andika";
  src: url("fonts/Andika-700.ttf") format("truetype");
  font-weight: 700;
}

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

body {
  font-family: "Andika", "Segoe UI", system-ui, sans-serif;
  background:
    radial-gradient(1200px 600px at 50% -10%, #ffffff 0%, rgba(255,255,255,0) 60%),
    linear-gradient(180deg, #bfe0f4 0%, #dff2fd 30%, #f4fbff 70%, #ffffff 100%);
  color: #16324F;
  min-height: 100vh;
  overflow-x: hidden;
}

#snow { position: fixed; inset: 0; pointer-events: none; z-index: 1; }

/* Top navigation */
.topnav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 2px solid #d7e9f5;
  box-shadow: 0 4px 16px rgba(22, 50, 79, 0.08);
}
.topnav .inner {
  max-width: 960px; margin: 0 auto; padding: 10px 16px;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.topnav .logo {
  font-family: "Fredoka", sans-serif;
  font-size: 24px; font-weight: 700; letter-spacing: 1px;
  color: #1B7EC2; text-decoration: none;
  text-shadow: 0 1px 0 #ffffff;
  white-space: nowrap;
}
.topnav nav { display: flex; gap: 6px; flex-wrap: wrap; margin-left: auto; }
.topnav nav a {
  font-family: "Fredoka", sans-serif;
  font-size: 15px; font-weight: 600;
  color: #16324F; text-decoration: none;
  padding: 7px 12px; border-radius: 999px;
}
.topnav nav a:hover { background: #e8f4fc; }
.topnav nav a.active { background: #1B7EC2; color: #ffffff; }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px 48px; position: relative; z-index: 2; }
.wrap.narrow { max-width: 640px; }

/* Hero */
.hero {
  margin: 18px 0 0;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(22, 50, 79, 0.18);
  border: 4px solid #ffffff;
}
.hero img { display: block; width: 100%; height: auto; }

.brand { text-align: center; margin-top: 24px; }
.brand .logo {
  font-family: "Fredoka", sans-serif;
  font-size: 48px; font-weight: 700; letter-spacing: 1px; color: #1B7EC2;
  text-shadow: 0 2px 0 #ffffff, 0 4px 14px rgba(27,126,194,0.25);
}
.brand .tag {
  font-family: "Fredoka", sans-serif;
  font-size: 20px; font-weight: 600; color: #16324F; margin-top: 4px;
}

.speech {
  position: relative;
  background: #ffffff;
  border: 2px solid #bcd9ee;
  border-radius: 20px;
  padding: 16px 20px;
  margin: 20px auto 0;
  max-width: 560px;
  font-size: 17px; line-height: 1.55;
  box-shadow: 0 6px 20px rgba(22, 50, 79, 0.10);
  text-align: center;
}
.speech b { color: #1B7EC2; }

h1.page {
  font-family: "Fredoka", sans-serif;
  font-size: 36px; font-weight: 700; color: #16324F;
  text-align: center; margin: 26px 0 6px; letter-spacing: 1px;
}
.sub { text-align: center; font-size: 16px; color: #3d5a73; margin-bottom: 8px; }

/* Cards & sections */
.card {
  background: rgba(255,255,255,0.92);
  border: 2px solid #d7e9f5;
  border-radius: 22px;
  padding: 20px;
  margin-top: 22px;
  box-shadow: 0 8px 24px rgba(22, 50, 79, 0.10);
}
.card h2 {
  font-family: "Fredoka", sans-serif;
  font-size: 22px; font-weight: 600; color: #16324F;
  margin-bottom: 10px;
}
.card p { font-size: 16px; line-height: 1.6; color: #2c4a63; }
.card p + p { margin-top: 10px; }

.grid { display: grid; gap: 18px; margin-top: 22px; }
.grid.cols2 { grid-template-columns: 1fr 1fr; }
.grid.cols3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 700px) {
  .grid.cols2, .grid.cols3 { grid-template-columns: 1fr; }
}

.tile {
  display: block; text-decoration: none; color: inherit;
  background: rgba(255,255,255,0.92);
  border: 2px solid #d7e9f5;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(22, 50, 79, 0.10);
  transition: transform 0.15s ease;
}
.tile:hover { transform: translateY(-3px); }
.tile img { display: block; width: 100%; height: auto; }
.tile .body { padding: 16px 18px 18px; }
.tile h3 {
  font-family: "Fredoka", sans-serif;
  font-size: 20px; font-weight: 700; color: #16324F; margin-bottom: 6px;
}
.tile p { font-size: 15px; line-height: 1.55; color: #3d5a73; }
.tile .go {
  font-family: "Fredoka", sans-serif;
  font-weight: 700; color: #F5820B; font-size: 15px; margin-top: 10px; display: inline-block;
}

.btn {
  display: inline-block;
  font-family: "Fredoka", sans-serif;
  padding: 13px 26px; border-radius: 14px; border: none;
  background: linear-gradient(180deg, #ff9a2e, #F5820B);
  color: #fff; font-weight: 700; font-size: 16px; cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 0 #c96a06, 0 8px 16px rgba(245,130,11,0.35);
}
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 #c96a06; }
.btn.blue {
  background: linear-gradient(180deg, #57b6ec, #1B7EC2);
  box-shadow: 0 4px 0 #14608f, 0 8px 16px rgba(27,126,194,0.35);
}
.btn.disabled {
  background: #d7e9f5; color: #7fa3bd; cursor: not-allowed; box-shadow: none;
}

/* Shop & merch badges */
.badge {
  display: inline-block; margin-top: 10px;
  font-family: "Fredoka", sans-serif; font-size: 13px; font-weight: 600;
  color: #1B7EC2; background: #e8f4fc;
  border: 1px solid #bcd9ee; border-radius: 999px; padding: 4px 10px;
}

/* Books */
.book {
  display: grid; grid-template-columns: 240px 1fr; gap: 22px;
  background: rgba(255,255,255,0.92);
  border: 2px solid #d7e9f5; border-radius: 22px;
  padding: 20px; margin-top: 22px;
  box-shadow: 0 8px 24px rgba(22, 50, 79, 0.10);
}
.book .cover img {
  display: block; width: 100%; height: auto; border-radius: 14px;
  border: 3px solid #ffffff;
  box-shadow: 0 8px 20px rgba(22, 50, 79, 0.18);
}
.book h2 {
  font-family: "Fredoka", sans-serif;
  font-size: 26px; font-weight: 700; color: #16324F;
}
.book .meta {
  font-family: "Fredoka", sans-serif;
  font-size: 14px; font-weight: 600; color: #1B7EC2; margin: 4px 0 10px;
}
.book p { font-size: 16px; line-height: 1.6; color: #2c4a63; }
.book .actions { margin-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.book .secret {
  font-size: 14px; color: #3d5a73; margin-top: 12px;
  background: #f2f8fc; border: 1px dashed #bcd9ee; border-radius: 12px; padding: 10px 12px;
}
@media (max-width: 620px) {
  .book { grid-template-columns: 1fr; }
  .book .cover { max-width: 260px; margin: 0 auto; }
}

.coming {
  text-align: center;
  background: rgba(255,255,255,0.7);
  border: 2px dashed #bcd9ee;
  border-radius: 22px;
  padding: 22px;
  margin-top: 22px;
}
.coming h2 {
  font-family: "Fredoka", sans-serif;
  font-size: 20px; font-weight: 700; color: #16324F;
}
.coming p { font-size: 15px; color: #3d5a73; margin-top: 6px; line-height: 1.55; }

/* Friends */
.friend img { aspect-ratio: 1 / 1; object-fit: cover; }

/* Parents page */
.ladder { list-style: none; margin-top: 8px; }
.ladder li {
  padding: 10px 0; border-bottom: 1px solid #e3f0f9;
  font-size: 15px; line-height: 1.55; color: #2c4a63;
}
.ladder li:last-child { border-bottom: none; }
.ladder b { color: #16324F; }

form.signup { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
form.signup input[type="email"] {
  flex: 1; min-width: 220px;
  padding: 13px 16px; border-radius: 14px;
  border: 2px solid #bcd9ee;
  font-family: "Andika", sans-serif; font-size: 16px;
  color: #16324F; background: #f7fcff;
}
form.signup input[type="email"]:focus { outline: none; border-color: #1B7EC2; background: #ffffff; }
.note { font-size: 13px; color: #7fa3bd; margin-top: 10px; line-height: 1.5; }

.foot { text-align: center; font-size: 13px; color: #7fa3bd; margin-top: 34px; line-height: 1.6; }
.foot a { color: #1B7EC2; text-decoration: none; font-weight: 700; }
