:root {
  --bg: #f5f7f2;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --text: #1f2a21;
  --muted: #607062;
  --line: #d9e2d5;
  --primary: #4f7a57;
  --primary-dark: #35563c;
  --accent: #c8d8bf;
  --shadow: 0 10px 30px rgba(31, 42, 33, 0.08);
  --radius: 20px;
  --radius-sm: 14px;
  --max-width: 1200px;
  --transition: 180ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, #e7efe1 0%, transparent 28%),
    radial-gradient(circle at top right, #eef5e8 0%, transparent 30%),
    var(--bg);
  line-height: 1.6;
}

img,
iframe {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.section {
  padding: 4rem 0;
}

.section-last {
  padding-bottom: 5rem;
}

.section-header {
  margin-bottom: 1.75rem;
}

.section-header h2 {
  margin: 0.25rem 0 0;
  font-size: clamp(1.8rem, 2vw, 2.4rem);
}

.section-kicker,
.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(245, 247, 242, 0.82);
  border-bottom: 1px solid rgba(79, 122, 87, 0.12);
}

.nav-container {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--primary-dark);
  white-space: nowrap;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.nav a {
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  color: var(--muted);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.nav a:hover,
.nav a.active {
  background: var(--accent);
  color: var(--primary-dark);
}

.hero {
  padding: 5.5rem 0 3rem;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 1.5rem;
  align-items: stretch;
}

.hero-text h1 {
  margin: 0.4rem 0 1rem;
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  line-height: 1.05;
}

.hero-description {
  max-width: 60ch;
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-dark);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  background: var(--surface-strong);
}

.card {
  background: var(--surface);
  border: 1px solid rgba(79, 122, 87, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem;
  backdrop-filter: blur(10px);
}

.hero-highlight h2,
.card h3 {
  margin-top: 0;
}

.event-meta {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.event-meta li + li {
  margin-top: 0.65rem;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card p,
.rule-card p,
.mood-card p {
  margin-bottom: 0;
}

.card-note {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.checklist li + li {
  margin-top: 0.75rem;
}

.checklist label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 0.9rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(79, 122, 87, 0.08);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.checklist label:hover {
  background: #fff;
  border-color: rgba(79, 122, 87, 0.18);
  transform: translateY(-1px);
}

.checklist input[type="checkbox"] {
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.checklist span.done {
  text-decoration: line-through;
  color: var(--muted);
  opacity: 0.8;
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1rem;
  align-items: start;
}

.timeline-time {
  font-weight: 800;
  color: var(--primary-dark);
  background: rgba(200, 216, 191, 0.45);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  text-align: center;
}

.board-card {
  padding: 1.2rem;
}

.board-intro {
  margin-top: 0;
  color: var(--muted);
}

.miro-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 340px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #edf3e8, #f9fbf7);
}

.miro-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.mood-card {
  text-align: center;
}

.mood-emoji {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.footer {
  border-top: 1px solid rgba(79, 122, 87, 0.12);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
}

.footer-content {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer p {
  margin: 0;
  color: var(--muted);
}

.back-to-top {
  font-weight: 700;
  color: var(--primary-dark);
}

@media (max-width: 980px) {
  .hero-content,
  .grid-3,
  .grid-2,
  .timeline-item {
    grid-template-columns: 1fr;
  }

  .timeline-time {
    width: fit-content;
  }
}

@media (max-width: 760px) {
  .topbar {
    position: sticky;
  }

  .nav-container {
    align-items: flex-start;
    flex-direction: column;
    padding: 0.85rem 0;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.25rem;
  }

  .nav a {
    white-space: nowrap;
  }

  .hero {
    padding-top: 4.5rem;
  }

  .section {
    padding: 3.2rem 0;
  }

  .miro-wrapper {
    min-height: 280px;
  }

  .footer-content {
    flex-direction: column;
    justify-content: center;
    padding: 1rem 0;
  }
}