:root {
    color-scheme: light;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #262626;
    background: var(--color-background, #FAFAFA);
    min-height: 100vh;
}

a {
    color: inherit;
}

a:hover {
    color: var(--color-primary);
}

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

/* -- Page Layout -- */

.page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.page__header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #dbdbdb;
}

.nav {
    margin: 0 auto;
    width: min(1100px, 100%);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.nav__branding {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav__logo {
    width: 32px;
    height: 32px;
}

.nav__title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav__toggle {
    display: none;
    background: none;
    border: 1px solid #dbdbdb;
    border-radius: 6px;
    padding: 0.4rem 0.75rem;
    font-family: inherit;
    font-size: 0.85rem;
    cursor: pointer;
    color: #262626;
}

.nav__items {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav__link {
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: background 0.15s;
}

.nav__link:hover {
    background: rgba(0, 0, 0, 0.04);
}

@media (max-width: 640px) {
    .nav__toggle {
        display: block;
    }
    .nav__items {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: #fff;
        border-bottom: 1px solid #dbdbdb;
        padding: 0.5rem 1rem;
    }
    .nav__items[data-open] {
        display: flex;
    }
    .nav__link {
        padding: 0.75rem;
        width: 100%;
    }
}

.page__main {
    flex: 1;
}

/* -- Footer -- */

.page__footer {
    background: #262626;
    color: #fafafa;
    padding: 3rem 1.5rem;
    text-align: center;
}

.footer__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.footer__subtitle {
    color: #a0a0a0;
    font-size: 0.9rem;
    margin: 0 0 1.5rem;
}

.footer__legal {
    font-size: 0.8rem;
    color: #737373;
    margin: 0;
}

.footer__separator {
    margin: 0 0.5rem;
}

.footer__link {
    color: #a0a0a0;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer__link:hover {
    color: #fafafa;
}

.footer__apps {
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}

.footer__app-link {
    color: #fafafa;
    text-decoration: none;
    font-weight: 600;
}

.footer__app-link:hover {
    text-decoration: underline;
    color: #fafafa;
}

/* -- Hero Section -- */

.hero {
    padding: 3rem 1.5rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.eyebrow {
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin: 0 0 0.5rem;
}

.hero__title {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 0.75rem;
    line-height: 1.2;
}

.hero__subtitle {
    font-size: 1.05rem;
    color: var(--color-muted);
    margin: 0;
    line-height: 1.6;
}

.hero__actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1.5rem;
}

/* -- Section -- */

.section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem;
}

/* -- Photo Feed Grid (Home) -- */

.photo-feed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}

@media (max-width: 768px) {
    .photo-feed {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .photo-feed {
        grid-template-columns: 1fr;
        gap: 2px;
    }
}

.photo-card {
    position: relative;
    display: block;
    text-decoration: none;
    aspect-ratio: 1;
    overflow: hidden;
    background: #efefef;
}

.photo-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.photo-card:hover .photo-card__image {
    transform: scale(1.03);
}

.photo-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 50%, rgba(0, 0, 0, 0.6));
    opacity: 0;
    transition: opacity 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem;
    color: #fff;
}

.photo-card:hover .photo-card__overlay {
    opacity: 1;
}

.photo-card__restaurant {
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0 0 0.25rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.photo-card__user {
    font-size: 0.8rem;
    opacity: 0.85;
}

.photo-card__likes {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* -- Restaurant Grid (Explore) -- */

.restaurant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.restaurant-card {
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    background: var(--color-surface);
    border: 1px solid #efefef;
    transition: box-shadow 0.2s, transform 0.2s;
}

.restaurant-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.restaurant-card__image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #efefef;
}

.restaurant-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.restaurant-card__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #efefef, #e0e0e0);
}

.restaurant-card__content {
    padding: 1rem;
}

.restaurant-card__name {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
    line-height: 1.3;
}

.restaurant-card__address {
    font-size: 0.85rem;
    color: var(--color-muted);
    margin: 0 0 0.5rem;
    line-height: 1.4;
}

.restaurant-card__meta {
    font-size: 0.8rem;
    color: var(--color-muted);
    display: flex;
    gap: 1rem;
}

/* -- Category Tabs -- */

.category-tabs {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.category-tabs__container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid #efefef;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.category-tabs__main {
    display: flex;
    gap: 0;
}

.category-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-muted);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    cursor: pointer;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    font-family: inherit;
    transition: color 0.15s;
}

.category-tab:hover {
    color: #262626;
}

.category-tab--active {
    color: #262626;
    border-bottom-color: #262626;
    font-weight: 600;
}

.category-tabs__more {
    position: relative;
    margin-left: auto;
}

.category-tabs__dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 4px);
    background: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    z-index: 10;
    padding: 0.5rem 0;
}

.category-tabs__more:hover .category-tabs__dropdown,
.category-tabs__more:focus-within .category-tabs__dropdown {
    display: block;
}

.category-tabs__dropdown-item {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    text-decoration: none;
    color: #262626;
}

.category-tabs__dropdown-item:hover {
    background: #f5f5f5;
}

.category-tabs__dropdown-item--active {
    font-weight: 600;
    color: var(--color-primary);
}

.category-tabs__dropdown-divider {
    border-top: 1px solid #efefef;
    margin: 0.25rem 0;
}

/* -- Tag Filters -- */

.tag-filters {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 1.5rem 0;
}

.tag-filters__container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag-filters__group {
    position: relative;
}

.tag-filters__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 500;
    background: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 20px;
    cursor: pointer;
    font-family: inherit;
    color: #262626;
    transition: border-color 0.15s;
}

.tag-filters__toggle:hover {
    border-color: #262626;
}

.tag-filters__badge {
    background: var(--color-primary);
    color: #fff;
    font-size: 0.7rem;
    padding: 0.1rem 0.4rem;
    border-radius: 10px;
    font-weight: 600;
}

.tag-filters__chevron {
    width: 10px;
    height: 10px;
}

.tag-filters__dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 0.75rem;
    z-index: 10;
    min-width: 200px;
    display: none;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.tag-filters__group.is-open .tag-filters__dropdown {
    display: flex;
}

.tag-chip {
    display: inline-block;
    padding: 0.3rem 0.7rem;
    font-size: 0.8rem;
    border-radius: 16px;
    text-decoration: none;
    background: #efefef;
    color: #262626;
    transition: background 0.15s;
}

.tag-chip:hover {
    background: #e0e0e0;
    color: #262626;
}

.tag-chip--selected {
    background: var(--color-primary);
    color: #fff;
}

.tag-chip--selected:hover {
    background: var(--color-primary);
    color: #fff;
    opacity: 0.85;
}

.tag-filters__clear {
    font-size: 0.8rem;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
}

.tag-filters__clear:hover {
    text-decoration: underline;
}

/* -- Restaurant Detail -- */

.restaurant-hero {
    padding: 2.5rem 1.5rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.restaurant-hero__back {
    font-size: 0.85rem;
    color: var(--color-muted);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 1rem;
}

.restaurant-hero__back:hover {
    color: var(--color-primary);
}

.restaurant-hero__title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
}

.restaurant-hero__address {
    font-size: 1rem;
    color: var(--color-muted);
    margin: 0 0 1rem;
}

.restaurant-hero__meta {
    display: flex;
    gap: 1.25rem;
    font-size: 0.85rem;
    color: var(--color-muted);
    margin-bottom: 1rem;
}

.restaurant-hero__stat::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary);
    margin-right: 0.4rem;
    vertical-align: middle;
}

.restaurant-hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.75rem;
}

.restaurant-tag {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    font-size: 0.78rem;
    border-radius: 14px;
    background: #efefef;
    color: #262626;
    font-weight: 500;
}

/* -- Editorial Section -- */

.editorial-section {
    background: linear-gradient(135deg, rgba(225, 48, 108, 0.04), rgba(247, 119, 55, 0.04));
    border-top: 1px solid rgba(225, 48, 108, 0.1);
    border-bottom: 1px solid rgba(225, 48, 108, 0.1);
    padding: 2rem 1.5rem;
}

.editorial-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.editorial-label {
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.editorial-quote {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #262626;
    margin: 0;
    font-style: italic;
}

/* -- Restaurant Detail Layout -- */

.restaurant-detail {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2.5rem;
    align-items: start;
}

@media (max-width: 768px) {
    .restaurant-detail {
        grid-template-columns: 1fr;
    }
}

.restaurant-section__title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 1rem;
}

/* -- Photo Gallery -- */

.restaurant-gallery {
    margin-bottom: 2.5rem;
}

.restaurant-gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    border-radius: 8px;
    overflow: hidden;
}

@media (max-width: 640px) {
    .restaurant-gallery__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.restaurant-gallery__item {
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
    border: none;
    padding: 0;
    background: #efefef;
    position: relative;
}

.restaurant-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.restaurant-gallery__item:hover img {
    transform: scale(1.05);
}

/* -- Contributor photo overlay -- */

.contributor-photo {
    text-decoration: none;
}

.contributor-photo__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 50%, rgba(0, 0, 0, 0.6));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0.75rem;
    color: #fff;
    opacity: 0;
    transition: opacity 0.2s;
}

.contributor-photo:hover .contributor-photo__overlay {
    opacity: 1;
}

.contributor-photo__restaurant {
    font-weight: 600;
    font-size: 0.85rem;
}

.contributor-photo__date {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* -- Lightbox -- */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox[hidden] {
    display: none;
}

.lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
}

.lightbox__container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox__close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
    z-index: 1;
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background 0.15s;
    z-index: 1;
}

.lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox__nav--prev {
    left: -60px;
}

.lightbox__nav--next {
    right: -60px;
}

@media (max-width: 768px) {
    .lightbox__nav--prev { left: 8px; }
    .lightbox__nav--next { right: 8px; }
}

.lightbox__image {
    max-width: 85vw;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox__details {
    color: #ccc;
    font-size: 0.85rem;
    margin-top: 0.75rem;
    text-align: center;
}

.lightbox__author {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.lightbox__author:hover {
    text-decoration: underline;
}

.lightbox__date {
    margin-left: 0.75rem;
    opacity: 0.7;
}

.lightbox__description {
    margin: 0.25rem 0 0;
    opacity: 0.8;
}

.lightbox__counter {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    opacity: 0.6;
}

/* -- Comments -- */

.restaurant-comments {
    margin-bottom: 2.5rem;
}

.restaurant-comments--liked .restaurant-comment {
    border-left: 3px solid #22c55e;
}

.restaurant-comments--improvement .restaurant-comment {
    border-left: 3px solid #f59e0b;
}

.restaurant-comments__list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.restaurant-comment {
    padding: 1rem;
    background: #fff;
    border: 1px solid #efefef;
    border-radius: 8px;
}

.restaurant-comment__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.restaurant-comment__author {
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
}

.restaurant-comment__restaurant {
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    color: var(--color-primary);
}

.restaurant-comment__date {
    font-size: 0.8rem;
    color: var(--color-muted);
}

.restaurant-comment__text {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    color: #444;
}

.restaurant-comment__footer {
    margin-top: 0.5rem;
}

/* -- Sidebar -- */

.restaurant-info {
    background: #fff;
    border: 1px solid #efefef;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.restaurant-info__item {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f5f5f5;
}

.restaurant-info__item:last-child {
    border-bottom: none;
}

.restaurant-info__label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-muted);
    margin-bottom: 0.2rem;
}

.restaurant-info__value {
    font-size: 0.9rem;
    color: #262626;
}

.restaurant-info__link {
    color: var(--color-primary);
    text-decoration: none;
}

.restaurant-info__link:hover {
    text-decoration: underline;
}

/* -- Map -- */

.restaurant-map {
    background: #fff;
    border: 1px solid #efefef;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.restaurant-map__frame {
    border-radius: 8px;
    overflow: hidden;
    margin-top: 0.75rem;
}

.restaurant-map__frame iframe {
    width: 100%;
    height: 200px;
    border: none;
}

.restaurant-map__link-text {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--color-primary);
    text-decoration: none;
}

.restaurant-map__link-text:hover {
    text-decoration: underline;
}

/* -- Recommendations -- */

.recommendations-section {
    background: #f5f5f5;
    padding: 2.5rem 1.5rem;
    margin-top: 2rem;
}

.recommendations-content {
    max-width: 1100px;
    margin: 0 auto;
}

.recommendations-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 1.5rem;
}

.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

.recommendation-card {
    text-decoration: none;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #efefef;
    transition: box-shadow 0.2s;
}

.recommendation-card:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.recommendation-card__image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.recommendation-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recommendation-card__content {
    padding: 0.75rem;
}

.recommendation-card__name {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 0.2rem;
}

.recommendation-card__address {
    font-size: 0.8rem;
    color: var(--color-muted);
    margin: 0 0 0.35rem;
}

.recommendation-card__stats {
    font-size: 0.75rem;
    color: var(--color-muted);
    display: flex;
    gap: 0.75rem;
}

/* -- Contributor Profile -- */

.contributor-profile {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1rem;
}

.contributor-profile__avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contributor-profile__avatar--placeholder {
    background: linear-gradient(135deg, #efefef, #e0e0e0);
}

.contributor-profile__type {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    background: rgba(225, 48, 108, 0.1);
    color: var(--color-primary);
}

.contributor-profile__stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.contributor-profile__stat-value {
    font-weight: 700;
    font-size: 1rem;
}

.contributor-profile__stat-label {
    font-size: 0.8rem;
    color: var(--color-muted);
}

/* -- Empty State -- */

.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--color-muted);
}

/* -- Button -- */

.button {
    display: inline-block;
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    font-family: inherit;
    transition: opacity 0.15s;
}

.button:hover {
    opacity: 0.85;
}

.button--primary {
    background: var(--color-primary);
    color: #fff;
}

.button--ghost {
    background: transparent;
    border: 1px solid #dbdbdb;
    color: #262626;
}

.button--ghost:hover {
    border-color: #262626;
    color: #262626;
}

/* -- Join Page -- */

.join-content {
    max-width: 700px;
    margin: 0 auto;
}

.join-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.join-step {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.join-step__number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.join-step__title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.4rem;
}

.join-step__description {
    font-size: 0.9rem;
    color: #555;
    margin: 0 0 0.75rem;
    line-height: 1.6;
}

.join-step__actions {
    display: flex;
    gap: 0.75rem;
}

.join-cta {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #efefef;
}

.join-cta h2 {
    font-size: 1.25rem;
    margin: 0 0 0.5rem;
}

.join-cta p {
    color: var(--color-muted);
    margin: 0;
}

/* -- Disclaimer -- */

.disclaimer-content {
    max-width: 750px;
    margin: 0 auto;
}

.disclaimer-section {
    margin-bottom: 2rem;
}

.disclaimer-section h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
}

.disclaimer-section p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #444;
    margin: 0 0 0.75rem;
}

.disclaimer-section ul,
.disclaimer-section ol {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #444;
    padding-left: 1.5rem;
    margin: 0 0 0.75rem;
}

.disclaimer-updated {
    font-size: 0.85rem;
    color: var(--color-muted);
    font-style: italic;
}

.disclaimer-contact a {
    color: var(--color-primary);
}

/* -- Recommendations Hero (used for section headers) -- */

.recommendations-hero {
    padding: 3rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid #efefef;
}

.recommendations-hero__content {
    max-width: 600px;
    margin: 0 auto;
}

.recommendations-hero__title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
}

.recommendations-hero__subtitle {
    font-size: 1rem;
    color: var(--color-muted);
    margin: 0;
    line-height: 1.6;
}

/* -- User Profile Header -- */

.user-profile-header {
    max-width: 700px;
}

.user-profile-header__name {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.02em;
}

.user-profile-header__bio {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
    margin: 1rem 0 0;
}

/* -- User Badges -- */

.user-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.user-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    background: #fff;
    border: 1px solid #efefef;
    border-radius: 20px;
    font-size: 0.8rem;
}

.user-badge__icon {
    font-size: 1rem;
}

.user-badge__label {
    font-weight: 500;
}

.user-badge__level {
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.1rem 0.4rem;
    border-radius: 8px;
}

.user-badge__level--bronze {
    background: #cd7f32;
    color: #fff;
}

.user-badge__level--silver {
    background: #c0c0c0;
    color: #333;
}

.user-badge__level--gold {
    background: #ffd700;
    color: #333;
}

.user-badge__level--platinum {
    background: linear-gradient(135deg, #e5e4e2, #a0a0a0);
    color: #333;
}
