:root {
  --coral: #FF6B6B;
  --yellow: #FFD93D;
  --mint: #6BCB77;
  --sky: #4ECDC4;
  --lavender: #C77DFF;
  --cream: #FFF9F0;
  --dark: #2D2D2D;
  --mid: #5A5A5A;
  --white: #FFFFFF;
  --fd: 'Baloo 2', cursive;
  --fb: 'Nunito', sans-serif;
  --r-xl: 32px;
  --r-lg: 20px;
  --shadow: 0 18px 45px rgba(45, 45, 45, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--fb);
  background: var(--cream);
  color: var(--dark);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 249, 240, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 3px solid var(--yellow);
}

.nav-inner {
  max-width: 1120px;
  min-height: 66px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  font-family: var(--fd);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--coral);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 800;
  color: var(--mid);
}

.nav-links a:hover {
  color: var(--coral);
}

.nav-cta,
.blog-card-link,
.article-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--coral);
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(255, 107, 107, 0.28);
}

.nav-cta {
  padding: 9px 20px;
}

.blog-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 217, 61, 0.46), transparent 26%),
    radial-gradient(circle at 85% 15%, rgba(78, 205, 196, 0.35), transparent 28%),
    linear-gradient(145deg, #FFF4F0 0%, #FFF9F0 100%);
}

.blog-hero::after {
  content: '🌟';
  position: absolute;
  right: 8%;
  bottom: -42px;
  font-size: clamp(7rem, 16vw, 13rem);
  opacity: 0.12;
  transform: rotate(12deg);
}

.blog-hero-inner,
.blog-index,
.article-wrap,
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.blog-hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 96px;
  padding-bottom: 76px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-hero h1,
.article-header h1 {
  max-width: 800px;
  margin: 0 0 18px;
  font-family: var(--fd);
  font-size: clamp(2.55rem, 6vw, 5rem);
  line-height: 1.02;
}

.blog-hero p,
.article-subtitle {
  max-width: 690px;
  margin: 0;
  color: var(--mid);
  font-size: 1.15rem;
  line-height: 1.75;
}

.blog-index {
  padding-top: 70px;
  padding-bottom: 100px;
}

.blog-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.blog-toolbar h2 {
  margin: 0 0 6px;
  font-family: var(--fd);
  font-size: clamp(2rem, 4vw, 3rem);
}

.blog-toolbar p {
  margin: 0;
  color: var(--mid);
  line-height: 1.6;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
}

.blog-card {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 3px solid #F1E7D7;
  border-radius: var(--r-xl);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: var(--yellow);
  box-shadow: 0 24px 55px rgba(45, 45, 45, 0.16);
}

.blog-card-emoji {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 217, 61, 0.35), rgba(255, 107, 107, 0.22));
  font-size: 2rem;
}

.blog-card-meta,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--mid);
  font-size: 0.84rem;
  font-weight: 800;
}

.blog-card h3 {
  margin: 0 0 12px;
  font-family: var(--fd);
  font-size: 1.65rem;
  line-height: 1.08;
}

.blog-card p {
  margin: 0 0 24px;
  color: var(--mid);
  line-height: 1.7;
}

.blog-card-link {
  margin-top: auto;
  width: fit-content;
  padding: 11px 18px;
}

.blog-help {
  margin-top: 32px;
  padding: 22px;
  border: 2px dashed rgba(255, 107, 107, 0.38);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.56);
  color: var(--mid);
  line-height: 1.7;
}

.blog-help code {
  color: var(--dark);
  font-weight: 900;
}

.article-header {
  background: linear-gradient(145deg, #FFF4F0 0%, #FFF9F0 100%);
  border-bottom: 3px solid rgba(255, 217, 61, 0.6);
}

.article-header .article-wrap {
  padding-top: 82px;
  padding-bottom: 56px;
}

.article-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 66px 24px 90px;
  font-size: 1.08rem;
  line-height: 1.85;
}

.article-content h2 {
  margin-top: 44px;
  margin-bottom: 12px;
  font-family: var(--fd);
  font-size: 2rem;
  line-height: 1.15;
}

.article-content p,
.article-content li {
  color: #454545;
}

.article-content ul {
  padding-left: 22px;
}

.article-note {
  margin: 34px 0;
  padding: 24px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 3px solid rgba(78, 205, 196, 0.28);
  box-shadow: var(--shadow);
}

.article-cta {
  margin-top: 28px;
  padding: 14px 22px;
}

.site-footer {
  background: var(--dark);
  color: #999;
  padding: 44px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-logo {
  color: var(--white);
  font-family: var(--fd);
  font-size: 1.25rem;
  font-weight: 900;
}

.footer-links {
  display: flex;
  gap: 18px;
  font-weight: 800;
}

.footer-links a:hover {
  color: var(--yellow);
}

@media (max-width: 760px) {
  .nav-inner,
  .blog-toolbar,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .blog-hero-inner {
    padding-top: 64px;
  }
}
