/* BoostNet Playground - Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--play-background);
  color: var(--play-ink);
  font-family: var(--play-font);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--play-background);
  color: var(--play-text);
  overflow-x: hidden;
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--play-coral);
  color: #fff;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  border: var(--play-border-width) solid var(--play-border);
  box-shadow: var(--play-shadow-sm);
  border-radius: var(--play-radius-sm);
  z-index: 9999;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 1rem;
}

/* Clear Focus Rings */
:focus-visible {
  outline: 3px solid var(--play-coral);
  outline-offset: 3px;
}

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

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  color: var(--play-ink);
  font-weight: 800;
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.7rem); }
h4 { font-size: 1.2rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.play-container {
  width: 100%;
  max-width: var(--play-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 4vw, 32px);
  padding-right: clamp(16px, 4vw, 32px);
}

.play-section {
  padding-top: var(--play-section-space);
  padding-bottom: var(--play-section-space);
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 800px;
  margin: 0 auto clamp(32px, 5vw, 56px);
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border: var(--play-border-width) solid var(--play-border);
  border-radius: 999px;
  background: var(--play-yellow);
  box-shadow: var(--play-shadow-sm);
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--play-muted);
}

/* Reduced Motion Mode */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
