* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

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

.puzzle-landing-body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: #172033;
  background:
    radial-gradient(circle at 8% 10%, rgba(255, 191, 77, 0.22), transparent 28%),
    radial-gradient(circle at 88% 14%, rgba(103, 87, 245, 0.14), transparent 30%),
    linear-gradient(180deg, #fbfdff 0%, #f4f8ff 45%, #fff9f1 100%);
  min-height: 100vh;
}

.puzzle-landing-body .container {
  width: min(1120px, calc(100% - 44px));
  max-width: none;
  margin: 0 auto;
}

.puzzle-site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(223, 231, 242, 0.9);
  padding: 0;
}

.puzzle-header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.puzzle-brand,
.puzzle-landing-body .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: fit-content;
}

.puzzle-landing-body .brand-badge {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 900;
  background: linear-gradient(135deg, #4078ff, #6757f5);
  box-shadow: 0 12px 22px rgba(64, 120, 255, 0.22);
}

.puzzle-landing-body .logo {
  display: block;
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #172033;
}

.puzzle-landing-body .tagline {
  display: block;
  margin-top: 7px;
  color: #718096;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.puzzle-landing-body .site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.puzzle-landing-body .site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #435067;
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.puzzle-landing-body .site-nav a:hover {
  transform: translateY(-1px);
  background: #f2f0ff;
  color: #4d3fdc;
}

.puzzle-landing-body .site-nav a.active {
  color: #fff;
  background: #6757f5;
  box-shadow: 0 12px 22px rgba(103, 87, 245, 0.25);
}

.puzzle-landing-body .menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid #dfe7f2;
  border-radius: 14px;
  background: #fff;
  color: #27344a;
  font-size: 1.2rem;
  font-weight: 900;
  cursor: pointer;
}

.puzzle-hero {
  padding: 62px 0 28px;
}

.puzzle-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 44px;
}

.puzzle-landing-body .eyebrow {
  display: inline-flex;
  width: fit-content;
  color: #6757f5;
  background: rgba(103, 87, 245, 0.08);
  border: 1px solid rgba(103, 87, 245, 0.12);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}

.puzzle-hero-copy h1 {
  max-width: 720px;
  margin: 18px 0 18px;
  font-size: clamp(2.05rem, 4.2vw, 3.65rem);
  line-height: 1.04;
  letter-spacing: -0.07em;
  color: #172033;
}

.puzzle-hero-lede {
  max-width: 610px;
  color: #5f6b7c;
  font-size: 1.08rem;
  line-height: 1.65;
  margin: 0;
}

.puzzle-hero-buttons,
.puzzle-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.puzzle-hero-buttons {
  margin-top: 26px;
}

.puzzle-landing-body .btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 18px;
  border: 0;
  cursor: pointer;
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.puzzle-landing-body .btn:hover {
  transform: translateY(-2px);
}

.puzzle-landing-body .btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #6757f5, #4078ff);
  box-shadow: 0 16px 28px rgba(64, 120, 255, 0.22);
}

.puzzle-landing-body .btn-secondary {
  color: #6757f5;
  background: #fff;
  border: 1px solid rgba(103, 87, 245, 0.18);
  box-shadow: 0 10px 25px rgba(34, 50, 84, 0.08);
}

.puzzle-stats {
  margin-top: 20px;
}

.puzzle-stats span {
  padding: 9px 12px;
  border: 1px solid #dfe7f2;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: #41506a;
  font-size: 0.9rem;
  font-weight: 800;
}

.puzzle-hero-panel {
  padding: 20px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 45px rgba(34, 50, 84, 0.11);
}

.puzzle-landing-body .panel-top {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.puzzle-landing-body .dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
}

.puzzle-landing-body .dot-red { background: #ff708f; }
.puzzle-landing-body .dot-yellow { background: #ffcf5a; }
.puzzle-landing-body .dot-green { background: #72d98c; }

.puzzle-spotlight-card,
.puzzle-landing-body .spotlight-card {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(135deg, #eef5ff, #fff7ea);
  border: 1px solid rgba(34, 50, 84, 0.08);
}

.puzzle-landing-body .spotlight-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  font-size: 1.85rem;
  box-shadow: 0 10px 25px rgba(34, 50, 84, 0.08);
}

.puzzle-landing-body .spotlight-label {
  color: #5f6b7c;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
}

.puzzle-landing-body .spotlight-card h2 {
  margin: 3px 0 0;
  font-size: 1.55rem;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: #172033;
}

.puzzle-preview-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 16px;
  padding: 16px;
  border-radius: 26px;
  background: linear-gradient(135deg, #f0f6ff, #fff7ea);
  border: 1px solid rgba(34, 50, 84, 0.08);
}

.puzzle-preview-board span {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(34, 50, 84, 0.07);
  font-size: 2rem;
  font-weight: 900;
  color: #6757f5;
}

.puzzle-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.puzzle-subnav-card {
  width: min(1120px, calc(100% - 44px));
  max-width: none;
  margin: 4px auto 36px;
  padding: 14px;
  justify-content: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(223, 231, 242, 0.9);
  border-radius: 24px;
  box-shadow: 0 10px 25px rgba(34, 50, 84, 0.08);
}

.puzzle-subnav-card a {
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #dfe7f2;
  color: #435067;
  font-size: 0.9rem;
  font-weight: 900;
}

.puzzle-subnav-card a:hover {
  color: #fff;
  background: #6757f5;
  border-color: #6757f5;
  text-decoration: none;
}

.puzzle-section {
  padding: 52px 0 72px;
  background: rgba(255, 255, 255, 0.48);
  border-top: 1px solid rgba(223, 231, 242, 0.85);
  border-bottom: 1px solid rgba(223, 231, 242, 0.85);
}

.puzzle-section-heading {
  text-align: center;
  max-width: 700px;
}

.puzzle-section-heading h2 {
  margin: 14px 0 8px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1;
  letter-spacing: -0.06em;
  color: #172033;
}

.puzzle-section-heading p {
  color: #5f6b7c;
  margin: 0;
}

.puzzle-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.puzzle-card-grid .puzzle-card {
  min-height: 255px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 25px rgba(34, 50, 84, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  text-decoration: none;
  color: #172033;
}

.puzzle-card-grid .puzzle-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(34, 50, 84, 0.12);
}

.puzzle-card-grid .activity-icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 1.85rem;
  box-shadow: 0 9px 18px rgba(34, 50, 84, 0.08);
}

.puzzle-card-grid .puzzle-card h3 {
  margin: 18px 0 8px;
  font-size: 1.3rem;
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: #172033;
}

.puzzle-card-grid .puzzle-card p {
  color: #536176;
  font-size: 0.95rem;
  margin: 0;
}

.puzzle-card-grid .card-link-text {
  margin-top: auto;
  padding-top: 18px;
  color: #6757f5;
  font-size: 0.94rem;
  font-weight: 900;
}

.puzzle-landing-body .card-blue { background: linear-gradient(135deg, #deecff, #f7fbff); }
.puzzle-landing-body .card-purple { background: linear-gradient(135deg, #eee8ff, #fbf9ff); }
.puzzle-landing-body .card-green { background: linear-gradient(135deg, #e4f9ee, #f8fff9); }
.puzzle-landing-body .card-yellow { background: linear-gradient(135deg, #fff1cb, #fffaf0); }
.puzzle-landing-body .card-pink { background: linear-gradient(135deg, #ffe1ee, #fff8fb); }

.puzzle-site-footer {
  padding: 32px 0;
  border-top: 1px solid #dfe7f2;
  background: rgba(255, 255, 255, 0.62);
}

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

.puzzle-landing-body .site-footer h3 {
  font-size: 1rem;
  font-weight: 900;
  margin: 0;
}

.puzzle-landing-body .site-footer p {
  color: #5f6b7c;
  font-size: 0.9rem;
  margin: 4px 0 0;
}

.puzzle-landing-body .footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.puzzle-landing-body .footer-nav a {
  color: #435067;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.puzzle-landing-body .footer-nav a:hover {
  color: #6757f5;
}

@media (max-width: 980px) {
  .puzzle-hero-grid {
    grid-template-columns: 1fr;
  }

  .puzzle-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .puzzle-landing-body .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .puzzle-landing-body .site-nav {
    position: absolute;
    left: 22px;
    right: 22px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid #dfe7f2;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 45px rgba(34, 50, 84, 0.11);
  }

  .puzzle-landing-body .site-nav.open {
    display: flex;
  }

  .puzzle-landing-body .site-nav a {
    text-align: center;
  }
}

@media (max-width: 680px) {
  .puzzle-landing-body .container,
  .puzzle-subnav-card {
    width: min(100% - 28px, 1120px);
  }

  .puzzle-header-inner {
   
    min-height: 82px
  }

  .puzzle-landing-body .brand-badge {
    width: 40px;
    height: 40px;
  }

  .puzzle-landing-body .logo {
    font-size: 1.28rem;
  }

  .puzzle-landing-body .tagline {
    font-size: 0.58rem;
  }

  .puzzle-hero {
    padding-top: 42px;
  }

  .puzzle-hero-copy h1 {
    font-size: clamp(2.35rem, 13vw, 3.75rem);
  }

  .puzzle-hero-buttons,
  .puzzle-stats {
    flex-direction: column;
  }

  .puzzle-landing-body .btn,
  .puzzle-stats span {
    width: 100%;
  }

  .puzzle-preview-board,
  .puzzle-card-grid {
    grid-template-columns: 1fr;
  }

  .puzzle-preview-board span {
    min-height: 64px;
  }

  .puzzle-subnav-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .puzzle-subnav-card a {
    width: 100%;
    text-align: center;
  }

  .puzzle-card-grid .puzzle-card {
    min-height: auto;
  }

  .puzzle-landing-body .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
