.home-information-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
}

.home-information-links a {
    color: var(--nh-text);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    opacity: 0.72;
}

.home-information-links a:hover,
.home-information-links a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 0.18em;
    opacity: 1;
}

.home-information-content {
    min-width: 0;
    padding: 3px;
}

.static-page-title {
    margin: 0 0 1rem !important;
    text-align: center;
}

.static-page-body,
.roadmap-sections {
    display: flex;
    flex-direction: column;
}

.static-page-body {
    gap: 0.85rem;
}

.static-page-copy {
    margin: 0;
    color: var(--nh-text);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.45;
    text-align: center;
}

.roadmap-sections {
    gap: 1.35rem;
}

.roadmap-section,
.roadmap-heading,
.roadmap-item {
    text-align: left;
}

.roadmap-heading {
    margin: 0 0 0.5rem !important;
}

.nq-style .roadmap-items {
    margin: 0 !important;
    padding: 0 !important;
    display: grid;
    gap: 0.35rem;
    list-style: none;
}

.nq-style .roadmap-items > li {
    margin: 0 !important;
}

.how-to-guide {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* This panel reuses the Home disclaimer presentation but is not itself a
   control. Only the platform tabs inside it are interactive. */
.how-to-location-box {
    --how-to-location-font-size: 2rem;

    min-width: 0;
    width: 100%;
    align-items: stretch !important;
    cursor: default !important;
    font-size: var(--how-to-location-font-size);
    pointer-events: auto;
    text-align: initial !important;
    box-shadow: 0 0 32px rgba(233, 164, 0, 0.18) !important;
    transition: box-shadow 160ms ease !important;
}

.nq-style .how-to-location-box,
.nq-style .how-to-location-box:hover,
.nq-style .how-to-location-box:focus,
.nq-style .how-to-location-box:focus-within,
.nq-style .how-to-location-box:active {
    transform: none !important;
}

.nq-style .how-to-location-box:hover,
.nq-style .how-to-location-box:focus-within,
.nq-style .how-to-location-box:active {
    box-shadow: 0 0 32px rgba(233, 164, 0, 0.34) !important;
}

.how-to-location-layout {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: clamp(1rem, 4vw, 1.6rem);
}

.how-to-location-copy-column,
.how-to-location-example-column {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.how-to-location-title {
    width: 100%;
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    line-height: 1.08;
    text-align: center;
}

.how-to-location-copy {
    width: 100%;
    margin: 0.9rem 0 0;
    color: var(--nh-text);
    font-weight: 700;
    line-height: 1.45;
    text-align: center !important;
}

.how-to-location-title,
.how-to-location-copy,
.how-to-platform-button {
    font-size: var(--how-to-location-font-size) !important;
}

.how-to-platform-switch {
    width: 100%;
    margin: 0 0 0.9rem;
    padding: 0.3rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.25rem;
    border: 1px solid rgba(31, 35, 72, 0.11);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.48);
    box-shadow: inset 0 1px 2px rgba(31, 35, 72, 0.08);
}

.how-to-platform-button {
    min-width: 0;
    margin: 0;
    padding: 0.58rem 0.75rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--nh-text);
    cursor: pointer !important;
    font-family: inherit;
    font-weight: 900;
    line-height: 1;
    text-align: center;
}

.how-to-platform-button.is-selected {
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(31, 35, 72, 0.16);
}

.how-to-platform-button:focus-visible {
    outline: 3px solid rgba(5, 130, 202, 0.36);
    outline-offset: 2px;
}

.how-to-permission-stage {
    width: 100%;
    min-width: 0;
    display: grid;
    place-items: center;
}

.how-to-permission-example {
    width: 100%;
    min-width: 0;
    margin: 0;
    display: grid;
    place-items: center;
}

.how-to-permission-example[hidden] {
    display: none;
}

.how-to-permission-example img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
}

.how-to-story {
    padding: clamp(5rem, 17vw, 7.5rem) 0;
    display: flex;
    flex-direction: column;
    gap: clamp(5.5rem, 19vw, 8.5rem);
}

.how-to-step {
    min-width: 0;
    min-height: 11rem;
    display: grid;
    grid-template-columns: minmax(7.5rem, 0.82fr) minmax(0, 1.18fr);
    align-items: center;
    gap: clamp(1.25rem, 5vw, 2.3rem);
}

.how-to-step-reversed {
    grid-template-columns: minmax(0, 1.18fr) minmax(7.5rem, 0.82fr);
}

.how-to-step-visual {
    min-width: 0;
    min-height: 8rem;
    display: grid;
    place-items: center;
}

.nq-style .how-to-story .how-to-step > .how-to-step-copy {
    margin: 0 !important;
    color: var(--nh-text) !important;
    font-size: 2rem !important;
    font-weight: 900 !important;
    line-height: 1.42 !important;
    opacity: 1 !important;
    text-align: center !important;
}

.how-to-marker-example {
    position: relative;
    display: grid;
    place-items: center;
    border-radius: 50%;
    cursor: help;
    outline: none;
}

.how-to-marker-example:focus-visible {
    outline: 3px solid rgba(5, 130, 202, 0.42);
    outline-offset: 0.55rem;
}

.how-to-marker-tooltip {
    position: absolute;
    z-index: 10;
    left: 50%;
    bottom: calc(100% + 0.8rem);
    padding: 0.55rem 0.75rem;
    border-radius: 10px;
    background: rgba(31, 35, 72, 0.96);
    color: #ffffff;
    box-shadow: 0 10px 28px rgba(31, 35, 72, 0.26);
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.2;
    opacity: 0;
    pointer-events: none;
    text-align: center;
    transform: translate(-50%, 0.35rem);
    transition: opacity 140ms ease, transform 140ms ease, visibility 140ms ease;
    visibility: hidden;
    white-space: nowrap;
}

.how-to-marker-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    border: 7px solid transparent;
    border-top-color: rgba(31, 35, 72, 0.96);
    transform: translateX(-50%);
}

.how-to-marker-example:hover .how-to-marker-tooltip,
.how-to-marker-example:focus .how-to-marker-tooltip,
.how-to-marker-example:focus-within .how-to-marker-tooltip {
    opacity: 1;
    transform: translate(-50%, 0);
    visibility: visible;
}

/* The actual map uses one solid Leaflet circleMarker: radius 12, dark border,
   dark fill and no surrounding accuracy/radius halo. */
.how-to-user-marker {
    width: 3rem;
    height: 3rem;
    border: 0.22rem solid #1f2348;
    border-radius: 50%;
    background: #1f2348;
    opacity: 0.92;
}

.how-to-spot-radius {
    width: 8.5rem;
    height: 8.5rem;
    display: grid;
    place-items: center;
    border: 2px solid rgba(33, 188, 165, 0.72);
    border-radius: 50%;
    background: rgba(33, 188, 165, 0.17);
}

.how-to-spot-marker {
    width: 2.15rem;
    height: 2.15rem;
    border: 0.38rem solid #ffffff;
    border-radius: 50%;
    background: var(--nh-success);
    box-shadow: 0 5px 14px rgba(31, 35, 72, 0.28);
}

/* This is a real button, but its click is demonstrative rather than a claim. */
.nq-style button.spot-claim-button.how-to-claim-button.nq-button-pill {
    min-width: 8.5rem;
    margin: 0;
    padding: 0.8rem 1.55rem;
    border: 0;
    border-radius: 999px;
    background: var(--nh-success) !important;
    background-image: none !important;
    color: #ffffff !important;
    box-shadow: 0 10px 24px rgba(31, 35, 72, 0.20) !important;
    cursor: pointer !important;
    font: inherit;
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1;
    transform: translateY(0) !important;
    transition: box-shadow 140ms ease, filter 140ms ease, transform 140ms ease !important;
    user-select: none;
}

.nq-style button.spot-claim-button.how-to-claim-button.nq-button-pill:hover {
    box-shadow: 0 14px 30px rgba(31, 35, 72, 0.28) !important;
    filter: brightness(1.04);
    transform: translateY(-2px) !important;
}

.nq-style button.spot-claim-button.how-to-claim-button.nq-button-pill:active {
    box-shadow: 0 6px 14px rgba(31, 35, 72, 0.20) !important;
    filter: brightness(0.94);
    transform: translateY(1px) scale(0.98) !important;
}

.nq-style button.spot-claim-button.how-to-claim-button.nq-button-pill:focus-visible {
    outline: 3px solid rgba(33, 188, 165, 0.42);
    outline-offset: 4px;
}

.nq-style button.spot-claim-button.how-to-claim-button::before,
.nq-style button.spot-claim-button.how-to-claim-button::after {
    display: none !important;
    content: none !important;
}

.how-to-payment-icon {
    width: min(100%, 10rem);
    height: auto;
    color: #ffc435;
    filter: drop-shadow(0 10px 18px rgba(31, 35, 72, 0.18));
}

.how-to-find-spots-figure {
    min-width: 0;
    margin: 0;
}

.how-to-find-spots-shot {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 25px;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 88%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 88%, transparent 100%);
}

.how-to-find-spots-shot img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
}

.how-to-closing-copy {
    margin: clamp(2.5rem, 10vw, 4rem) 0 0;
    color: var(--nh-text);
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.42;
    text-align: center;
}

@media (max-width: 390px) {
    .home-information-links a {
        font-size: 1.05rem;
    }

    .how-to-location-box {
        padding-inline: 0.9rem !important;
    }

    .how-to-location-layout {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        gap: 0.8rem;
    }

    .how-to-location-title {
        gap: 0.3rem;
    }

    .how-to-platform-button {
        padding-inline: 0.45rem;
    }

    .how-to-permission-example img {
        border-radius: 16px;
    }

    .how-to-step,
    .how-to-step-reversed {
        grid-template-columns: minmax(6.5rem, 0.76fr) minmax(0, 1.24fr);
        gap: 1rem;
    }

    .how-to-step-reversed {
        grid-template-columns: minmax(0, 1.24fr) minmax(6.5rem, 0.76fr);
    }

    .how-to-spot-radius {
        width: 7.3rem;
        height: 7.3rem;
    }
}

@media (max-width: 330px) {
    .how-to-location-layout {
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }

    .how-to-location-copy {
        max-width: 24rem;
    }

    .how-to-permission-example img {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .how-to-location-box,
    .how-to-marker-tooltip,
    .how-to-claim-button,
    .how-to-platform-button {
        transition: none !important;
    }
}