:root {
    --nw-blue: #0876f6;
    --nw-blue-dark: #0b3f98;
    --nw-blue-deep: #052f82;
    --nw-text: #10233f;
    --nw-muted: #64748b;
    --nw-line: #dbeafe;
    --nw-soft: #f4f8ff;
    --nw-card-shadow: 0 18px 45px rgba(20, 96, 192, .10);
}

.nw-page {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 46px;
    color: var(--nw-text);
}

.nw-page a {
    color: var(--nw-blue);
    text-decoration: none;
}

.nw-page a:hover {
    color: var(--nw-blue-dark);
    text-decoration: underline;
}

/* ===== Posting guide ===== */
.nw-guide-page {
    background:
        radial-gradient(circle at 0 0, rgba(8, 118, 246, .08), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
}

.nw-guide-hero {
    position: relative;
    overflow: hidden;
    min-height: 232px;
    border: 1px solid var(--nw-line);
    border-radius: 30px;
    padding: 28px 28px 34px;
    background:
        linear-gradient(110deg, rgba(255, 255, 255, .98), rgba(237, 246, 255, .96)),
        radial-gradient(circle at 100% 0, rgba(8, 118, 246, .15), transparent 30%);
    box-shadow: var(--nw-card-shadow);
}

.nw-guide-hero::before {
    content: "";
    position: absolute;
    inset: auto -40px -60px -40px;
    height: 130px;
    background: linear-gradient(135deg, rgba(8, 118, 246, .08), rgba(8, 118, 246, 0));
    border-radius: 50% 50% 0 0;
    transform: rotate(-2deg);
}

.nw-guide-brand {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-weight: 900;
    font-size: 22px;
    color: var(--nw-blue-dark);
}

.nw-guide-logo-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 12px;
    background: linear-gradient(135deg, #0093ff, #075fea);
    box-shadow: 0 10px 22px rgba(8, 118, 246, .24);
}

.nw-guide-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 820px;
    margin: -6px auto 0;
}

.nw-guide-hero-content h1 {
    margin: 0;
    color: var(--nw-blue-deep);
    font-size: clamp(30px, 5vw, 54px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -.04em;
    text-transform: uppercase;
}

.nw-guide-hero-content p {
    margin: 16px 0 0;
    color: #243b63;
    font-size: clamp(17px, 2.2vw, 24px);
    font-weight: 500;
}

.nw-guide-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding: 10px 18px;
    border: 1px solid #88bdff;
    border-radius: 999px;
    background: rgba(255, 255, 255, .86);
    color: var(--nw-blue-dark);
    font-size: 18px;
    font-weight: 800;
    box-shadow: 0 12px 25px rgba(8, 118, 246, .10);
}

.nw-guide-card {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    align-items: center;
    gap: 28px;
    margin-top: 18px;
    border: 1px solid var(--nw-line);
    border-radius: 26px;
    padding: 26px 26px;
    background: rgba(255, 255, 255, .96);
    box-shadow: var(--nw-card-shadow);
}

.nw-guide-left {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: flex-start;
    gap: 16px;
}

.nw-step-no {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(145deg, #0f66f5, #0a2f86);
    color: #fff;
    font-size: 25px;
    font-weight: 900;
    box-shadow: 0 12px 22px rgba(8, 80, 190, .25);
}

.nw-guide-left h2 {
    margin: 4px 0 18px;
    color: var(--nw-blue-deep);
    font-size: clamp(24px, 2.4vw, 34px);
    line-height: 1.12;
    font-weight: 900;
}

.nw-guide-list {
    counter-reset: nwStep;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nw-guide-list li {
    counter-increment: nwStep;
    position: relative;
    padding-left: 42px;
    margin: 0 0 14px;
    color: #233a61;
    font-size: 18px;
    line-height: 1.45;
}

.nw-guide-list li::before {
    content: counter(nwStep);
    position: absolute;
    top: 1px;
    left: 0;
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(145deg, #1185ff, #075ce6);
    color: #fff;
    font-size: 15px;
    font-weight: 900;
}

.nw-guide-tip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    padding: 12px 14px;
    border: 1px solid #9dccff;
    border-radius: 14px;
    background: linear-gradient(135deg, #edf6ff, #f8fbff);
    color: #075ddd;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 850;
}

.nw-guide-tip i {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #fff;
    border-radius: 9px;
    background: #0876f6;
}

.nw-guide-shots {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.nw-guide-shots figure {
    margin: 0;
    min-width: 0;
}

.nw-guide-shots img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    filter: drop-shadow(0 14px 22px rgba(34, 85, 140, .13));
}

.nw-guide-shots-3 figure {
    flex: 1 1 0;
}

.nw-guide-shots-2 figure:first-child {
    flex: 0 1 260px;
}

.nw-guide-shots-2 figure:last-child {
    flex: 0 1 330px;
}

.nw-guide-shots-vr {
    gap: 32px;
}

.nw-guide-shots-vr figure:first-child {
    flex: 0 1 390px;
}

.nw-vr-phone {
    flex: 0 0 165px;
}

.nw-guide-arrow {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #fff;
    border-radius: 50%;
    background: linear-gradient(145deg, #36a2ff, #0670ef);
    box-shadow: 0 10px 20px rgba(8, 118, 246, .22);
}

.nw-guide-overview {
    margin-top: 18px;
}

.nw-guide-overview details {
    border: 1px solid var(--nw-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--nw-card-shadow);
    overflow: hidden;
}

.nw-guide-overview summary {
    cursor: pointer;
    padding: 16px 20px;
    color: var(--nw-blue-dark);
    font-weight: 850;
}

.nw-guide-overview img {
    display: block;
    width: 100%;
    max-width: 980px;
    margin: 0 auto 20px;
    border-radius: 16px;
}

/* ===== Legal pages ===== */
.nw-legal-page {
    max-width: 980px;
}

.nw-legal-hero {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 46px 34px;
    background:
        linear-gradient(135deg, rgba(8, 118, 246, .95), rgba(10, 54, 148, .95)),
        radial-gradient(circle at 100% 0, rgba(255, 255, 255, .2), transparent 36%);
    color: #fff;
    box-shadow: 0 20px 44px rgba(8, 66, 150, .18);
}

.nw-legal-kicker {
    display: inline-flex;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    font-weight: 850;
    letter-spacing: .02em;
}

.nw-legal-hero h1 {
    margin: 18px 0 10px;
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -.03em;
}

.nw-legal-hero p {
    margin: 0;
    color: rgba(255, 255, 255, .88);
    font-size: 17px;
    font-weight: 600;
}

.nw-legal-card {
    margin-top: 18px;
    border: 1px solid var(--nw-line);
    border-radius: 24px;
    padding: 16px 34px 34px;
    background: #fff;
    box-shadow: var(--nw-card-shadow);
}

.nw-legal-section {
    padding: 24px 0;
    border-bottom: 1px solid #e8f1ff;
}

.nw-legal-section:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.nw-legal-section h2 {
    margin: 0 0 12px;
    color: var(--nw-blue-dark);
    font-size: 24px;
    line-height: 1.25;
    font-weight: 900;
}

.nw-legal-section p {
    margin: 0 0 12px;
    color: #263b5c;
    font-size: 17px;
    line-height: 1.7;
}

.nw-legal-section ul {
    margin: 8px 0 14px;
    padding-left: 22px;
}

.nw-legal-section li {
    margin: 7px 0;
    color: #263b5c;
    font-size: 17px;
    line-height: 1.55;
}

.nw-legal-contact {
    border-radius: 18px;
    padding: 24px !important;
    background: linear-gradient(135deg, #f2f8ff, #ffffff);
    border: 1px solid #d9ebff !important;
}

@media (max-width: 992px) {
    .nw-guide-card {
        grid-template-columns: 1fr;
    }

    .nw-guide-left {
        max-width: 680px;
    }
}

@media (max-width: 768px) {
    .nw-page {
        width: min(100% - 22px, 1180px);
        padding: 14px 0 32px;
    }

    .nw-guide-hero {
        min-height: auto;
        border-radius: 22px;
        padding: 20px 16px 24px;
    }

    .nw-guide-brand {
        font-size: 18px;
    }

    .nw-guide-logo-icon {
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }

    .nw-guide-hero-content {
        margin-top: 18px;
    }

    .nw-guide-badge {
        align-items: flex-start;
        border-radius: 18px;
        font-size: 14px;
        line-height: 1.35;
        padding: 10px 12px;
    }

    .nw-guide-card {
        border-radius: 20px;
        padding: 18px 14px;
        gap: 18px;
    }

    .nw-guide-left {
        grid-template-columns: 50px minmax(0, 1fr);
        gap: 12px;
    }

    .nw-step-no {
        width: 50px;
        height: 50px;
        border-radius: 15px;
        font-size: 21px;
    }

    .nw-guide-list li {
        padding-left: 36px;
        font-size: 15px;
        margin-bottom: 11px;
    }

    .nw-guide-list li::before {
        width: 24px;
        height: 24px;
        font-size: 13px;
    }

    .nw-guide-tip {
        width: 100%;
        font-size: 14px;
    }

    .nw-guide-shots,
    .nw-guide-shots-vr {
        gap: 10px;
        flex-wrap: wrap;
    }

    .nw-guide-shots-3 figure,
    .nw-guide-shots-2 figure:first-child,
    .nw-guide-shots-2 figure:last-child,
    .nw-guide-shots-vr figure:first-child,
    .nw-vr-phone {
        flex: 1 1 100%;
    }

    .nw-guide-shots img {
        margin: 0 auto;
        max-height: 360px;
    }

    .nw-guide-arrow {
        transform: rotate(90deg);
    }

    .nw-legal-hero {
        border-radius: 22px;
        padding: 5px 22px;
    }

    .nw-legal-card {
        border-radius: 20px;
        padding: 6px 20px 22px;
    }

    .nw-legal-section {
        padding: 20px 0;
    }

    .nw-legal-section h2 {
        font-size: 21px;
    }

    .nw-legal-section p,
    .nw-legal-section li {
        font-size: 15px;
    }
}
.nw-guide-page {
    margin-top: 86px;
}

@media (max-width: 768px) {
    .nw-guide-page {
        margin-top: 96px;
    }
}
.nw-static-header-page {
    margin-top: 86px;
}

@media (max-width: 768px) {
    .nw-static-header-page {
        margin-top: 96px;
    }
}

.nw-static-header-page {
    margin-top: 86px;
}

@media (max-width: 768px) {
    .nw-static-header-page {
        margin-top: 96px;
    }
}