* {
    box-sizing: border-box;
}

html {
    font-size: 113%;
}

body {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    color: #222;
    background: #e8bb7b url("Assets/bevo.png") repeat;
    line-height: 1.5;
}

#page-wrap {
    max-width: 980px;
    margin: 0 auto;
    padding: 12px 20px 40px;
}

p {
    margin: 0 0 1em;
}

.intro-block {
    text-align: center;
    margin-top: 10px;
}

.thresher-logo {
    display: inline-block;
}

.intro-text,
.warning-text,
.instruction-line {
    text-align: center;
    font-size: 1rem;
    color: #3a3a3a;
}

.warning-text strong {
    color: #222;
}

.intro-text.score-message {
    max-width: 640px;
    margin: 20px auto 0;
    padding: 20px 24px;
    border: 1px solid #d8c39a;
    background: #fff8ec;
    border-radius: 6px;
    text-align: left;
}

.instruction-line {
    margin-top: 8px;
    margin-bottom: 18px;
}

#list {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 0 20px;
}

ol {
    margin: 0;
    padding-left: 26px;
}

li {
    margin: 0 0 6px;
    padding-left: 4px;
    font-size: 1.02rem;
    line-height: 1.35;
}

input[type="checkbox"] {
    width: 1.3rem;
    height: 1.3rem;
    margin-right: 6px;
    transform: translateY(4px);
}

label {
    cursor: pointer;
}

abbr {
    text-decoration: none;
    border-bottom: 1px dotted #666;
}

.thresher-link {
    color: #4b4b4b;
    text-decoration: underline;
}

.button-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.button {
    appearance: none;
    -webkit-appearance: none;
    background: #f2f2f2;
    border: 1px solid #bdbdbd;
    border-radius: 4px;
    color: #1d1d1d;
    cursor: pointer;
    font: inherit;
    font-size: 1rem;
    padding: 9px 18px;
    text-align: center;
}

#submit {
    background: #378536;
    border-color: #1ec527;
    color: #ffffff;
}

#submit:hover {
    background: #256428;
}

#score-result {
    display: none;
    max-width: 400px;
    margin: 18px auto 0;
    padding: 12px 16px;
    border: 1px solid #c8d7bd;
    background: #f1f9ee;
    color: #234b1f;
    font-weight: 700;
    text-align: center;

    border-radius: 6px;
}

.score-number {
    display: inline-block;
    margin-top: 8px;
    font-size: 2.4rem;
    line-height: 1;
    color: #c0392b;

    font-weight: 800;
}

#thank-you-message {
    display: none;
    max-width: 820px;
    margin: 20px auto 0;
    text-align: center;
    color: #3a3a3a;
}

#thank-you-message p {
    margin: 0 0 10px;
}

#thank-you-message a {
    color: #1155cc;
    text-decoration: underline;
}

.privacy-link {
    margin-top: 20px;
    text-align: center;
    font-size: 1.1rem;
    color: #666;
}

.privacy-link a {
    color: inherit;
    text-decoration: underline;
}

.privacy-box {
    max-width: 640px;
    margin: 20px auto 0;
    padding: 20px 24px;
    border: 1px solid #d8c39a;
    background: #fff8ec;
    color: #2f2f2f;
    text-align: left;
    border-radius: 6px;
}

.privacy-title {
    margin: 0 0 0.6em;
    font-size: 1.8rem;
    text-align: center;
    color: #222;
}

.privacy-box p {
    margin: 0 0 1em;
}

.privacy-box p:last-child {
    margin-bottom: 0;
}

.privacy-image {
    display: block;
    margin: 1em auto 0;
    max-width: 100%;
    height: auto;
}

.privacy-box a {
    color: #1155cc;
    text-decoration: underline;
}

.privacy-back {
    text-align: center;
    margin-top: 16px;
}

.privacy-back a {
    color: #666;
    text-decoration: underline;
}

@media (max-width: 700px) {
    #page-wrap {
        padding-left: 14px;
        padding-right: 14px;
    }

    li {
        font-size: 0.98rem;
    }

    .button-row {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }
}
