:root {
  color-scheme: light;
  --environment-indicator-height: 2.125rem;
  --canvas: #e9e5dd;
  --surface: #f6f3ee;
  --card: #fffdfa;
  --text: #23201c;
  --muted: #6b655c;
  --quiet: #9c948a;
  --line: rgba(35, 32, 28, 0.11);
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Libre Franklin", "Segoe UI", sans-serif;
  --display: "Space Grotesk", "Segoe UI", sans-serif;
  font-family: var(--sans);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

.playground-entry,
.playground-shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 2rem auto;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgba(25, 42, 62, .18);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 18px 50px rgba(25, 42, 62, .08);
}

.playground-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.playground-entry h2,
.playground-shell h1,
.playground-shell h2 { color: #192a3e; }

.playground-eyebrow {
  margin: 0 0 .5rem;
  color: #c85848;
  font: 700 .78rem/1.2 "Libre Franklin", sans-serif;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.playground-hero { max-width: 820px; }
.playground-centered { max-width: 680px; text-align: center; }
.playground-lede { font-size: 1.15rem; line-height: 1.65; }
.playground-facts { line-height: 1.75; }

.playground-button,
.playground-actions button {
  display: inline-block;
  border: 0;
  border-radius: .65rem;
  padding: .8rem 1.1rem;
  background: #192a3e;
  color: #fff;
  font: 700 .95rem/1.2 "Libre Franklin", sans-serif;
  text-decoration: none;
  cursor: pointer;
}

.playground-alert,
.playground-notice {
  padding: 1rem;
  border-radius: .65rem;
  background: #fff2ef;
}

.playground-notice { background: #edf4f7; }

.playground-status,
.playground-client-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.playground-status div,
.playground-client-grid section {
  padding: 1rem;
  border-radius: .75rem;
  background: #f5f7f8;
}

.playground-status dt { font-weight: 700; }
.playground-status dd { margin: .35rem 0 0; }
.playground-client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.playground-client-grid pre { overflow-x: auto; padding: .75rem; background: #192a3e; color: #fff; border-radius: .5rem; }
.playground-actions { display: flex; gap: 1rem; margin-top: 2rem; }
.playground-actions .playground-danger { background: #9c3028; }

@media (max-width: 720px) {
  .playground-entry { align-items: flex-start; flex-direction: column; }
  .playground-status,
  .playground-client-grid { grid-template-columns: 1fr; }
  .playground-actions { align-items: stretch; flex-direction: column; }
}

.environment-indicator {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border-bottom: 1px solid #681d10;
  color: #fff;
  background: repeating-linear-gradient(
    -45deg,
    #9f2d1a,
    #9f2d1a 0.75rem,
    #b83f1c 0.75rem,
    #b83f1c 1.5rem);
}

.environment-indicator__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: var(--environment-indicator-height);
  padding: 0.3rem 1.25rem;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.environment-indicator__badge {
  flex: 0 0 auto;
  padding: 0.12rem 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 0.25rem;
  color: #7b2012;
  background: #fff;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
}

.environment-indicator__message {
  white-space: nowrap;
}

.environment-indicator__detail {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
}

.palette-trust-navy {
  --brand-ink: #1b1f3b;
  --brand-accent: #2563c9;
  --brand-accent-deep: #194a9b;
  --brand-soft: rgba(37, 99, 201, 0.1);
  --brand-line: rgba(37, 99, 201, 0.24);
  --brand-glow: rgba(37, 99, 201, 0.13);
}

.palette-charcoal-coral {
  --brand-ink: #23262b;
  --brand-accent: #e5643c;
  --brand-accent-deep: #b83f1c;
  --brand-soft: rgba(229, 100, 60, 0.11);
  --brand-line: rgba(229, 100, 60, 0.26);
  --brand-glow: rgba(229, 100, 60, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 20rem;
  background: var(--canvas);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 36%, var(--brand-glow), transparent 29rem),
    radial-gradient(circle at 8% 92%, rgba(255, 253, 250, 0.84), transparent 30rem),
    var(--surface);
}

.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5.25rem;
  padding: 1rem clamp(1.25rem, 5vw, 4.5rem);
  border-bottom: 1px solid var(--line);
  background: rgba(246, 243, 238, 0.86);
  backdrop-filter: blur(0.875rem);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  display: block;
  width: clamp(7.75rem, 12vw, 9.5rem);
  height: auto;
}

.brand:focus-visible {
  border-radius: 0.25rem;
  outline: 0.1875rem solid var(--brand-line);
  outline-offset: 0.375rem;
}

.launch-status {
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--brand-line);
  border-radius: 999px;
  color: var(--brand-accent-deep);
  background: var(--brand-soft);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#main-content {
  position: relative;
  overflow: hidden;
}

#main-content::before {
  position: absolute;
  top: clamp(3rem, 11vw, 8rem);
  right: max(-10rem, -10vw);
  width: clamp(22rem, 46vw, 42rem);
  aspect-ratio: 1;
  border: 1px solid var(--brand-line);
  border-radius: 50%;
  box-shadow:
    0 0 0 5rem rgba(255, 253, 250, 0.22),
    0 0 0 10rem rgba(255, 253, 250, 0.1);
  content: "";
  pointer-events: none;
}

.launch-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(22rem, 0.8fr);
  gap: clamp(3rem, 8vw, 8.5rem);
  align-items: center;
  width: min(100% - clamp(2.5rem, 10vw, 9rem), 81rem);
  min-height: calc(100svh - 5.25rem);
  margin-inline: auto;
  padding-block: clamp(4rem, 8vw, 7.5rem);
}

.hero-copy {
  max-width: 45rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  color: var(--brand-accent-deep);
  font-size: clamp(0.72rem, 1vw, 0.82rem);
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.8rem;
  height: 0.125rem;
  background: var(--brand-accent);
  content: "";
}

.launch-hero h1 {
  max-width: 12ch;
  margin: 1.4rem 0 0;
  color: var(--brand-ink);
  font-family: var(--display);
  font-size: clamp(3.4rem, 6.7vw, 6.7rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.launch-hero h1 span {
  color: var(--brand-accent);
}

.hero-lede {
  max-width: 39rem;
  margin: clamp(1.6rem, 3vw, 2.25rem) 0 0;
  color: #4a453e;
  font-family: var(--serif);
  font-size: clamp(1.12rem, 1.65vw, 1.38rem);
  line-height: 1.55;
}

.hero-note {
  max-width: 39rem;
  margin: 1.65rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.6;
}

.market-preview {
  position: relative;
  width: 100%;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: rgba(255, 253, 250, 0.94);
  box-shadow: 0 2rem 5rem -2.5rem rgba(35, 32, 28, 0.36);
}

.market-preview::before {
  position: absolute;
  inset: 0.8rem -0.8rem -0.8rem 0.8rem;
  z-index: -1;
  border: 1px solid var(--brand-line);
  border-radius: inherit;
  background: var(--brand-soft);
  content: "";
}

.preview-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.preview-kicker {
  color: var(--brand-accent-deep);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.preview-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--brand-accent);
  box-shadow: 0 0 0 0.35rem var(--brand-soft);
}

.market-preview h2 {
  margin: 1.15rem 0 0;
  color: var(--brand-ink);
  font-family: var(--display);
  font-size: clamp(1.7rem, 2.6vw, 2.35rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.preview-intro {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-family: var(--serif);
  line-height: 1.5;
}

.market-direction {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.25rem;
  margin: 1.65rem 0 1.5rem;
}

.market-direction span {
  height: 0.42rem;
  border-radius: 999px;
  background: #e5e0d8;
}

.market-direction span:nth-child(1) {
  background: var(--brand-accent);
  opacity: 0.38;
}

.market-direction span:nth-child(2) {
  background: var(--brand-accent);
  opacity: 0.68;
}

.market-direction span:nth-child(3) {
  position: relative;
  background: var(--brand-accent);
}

.market-direction span:nth-child(3)::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.85rem;
  height: 0.85rem;
  border: 0.18rem solid var(--card);
  border-radius: 50%;
  background: var(--brand-accent);
  box-shadow: 0 0 0 1px var(--brand-line);
  content: "";
  transform: translate(-50%, -50%);
}

.preview-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.preview-list li {
  display: grid;
  grid-template-columns: 2.3rem 1fr;
  gap: 0.85rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.signal-number {
  padding-top: 0.15rem;
  color: var(--brand-accent-deep);
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
}

.preview-list strong,
.preview-list small {
  display: block;
}

.preview-list strong {
  color: var(--brand-ink);
  font-size: 0.9rem;
  line-height: 1.35;
}

.preview-list small {
  margin-top: 0.25rem;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 0.82rem;
  line-height: 1.4;
}

.preview-footnote {
  margin: 0.5rem 0 0;
  color: var(--quiet);
  font-family: var(--serif);
  font-size: 0.75rem;
  font-style: italic;
}

@media (max-width: 56rem) {
  .launch-hero {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    width: min(100% - 3rem, 42rem);
    min-height: auto;
    padding-block: 4.5rem 5.5rem;
  }

  .hero-copy {
    text-align: center;
  }

  .eyebrow {
    justify-content: center;
  }

  .launch-hero h1,
  .hero-lede,
  .hero-note {
    margin-inline: auto;
  }

  #main-content::before {
    top: 32rem;
    right: -12rem;
  }
}

@media (max-width: 36rem) {
  :root {
    --environment-indicator-height: 2.5rem;
  }

  .environment-indicator__inner {
    gap: 0.45rem;
    padding-inline: 0.75rem;
    font-size: 0.63rem;
  }

  .environment-indicator__detail {
    max-width: 13rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-header {
    min-height: 4.65rem;
    padding-inline: 1.15rem;
  }

  .brand-logo {
    width: 7.5rem;
  }

  .launch-status {
    padding: 0.45rem 0.68rem;
    font-size: 0.62rem;
  }

  .launch-hero {
    gap: 3rem;
    width: min(100% - 2.3rem, 32rem);
    padding-block: 3.5rem 4rem;
  }

  .hero-copy {
    text-align: left;
  }

  .eyebrow {
    justify-content: flex-start;
    font-size: 0.66rem;
  }

  .launch-hero h1 {
    margin-inline: 0;
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  .hero-lede,
  .hero-note {
    margin-inline: 0;
  }

  .market-preview {
    padding: 1.35rem;
    border-radius: 1.25rem;
  }

  .market-preview::before {
    inset: 0.55rem -0.45rem -0.55rem 0.45rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.website-runtime-theme {
  --website-runtime-background: #fff;
  --website-runtime-surface: #f7f7f8;
  --website-runtime-text: #202124;
  --website-runtime-muted: #5f6368;
  --website-runtime-accent: #1b1f3b;
  --website-runtime-on-accent: #fff;
  --website-runtime-border: rgba(32, 33, 36, 0.18);
  --website-runtime-font: "Libre Franklin", "Segoe UI", sans-serif;
  --website-runtime-content-gap: 1rem;
  --website-runtime-radius: 0.75rem;
  min-height: 100vh;
  color: var(--website-runtime-text);
  background: var(--website-runtime-background);
  font-family: var(--website-runtime-font);
}

.website-runtime-theme.theme-color-neutral {
  --website-runtime-background: #f4f1eb;
  --website-runtime-surface: #fffdfa;
  --website-runtime-text: #2c2925;
  --website-runtime-muted: #6c665e;
  --website-runtime-accent: #4d4841;
  --website-runtime-border: rgba(44, 41, 37, 0.2);
}

.website-runtime-theme.theme-color-ocean {
  --website-runtime-background: #edf7fa;
  --website-runtime-surface: #fff;
  --website-runtime-text: #102f3a;
  --website-runtime-muted: #4a6670;
  --website-runtime-accent: #086f8a;
  --website-runtime-border: rgba(8, 111, 138, 0.24);
}

.website-runtime-theme.theme-color-forest {
  --website-runtime-background: #f0f6ef;
  --website-runtime-surface: #fff;
  --website-runtime-text: #18311d;
  --website-runtime-muted: #526a56;
  --website-runtime-accent: #2d7040;
  --website-runtime-border: rgba(45, 112, 64, 0.24);
}

.website-runtime-theme.theme-color-sunset {
  --website-runtime-background: #fff4ed;
  --website-runtime-surface: #fffaf7;
  --website-runtime-text: #40251d;
  --website-runtime-muted: #79594f;
  --website-runtime-accent: #bd4d2d;
  --website-runtime-border: rgba(189, 77, 45, 0.24);
}

.website-runtime-theme.theme-type-editorial {
  --website-runtime-font: "Source Serif 4", Georgia, serif;
}

.website-runtime-theme.theme-type-modern {
  --website-runtime-font: "Space Grotesk", "Segoe UI", sans-serif;
}

.website-runtime-theme.theme-spacing-compact {
  --website-runtime-content-gap: 0.5rem;
}

.website-runtime-theme.theme-spacing-airy {
  --website-runtime-content-gap: 1.75rem;
}

.website-runtime-theme.theme-corners-square {
  --website-runtime-radius: 0;
}

.website-runtime-theme.theme-corners-pill {
  --website-runtime-radius: 999px;
}

.website-runtime-header {
  padding: var(--website-runtime-content-gap) clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid var(--website-runtime-border);
  background: var(--website-runtime-surface);
}

.website-runtime-navigation__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.website-runtime-navigation > .website-runtime-navigation__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--website-runtime-content-gap);
  align-items: flex-start;
}

.website-runtime-navigation__item > .website-runtime-navigation__list {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.5rem;
  padding-inline-start: 1rem;
}

.website-runtime-navigation__link {
  display: inline-block;
  padding: 0.45rem 0.65rem;
  border-radius: var(--website-runtime-radius);
  color: var(--website-runtime-text);
  text-decoration: none;
}

.website-runtime-navigation__link:hover,
.website-runtime-navigation__link:focus-visible,
.website-runtime-navigation__link[aria-current="page"] {
  color: var(--website-runtime-on-accent);
  background: var(--website-runtime-accent);
}

.website-runtime-theme .mavicade-website {
  position: relative;
  min-height: calc(100vh - 4rem);
  padding-block: var(--website-runtime-content-gap);
  overflow: hidden;
}

.website-runtime-theme .mavicade-heading,
.website-runtime-theme .mavicade-rich-text {
  color: var(--website-runtime-text);
  font-family: var(--website-runtime-font);
}

.website-runtime-theme .mavicade-button,
.website-runtime-theme .mavicade-image,
.website-runtime-theme .mavicade-container {
  border-radius: var(--website-runtime-radius);
}

.website-runtime-theme .mavicade-button.style-primary {
  color: var(--website-runtime-on-accent);
  background: var(--website-runtime-accent);
}

.website-runtime-theme .mavicade-button.style-secondary {
  color: var(--website-runtime-accent);
  border-color: var(--website-runtime-accent);
}

.website-runtime-theme .mavicade-divider {
  border-color: var(--website-runtime-border);
}

@media (max-width: 36rem) {
  .website-runtime-navigation > .website-runtime-navigation__list {
    display: grid;
  }
}
