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

body {
    font-family: 'Lato', sans-serif;
    font-size: var(--font-md);
    line-height: var(--lh-normal);
    color: #232222;
    background-color: #fff;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.bold {
    font-weight: var(--fw-strong);
}

.site-header {
    background: #f7e8d3;
}

.site-header-inner {
    max-width: 920px;
    margin: 0 auto;
    padding: var(--sp-xs) var(--sp-sm);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--sp-xs);
}

.logo-icon {
    width: 50px;
    height: auto;
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-text {
    height: 14px;
    width: auto;
}

.logo-tagline {
    height: 9px;
    width: auto;
}

.main {
    max-width: 920px;
    margin: 0 auto;
    padding: var(--sp-md) var(--sp-sm);
}

.layout {
    display: flex;
    flex-direction: column;
    gap: var(--sp-md);
}

.article {
    min-width: 0;
}

.article p {
    font-size: var(--font-md);
    line-height: var(--lh-normal);
    letter-spacing: 0.03em;
    margin-top: var(--sp-sm);
}

p.article-kicker {
    font-size: var(--font-xl);
    font-weight: var(--fw-normal);
    line-height: var(--lh-normal);
    letter-spacing: 0.03em;
    margin-top: 0;
}

.article-title {
    font-size: var(--font-4xl);
    font-weight: var(--fw-strong);
    line-height: var(--lh-tight);
    letter-spacing: 0.03em;
    margin-top: var(--sp-sm);
}

p.article-subtitle {
    font-size: var(--font-xl);
    font-weight: var(--fw-bold);
    line-height: var(--lh-normal);
    letter-spacing: 0.03em;
    margin-top: var(--sp-sm);
}

.author-bar {
    display: flex;
    align-items: center;
    gap: var(--sp-xs);
    background: #fcf7ef;
    padding: var(--sp-xs) var(--sp-sm);
    margin-top: var(--sp-md);
}

.author-avatar {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: var(--radius-full);
    object-fit: cover;
}

p.author-name {
    font-size: var(--font-md);
    font-weight: var(--fw-bold);
    line-height: var(--lh-normal);
    letter-spacing: 0.03em;
    margin-top: 0;
}

.hero-image {
    display: block;
    width: 100%;
    object-fit: cover;
}

.content-image {
    display: block;
    width: 100%;
    object-fit: cover;
    margin-top: var(--sp-sm);
}

.section-title {
    font-size: var(--font-3xl);
    font-weight: var(--fw-strong);
    line-height: var(--lh-normal);
    letter-spacing: 0.03em;
    margin-top: var(--sp-md);
}

.steps-list {
    list-style: decimal;
    font-size: var(--font-md);
    line-height: var(--lh-normal);
    letter-spacing: 0.03em;
    margin-top: var(--sp-sm);
    margin-left: 27px;
}

.steps-list li {
    margin-bottom: var(--sp-xs);
}

.steps-list li:last-child {
    margin-bottom: 0;
}

.inline-link {
    text-decoration: underline;
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-sm);
    margin-top: var(--sp-sm);
}

.review-tile-image {
    display: block;
    width: 100%;
    height: 228px;
    object-fit: cover;
}

.review-tile-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-xs);
    background: #f6f6f6;
    padding: var(--sp-sm) var(--sp-xs);
}

p.review-tile-name {
    font-size: var(--font-md);
    font-weight: var(--fw-strong);
    line-height: var(--lh-normal);
    letter-spacing: 0.03em;
    margin-top: 0;
    margin-left: 10px;
}

p.review-tile-text {
    font-size: var(--font-md);
    font-weight: var(--fw-normal);
    line-height: var(--lh-normal);
    letter-spacing: 0.03em;
    margin-top: 0;
}

.offer-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-md);
    background: #f6f6f6;
    padding: var(--sp-md) var(--sp-sm);
    margin-top: var(--sp-md);
}

.offer-card-image {
    display: block;
    width: auto;
    height: 245px;
    flex-shrink: 0;
}

.offer-card-info {
    min-width: 0;
}

p.offer-card-title {
    font-size: var(--font-xl);
    font-weight: var(--fw-strong);
    line-height: var(--lh-tight);
    margin-top: 0;
}

.offer-card-title .light {
    font-weight: var(--fw-light);
}

.offer-card-rating {
    display: flex;
    align-items: center;
    gap: var(--sp-xs);
    margin-top: var(--sp-xs);
}

.offer-card-score {
    font-size: var(--font-sm);
    line-height: var(--lh-normal);
    white-space: nowrap;
}

.offer-card-stars {
    display: flex;
}

.offer-card-stars img {
    width: 24px;
    height: 24px;
}

.cta-button {
    display: block;
    background: #232222;
    color: #fff;
    font-size: var(--font-3xl);
    font-weight: var(--fw-strong);
    line-height: var(--lh-normal);
    letter-spacing: 0.03em;
    text-align: center;
    padding: var(--sp-md) var(--sp-sm);
    margin-top: 0;
}

.cta-button-spaced {
    margin-top: var(--sp-md);
}

.verdict-card {
    border: 1px solid #232222;
    padding: var(--sp-md);
    margin-top: var(--sp-md);
}

.verdict-card p:first-child {
    margin-top: 0;
}

p.verdict-heading {
    font-weight: var(--fw-strong);
}

.author-card {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-sm);
    background: #fcf7ef;
    padding: var(--sp-md);
    margin-top: var(--sp-md);
}

.author-card-avatar {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: var(--radius-full);
    object-fit: cover;
}

p.author-card-text {
    margin-top: 0;
}

.sources-list {
    list-style: none;
    font-size: var(--font-md);
    line-height: var(--lh-normal);
    letter-spacing: 0.03em;
    margin-top: var(--sp-sm);
}

.sources-list li {
    margin-bottom: var(--sp-xs);
    word-break: break-word;
}

.sources-list li:last-child {
    margin-bottom: 0;
}

.sources-list a {
    color: #7000ff;
    text-decoration: underline;
}

.sidebar {
    display: none;
    min-width: 0;
}

.product-box {
    text-align: center;
}

.product-image {
    display: block;
    width: 100%;
}

.product-text {
    font-size: var(--font-md);
    font-weight: var(--fw-medium);
    line-height: var(--lh-normal);
    margin-top: var(--sp-xs);
}

.product-cta {
    display: block;
    background: #232222;
    color: #fff;
    font-size: var(--font-md);
    font-weight: var(--fw-strong);
    line-height: var(--lh-normal);
    letter-spacing: 0.03em;
    text-align: center;
    padding: var(--sp-xs);
    margin-top: var(--sp-xs);
}

.review-card {
    background: #f6f6f6;
    text-align: center;
    padding: var(--sp-sm) var(--sp-xs);
    margin-top: var(--sp-xl);
}

.review-stars {
    display: flex;
    justify-content: center;
}

.review-stars img {
    width: 32px;
    height: 32px;
    margin-right: -5px;
}

.review-text {
    font-size: var(--font-md);
    font-weight: var(--fw-normal);
    line-height: var(--lh-normal);
    letter-spacing: 0.03em;
    margin-top: var(--sp-xs);
}

.review-avatar {
    display: block;
    width: 90px;
    height: 90px;
    border-radius: var(--radius-full);
    object-fit: cover;
    margin-left: auto;
    margin-right: auto;
    margin-top: var(--sp-sm);
}

.review-name {
    font-size: var(--font-md);
    font-weight: var(--fw-strong);
    line-height: var(--lh-normal);
    letter-spacing: 0.03em;
    margin-top: 5px;
}

@media (min-width: 768px) {
    .reviews-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .layout {
        flex-direction: row;
        align-items: flex-start;
        gap: var(--sp-sm);
    }

    .article {
        width: 607px;
        flex-shrink: 0;
    }

    .sidebar {
        display: block;
        width: 293px;
        flex-shrink: 0;
    }
}

.accordion {
    margin-top: var(--sp-md);
    margin-bottom: var(--sp-lg);
}

.accordion-item {
    border-top: 1px solid #000;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: var(--sp-xs) 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: 'Lato', sans-serif;
    font-size: var(--font-md);
    font-weight: var(--fw-normal);
    line-height: var(--lh-loose);
    color: #000;
}

.accordion-icon {
    font-size: var(--font-xl);
    transition: transform 0.3s;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    display: none;
    padding: var(--sp-xs) 0 var(--sp-md);
}

.accordion-item.active .accordion-content {
    display: block;
}

.article .accordion-content p {
    font-size: var(--font-base);
    line-height: var(--lh-normal);
}

.page-footer {
    background: #232222;
    color: #fff;
    padding: var(--sp-lg) var(--sp-sm);
    margin-top: var(--sp-xl);
}

.footer-container {
    max-width: 920px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    flex-direction: column;
    gap: var(--sp-md);
    padding-bottom: var(--sp-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--sp-xs);
}

.footer-logo .logo-icon,
.footer-logo .logo-text,
.footer-logo .logo-tagline {
    filter: brightness(0) invert(1);
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-md);
    padding-top: var(--sp-md);
}

.footer-nav a {
    color: #fff;
    font-size: var(--font-xs);
    text-transform: uppercase;
    text-decoration: none;
}

@media (min-width: 768px) {
    .footer-top {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}
