/* WattGoedkoper v0.7 · consistent approved brand and intentional first-screen guidance.
   This layer is loaded after the existing premium/cockpit system. */
.playground-page .wordmark {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  flex: 0 0 auto;
  gap: 0;
  line-height: 0;
  text-decoration: none;
}
.playground-page .wordmark .brand-lockup {
  display: block;
  width: clamp(188px, 17vw, 242px);
  height: auto;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
}
.playground-page .wordmark:focus-visible {
  outline: 3px solid #e8bf2c;
  outline-offset: 4px;
  border-radius: 8px;
}

/* The large empty strip above the house becomes a compact action map. */
@media (min-width: 1101px) {
  .playground-page {
    --cockpit-intro: 96px;
    --cockpit-tile: clamp(108px, 14.5dvh, 122px);
  }
  .playground-page .app-intro {
    height: var(--cockpit-intro);
    display: grid;
    grid-template-columns: minmax(300px, 1.08fr) minmax(370px, 1.38fr) minmax(185px, .65fr);
    gap: clamp(12px, 1.45vw, 25px);
    align-items: center;
    padding: 3px 0 0;
    pointer-events: auto;
    z-index: 6;
  }
  .playground-page .intro-copy {
    max-width: none;
    align-self: center;
  }
  .playground-page .intro-kicker {
    margin-bottom: 5px;
    font-size: 8px;
    letter-spacing: .15em;
  }
  .playground-page .app-intro h1 {
    font-size: clamp(34px, 3.1vw, 40px);
    line-height: .95;
    letter-spacing: -1.3px;
    margin: 0;
  }
  .playground-page .app-intro h1 > span::after {
    height: 4px;
    bottom: -1px;
    left: 41%;
  }
  .playground-page .app-intro p,
  .playground-page .intro-note {
    display: none;
  }

  .playground-page .intro-path {
    position: relative;
    align-self: center;
    min-width: 0;
    border: 1px solid #e4e6dc;
    background: #fffefaec;
    box-shadow: 0 9px 23px #183b4506, 0 1px 0 #fff inset;
    border-radius: 15px;
    padding: 8px;
    display: flex;
    align-items: stretch;
  }
  .playground-page .intro-path-label {
    position: absolute;
    left: 12px;
    top: -17px;
    font-size: 9px;
    font-weight: 800;
    color: #687d73;
    letter-spacing: .15em;
  }
  .playground-page .intro-path-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3px;
    width: 100%;
  }
  .playground-page .intro-path-step {
    border: 0;
    background: transparent;
    border-radius: 10px;
    cursor: pointer;
    padding: 7px 7px;
    color: #193d49;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-start;
    min-height: 49px;
    text-align: left;
    font: inherit;
    transition: background .15s ease;
  }
  .playground-page .intro-path-step:hover { background: #f1f3e8; }
  .playground-page .intro-path-step:focus-visible {
    outline: 2px solid #d8b12a;
    outline-offset: -1px;
    background: #fff3c9;
  }
  .playground-page .intro-path-number {
    display: grid;
    flex: 0 0 27px;
    place-items: center;
    height: 27px;
    border-radius: 50%;
    background: #eef2e8;
    border: 1px solid #dfe7dc;
    color: #547267;
    font: 800 11px/1 var(--font-body);
  }
  .playground-page .intro-path-step:first-child .intro-path-number {
    background: #ffdc4c;
    border-color: #f5cd38;
    color: #123a4a;
  }
  .playground-page .intro-path-step strong,
  .playground-page .intro-path-step small {
    display: block;
    white-space: nowrap;
    line-height: 1.3;
  }
  .playground-page .intro-path-step strong {
    font-size: 11px;
    font-weight: 800;
    color: #1a414c;
  }
  .playground-page .intro-path-step small {
    font-size: 9px;
    color: #778880;
    font-weight: 500;
    margin-top: 2px;
  }

  .playground-page .intro-actions {
    position: relative;
    inset: auto;
    max-width: none;
    min-width: 0;
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    gap: 7px;
    margin: 0;
    padding: 0;
    justify-self: end;
    text-align: right;
  }
  .playground-page .intro-actions .example-label {
    max-width: 230px;
    font-size: 10px !important;
    line-height: 1.35;
    white-space: normal;
  }
  .playground-page .intro-actions .reset-button {
    min-height: 27px;
    margin: 0;
  }
}

@media (min-width: 1101px) and (max-width: 1260px) {
  .playground-page .app-intro {
    grid-template-columns: minmax(255px, 1fr) minmax(355px, 1.4fr) minmax(170px, .58fr);
    gap: 12px;
  }
  .playground-page .intro-path-step { gap: 5px; padding: 6px 4px; }
  .playground-page .intro-path-number { flex-basis: 24px; width: 24px; height: 24px; }
  .playground-page .intro-path-step strong { font-size: 10px; }
  .playground-page .intro-path-step small { font-size: 9px; }
  .playground-page .app-intro h1 { font-size: 35px; }
}

@media (min-width: 1101px) and (max-height: 740px) {
  .playground-page {
    --cockpit-intro: 96px;
    --cockpit-tile: 101px;
  }
  .playground-page .app-intro h1 { font-size: 34px; }
  .playground-page .intro-path-steps .intro-path-step { min-height: 44px; }
  .playground-page .intro-path { padding: 5px; }
  .playground-page .intro-path-label { top: -15px; }
}

@media (max-width: 1100px) {
  .playground-page .intro-path { display: none; }
  .playground-page .wordmark .brand-lockup {
    width: clamp(175px, 24vw, 220px);
    max-height: 53px;
  }
}
@media (max-width: 620px) {
  .playground-page .wordmark .brand-lockup {
    width: clamp(146px, 39vw, 185px);
    max-height: 48px;
  }
}
@media (max-width: 380px) {
  .playground-page .wordmark .brand-lockup {
    width: 140px;
    max-height: 42px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .playground-page .intro-path-step { transition: none; }
}
