@font-face {
  font-family: "Radio Canada";
  src: url("/fonts/Radio-Canada-Regular-210c16813c44644d5c20fd8544588063.woff2?vsn=d") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Radio Canada";
  src: url("/fonts/Radio-Canada-SemiBold-ad1bec9a10367209a417eac716b9a505.woff2?vsn=d") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Radio Canada";
  src: url("/fonts/Radio-Canada-Bold-30ffa6f25a242f0e2007de090c0359f0.woff2?vsn=d") format("woff2");
  font-weight: 700;
  font-display: swap;
}

body.starter-demo-page {
  --starter-demo-width: 840px;
  --starter-demo-gutter: 28px;
  margin: 0;
  min-width: 0;
  min-height: 100vh;
  background: #f9fafb;
  color: #111827;
  font-family: "Radio Canada", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color-scheme: light;
}

body.starter-demo-page:has(.starter-demo-mount main[data-design="dashboard"]) {
  --starter-demo-width: 1180px;
}

body.starter-demo-page:has(.starter-demo-mount main[data-design="guided"]) {
  --starter-demo-width: 900px;
}

.starter-demo-page *,
.starter-demo-page *::before,
.starter-demo-page *::after {
  box-sizing: border-box;
}

.starter-demo-skip,
.starter-demo-nav a,
.starter-demo-frameworks a,
.starter-demo-footer a {
  color: #da3551;
  text-decoration: none;
}

.starter-demo-skip:focus-visible,
.starter-demo-nav a:focus-visible,
.starter-demo-frameworks a:focus-visible,
.starter-demo-footer a:focus-visible {
  outline: 2px solid #fb5168;
  outline-offset: 4px;
}

.starter-demo-skip {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 1;
  padding: 12px 16px;
  background: #fff;
}

.starter-demo-skip:focus {
  top: 12px;
}

.starter-demo-header {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
}

.starter-demo-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 32px;
}

.starter-demo-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.starter-demo-brand img {
  display: block;
  width: auto;
  height: 32px;
}

.starter-demo-nav .starter-demo-docs {
  color: #4b5563;
  font-size: 14px;
  white-space: nowrap;
}

.starter-demo-nav .starter-demo-docs:hover,
.starter-demo-footer a:hover {
  color: #da3551;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.starter-demo-intro,
.starter-demo-stage,
.starter-demo-footer {
  width: min(100% - 48px, var(--starter-demo-width));
  margin-right: auto;
  margin-left: auto;
}

.starter-demo-intro,
.starter-demo-footer {
  padding-right: calc(var(--starter-demo-gutter) + 1px);
  padding-left: calc(var(--starter-demo-gutter) + 1px);
}

.starter-demo-intro {
  padding-top: 40px;
}

.starter-demo-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.starter-demo-eyebrow {
  margin: 0 0 8px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.starter-demo-title {
  margin: 0;
  color: #111827;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.starter-demo-frameworks {
  display: flex;
  flex-shrink: 0;
  gap: 4px;
  padding: 4px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
}

.starter-demo-frameworks a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 18px;
  border-radius: 6px;
  color: #4b5563;
  font-size: 14px;
  font-weight: 600;
}

.starter-demo-frameworks a:hover {
  background: #f3f4f6;
  color: #111827;
}

.starter-demo-frameworks a[aria-current="page"] {
  background: #fb5168;
  color: #fff;
}

.starter-demo-frameworks a[aria-current="page"]:hover {
  background: #da3551;
  color: #fff;
}

.starter-demo-description {
  max-width: 730px;
  margin: 18px 0 0;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.7;
}

.starter-demo-description code {
  padding: 2px 4px;
  border-radius: 4px;
  background: #f0f1f3;
  color: #374151;
  font-size: 0.9em;
  overflow-wrap: anywhere;
}

.starter-demo-stage {
  display: block;
  margin-top: 28px;
  margin-bottom: 24px;
  padding: 0;
  border: 1px solid #d1d5db;
  border-radius: 16px;
  background: #f9fafb;
  box-shadow: 0 4px 16px rgb(17 24 39 / 4%);
  scroll-margin-top: 24px;
}

.starter-demo-stage-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 20px;
  padding: 14px var(--starter-demo-gutter);
  border-bottom: 1px solid #d1d5db;
  border-radius: 15px 15px 0 0;
  background: #eef0f3;
}

.starter-demo-stage-label {
  margin: 0;
  color: #374151;
  font-size: 13px;
  font-weight: 600;
}

.starter-demo-stage-hint {
  margin: 0;
  color: #6b7280;
  font-size: 13px;
}

.starter-demo-mount > main {
  max-width: none;
  margin: 0;
  padding: 32px var(--starter-demo-gutter) 40px;
}

.starter-demo-noscript {
  max-width: 752px;
  margin: 32px auto;
  padding: 24px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
}

.starter-demo-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-top: 0;
  padding-bottom: 40px;
  border: 0;
  font-size: 14px;
}

.starter-demo-footer p {
  margin: 0;
  color: #6b7280;
}

.starter-demo-footer a {
  font-weight: 600;
}

@media (max-width: 600px) {
  body.starter-demo-page {
    --starter-demo-gutter: 16px;
  }

  .starter-demo-nav {
    padding: 20px;
    gap: 16px;
  }

  .starter-demo-intro,
  .starter-demo-stage,
  .starter-demo-footer {
    width: calc(100% - 24px);
  }

  .starter-demo-intro {
    padding-top: 28px;
  }

  .starter-demo-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .starter-demo-title {
    font-size: 27px;
  }

  .starter-demo-frameworks {
    width: 100%;
  }

  .starter-demo-frameworks a {
    flex: 1;
  }
}
