:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  color: #121212;
  background: #f8f8f8;
  --accent: #131171;
}
* { box-sizing: border-box; }
body { margin: 0; }
.site-header { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; height: 64px; padding: 8px 16px; }
.site-header img { display: block; width: 132px; height: auto; justify-self: center; }
.back { display: grid; place-items: center; width: 36px; height: 36px; font-size: 25px; line-height: 1; color: #191919; background: #ededed; border-radius: 6px; text-decoration: none; }
.cover { min-height: calc(100svh - 64px); display: grid; place-items: center; padding: 16px 24px 48px; }
.cover-content { width: min(100%, 525px); text-align: center; }
h1 { margin: 0 0 22px; font-size: 28px; line-height: 1.2; font-weight: 650; }
.video { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 5px; background: #eee; }
.start { display: grid; place-items: center; min-height: 44px; margin-top: 24px; border-radius: 6px; background: var(--accent); color: #fff; font-size: 16px; font-weight: 850; text-decoration: none; box-shadow: 1px 4px 20px 2px #0003; }
a:focus-visible, summary:focus-visible { outline: 3px solid #2422bc; outline-offset: 3px; }
.questions { display: flex; flex-direction: column; min-height: 100svh; }
.questions .site-header { flex: none; height: 55px; }
.questions .site-header img { width: 118px; }
.notice { max-width: 46rem; margin: 0 auto; padding: 3px 18px 10px; color: #424242; text-align: center; font-size: 13px; line-height: 1.5; }
.notice p { margin: 0; }
.notice summary { display: inline-block; cursor: pointer; color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.notice summary::-webkit-details-marker { display: none; }
.notice article { padding: 12px 0 0; text-align: left; }
.notice article p + p { margin-top: .6em; }
.notice a { color: var(--accent); text-underline-offset: 2px; }
.form { flex: 1 0 480px; width: 100%; border: 0; }
@media (max-width: 600px) {
  .site-header { height: 58px; }
  .cover { min-height: calc(100svh - 58px); padding-inline: 24px; }
  .cover-content { width: min(100%, 380px); }
  .notice { padding-bottom: 7px; }
}

/* Match the Formflow content column; Quizify keeps its native controls. */
.cover .start { width: min(100%, 524px); margin-inline: auto; }
.questions { background: #f7f7f7; }
.questions .form { width: min(564px, calc(100% - 36px)); align-self: center; }
@media (max-width: 600px) {
  .cover .start { width: min(100%, calc(100vw - 80px)); }
}
