.me-home {
    color: #0f172a;
    background: #fff;
}

.me-home * {
    box-sizing: border-box;
}

.me-wrap {
    width: min(80rem, calc(100% - 2rem));
    margin-inline: auto;
}

.me-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.me-section {
    padding: 2.75rem 0;
}

.me-section--soft {
    background: #f8faff;
}

.me-section--last {
    padding-top: 0;
}

.me-section__head {
    max-width: 40rem;
    margin-bottom: 1.75rem;
}

.me-section__head--row {
    max-width: none;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.me-home h1,
.me-home h2,
.me-home h3 {
    margin: 0;
    color: #0f172a;
    font-weight: 660;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.me-home h1 {
    margin-top: 0.75rem;
    font-size: 2.125rem;
}

.me-home h2 {
    font-size: 1.75rem;
}

.me-home h3 {
    font-size: 1.125rem;
}

.me-eyebrow {
    margin: 0;
    color: #c2410c;
    font-size: 0.875rem;
    font-weight: 650;
    letter-spacing: 0.01em;
}

.me-lead {
    margin: 0.75rem 0 0;
    max-width: 38rem;
    color: #475569;
    font-size: 1rem;
    line-height: 1.6;
}

.me-meta {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.4;
}

.me-home a:focus-visible,
.me-home button:focus-visible,
.me-home summary:focus-visible,
.me-home input:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 3px;
}

.me-button,
.me-textlink,
.me-chips a,
.me-topic,
.me-guide,
.me-business,
.me-event {
    text-decoration: none;
}

.me-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 1.25rem;
    border-radius: 999px;
    background: #2563eb;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 650;
}

.me-button--ghost {
    background: transparent;
    color: #1d4ed8;
    box-shadow: inset 0 0 0 1.5px #bfdbfe;
}

.me-button--light {
    background: #fff;
    color: #1e3a8a;
}

.me-textlink {
    color: #1d4ed8;
    font-weight: 650;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.me-hero {
    padding-top: 1.5rem;
}

.me-hero__grid {
    display: grid;
    gap: 1.5rem;
}

.me-search {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.me-search input {
    min-height: 52px;
    width: 100%;
    border: 1px solid #dbe3f0;
    border-radius: 999px;
    padding: 0 1.15rem;
    background: #fff;
    color: #0f172a;
    font: inherit;
    font-size: 1rem;
}

.me-search button {
    min-height: 48px;
    border: 0;
    border-radius: 999px;
    background: #2563eb;
    color: #fff;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 650;
    cursor: pointer;
}

.me-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.me-chips a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 44px;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: #fff;
    color: #0f172a;
    box-shadow: inset 0 0 0 1px #e2e8f0;
    font-size: 0.95rem;
    font-weight: 590;
}

.me-chips a span {
    color: #64748b;
    font-weight: 500;
}

.me-visual__media {
    overflow: hidden;
    border-radius: 1.25rem;
    background: #e8eef8;
    aspect-ratio: 16 / 9;
    max-height: 180px;
}

.me-visual__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.me-check {
    margin-top: 0.9rem;
    padding: 1rem 1rem 0.4rem;
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 18px 40px -28px rgba(15, 23, 42, 0.45);
    border: 1px solid #e8eef8;
}

.me-check__title {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    font-weight: 660;
}

.me-check ol {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.me-check li {
    counter-increment: step;
    border-top: 1px solid #eef2f7;
}

.me-check a {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.15rem 0.75rem;
    min-height: 44px;
    padding: 0.7rem 0.15rem;
    color: inherit;
    text-decoration: none;
}

.me-check a::before {
    content: counter(step);
    grid-row: span 2;
    align-self: center;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 999px;
    background: #fff7ed;
    color: #c2410c;
    font-size: 0.8rem;
    font-weight: 700;
    display: grid;
    place-items: center;
}

.me-check small {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.45;
}

.me-trust {
    margin-top: 1.75rem;
    background: #f8faff;
    border-block: 1px solid #e8eef8;
}

.me-trust__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem 1rem;
    padding: 1rem 0;
}

.me-trust p {
    margin: 0;
    min-height: 44px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.15rem;
    color: #64748b;
    font-size: 0.8125rem;
    font-weight: 550;
    line-height: 1.3;
}

.me-trust strong {
    color: #0f172a;
    font-size: 1.75rem;
    font-weight: 720;
    letter-spacing: -0.04em;
    line-height: 1;
}

.me-trust__plain {
    color: #0f172a;
    font-size: 0.95rem;
    font-weight: 650;
    line-height: 1.35;
}

.me-trust a {
    color: #1d4ed8;
}

.me-topics,
.me-businesses,
.me-events,
.me-instagram,
.me-groups,
.me-guides,
.me-guide-list {
    display: grid;
    gap: 0.9rem;
    min-width: 0;
}

.me-businesses {
    grid-template-columns: 1fr 1fr;
}

.me-topic,
.me-business,
.me-guide,
.me-event,
.me-instagram a,
.me-hero__grid > * {
    min-width: 0;
}

.me-home img,
.me-home picture {
    max-width: 100%;
}

.me-topic,
.me-business,
.me-guide,
.me-event {
    background: #fff;
    border: 1px solid #e8eef8;
    border-radius: 1rem;
    box-shadow: 0 16px 36px -30px rgba(15, 23, 42, 0.55);
    color: inherit;
    transition: transform 200ms ease;
}

.me-topic {
    display: block;
    padding: 1.1rem 1.15rem 1rem;
}

.me-topic p,
.me-guide p {
    margin: 0.4rem 0 0;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.55;
}

.me-icon {
    width: 1.6rem;
    height: 1.6rem;
    color: #c2410c;
}

.me-topic .me-meta,
.me-guide .me-meta,
.me-business .me-meta {
    display: block;
    margin-top: 0.65rem;
}

.me-guides {
    display: grid;
    gap: 0.9rem;
}

.me-guide {
    display: grid;
    grid-template-columns: 7.5rem 1fr;
    overflow: hidden;
}

.me-guide picture,
.me-guide img,
.me-business picture,
.me-business img,
.me-hike picture,
.me-hike img,
.me-instagram img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.me-guide picture,
.me-business picture {
    min-height: 100%;
    background: #e8eef8;
}

.me-guide--lead {
    grid-template-columns: 1fr;
}

.me-guide--lead picture {
    aspect-ratio: 16 / 10;
    max-height: 180px;
}

.me-guide__body,
.me-business__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 0.85rem 0.95rem 1rem;
}

.me-guide-list {
    display: grid;
    gap: 0.75rem;
}

.me-badge {
    display: inline-flex;
    align-items: center;
    min-height: 1.5rem;
    padding: 0 0.5rem;
    border-radius: 999px;
    background: #fff7ed;
    color: #c2410c;
    font-size: 0.75rem;
    font-weight: 650;
}

.me-badge--verified {
    background: #eff6ff;
    color: #1d4ed8;
}

.me-business picture {
    aspect-ratio: 16 / 10;
    max-height: 112px;
}

.me-hike {
    display: grid;
    gap: 1.25rem;
    align-items: center;
}

.me-hike picture {
    overflow: hidden;
    border-radius: 1.25rem;
    aspect-ratio: 16 / 10;
    max-height: 200px;
    background: #e8eef8;
}

.me-hike__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1rem 0 0.4rem;
}

.me-event {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.9rem;
    align-items: center;
    padding: 0.9rem 1rem;
}

.me-event time {
    color: #c2410c;
    font-weight: 700;
    font-size: 0.95rem;
}

.me-groups h3 {
    margin-bottom: 0.55rem;
    font-size: 1rem;
}

.me-instagram {
    grid-template-columns: 1fr 1fr;
}

.me-instagram a {
    display: block;
    overflow: hidden;
    border-radius: 1rem;
    aspect-ratio: 1;
    background: #e8eef8;
}

.me-faq {
    max-width: 46rem;
}

.me-faq details {
    border-top: 1px solid #e2e8f0;
}

.me-faq details:last-of-type {
    border-bottom: 1px solid #e2e8f0;
}

.me-faq summary {
    min-height: 52px;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 650;
}

.me-faq p {
    margin: 0 0 1rem;
    color: #334155;
    line-height: 1.6;
}

.me-faq a {
    color: #1d4ed8;
}

.me-band {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.35rem 1.35rem;
    border-radius: 1.25rem;
    background: #0f172a;
    color: #fff;
}

.me-band h2,
.me-band p {
    color: #fff;
}

.me-band p {
    margin: 0.4rem 0 0;
    color: #e2e8f0;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .me-wrap {
        width: min(80rem, calc(100% - 3rem));
    }

    .me-section {
        padding: 6rem 0;
    }

    .me-home h1 {
        font-size: 2.75rem;
    }

    .me-home h2 {
        font-size: 2.25rem;
    }

    .me-search {
        flex-direction: row;
        align-items: center;
    }

    .me-search button {
        flex: none;
        padding: 0 1.35rem;
    }

    .me-visual__media,
    .me-guide--lead picture,
    .me-hike picture {
        max-height: 320px;
    }

    .me-trust__grid,
    .me-topics,
    .me-businesses,
    .me-groups {
        grid-template-columns: 1fr 1fr;
    }

    .me-events {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .me-band {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 1.5rem 1.75rem;
    }
}

@media (min-width: 1024px) {
    .me-home h1 {
        font-size: 3rem;
    }

    .me-hero__grid {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 2.5rem;
        align-items: center;
    }

    .me-visual {
        position: relative;
        min-height: 540px;
    }

    .me-visual__media {
        position: absolute;
        inset: 0;
        max-height: none;
        height: 100%;
        aspect-ratio: auto;
    }

    .me-visual__media::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(15, 23, 42, 0.05), rgba(15, 23, 42, 0.18));
    }

    .me-check {
        position: absolute;
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        margin-top: 0;
    }

    .me-trust__grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .me-topics {
        grid-template-columns: repeat(3, 1fr);
    }

    .me-guides {
        grid-template-columns: 1.15fr 0.85fr;
        align-items: stretch;
    }

    .me-guide--lead {
        min-height: 100%;
    }

    .me-guide--lead picture {
        max-height: none;
        height: 62%;
    }

    .me-businesses {
        grid-template-columns: repeat(4, 1fr);
    }

    .me-hike {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 2rem;
    }

    .me-hike picture {
        max-height: 360px;
    }

    .me-instagram {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .me-topic:hover,
    .me-guide:hover,
    .me-business:hover,
    .me-event:hover {
        transform: translateY(-2px);
    }
}

@media (max-width: 767px) {
    .me-businesses .me-business:nth-child(n + 5),
    .me-instagram a:nth-child(n + 3) {
        display: none;
    }
}

@media (min-width: 768px) {
    .me-more {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .me-topic,
    .me-guide,
    .me-business,
    .me-event {
        transition: none;
    }
}
