* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 300;
    background-color: #F7F4EF;
    color: #1F2421;
    line-height: 1.6;
}

nav {
    position: sticky;
    top: 0;
    backdrop-filter: blur(12px);
    background: rgba(251, 249, 245, 0.8);
    border-bottom: 1px solid #E7E1D7;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.nav-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem 2rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #1F2421;
    font-family: 'Fraunces', serif;
    font-size: 1.125rem;
    letter-spacing: -0.02em;
}

main {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.hero {
    text-align: center;
    margin-bottom: 4rem;
}

.eyebrow {
    display: inline-block;
    background: #F2E3D6;
    color: #C4612F;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

h1 {
    font-family: 'Fraunces', serif;
    font-size: 3rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    line-height: 1.1;
    color: #1F2421;
}

h1 em {
    color: #C4612F;
    font-style: italic;
}

.subtitle {
    font-size: 1.125rem;
    color: #5C635D;
    max-width: 600px;
    margin: 0 auto;
}

.test-container {
    background: #FFFFFF;
    border: 1px solid #E7E1D7;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(31, 36, 33, 0.04);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 400;
    color: #1F2421;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #E7E1D7;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: #C4612F;
}

.question-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #E7E1D7;
}

.question-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.question-text {
    font-weight: 400;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.options-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.option {
    display: flex;
    align-items: center;
}

.option input[type="radio"] {
    display: none;
}

.option label {
    display: block;
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid #E7E1D7;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 400;
    color: #1F2421;
    background: #FBF9F5;
}

.option input[type="radio"]:checked + label {
    background: #F2E3D6;
    color: #1F2421;
    border-color: #C4612F;
    transform: translateX(4px);
    box-shadow: 0 4px 8px rgba(196, 97, 47, 0.15);
    font-weight: 500;
}

.option label:hover {
    border-color: #C4612F;
    transform: translateX(2px);
}

.btn-primary {
    background: #C4612F;
    color: #FFFFFF;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    margin-top: 1rem;
}

.btn-primary:hover {
    background: #A94E22;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(196, 97, 47, 0.3);
}

#resultsContent {
    font-size: 1.05rem;
    line-height: 1.8;
}

.result-total {
    background: #F2E3D6;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    text-align: center;
}

.result-total strong {
    font-size: 2rem;
    color: #C4612F;
    display: block;
    margin-top: 0.5rem;
    font-family: 'Fraunces', serif;
}

@media (max-width: 640px) {
    h1 {
        font-size: 2rem;
    }
    
    .test-container {
        padding: 1.5rem;
    }
}
