/* ============================================
   Мой чат — New Landing — Warm Connection Style
   Fonts: Nunito (display) + DM Sans (body)
   Palette: Cream #FAF7F2, Terracotta #E8604C,
            Chocolate #2C1810, Sage #A8B5A0,
            Gold #D4A574
   ============================================ */

/* === LOCAL FONTS === */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('fonts/nunito-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('fonts/nunito-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/dmsans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/dmsans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+0400-04FF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* === RESET & BASE === */
.nl-wrapper *, .nl-wrapper *::before, .nl-wrapper *::after { box-sizing: border-box; margin: 0; padding: 0; }
.nl-wrapper { font-family: 'DM Sans', 'Segoe UI', sans-serif; color: #2C1810; background: #FAF7F2; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.nl-wrapper img { max-width: 100%; height: auto; display: block; }
.nl-wrapper a { text-decoration: none; color: inherit; }
.nl-wrapper ul { list-style: none; margin: 0; padding: 0; }
.nl-wrapper em { font-style: italic; color: #E8604C; }

/* === HIDE LOADINGPAY === */
#loadingpay { display: none !important; }

/* === CONTAINER === */
.nl-container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
@media(min-width:640px){ .nl-container { padding: 0 1.5rem; } }
@media(min-width:1024px){ .nl-container { padding: 0 2rem; } }

/* === ANIMATIONS === */
.nl-anim { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.nl-anim[data-anim="fade-left"] { transform: translateX(40px) scale(0.95); }
.nl-anim--visible { opacity: 1 !important; transform: translateY(0) translateX(0) scale(1) !important; }
.nl-hide-mobile { display: none; }
@media(min-width:640px){ .nl-hide-mobile { display: block; } }

/* === LOGO === */
.nl-logo-text { font-family: 'Nunito', sans-serif; font-size: 1.5rem; font-weight: 800; color: #2C1810; letter-spacing: -0.02em; }
.nl-logo-text--light { color: #fff; }
.nl-logo-accent { color: #E8604C; }

/* === BUTTONS === */
.nl-btn { display: inline-flex; align-items: center; gap: 0.5rem; font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 1rem; border: none; cursor: pointer; transition: all 0.3s ease; }
.nl-btn--primary { background: #E8604C; color: #fff; padding: 1rem 2rem; border-radius: 9999px; box-shadow: 0 4px 20px rgba(232,96,76,0.2); }
.nl-btn--primary:hover { box-shadow: 0 8px 30px rgba(232,96,76,0.3); transform: translateY(-2px); }
.nl-btn--lg { padding: 1.1rem 2.5rem; }
.nl-btn--ghost { color: rgba(44,24,16,0.6); padding: 1rem; }
.nl-btn--ghost:hover { color: #E8604C; }
.nl-btn--ghost-light { color: rgba(255,255,255,0.6); padding: 1rem; }
.nl-btn--ghost-light:hover { color: #fff; }
.nl-underline { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(232,96,76,0.4); }

/* === SECTION COMMON === */
.nl-section-header { margin-bottom: 3rem; }
@media(min-width:1024px){ .nl-section-header { margin-bottom: 5rem; } }
.nl-section-header--center { text-align: center; max-width: 42rem; margin-left: auto; margin-right: auto; }
.nl-section-label { display: block; font-family: 'DM Sans', sans-serif; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: #A8B5A0; margin-bottom: 1rem; }
.nl-section-title { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 2.25rem; line-height: 1.1; color: #2C1810; }
@media(min-width:768px){ .nl-section-title { font-size: 3rem; } }
@media(min-width:1024px){ .nl-section-title { font-size: 3.75rem; } }
.nl-section-line { width: 4rem; height: 2px; background: rgba(232,96,76,0.3); margin-top: 2rem; }
.nl-section-line--center { margin-left: auto; margin-right: auto; }

/* =====================
   HEADER
   ===================== */
.nl-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: all 0.5s ease; background: transparent; }
.nl-header--scrolled { background: rgba(250,247,242,0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(212,165,116,0.15); }
.nl-header__inner { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
@media(min-width:768px){ .nl-header__inner { height: 5rem; } }
.nl-header__logo { display: flex; align-items: center; gap: 0.5rem; }
.nl-header__nav { display: none; align-items: center; gap: 1.75rem; }
@media(min-width:1024px){ .nl-header__nav { display: flex; } }
.nl-header__nav-link { font-family: 'DM Sans', sans-serif; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(44,24,16,0.55); transition: color 0.3s; }
.nl-header__nav-link:hover { color: #E8604C; }
.nl-header__actions { display: none; align-items: center; gap: 0.75rem; }
@media(min-width:1024px){ .nl-header__actions { display: flex; } }
.nl-header__btn-login { font-family: 'DM Sans', sans-serif; font-size: 0.875rem; font-weight: 600; color: #2C1810; padding: 0.5rem 1rem; transition: color 0.3s; }
.nl-header__btn-login:hover { color: #E8604C; }
.nl-header__btn-reg { font-family: 'DM Sans', sans-serif; font-size: 0.875rem; font-weight: 600; color: #fff; background: #E8604C; padding: 0.625rem 1.5rem; border-radius: 9999px; transition: all 0.3s; }
.nl-header__btn-reg:hover { background: #d4553f; box-shadow: 0 4px 15px rgba(232,96,76,0.25); }

/* Burger */
.nl-header__burger { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 0.5rem; margin-right: -0.5rem; }
@media(min-width:1024px){ .nl-header__burger { display: none; } }
.nl-header__burger span { display: block; width: 22px; height: 2px; background: #2C1810; border-radius: 2px; transition: all 0.3s; }
.nl-burger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nl-burger--open span:nth-child(2) { opacity: 0; }
.nl-burger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nl-mobile-menu { position: fixed; top: 4rem; left: 0; right: 0; bottom: 0; background: rgba(250,247,242,0.98); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); z-index: 90; padding: 2rem 0; display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.35s ease; }
.nl-mobile-menu--open { transform: translateX(0); }
@media(min-width:1024px){ .nl-mobile-menu { display: none !important; } }
.nl-mobile-menu__link { display: block; font-family: 'Nunito', sans-serif; font-size: 1.875rem; font-weight: 700; color: #2C1810; padding: 0.75rem 0; }
.nl-mobile-menu__actions { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(212,165,116,0.15); display: flex; flex-direction: column; gap: 0.75rem; }
.nl-mobile-menu__btn-reg { display: block; text-align: center; font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 600; color: #fff; background: #E8604C; padding: 1rem; border-radius: 9999px; }
.nl-mobile-menu__btn-login { display: block; text-align: center; font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 600; color: #2C1810; padding: 1rem; border-radius: 9999px; border: 1.5px solid rgba(44,24,16,0.15); }

/* =====================
   HERO
   ===================== */
.nl-hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; padding-top: 5rem; }
@media(min-width:768px){ .nl-hero { padding-top: 0; } }
.nl-hero__blobs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.nl-hero__blob { position: absolute; border-radius: 50%; filter: blur(60px); }
.nl-hero__blob--1 { top: 5rem; right: 25%; width: 24rem; height: 24rem; background: rgba(232,96,76,0.04); }
.nl-hero__blob--2 { bottom: 5rem; left: 25%; width: 20rem; height: 20rem; background: rgba(168,181,160,0.08); }
.nl-hero__blob--3 { top: 50%; right: 2.5rem; width: 16rem; height: 16rem; background: rgba(212,165,116,0.06); }
.nl-hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; min-height: calc(100vh - 5rem); }
@media(min-width:1024px){ .nl-hero__grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.nl-hero__text { order: 2; padding-bottom: 2rem; }
@media(min-width:1024px){ .nl-hero__text { order: 1; padding-bottom: 0; } }
.nl-hero__badge { display: inline-flex; align-items: center; gap: 0.5rem; font-family: 'DM Sans', sans-serif; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: #E8604C; background: rgba(232,96,76,0.08); padding: 0.5rem 1rem; border-radius: 9999px; margin-bottom: 1.5rem; }
.nl-hero__title { font-family: 'Nunito', sans-serif; font-size: 2.75rem; font-weight: 900; line-height: 0.95; color: #2C1810; margin-bottom: 2rem; }
@media(min-width:640px){ .nl-hero__title { font-size: 3.75rem; } }
@media(min-width:1024px){ .nl-hero__title { font-size: 4.5rem; } }
@media(min-width:1280px){ .nl-hero__title { font-size: 5.5rem; } }
.nl-hero__desc { font-family: 'DM Sans', sans-serif; font-size: 1.125rem; color: rgba(44,24,16,0.55); max-width: 28rem; margin-bottom: 2.5rem; line-height: 1.7; }
@media(min-width:768px){ .nl-hero__desc { font-size: 1.25rem; } }
.nl-hero__btns { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
@media(min-width:640px){ .nl-hero__btns { flex-direction: row; align-items: center; } }
.nl-hero__stats { display: flex; align-items: center; gap: 1.5rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(212,165,116,0.15); }
@media(min-width:640px){ .nl-hero__stats { gap: 2rem; } }
.nl-hero__stat-value { font-family: 'Nunito', sans-serif; font-size: 1.875rem; font-weight: 800; color: #2C1810; }
@media(min-width:768px){ .nl-hero__stat-value { font-size: 2.25rem; } }
.nl-hero__stat-label { font-family: 'DM Sans', sans-serif; font-size: 0.625rem; margin-top: 0.25rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(44,24,16,0.4); }
@media(min-width:640px){ .nl-hero__stat-label { font-size: 0.75rem; } }
.nl-hero__stat-divider { width: 1px; height: 2.5rem; background: rgba(212,165,116,0.2); }

/* Hero image */
.nl-hero__image-wrap { order: 1; position: relative; }
@media(min-width:1024px){ .nl-hero__image-wrap { order: 2; } }
.nl-hero__image { position: relative; border-radius: 2rem; overflow: hidden; aspect-ratio: 4/5; box-shadow: 0 25px 60px rgba(44,24,16,0.12); }
@media(min-width:1024px){ .nl-hero__image { aspect-ratio: 3/4; } }
.nl-hero__image img { width: 100%; height: 100%; object-fit: cover; }
.nl-hero__image-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(44,24,16,0.15), transparent, transparent); }
.nl-hero__float-card { position: absolute; bottom: -1.25rem; left: -1rem; background: #fff; border-radius: 1rem; padding: 1rem; box-shadow: 0 10px 40px rgba(44,24,16,0.08); border: 1px solid rgba(212,165,116,0.1); display: flex; align-items: center; gap: 0.75rem; }
@media(min-width:768px){ .nl-hero__float-card { left: -2rem; } }
.nl-hero__float-icon { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: rgba(232,96,76,0.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nl-hero__float-title { font-family: 'DM Sans', sans-serif; font-size: 0.875rem; font-weight: 600; color: #2C1810; }
.nl-hero__float-sub { font-family: 'DM Sans', sans-serif; font-size: 0.75rem; color: rgba(44,24,16,0.45); }
.nl-hero__deco-corner { position: absolute; top: -1rem; right: -1rem; width: 6rem; height: 6rem; border-radius: 1.5rem; border: 2px solid rgba(232,96,76,0.1); z-index: -1; }
.nl-hero__deco-circle { position: absolute; bottom: -2rem; right: -2rem; width: 8rem; height: 8rem; border-radius: 50%; background: rgba(168,181,160,0.1); z-index: -1; filter: blur(2px); }

/* =====================
   FEATURES
   ===================== */
.nl-features { padding: 5rem 0; }
@media(min-width:1024px){ .nl-features { padding: 7rem 0; } }
.nl-feature { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; margin-bottom: 5rem; }
@media(min-width:1024px){ .nl-feature { grid-template-columns: 1fr 1fr; gap: 4rem; margin-bottom: 7rem; } }
.nl-feature:last-child { margin-bottom: 0; }
.nl-feature__image { position: relative; border-radius: 1.5rem; overflow: hidden; aspect-ratio: 4/3; box-shadow: 0 15px 40px rgba(44,24,16,0.06); }
.nl-feature__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.nl-feature__image:hover img { transform: scale(1.05); }
.nl-feature__text { max-width: 32rem; }
.nl-feature__icon-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.nl-feature__icon { width: 2.5rem; height: 2.5rem; border-radius: 0.75rem; background: rgba(232,96,76,0.08); display: flex; align-items: center; justify-content: center; }
.nl-feature__subtitle { font-family: 'DM Sans', sans-serif; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: #E8604C; }
.nl-feature__title { font-family: 'Nunito', sans-serif; font-size: 1.875rem; font-weight: 800; color: #2C1810; margin-bottom: 1.25rem; line-height: 1.2; }
@media(min-width:768px){ .nl-feature__title { font-size: 2.5rem; } }
@media(min-width:1024px){ .nl-feature__title { font-size: 3rem; } }
.nl-feature__desc { font-family: 'DM Sans', sans-serif; font-size: 1rem; line-height: 1.7; color: rgba(44,24,16,0.55); }
@media(min-width:768px){ .nl-feature__desc { font-size: 1.125rem; } }

/* Reversed feature */
@media(min-width:1024px){
  .nl-feature--reversed .nl-feature__image { order: 2; }
  .nl-feature--reversed .nl-feature__text { order: 1; }
}

/* =====================
   STATS
   ===================== */
.nl-stats { padding: 4rem 0; background: #F0EDE8; position: relative; overflow: hidden; }
@media(min-width:1024px){ .nl-stats { padding: 5rem 0; } }
.nl-stats::before, .nl-stats::after { content: ''; position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(to right, transparent, rgba(168,181,160,0.2), transparent); }
.nl-stats::before { top: 0; }
.nl-stats::after { bottom: 0; }
.nl-stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
@media(min-width:1024px){ .nl-stats__grid { grid-template-columns: repeat(4, 1fr); gap: 3rem; } }
.nl-stats__item { text-align: center; }
.nl-stats__value { font-family: 'Nunito', sans-serif; font-size: 2.25rem; font-weight: 800; color: #2C1810; }
@media(min-width:768px){ .nl-stats__value { font-size: 3rem; } }
@media(min-width:1024px){ .nl-stats__value { font-size: 3.75rem; } }
.nl-stats__label { font-family: 'DM Sans', sans-serif; font-size: 0.75rem; margin-top: 0.5rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(44,24,16,0.4); }

/* =====================
   HOW IT WORKS
   ===================== */
.nl-how { padding: 5rem 0; background: #F5EDE6; position: relative; overflow: hidden; }
@media(min-width:1024px){ .nl-how { padding: 7rem 0; } }
.nl-how::before, .nl-how::after { content: ''; position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(to right, transparent, rgba(232,96,76,0.12), transparent); }
.nl-how::before { top: 0; }
.nl-how::after { bottom: 0; }
.nl-how__grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media(min-width:768px){ .nl-how__grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.nl-how__card { background: rgba(255,255,255,0.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(212,165,116,0.08); border-radius: 1rem; padding: 2rem; transition: all 0.5s ease; }
@media(min-width:1024px){ .nl-how__card { padding: 2.5rem; } }
.nl-how__card:hover { transform: translateY(-4px); box-shadow: 0 15px 40px rgba(44,24,16,0.05); border-color: rgba(232,96,76,0.12); }
.nl-how__number { font-family: 'Nunito', sans-serif; font-size: 3.75rem; font-weight: 800; color: rgba(232,96,76,0.08); line-height: 1; margin-bottom: 1rem; }
.nl-how__icon { width: 3rem; height: 3rem; border-radius: 0.75rem; background: rgba(232,96,76,0.08); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.nl-how__title { font-family: 'Nunito', sans-serif; font-size: 1.5rem; font-weight: 700; color: #2C1810; margin-bottom: 0.75rem; }
.nl-how__desc { font-family: 'DM Sans', sans-serif; font-size: 1rem; line-height: 1.7; color: rgba(44,24,16,0.5); }

/* =====================
   FAQ
   ===================== */
.nl-faq { padding: 5rem 0; background: #F5EDE6; position: relative; }
@media(min-width:1024px){ .nl-faq { padding: 7rem 0; } }
.nl-faq::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(to right, transparent, rgba(232,96,76,0.1), transparent); }
.nl-faq__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media(min-width:1024px){ .nl-faq__grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.nl-faq__support { font-family: 'DM Sans', sans-serif; font-size: 1rem; line-height: 1.7; color: rgba(44,24,16,0.5); margin-top: 1.5rem; }
.nl-faq__support a { color: #E8604C; font-weight: 500; transition: opacity 0.3s; }
.nl-faq__support a:hover { opacity: 0.8; }
.nl-faq__item { border-bottom: 1px solid rgba(212,165,116,0.12); overflow: hidden; }
.nl-faq__question { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 1.5rem 0; background: none; border: none; cursor: pointer; text-align: left; font-family: 'Nunito', sans-serif; font-size: 1.125rem; font-weight: 600; color: #2C1810; transition: color 0.3s; }
@media(min-width:768px){ .nl-faq__question { font-size: 1.25rem; } }
.nl-faq__question span { padding-right: 2rem; }
.nl-faq__item--open .nl-faq__question { color: #E8604C; }
.nl-faq__chevron { width: 2rem; height: 2rem; border-radius: 50%; background: rgba(44,24,16,0.05); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.3s; color: rgba(44,24,16,0.4); }
.nl-faq__item--open .nl-faq__chevron { background: rgba(232,96,76,0.1); color: #E8604C; transform: rotate(180deg); }
.nl-faq__answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
.nl-faq__item--open .nl-faq__answer { max-height: 300px; padding-bottom: 1.5rem; }
.nl-faq__answer p { font-family: 'DM Sans', sans-serif; font-size: 1rem; line-height: 1.7; color: rgba(44,24,16,0.55); padding-right: 3rem; }

/* =====================
   CTA
   ===================== */
.nl-cta { position: relative; padding: 5rem 0; overflow: hidden; }
@media(min-width:1024px){ .nl-cta { padding: 7rem 0; } }
.nl-cta__bg { position: absolute; inset: 0; }
.nl-cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.nl-cta__overlay { position: absolute; inset: 0; background: rgba(44,24,16,0.78); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.nl-cta__content { position: relative; z-index: 2; text-align: center; max-width: 48rem; margin: 0 auto; }
.nl-cta__icon { display: inline-flex; align-items: center; justify-content: center; width: 4rem; height: 4rem; border-radius: 50%; background: rgba(232,96,76,0.2); margin-bottom: 2rem; }
.nl-cta__title { font-family: 'Nunito', sans-serif; font-size: 2.25rem; font-weight: 800; color: #fff; line-height: 1.1; margin-bottom: 1.5rem; }
@media(min-width:768px){ .nl-cta__title { font-size: 3rem; } }
@media(min-width:1024px){ .nl-cta__title { font-size: 4.5rem; } }
.nl-cta__desc { font-family: 'DM Sans', sans-serif; font-size: 1.125rem; color: rgba(255,255,255,0.55); max-width: 32rem; margin: 0 auto 2.5rem; line-height: 1.7; }
@media(min-width:768px){ .nl-cta__desc { font-size: 1.25rem; } }
.nl-cta__btns { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
@media(min-width:640px){ .nl-cta__btns { flex-direction: row; justify-content: center; } }

/* =====================
   FOOTER
   ===================== */
.nl-footer { padding: 4rem 0 2rem; background: #2C1810; }
.nl-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin-bottom: 3.5rem; }
@media(min-width:768px){ .nl-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media(min-width:1024px){ .nl-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; } }
.nl-footer__logo { display: inline-block; margin-bottom: 1.25rem; }
.nl-footer__about { font-family: 'DM Sans', sans-serif; font-size: 0.875rem; line-height: 1.7; color: rgba(255,255,255,0.35); max-width: 20rem; }
.nl-footer__heading { font-family: 'DM Sans', sans-serif; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 1.25rem; }
.nl-footer__links li { margin-bottom: 0.75rem; }
.nl-footer__links a { font-family: 'DM Sans', sans-serif; font-size: 0.875rem; color: rgba(255,255,255,0.45); transition: color 0.3s; }
.nl-footer__links a:hover { color: #E8604C; }
.nl-footer__legal { font-family: 'DM Sans', sans-serif; font-size: 0.75rem; color: rgba(255,255,255,0.25); line-height: 1.7; padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
.nl-footer__bottom { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
@media(min-width:768px){ .nl-footer__bottom { flex-direction: row; justify-content: space-between; } }
.nl-footer__copy { font-family: 'DM Sans', sans-serif; font-size: 0.75rem; color: rgba(255,255,255,0.25); }
.nl-footer__made { display: flex; align-items: center; gap: 0.375rem; font-family: 'DM Sans', sans-serif; font-size: 0.75rem; color: rgba(255,255,255,0.25); }

/* =====================
   POPUP STYLES
   ===================== */
.nl-wrapper .popup,
.popup { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 200; display: none; align-items: center; justify-content: center; background: rgba(44,24,16,0.5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.nl-wrapper .popup.popup_show,
.popup.popup_show { display: flex; }
.nl-wrapper .popup__wrapper,
.popup__wrapper { width: 100%; max-width: 440px; margin: 1rem; }
.nl-wrapper .popup__content,
.popup__content { background: #fff; border-radius: 1.5rem; padding: 2rem; box-shadow: 0 25px 60px rgba(44,24,16,0.15); }
.nl-wrapper .popup__top,
.popup__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.nl-wrapper .popup__title,
.popup__title { font-family: 'Nunito', sans-serif; font-size: 1.5rem; font-weight: 700; color: #2C1810; }
.nl-wrapper .popup__close,
.popup__close { background: none; border: none; cursor: pointer; color: rgba(44,24,16,0.4); padding: 0.25rem; transition: color 0.3s; }
.nl-wrapper .popup__close:hover,
.popup__close:hover { color: #E8604C; }
.nl-wrapper .popup__input,
.popup__input { display: block; width: 100%; font-family: 'DM Sans', sans-serif; font-size: 0.9375rem; padding: 0.875rem 1rem; border: 1.5px solid rgba(212,165,116,0.2); border-radius: 0.75rem; background: #FAF7F2; color: #2C1810; margin-bottom: 0.75rem; outline: none; transition: border-color 0.3s; box-sizing: border-box; }
.nl-wrapper .popup__input:focus,
.popup__input:focus { border-color: #E8604C; }
.nl-wrapper .popup__input::placeholder,
.popup__input::placeholder { color: rgba(44,24,16,0.35); }
.nl-wrapper .popup__form-btn,
.popup__form-btn { display: block; width: 100%; font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 600; color: #fff !important; background: #E8604C; border: none; padding: 0.875rem; border-radius: 9999px; cursor: pointer; transition: all 0.3s; margin-top: 0.5rem; }
.nl-wrapper .popup__form-btn:hover,
.popup__form-btn:hover { background: #d4553f; box-shadow: 0 4px 15px rgba(232,96,76,0.25); }
.nl-wrapper .popup__form-link,
.popup__form-link { display: block; text-align: center; font-family: 'DM Sans', sans-serif; font-size: 0.875rem; color: rgba(44,24,16,0.5); margin-top: 1rem; transition: color 0.3s; }
.nl-wrapper .popup__form-link:hover,
.popup__form-link:hover { color: #E8604C; }
.nl-wrapper .popup__check,
.popup__check { margin: 1rem 0 0.5rem; }
.nl-wrapper .popup__check .checkbox,
.popup__check .checkbox { display: flex; align-items: flex-start; gap: 0.5rem; margin-bottom: 0.75rem; }
.nl-wrapper .popup__check .checkbox__input,
.popup__check .checkbox__input { flex-shrink: 0; margin-top: 0.25rem; accent-color: #E8604C; }
.nl-wrapper .popup__check .checkbox__label span,
.popup__check .checkbox__label span { font-family: 'DM Sans', sans-serif; font-size: 0.75rem; line-height: 1.5; color: rgba(44,24,16,0.5); }
.nl-wrapper .popup__check .checkbox__label a,
.popup__check .checkbox__label a { color: #E8604C; text-decoration: underline; }
.nl-wrapper select.popup__input,
select.popup__input { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%232C1810' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.nl-wrapper .error,
.error { font-family: 'DM Sans', sans-serif; font-size: 0.875rem; color: #E8604C; background: rgba(232,96,76,0.08); padding: 0.75rem 1rem; border-radius: 0.75rem; margin-bottom: 1rem; }
.nl-wrapper .success,
.success { font-family: 'DM Sans', sans-serif; font-size: 0.875rem; color: #A8B5A0; background: rgba(168,181,160,0.1); padding: 0.75rem 1rem; border-radius: 0.75rem; margin-bottom: 1rem; }
.nl-wrapper .tgbtn,
.tgbtn { background: #2AABEE !important; margin-top: 0.5rem; }
.nl-wrapper .tgbtn:hover,
.tgbtn:hover { background: #229ED9 !important; }

/* =====================
   PAGE — Text document pages (terms, privacy, refund, etc.)
   Styles for <main class="page"> used by the CMS
   ===================== */
.nl-wrapper .page,
.nl-wrapper main.page {
  padding: 6rem 0 4rem;
  background: #FAF7F2;
  min-height: 100vh;
}
.nl-wrapper .page .container,
.nl-wrapper .page .intro__container {
  max-width: 52rem;
  margin: 0 auto;
  padding: 0 1rem;
}
@media(min-width:640px){
  .nl-wrapper .page .container,
  .nl-wrapper .page .intro__container { padding: 0 1.5rem; }
}
@media(min-width:1024px){
  .nl-wrapper .page .container,
  .nl-wrapper .page .intro__container { padding: 0 2rem; }
}
.nl-wrapper .page .footer-page,
.nl-wrapper .page .cc-static-content {
  font-family: 'DM Sans', 'Segoe UI', sans-serif;
  color: #2C1810;
  line-height: 1.8;
}
.nl-wrapper .page .cc-static-content h1,
.nl-wrapper .page .cc-static-content h2 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  color: #2C1810;
  line-height: 1.2;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.nl-wrapper .page .cc-static-content h1 {
  font-size: 2.25rem;
}
@media(min-width:768px){
  .nl-wrapper .page .cc-static-content h1 { font-size: 3rem; }
}
.nl-wrapper .page .cc-static-content h2 {
  font-size: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(232,96,76,0.15);
}
@media(min-width:768px){
  .nl-wrapper .page .cc-static-content h2 { font-size: 1.75rem; }
}
.nl-wrapper .page .cc-static-content h3 {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #2C1810;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.nl-wrapper .page .cc-static-content p {
  font-size: 1rem;
  margin-bottom: 1.25rem;
  color: rgba(44,24,16,0.75);
}
.nl-wrapper .page .cc-static-content a {
  color: #E8604C;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.3s;
}
.nl-wrapper .page .cc-static-content a:hover {
  color: #d4553f;
}
.nl-wrapper .page .cc-static-content ol,
.nl-wrapper .page .cc-static-content ul {
  padding-left: 1.75rem;
  margin-bottom: 1.25rem;
}
.nl-wrapper .page .cc-static-content ol {
  list-style: decimal;
}
.nl-wrapper .page .cc-static-content ul {
  list-style: disc;
}
.nl-wrapper .page .cc-static-content li {
  font-size: 1rem;
  color: rgba(44,24,16,0.75);
  margin-bottom: 0.5rem;
  line-height: 1.7;
}
.nl-wrapper .page .cc-static-content strong,
.nl-wrapper .page .cc-static-content b {
  font-weight: 700;
  color: #2C1810;
}
.nl-wrapper .page .cc-static-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9375rem;
}
.nl-wrapper .page .cc-static-content th,
.nl-wrapper .page .cc-static-content td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(212,165,116,0.15);
}
.nl-wrapper .page .cc-static-content th {
  font-weight: 700;
  color: #2C1810;
  background: rgba(212,165,116,0.06);
}
.nl-wrapper .page .cc-static-content blockquote {
  border-left: 3px solid #E8604C;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: rgba(232,96,76,0.04);
  border-radius: 0 0.75rem 0.75rem 0;
  color: rgba(44,24,16,0.7);
  font-style: italic;
}

/* Hide loadingpay globally */
#loadingpay { display: none !important; }
