/* reset + basic layout */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #3b2414;           /* solid cookie-brown background */
  color: #2b130a;
}

/* wrapper fills the screen with some breathing room */
.page {
  min-height: 100vh;
  padding: 2rem 5vw;
}

/* 12-column style grid, wide like in the video */
.grid-12 {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* Cards */
.card {
  background: #ffe8d2;           /* light cookie dough color */
  border-radius: 0.9rem;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(120, 67, 21, 0.4);
}

/* Photos */
.card-photo {
  width: 100%;
  border-radius: 0.6rem;
  margin: 0.5rem 0 0.75rem;
  display: block;
}

/* Text bits */
.pill {
  display: inline-block;
  border-radius: 999px;
  padding: 0.2rem 0.8rem;
  border: 1px solid rgba(255, 204, 230, 0.9);
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #3b2414;
  background: #ffccd5;           /* pink icing pill */
}

h1, h2, h3 {
  font-weight: 600;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  margin-bottom: 0.7rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 0.4rem;
}

h3,
.layout-section-title {
  font-size: 2rem;
}

p {
  font-size: 2rem;
  color: #5c3320;
  line-height: 1.7;
}

a {
  color: #c25b7b;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* hero + meta */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: #ffccd5;
  color: #3b2414;
  font-size: 1.5rem;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c25b7b;
}

header {
  margin-bottom: 2rem;
}

header .grid-12 {
  align-items: start;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.hero-sub {
  font-size: 1.05rem;
  max-width: 40rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.hero-meta span {
  font-size: 1.5rem;
  color: #5c3320;
}

.hero-highlight {
  font-weight: 600;
  color: #c25b7b;
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.1rem;
}

.stat {
  font-size: 1.5rem;
  color: #5c3320;
}

.stat strong {
  color: #3b2414;
  font-size: 1.15rem;
  display: block;
}

/* nav + sections */
.nav-card ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.85rem;
}

.nav-card li a {
  font-size: 1rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: #ffd9b3;
  color: #3b2414;
}

.layout-section-title {
  margin: 2.5rem 0 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #f3d0aa;
}

.feature-list {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.6rem;
  font-size: 1rem;
  color: #5c3320;
}

.feature-list li {
  list-style: none;
  position: relative;
  padding-left: 1.1rem;
}

.feature-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #c25b7b;
}

/* inner snack grid */
.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.1rem;
  margin-top: 0.9rem;
}

.demo-item {
  background: #fff3e0;
  border-radius: 0.6rem;
  padding: 2rem;
  border: 1px dashed rgba(120, 67, 21, 0.4);
  font-size: 0.95rem;
  color: #3b2414;
}

.demo-label {
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: #c25b7b;
  margin-bottom: 0.3rem;
}

/* footer */
footer {
  margin-top: 2.5rem;
  font-size: 2rem;
  color: #f3d0aa;
  text-align: center;
}

/* wider screens: more “12-column” behavior */
@media (min-width: 900px) {
  .page {
    padding: 2.5rem 6vw;
  }

  .grid-12 {
    grid-template-columns: repeat(12, 1fr);
  }

  .hero-area {
    grid-column: span 8;
  }

  .nav-area {
    grid-column: span 4;
  }

  .overview-area {
    grid-column: span 7;
  }

  .aside-area {
    grid-column: span 5;
  }

  .cards-area {
    grid-column: span 12;
  }
}
