:root {
  --bg-top: #fffbeb;
  --bg-mid: #ffffff;
  --bg-bottom: #f0f9ff;
  --text: #1e293b;
  --text-muted: #64748b;
  --text-strong: #0f172a;
  --border: #e2e8f0;
  --card-bg: #ffffff;
  --pill-bg: #f1f5f9;
  --accent: #fbbf24;
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.12);
  --shadow-md: 0 10px 20px rgba(15, 23, 42, 0.08);
  --shadow-sm: 0 4px 10px rgba(15, 23, 42, 0.06);
  --radius-xl: 1rem;
  --radius-2xl: 1.25rem;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: linear-gradient(to bottom, var(--bg-top), var(--bg-mid), var(--bg-bottom));
  min-height: 100vh;
}

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

.container {
  width: min(calc(100% - 3rem), var(--container));
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-2xl);
  display: grid;
  place-items: center;
  background: var(--accent);
  font-size: 1.125rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hero {
  display: grid;
  gap: 2.5rem;
  padding: 2.5rem 0 4rem;
  align-items: center;
}

.hero h1 {
  max-width: 40rem;
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--text-strong);
}

.hero p {
  max-width: 40rem;
  margin: 1.25rem 0 0;
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.hero-intro {
  max-width: 40rem;
  margin: 1rem 0 0;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
}

.hero-image {
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}

.section {
  padding: 3rem 0;
  scroll-margin-top: 80px;
}

.section h2 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.2;
  color: var(--text-strong);
}

.steps {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.step-card {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--card-bg);
  box-shadow: var(--shadow-md);
}

.step-title {
  font-weight: 700;
  margin-bottom: 0.375rem;
}

.step-text {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1rem;
  border-radius: 999px;
  background: var(--pill-bg);
  font-size: 0.875rem;
}

.ideas-note {
  max-width: 48rem;
  margin: 1rem 0 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.idea-groups {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.idea-group {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--card-bg);
  box-shadow: var(--shadow-md);
  scroll-margin-top: 80px;
}

.opening-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--card-bg);
  box-shadow: var(--shadow-md);
}

.opening-card .ideas-note {
  margin-top: 1rem;
}

.opening-card .activity-list {
  margin-top: 1.5rem;
}

.idea-group h3 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  color: var(--text-strong);
}

.activity-list {
  display: grid;
  gap: 0.75rem;
}

.activity-item {
  border: 1px solid var(--border);
  border-radius: 0.875rem;
  background: #fffdf8;
  overflow: hidden;
}

.activity-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.1rem;
  font-weight: 700;
  color: var(--text-strong);
}

.summary-badge {
  display: inline-block;
  margin-left: 0.6rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #fff7df;
  color: #8a5a00;
  font-size: 0.78rem;
  font-weight: 700;
  vertical-align: middle;
}

.summary-badge-boy {
  background: #e0f2fe;
  color: #0c4a6e;
}

.activity-item summary::-webkit-details-marker {
  display: none;
}

.activity-item[open] summary {
  border-bottom: 1px solid var(--border);
  background: #fff7df;
}

.activity-body {
  padding: 1rem 1.1rem 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.activity-body p {
  margin: 0;
}

.activity-link {
  display: inline-block;
  margin-top: 0.85rem;
  font-weight: 600;
  color: #0f766e;
  text-decoration: none;
}

.activity-link:hover,
.activity-link:focus {
  text-decoration: underline;
}

.site-footer {
  margin-top: 4rem;
  background: #0f172a;
  color: #e2e8f0;
}

.footer-inner {
  display: grid;
  gap: 2rem;
  padding: 2.5rem 0;
}

.footer-brand {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.footer-links {
  display: grid;
  gap: 1.5rem;
}

.footer-links h4 {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #fbbf24;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-links a {
  color: #cbd5f5;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  padding: 1rem 0;
  font-size: 0.8rem;
  color: #94a3b8;
}

@media (min-width: 768px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    padding: 2.5rem 0 6rem;
    align-items: start;
  }

  .idea-groups {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner {
    grid-template-columns: 1.5fr 2fr;
    align-items: start;
  }

  .footer-links {
    grid-template-columns: repeat(3, 1fr);
  }
}
	
	.category-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1rem;
  border-radius: 999px;
  background: var(--pill-bg);
  font-size: 0.875rem;
  text-decoration: none;
  color: var(--text);
  transition: background 0.2s ease, transform 0.2s ease;
}

.category-pill:hover,
.category-pill:focus {
  background: #e2e8f0;
  text-decoration: none;
  transform: translateY(-1px);
}
