/* Neeley Worldwide prototype base, shared by every page under /playground/prototype/.
   Mirrors the main site's tokens and components (src/app/globals.css) so the prototypes
   read as part of neeleyworldwide.com. Classes are prefixed nww- so they can't collide
   with a prototype's own styles. */
:root {
  --nww-ink: rgb(26, 27, 31);
  --nww-text: rgb(34, 34, 34);
  --nww-muted: rgb(105, 108, 114);
  --nww-rule: rgb(238, 238, 238);
  --nww-line: rgb(228, 228, 228);
  --nww-gray: rgb(244, 244, 244);
  --nww-button: rgb(32, 32, 32);
  --nww-font: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --nww-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #fff;
  color: var(--nww-ink);
  font-family: var(--nww-font);
  font-size: 15px;
  line-height: 26px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 3px;
}

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--nww-ink);
  outline-offset: 2px;
}

/* Layout */
.nww-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 40px;
}

.nww-container-wide {
  max-width: 1440px;
}

.nww-section {
  padding: 80px 0;
}

.nww-hero-section {
  padding: 64px 0 80px;
}

.nww-divider {
  height: 1px;
  max-width: 1140px;
  margin: 30px auto;
  background: var(--nww-rule);
}

.nww-centered {
  text-align: center;
}

.nww-centered .nww-p,
.nww-centered .nww-lede {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.nww-section-head {
  margin-bottom: 50px;
}

.nww-hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 40px 64px;
  align-items: center;
}

.nww-hero-media img {
  width: 100%;
  border: 1px solid var(--nww-line);
}

.nww-grid-3,
.nww-grid-4 {
  display: grid;
  gap: 40px 64px;
  text-align: left;
}

.nww-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nww-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
}

/* Type */
.nww-label {
  margin: 0 0 16px;
  font-size: 12px;
  line-height: 18px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--nww-ink);
}

.nww-h1 {
  margin: 0 0 20px;
  font-size: 52px;
  line-height: 64px;
  font-weight: 400;
  text-wrap: balance;
}

.nww-h2 {
  margin: 0 0 20px;
  font-size: 36px;
  line-height: 50px;
  font-weight: 400;
  text-wrap: balance;
}

.nww-h3 {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nww-subhead {
  margin: 0 0 20px;
  font-size: 22px;
  line-height: 32px;
  font-weight: 400;
  color: var(--nww-text);
  text-wrap: balance;
}

.nww-lede {
  margin: 0 0 30px;
  font-size: 18px;
  line-height: 30px;
  color: var(--nww-text);
}

.nww-p {
  margin: 0;
  font-size: 15px;
  line-height: 26px;
}

.nww-muted {
  color: var(--nww-muted);
}

/* Actions */
.nww-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}

.nww-button {
  display: inline-block;
  padding: 16px 35px;
  border: 0;
  border-radius: 3px;
  background: var(--nww-button);
  color: #fff;
  font: 400 14px/1.2 var(--nww-font);
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.nww-button:hover {
  opacity: 0.85;
}

.nww-link {
  font-size: 15px;
  line-height: 26px;
  text-decoration: underline;
}

/* Cards */
.nww-card {
  padding: 28px 32px;
  border-radius: 5px;
  background: var(--nww-gray);
}

.nww-cta {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 40px;
}

.nww-cta > div {
  padding: 80px 40px;
  border-radius: 5px;
  background: var(--nww-gray);
  text-align: center;
}

.nww-cta .nww-lede {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.nww-cta .nww-actions {
  justify-content: center;
}

/* Footer (injected by prototype-notice.js) */
.nww-footer {
  padding: 70px 0;
  font-size: 12px;
  line-height: 18px;
}

.nww-footer .nww-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
}

.nww-footer a {
  text-decoration: none;
  transition: opacity 0.2s;
}

.nww-footer a:hover {
  opacity: 0.6;
}

@media (max-width: 991px) {
  .nww-container,
  .nww-cta {
    padding: 0 30px;
  }

  .nww-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .nww-h1 {
    font-size: 44px;
    line-height: 56px;
  }

  .nww-grid-3,
  .nww-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .nww-container,
  .nww-cta {
    padding: 0 20px;
  }

  .nww-section {
    padding: 60px 0;
  }

  .nww-hero-section {
    padding: 40px 0 60px;
  }

  .nww-h1 {
    font-size: 36px;
    line-height: 48px;
  }

  .nww-h2 {
    font-size: 28px;
    line-height: 40px;
  }

  .nww-subhead {
    font-size: 19px;
    line-height: 28px;
  }

  .nww-grid-3,
  .nww-grid-4 {
    grid-template-columns: minmax(0, 1fr);
  }

  .nww-cta > div {
    padding: 60px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
