.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 24px;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    text-align: center;
}

.btn--primary {
    background: var(--cta);
    color: var(--surface);
    width: 100%;
}

.btn--primary:hover {
    background: var(--cta-hover);
    color: var(--surface);
}

.btn--secondary {
    background: transparent;
    color: var(--cta);
    border: 1.5px solid var(--cta);
}

.btn--secondary:hover {
    background: var(--cta-light);
    color: var(--cta-hover);
}

.btn--outline {
    background: transparent;
    color: var(--cta);
    border: 1.5px solid var(--cta);
}

.btn--outline:hover {
    background: var(--cta-light);
}

.btn--ghost {
    color: var(--cta);
    text-decoration: underline;
    text-underline-offset: 3px;
    min-height: auto;
    padding: 4px 0;
}

/* === HERO === */

.hero {
    position: relative;
    overflow: hidden;
}

.hero__pattern {
    position: absolute;
    inset: 0;
    background-image: url('../images/pattern-grid.svg');
    background-repeat: repeat;
    opacity: 0.04;
    pointer-events: none;
}

.hero__grid {
    display: grid;
    gap: 32px;
    align-items: center;
}

@media (min-width: 768px) {
    .hero__grid {
        grid-template-columns: 1fr 40%;
        gap: 40px;
    }
}

.hero__title {
    font-family: var(--font-body);
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--slate);
    margin-bottom: 16px;
}

@media (min-width: 640px) {
    .hero__title {
        font-size: 2.25rem;
        line-height: 1.25;
    }
}

@media (min-width: 1024px) {
    .hero__title {
        font-size: 2.75rem;
        line-height: 1.2;
    }
}

.hero__subtitle {
    color: var(--text-secondary);
    margin-bottom: 24px;
    max-width: 520px;
}

.hero__image-wrap {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--surface);
}

.stat-blocks {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

@media (min-width: 640px) {
    .stat-blocks {
        grid-template-columns: repeat(3, 1fr);
    }
}

.stat-block {
    background: var(--surface-muted);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
}

.stat-block__value {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate);
    margin-bottom: 4px;
}

.stat-block__label {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

/* === TRUST BADGES === */

.trust-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (min-width: 640px) {
    .trust-badges {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .trust-badges {
        grid-template-columns: repeat(4, 1fr);
    }
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 20px 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.trust-badge__icon {
    width: 40px;
    height: 40px;
}

.trust-badge__label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--slate);
}

/* === ARTICLE & PULL QUOTES === */

.article-content {
    max-width: 720px;
}

.article-content p {
    margin-bottom: 16px;
}

.article-content h2 {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 700;
    margin: 32px 0 12px;
}

@media (min-width: 1024px) {
    .article-content h2 {
        font-size: 1.75rem;
    }
}

.pull-quote {
    background: var(--amber-soft);
    border-left: 4px solid var(--amber);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin: 24px 0;
    font-weight: 500;
    color: var(--slate);
}

/* === TOPIC CARDS === */

.topic-strip {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .topic-strip {
        flex-direction: row;
        align-items: stretch;
    }
}

.topic-card {
    flex: 1;
    position: relative;
    background: var(--surface-muted);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
}

.topic-card__num {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--amber);
    margin-bottom: 8px;
}

.topic-card__title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.topic-card__text {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.topic-connector {
    display: none;
}

@media (min-width: 768px) {
    .topic-connector {
        display: flex;
        align-items: center;
        flex-shrink: 0;
        width: 24px;
    }

    .topic-connector svg {
        width: 24px;
        height: 24px;
    }
}

/* === WHY CARDS === */

.why-grid {
    display: grid;
    gap: 16px;
}

@media (min-width: 1024px) {
    .why-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.why-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--cta);
    border-radius: var(--radius-md);
    padding: 24px;
}

.why-card__icon {
    width: 36px;
    height: 36px;
    margin-bottom: 16px;
}

.why-card__title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

@media (min-width: 1024px) {
    .why-card__title {
        font-size: 1.25rem;
    }
}

.why-card__text {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* === STEP CONNECTOR === */

.steps-row {
    display: grid;
    gap: 16px;
}

@media (min-width: 1024px) {
    .steps-row {
        grid-template-columns: 1fr auto 1fr auto 1fr;
        align-items: stretch;
        gap: 0;
    }
}

.step-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
}

.step-card__num {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--amber);
    margin-bottom: 8px;
}

.step-card__title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-card__text {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.step-arrow {
    display: none;
}

@media (min-width: 1024px) {
    .step-arrow {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 8px;
    }

    .step-arrow svg {
        width: 24px;
        height: 24px;
    }
}

/* === FAQ MASONRY === */

.faq-grid {
    display: grid;
    gap: 16px;
}

@media (min-width: 768px) {
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.faq-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
}

.faq-card--surface {
    background: var(--surface);
}

.faq-card--muted {
    background: var(--surface-muted);
}

.faq-card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

@media (min-width: 1024px) {
    .faq-card h3 {
        font-size: 1.25rem;
    }
}

.faq-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* === SURVEY FORM === */

.survey-form-card {
    max-width: 680px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--cta);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-form);
}

@media (min-width: 768px) {
    .survey-form-card {
        padding: 36px;
    }
}

.survey-form-card__title {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 8px;
}

@media (min-width: 1024px) {
    .survey-form-card__title {
        font-size: 1.75rem;
    }
}

.survey-form-card__meta {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.survey-progress {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 500;
    margin-bottom: 6px;
}

.form-label-optional {
    font-weight: 400;
    color: var(--text-secondary);
}

@media (min-width: 1024px) {
    .form-label {
        font-size: 1rem;
    }
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 12px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: var(--cta);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
    outline: none;
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-error {
    display: none;
    font-size: 0.8125rem;
    color: var(--error);
    margin-top: 6px;
}

.form-group--error .form-error {
    display: block;
}

.form-alert {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-left: 4px solid var(--error);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 0.875rem;
    color: var(--error);
}

.form-group--error .form-input,
.form-group--error .form-textarea,
.form-group--error .form-select {
    border-color: var(--error);
}

.question-card {
    background: var(--surface-muted);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 16px;
}

.question-card legend {
    font-size: 0.9375rem;
    font-weight: 500;
    margin-bottom: 12px;
    display: block;
    width: 100%;
}

@media (min-width: 1024px) {
    .question-card legend {
        font-size: 1rem;
    }
}

.radio-cards {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.radio-card {
    position: relative;
}

.radio-card input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-card label {
    display: block;
    min-height: 44px;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    cursor: pointer;
    font-size: 0.875rem;
    transition: border-color 0.2s, background 0.2s;
}

.radio-card input:checked + label {
    border-color: var(--cta);
    background: var(--cta-light);
}

.radio-card input:focus-visible + label {
    outline: 2px solid var(--cta);
    outline-offset: 2px;
}

.radio-cards--mobile-select {
    display: none;
}

@media (max-width: 359px) {
    .radio-cards {
        display: none;
    }

    .radio-cards--mobile-select {
        display: block;
    }
}

.privacy-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 24px 0;
}

.privacy-checkbox input {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-top: 2px;
    accent-color: var(--cta);
}

.privacy-checkbox label {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 16px;
    font-size: 0.8125rem;
}

.legal-links a {
    color: var(--text-secondary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-links a:hover {
    color: var(--cta);
}

/* === CONTACT ROWS === */

.contact-rows {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.contact-row__icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--cta);
}

.contact-row__label {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.contact-row__value {
    font-weight: 500;
}

.contact-row__value a {
    color: var(--slate);
    font-weight: 600;
}

.contact-row__value a:hover {
    color: var(--cta);
}
