* { box-sizing: border-box; }

body {
    margin: 0;
    padding: 40px 16px;
    background: #fff;
    color: #222;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
}

.top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.top-col { flex: 1 1 250px; }
.top-col-mco { flex: 0 1 400px; }

.made-in-america-text {
    display: block;
    width: 150px;
    max-width: 100%;
    height: auto;
    margin: 12px auto 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 24px;
    font-weight: bold;
    fill: #3C3B6E;
}

.tagline {
    max-width: 900px;
    margin: 40px auto 0;
    font-size: 30px;
    line-height: 1.3;
}

.logo {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

.logo-mco { width: 400px; }
.logo-plus { width: 150px; }
.logo-flag { width: 150px; }

.partnership {
    margin: 20px 0;
    font-size: 18px;
    font-style: italic;
    color: #555;
}

.question-panel {
    max-width: 900px;
    margin: 60px auto 0;
    padding: 30px;
    background: #f0f0f0;
    border: 2px solid #999;
    border-radius: 8px;
}

/* Answered questions sit on the panel's top-left edge */
.answers {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: -73px 0 12px;
    min-height: 61px;
    text-align: left;
}

.answer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    background: none;
    border: 0;
    cursor: pointer;
}

/* The chip below overlaps the heading's lower border */
.answer-heading {
    margin-bottom: -10px;
    padding: 3px 14px 12px;
    line-height: 16px;
    background: #fff;
    border: 2px solid #ccc;
    border-radius: 18px;
    color: #777;
    font: normal 15px Arial, Helvetica, sans-serif;
}

.answer-chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 14px 0 6px;
    background: #d4f5d4;
    border: 2px solid #2e9e2e;
    border-radius: 18px;
    color: #1b6b1b;
    font: bold 14px Arial, Helvetica, sans-serif;
}

.answer-chip::before {
    content: "\2713";
    width: 22px;
    height: 22px;
    line-height: 20px;
    border: 1px solid #1b6b1b;
    border-radius: 50%;
    background: #fff;
    text-align: center;
}

/* Multiple selections are joined into one chip, truncated if long */
.answer-chip-text {
    max-width: 260px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.answer:hover .answer-chip { background: #87CEFA; }
.answer.current .answer-chip { border-width: 3px; }

.question {
    margin: 0 0 30px;
    padding: 20px;
    background: #fff;
    border: 2px solid #999;
    border-radius: 6px;
    font-size: 32px;
    font-weight: bold;
}

.options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.option {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.15s;
    background: #fff;
    border: 2px solid #999;
    border-radius: 6px;
    font-size: 20px;
}

.option span {
    display: block;
    margin-top: 6px;
    font-size: 16px;
    color: #666;
}

.option:hover { background: #87CEFA; }

.option.selected {
    padding: 18px;
    background: #d4f5d4;
    border: 4px solid #2e9e2e;
}

.option.selected::before {
    content: "\2713";
    position: absolute;
    top: -16px;
    left: -16px;
    width: 30px;
    height: 30px;
    line-height: 26px;
    border: 2px solid #1b6b1b;
    border-radius: 50%;
    background: #fff;
    color: #1b6b1b;
    font-size: 18px;
    font-weight: bold;
}

.continue {
    display: block;
    width: 100%;
    margin-top: 30px;
    padding: 18px;
    background: #13296b;
    border: 2px solid #13296b;
    border-radius: 6px;
    color: #fff;
    font: bold 24px Arial, Helvetica, sans-serif;
    cursor: pointer;
}

.continue:hover { background: #1d3d99; }

.continue:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.continue[hidden] { display: none; }
