/* PowerMatch shell. The embedded event app keeps its own styling. */
:root {
  color-scheme: light;
  --page-bg: #f5f6f8;
  --card-bg: #ffffff;
  --text: #202b3b;
  --muted: #687384;
  --border: #dfe4ec;
  --accent: #293d56;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; }
body { color: var(--text); }
a { color: var(--accent); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
  border-radius: 3px;
}
img { display: block; max-width: 100%; }
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Root PowerMatch landing page */
.landing-page {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  background: var(--page-bg);
  padding: clamp(24px, 5vw, 56px) 20px;
}
.landing-card {
  width: min(100%, 680px);
  padding: clamp(36px, 7vw, 68px);
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--card-bg);
  box-shadow: 0 20px 70px rgb(27 36 55 / 7%);
}
.landing-brand {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(34px, 6vw, 48px);
}
.powermatch-logo {
  width: min(100%, 370px);
  height: auto;
}
.landing-copy {
  max-width: 555px;
  margin: 0 auto;
  text-align: center;
}
.product-description {
  margin: 0;
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.65;
  color: var(--text);
}
.access-instruction {
  margin: 26px auto 0;
  max-width: 500px;
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.7;
  color: var(--muted);
}
.peg-credit {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: clamp(42px, 7vw, 58px);
  padding-top: clamp(28px, 5vw, 38px);
  border-top: 1px solid #edf0f4;
  text-align: center;
  opacity: 0.46;
}
.peg-credit p {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
  color: #718093;
}
.peg-logo {
  width: min(100%, 190px);
  height: auto;
}

/* Simple 404 */
.error-title {
  margin: 0 0 22px;
  font-size: clamp(28px, 6vw, 36px);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.home-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 600;
}

/* Full-height event embed, with no duplicate event logo, header, or navigation. */
.event-page {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #ffffff;
  padding-top: env(safe-area-inset-top, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  padding-left: env(safe-area-inset-left, 0px);
}
.event-viewport {
  flex: 1 1 0;
  min-width: 0;
  min-height: 0;
  width: 100%;
}
.event-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #ffffff;
}
.display-help {
  flex: 0 0 auto;
  border-top: 1px solid var(--border);
  padding: 0 12px env(safe-area-inset-bottom, 0px);
  text-align: center;
  background: #ffffff;
}
.display-help p {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: 8px;
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}
.help-label { color: var(--muted); }
.display-help a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  font-weight: 600;
}
.skip-link {
  position: absolute;
  z-index: 10;
  top: 8px;
  left: 8px;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 6px;
  transform: translateY(-200%);
}
.skip-link:focus { transform: translateY(0); }

@media (max-width: 520px) {
  .landing-page { padding: 18px 14px; }
  .landing-card {
    padding: 34px 25px 30px;
    border-radius: 20px;
  }
  .landing-brand { margin-bottom: 30px; }
  .powermatch-logo { width: min(100%, 285px); }
  .product-description { line-height: 1.58; }
  .access-instruction { margin-top: 22px; }
  .peg-credit { margin-top: 36px; padding-top: 26px; }
  .peg-logo { width: min(100%, 165px); }
  .help-label { display: none; }
}
