/* Title pages: the participant welcome page and the model release title page.
   Laid out to match the LimeSurvey welcome pages: purple panel, logo, italic Times title,
   bold form name, researchers, then the notices and a Next button. */
:root {
    --panel: #3C2D4D; /* UniSQ plum, as used on unisq.edu.au */
    --gold: #FFB448;
    --gold-hover: #FB9400; /* UniSQ gold button hover, as used on unisq.edu.au */
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
    background: var(--panel);
    color: #fff;
    font-family: "Times New Roman", Times, serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
/* Sizes follow the screen's height as well as its width, so the whole page fits on one screen. */
main {
    width: min(100%, max(820px, 66.667vw));
    flex: 1; /* fills the screen below the test copy's banner, without adding to its height */
    margin: 0 auto;
    padding: 3vh clamp(16px, 3vw, 40px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.logo {
    height: clamp(56px, 8vh, 120px);
    width: auto;
    max-width: 80vw;
    display: block;
    margin: 0 auto;
}
h1 {
    font-weight: 400;
    font-size: clamp(24px, min(2.4vw, 3.8vh), 52px);
    line-height: 1.2;
    margin: 4vh 0 0;
}
.title-line { display: block; font-style: italic; margin-bottom: 0.15em; }
.form-name {
    font-weight: 700;
    font-size: clamp(22px, min(2vw, 3.3vh), 44px);
    margin: 3vh 0 0;
}
.researchers-label {
    font-weight: 700;
    font-size: clamp(18px, min(1.5vw, 2.4vh), 30px);
    margin: 3vh 0 0.8vh;
}
.researchers { list-style: none; margin: 0 0 3vh; padding: 0; }
.researchers li { font-size: clamp(15px, min(1.1vw, 1.9vh), 22px); line-height: 1.45; }
.cultural-warning {
    font-size: clamp(14px, min(0.95vw, 1.75vh), 19px);
    font-weight: 700;
    line-height: 1.45;
    width: 100%;
    margin: 0 auto 2vh;
}
/* "Before you start" box: UniSQ gold, white text, no border. */
.time-notice {
    width: 100%;
    margin: 0 auto;
    padding: 2vh clamp(18px, 2.4vw, 44px);
    background: var(--gold);
    color: var(--panel); /* UniSQ plum on gold, easier to read than white */
    border-radius: 12px;
    font-size: clamp(15px, min(1.05vw, 1.95vh), 21px);
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
}
.time-notice strong { font-weight: 700; text-decoration: underline; }
.next-line { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; font-size: clamp(14px, min(0.95vw, 1.7vh), 18px); margin: 3vh 0 1.5vh; }
.start {
    display: inline-block;
    background: var(--gold);
    color: #3C2D4D;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: clamp(16px, min(1.15vw, 2vh), 21px);
    font-weight: 700;
    text-decoration: none;
    padding: 1.4vh clamp(44px, 4.5vw, 80px);
    border-radius: 8px;
}
.start:hover { background: var(--gold-hover); }
.start:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.start.disabled,
.start.disabled:hover {
    background: rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.5);
    cursor: not-allowed;
}
.not-ready {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    margin: 14px 0 0;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.78);
}
