/* ndize.al — inner pages: night page hero, store. */

/* ---------- page hero (under the transparent navbar) ---------- */
.nd-phero { position: relative; isolation: isolate; overflow: hidden; background: #07111b; color: #e8f1f8; }
.nd-phero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.nd-phero__bg::before { /* faint grid */
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(124,200,248,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(124,200,248,.07) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 70% 90% at 70% 30%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 90% at 70% 30%, #000 20%, transparent 75%);
}
.nd-phero__bg span { position: absolute; border-radius: 50%; filter: blur(70px); }
.nd-phero__bg span:first-child { width: 520px; height: 520px; right: -120px; top: -160px; background: #0a6aa8; opacity: .5; }
.nd-phero__bg span:last-child { width: 360px; height: 360px; right: 22%; bottom: -220px; background: #d9600c; opacity: .35; }
.nd-phero__inner { padding-top: 150px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 18px; }
.nd-crumbs { display: flex; align-items: center; gap: 10px; font: 500 13px var(--nd-font-mono); color: #8ea6ba; }
.nd-page .nd-crumbs a { color: #bfe3fb; text-decoration: none; }
.nd-page .nd-crumbs a:hover { color: #ffffff; }
.nd-phero__title { margin: 0; font: 700 clamp(40px, 6vw, 76px)/1 var(--nd-font-display); letter-spacing: -0.035em; color: #ffffff; }
.nd-phero__title em { font-style: normal; color: #ffc21a; }
.nd-phero__lead { margin: 0; max-width: 620px; font-size: 18px; line-height: 28px; color: #b8cad8; }
.nd-phero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

/* ---------- store: sticky filter + billing bar ---------- */
.nd-store__bar {
    position: sticky; top: 68px; z-index: 40;
    background: rgba(255,255,255,.86);
    -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
    border-bottom: 1px solid var(--nd-line);
}
[data-theme="dark"] .nd-store__bar { background: rgba(11,22,34,.86); }
.nd-store__bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.nd-filters { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.nd-filters::-webkit-scrollbar { display: none; }
.nd-page .nd-filter {
    flex: none; display: inline-flex; align-items: center; gap: 8px;
    min-height: 44px; padding: 0 14px 0 6px; border-radius: 999px;
    color: var(--nd-ink); text-decoration: none; font-weight: 600; font-size: 14.5px;
    border: 1px solid var(--nd-line); background: var(--nd-surface-raised);
    transition: border-color .2s, background-color .2s;
}
.nd-page .nd-filter:hover { color: var(--nd-ink); border-color: #ffc21a; }
.nd-filter__icon { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--nd-cloud-soft); color: var(--nd-cloud-strong); transition: background-color .2s, color .2s, transform .3s cubic-bezier(.3,1.6,.5,1); }
.nd-filter:hover .nd-filter__icon { background: #ffc21a; color: #1a1405; transform: rotate(-10deg); }
.nd-billing--sm { flex: none; }
.nd-billing--sm button { min-height: 38px; padding: 0 14px; font-size: 14px; }

.nd-store__body { padding-top: 48px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 64px; }
.nd-sgroup { scroll-margin-top: 150px; }
.nd-sgroup__head { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.nd-sgroup__icon { flex: none; width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: #0b1622; color: #ffc21a; }
.nd-sgroup__title { margin: 0; font: 700 32px/1.1 var(--nd-font-display); letter-spacing: -0.02em; }
.nd-sgroup__tag { margin: 4px 0 0; color: var(--nd-ink-muted); }

.nd-alert { padding: 14px 18px; border-radius: 14px; font-weight: 500; }
.nd-alert--error { background: rgba(180,35,24,.08); border: 1px solid rgba(180,35,24,.35); color: var(--nd-danger); }
.nd-alert--ok { background: rgba(17,115,74,.08); border: 1px solid rgba(17,115,74,.35); color: var(--nd-success); }

.nd-store__help {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
    padding: 28px 32px; border-radius: 24px;
    background: radial-gradient(90% 120% at 100% 0%, rgba(10,106,168,.45), transparent 60%), #0b1622; color: #e8f1f8;
}
.nd-store__help b { display: block; font: 700 22px var(--nd-font-display); margin-bottom: 4px; color: #ffffff; }
.nd-store__help span { color: #b8cad8; }
.nd-page .nd-store__help .nd-plan2__cta { padding: 0 24px; background: #ffc21a; color: #1a1405; }
.nd-plan2__cta--off { background: var(--nd-cloud-soft) !important; color: var(--nd-ink-muted) !important; cursor: default; }

@media (max-width: 720px) {
    .nd-store__bar { top: 68px; }
    .nd-store__bar-inner { flex-direction: column; align-items: stretch; }
    .nd-billing--sm { width: 100%; }
    .nd-phero__inner { padding-top: 120px; padding-bottom: 56px; }
}

/* ---------- store inside the client layout (.nd-in-client) ---------- */
.nd-in-client { background: transparent; }
.nd-phero--card { border-radius: 28px; margin-bottom: 20px; }
.nd-phero--card .nd-phero__inner { padding: 48px clamp(24px, 4vw, 56px) 52px; }
.nd-in-client .nd-store__bar {
    top: 84px; border: 1px solid var(--nd-line); border-radius: 20px;
    padding: 0 12px;
}
.nd-in-client .nd-store__body { padding-top: 36px; padding-bottom: 24px; }
@media (max-width: 720px) {
    .nd-phero--card { border-radius: 20px; }
    .nd-phero--card .nd-phero__inner { padding: 32px 22px 36px; }
}

/* ---------- service pages (/sherbime, /sherbime/{slug}) ---------- */
.nd-sv__hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; }
.nd-sv__hero-grid .nd-phero__inner { padding-left: 0; padding-right: 0; }
.nd-sv__hero .nd-phero__title { font-size: clamp(38px, 5vw, 64px); }
.nd-sv__icon { width: 52px; height: 52px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,194,26,.14); border: 1px solid rgba(255,194,26,.4); color: #ffcc3d; }
.nd-sv__visual { position: relative; height: 340px; margin-top: 110px; margin-bottom: 48px; border-radius: 22px; overflow: hidden; background: #0b1622; border: 1px solid #1d3346; box-shadow: 0 40px 80px -40px rgba(0,0,0,.9); }

.nd-sv__summary { padding-top: 56px; display: flex; flex-direction: column; gap: 12px; }
.nd-sv__summary p {
    margin: 0; max-width: 900px; padding: 24px 28px; border-left: 4px solid var(--nd-fire);
    border-radius: 0 var(--nd-radius-lg) var(--nd-radius-lg) 0; background: var(--nd-surface-raised);
    font-size: 19px; line-height: 30px; color: var(--nd-ink);
}
.nd-sv__block { padding-top: 72px; padding-bottom: 72px; }

.nd-sv__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.nd-sv__card { padding: 24px; border-radius: var(--nd-radius-lg); background: var(--nd-surface-raised); border: 1px solid var(--nd-line); display: flex; flex-direction: column; gap: 8px; }
.nd-sv__card h3 { margin: 0; font: 600 19px/1.25 var(--nd-font-display); color: var(--nd-ink); }
.nd-sv__card p { margin: 0; font-size: 15px; line-height: 23px; color: var(--nd-ink-muted); }

.nd-sv__geo { background: var(--nd-night); color: var(--nd-night-ink); }
.nd-sv__geo .nd-eyebrow { color: var(--nd-night-fire); }
.nd-sv__geo .nd-h2 { color: #ffffff; }
.nd-sv__geo .nd-lead { color: var(--nd-night-muted); }
.nd-sv__geo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.nd-sv__geo-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.nd-sv__geo-tags span { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--nd-night-line); background: var(--nd-night-raised); font: 500 12.5px var(--nd-font-mono); color: #cfe7f8; }
.nd-sv__checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.nd-sv__checks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; padding: 16px 18px; border-radius: var(--nd-radius-md); background: var(--nd-night-raised); border: 1px solid var(--nd-night-line); font-size: 15.5px; line-height: 24px; }
.nd-sv__checks svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: rgba(76,195,138,.16); color: #4cc38a; }

.nd-sv__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; counter-reset: none; }
.nd-sv__steps li { position: relative; padding: 24px; border-radius: var(--nd-radius-lg); background: var(--nd-surface-raised); border: 1px solid var(--nd-line); display: flex; flex-direction: column; gap: 8px; }
.nd-sv__n { font: 700 44px/1 var(--nd-font-display); color: var(--nd-cloud); }
.nd-sv__steps h3 { margin: 0; font: 600 20px var(--nd-font-display); }
.nd-sv__steps p { margin: 0; font-size: 15px; line-height: 23px; color: var(--nd-ink-muted); }

.nd-sv__tech { background: var(--nd-surface-raised); border-top: 1px solid var(--nd-line); border-bottom: 1px solid var(--nd-line); }
.nd-sv__techgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.nd-sv__techgroup { padding: 22px; border-radius: var(--nd-radius-lg); background: var(--nd-surface); border: 1px solid var(--nd-line); }
.nd-sv__techgroup h3 { margin: 0 0 14px; font: 500 12.5px var(--nd-font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--nd-cloud-strong); }
.nd-sv__techgroup ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.nd-sv__techgroup li { padding: 6px 12px; border-radius: 999px; background: var(--nd-surface-raised); border: 1px solid var(--nd-line); font-size: 14px; font-weight: 500; color: var(--nd-ink); }

.nd-sv__q { margin: 0; font: inherit; }

.nd-sv__related { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.nd-page .nd-sv__rel { display: flex; gap: 14px; padding: 20px; border-radius: var(--nd-radius-lg); background: var(--nd-surface-raised); border: 1px solid var(--nd-line); color: var(--nd-ink); text-decoration: none; transition: border-color .15s, transform .15s; height: 100%; }
.nd-page .nd-sv__rel:hover { border-color: var(--nd-cloud); transform: translateY(-2px); }
.nd-sv__rel strong { display: block; font: 600 17px var(--nd-font-display); margin-bottom: 4px; }
.nd-sv__rel small { display: block; font-size: 14px; line-height: 21px; color: var(--nd-ink-muted); }

.nd-sv__index { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.nd-page .nd-sv__idx { height: 100%; display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: var(--nd-radius-lg); background: var(--nd-surface-raised); border: 1px solid var(--nd-line); color: var(--nd-ink); text-decoration: none; transition: border-color .15s, transform .15s; }
.nd-page .nd-sv__idx:hover { border-color: var(--nd-fire); transform: translateY(-3px); }
.nd-sv__idx h2 { margin: 4px 0 0; font: 700 23px/1.15 var(--nd-font-display); letter-spacing: -0.02em; }
.nd-sv__idx p { margin: 0; font-size: 15px; line-height: 23px; color: var(--nd-ink-muted); }
.nd-sv__idx .nd-svc__tags li { background: var(--nd-surface); border-color: var(--nd-line); color: var(--nd-ink); }
.nd-sv__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--nd-ember); }
.nd-sv__more svg { width: 18px; height: 18px; transition: transform .2s; }
.nd-sv__idx:hover .nd-sv__more svg { transform: translateX(4px); }

/* homepage card: second link to the service page */
.nd-stack__links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.nd-page .nd-stack__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--nd-ink); text-decoration: none; border-bottom: 2px solid var(--nd-fire); padding-bottom: 2px; }
.nd-page .nd-stack__more:hover { color: var(--nd-ember); }
.nd-page .nd-stack__title a { color: inherit; text-decoration: none; }
.nd-page .nd-stack__title a:hover { color: var(--nd-ember); }

@media (max-width: 960px) {
    .nd-sv__hero-grid { grid-template-columns: 1fr; gap: 0; }
    .nd-sv__visual { margin-top: 0; height: 290px; }
    .nd-sv__geo-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
    .nd-sv__summary p { font-size: 17px; line-height: 27px; padding: 18px 20px; }
}

/* iOS Safari zooms into any form field under 16px when it is tapped, and the
   zoomed page then scrolls sideways. Fields stay at 16px on phones and tablets. */
@media (max-width: 1024px) {
    input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="range"]):not(#nd-nozoom),
    select:not(#nd-nozoom), textarea:not(#nd-nozoom) { font-size: 16px !important; }
}

/* =====================================================================
   /irc-hosting — packages, comparison, calculator
   ===================================================================== */
.nd-irc__term { width: 100%; max-width: 440px; border-radius: 16px; overflow: hidden; background: #0b1622; border: 1px solid #23384a; box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); }
.nd-irc__term-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #12212f; border-bottom: 1px solid #23384a; }
.nd-irc__term-bar i { width: 10px; height: 10px; border-radius: 50%; background: #23384a; }
.nd-irc__term-bar i:nth-child(1) { background: #ff5f57; } .nd-irc__term-bar i:nth-child(2) { background: #ffbd2e; } .nd-irc__term-bar i:nth-child(3) { background: #28c840; }
.nd-irc__term-bar span { margin-left: 8px; font: 500 12px var(--nd-font-mono); color: #9fb3c4; }
.nd-irc__term-body { padding: 16px 16px 20px; display: flex; flex-direction: column; gap: 8px; font: 500 13px/1.5 var(--nd-font-mono); color: #cfe7f8; }
.nd-irc__term-body p { margin: 0; }
.nd-irc__term-body b { font-weight: 700; margin-right: 6px; }
.nd-irc__term-body em { font-style: normal; color: #ffcc3d; }
.nd-irc__term-body .c1 { color: #4cc38a; } .nd-irc__term-body .c2 { color: #7cc8f8; } .nd-irc__term-body .c3 { color: #ffcc3d; } .nd-irc__term-body .c4 { color: #ff8a3d; } .nd-irc__term-body .c5 { color: #c4b5fd; }
.nd-irc__caret { display: inline-block; width: 8px; height: 15px; margin-left: 3px; vertical-align: -2px; background: #ffcc3d; animation: nd-blink 1s steps(2) infinite; }
.nd-live .nd-irc__term-body p { animation: nd-build .35s var(--d) ease both; }

.nd-irc__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.nd-irc__plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; align-items: stretch; }
.nd-irc__note { margin: 0; font-size: 14px; color: var(--nd-ink-muted); }
.nd-plan2__setup { margin: -6px 0 0; font: 500 13px var(--nd-font-mono); color: var(--nd-ember); }

.nd-irc__compare-band { background: var(--nd-surface-raised); border-top: 1px solid var(--nd-line); border-bottom: 1px solid var(--nd-line); }
.nd-irc__table-wrap { overflow-x: auto; border-radius: var(--nd-radius-lg); border: 1px solid var(--nd-line); background: var(--nd-surface); }
.nd-irc__table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; }
.nd-irc__table th, .nd-irc__table td { padding: 13px 16px; text-align: center; border-bottom: 1px solid var(--nd-line); }
.nd-irc__table thead th { position: sticky; top: 0; background: var(--nd-night); color: #ffffff; font: 600 15px var(--nd-font-display); }
.nd-irc__table thead th:first-child { text-align: left; }
.nd-irc__table tbody th { text-align: left; font-weight: 500; color: var(--nd-ink); }
.nd-irc__table tbody tr:nth-child(even) { background: var(--nd-surface-raised); }
.nd-irc__table td { color: var(--nd-ink); font-weight: 600; }
.nd-irc__yes { width: 20px; height: 20px; color: var(--nd-success); }
.nd-irc__no { color: var(--nd-line-strong); }
.nd-irc__opt { display: inline-block; padding: 2px 9px; border-radius: 999px; background: var(--nd-cloud-soft); color: var(--nd-cloud-strong); font: 500 12px var(--nd-font-mono); }
.nd-irc__price-row td, .nd-irc__price-row th { font-family: var(--nd-font-mono); font-size: 14px; }
.nd-irc__price-row td { color: var(--nd-ember); }

/* calculator */
.nd-calc { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, .8fr); gap: 28px; align-items: start; }
.nd-calc__opts { display: flex; flex-direction: column; gap: 10px; }
.nd-calc__group { margin: 0 0 6px; padding: 18px; border: 1px solid var(--nd-line); border-radius: var(--nd-radius-lg); background: var(--nd-surface-raised); }
.nd-calc__group legend { padding: 0 6px; font: 600 16px var(--nd-font-display); }
.nd-calc__seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.nd-calc__chip { position: relative; cursor: pointer; }
.nd-calc__chip input { position: absolute; opacity: 0; pointer-events: none; }
.nd-calc__chip > span { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: var(--nd-radius-md); border: 1.5px solid var(--nd-line); background: var(--nd-surface); transition: border-color .15s, background-color .15s; }
.nd-calc__chip b { font: 600 16px var(--nd-font-display); }
.nd-calc__chip small { font: 500 12px var(--nd-font-mono); color: var(--nd-ink-muted); }
.nd-calc__chip input:checked + span { border-color: var(--nd-fire); background: rgba(255,194,26,.12); }
.nd-calc__chip input:focus-visible + span { outline: 2px solid var(--nd-cloud); outline-offset: 2px; }
.nd-calc__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; border: 1px solid var(--nd-line); border-radius: var(--nd-radius-lg); background: var(--nd-surface-raised); }
.nd-calc__label { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nd-calc__label b { font-size: 15.5px; font-weight: 600; }
.nd-calc__label small { font: 500 12.5px var(--nd-font-mono); color: var(--nd-ink-muted); }
.nd-calc__label small.nd-calc__setup { color: var(--nd-ember); }
.nd-calc__toggle { cursor: pointer; }
.nd-calc__toggle input { position: absolute; opacity: 0; pointer-events: none; }
.nd-calc__switch { flex: none; position: relative; width: 46px; height: 26px; border-radius: 999px; background: var(--nd-line); transition: background-color .2s; }
.nd-calc__switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #ffffff; box-shadow: 0 2px 6px rgba(0,0,0,.25); transition: transform .2s; }
.nd-calc__toggle input:checked ~ .nd-calc__switch { background: var(--nd-fire); }
.nd-calc__toggle input:checked ~ .nd-calc__switch::after { transform: translateX(20px); }
.nd-calc__toggle input:focus-visible ~ .nd-calc__switch { outline: 2px solid var(--nd-cloud); outline-offset: 2px; }
.nd-calc__toggle:has(input:checked) { border-color: var(--nd-fire); }
.nd-calc__qty { flex: none; display: flex; align-items: center; border: 1px solid var(--nd-line); border-radius: 999px; overflow: hidden; background: var(--nd-surface); }
.nd-calc__qty button { width: 40px; height: 40px; border: 0; background: transparent; color: var(--nd-ink); font: 600 20px var(--nd-font-sans); cursor: pointer; }
.nd-calc__qty button:hover { background: var(--nd-cloud-soft); }
.nd-calc__qty input { width: 48px; height: 40px; border: 0; background: transparent; text-align: center; font: 600 16px var(--nd-font-mono); color: var(--nd-ink); -moz-appearance: textfield; }
.nd-calc__qty input::-webkit-outer-spin-button, .nd-calc__qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.nd-calc__field { display: flex; flex-direction: column; gap: 8px; padding: 14px 18px; border: 1px solid var(--nd-line); border-radius: var(--nd-radius-lg); background: var(--nd-surface-raised); }
.nd-calc__field b { font-size: 15.5px; font-weight: 600; } .nd-calc__field small { font-weight: 400; color: var(--nd-ink-muted); }
.nd-calc__field input { height: 46px; padding: 0 14px; border-radius: var(--nd-radius-md); border: 1px solid var(--nd-line-strong); background: var(--nd-surface); color: var(--nd-ink); font: 500 16px var(--nd-font-sans); }

.nd-calc__sum { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 22px; background: var(--nd-night); color: var(--nd-night-ink); box-shadow: 0 30px 60px -30px rgba(4,18,31,.6); }
.nd-calc__billing { align-self: stretch; }
.nd-calc__lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; max-height: 300px; overflow: auto; }
.nd-calc__lines li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--nd-night-muted); }
.nd-calc__lines li b { flex: none; display: flex; flex-direction: column; align-items: flex-end; color: #ffffff; font: 600 14px var(--nd-font-mono); }
.nd-calc__lines li small { font: 500 11.5px var(--nd-font-mono); color: #ffcc3d; }
.nd-calc__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 12px; border-top: 1px solid var(--nd-night-line); font-size: 15px; color: var(--nd-night-muted); }
.nd-calc__total b { font: 700 22px var(--nd-font-display); color: #ffffff; }
.nd-calc__total--setup b { font-size: 18px; color: #ffcc3d; }
.nd-calc__total--today b { font-size: 30px; color: #ffcc3d; }
.nd-page .nd-calc__go { justify-content: center; width: 100%; border: 0; cursor: pointer; }
.nd-calc__fine { margin: 0; font-size: 12.5px; color: var(--nd-night-muted); }
/* the billing switch on the dark summary */
.nd-calc__sum .nd-billing { background: var(--nd-night-raised); border-color: var(--nd-night-line); }
.nd-calc__sum .nd-billing button { color: var(--nd-night-muted); }
.nd-calc__sum .nd-billing button.is-on { color: #1a1405; }

@media (max-width: 960px) {
    .nd-calc { grid-template-columns: 1fr; }
    .nd-calc__sum { position: relative; top: auto; }
}

/* =====================================================================
   hosting pages + store overview
   ===================================================================== */
.nd-host__art { display: flex; justify-content: center; padding: 130px 0 56px; }
.nd-host__art .nd-art { width: 100%; max-width: 440px; }
.nd-host__from { color: #ffc21a; }
.nd-host__incl .nd-section { gap: 32px; }

.nd-hgrid-sec { width: 100%; }
.nd-hgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.nd-page .nd-hcard {
    height: 100%; display: flex; flex-direction: column; gap: 10px; padding: 24px;
    border-radius: var(--nd-radius-lg); background: var(--nd-surface-raised); border: 1px solid var(--nd-line);
    color: var(--nd-ink); text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s;
}
.nd-page .nd-hcard:hover { border-color: var(--nd-fire); transform: translateY(-3px); box-shadow: 0 24px 40px -28px rgba(14,34,51,.45); }
.nd-hcard__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.nd-hcard__icon { width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: var(--nd-cloud-soft); color: var(--nd-cloud-strong); transition: background-color .15s, color .15s, transform .15s; }
.nd-hcard:hover .nd-hcard__icon { background: #ffc21a; color: #1a1405; transform: rotate(-8deg); }
.nd-hcard__from { font-size: 13px; color: var(--nd-ink-muted); }
.nd-hcard__from b { font: 700 20px var(--nd-font-display); color: var(--nd-ink); }
.nd-hcard__name { font: 700 22px/1.15 var(--nd-font-display); letter-spacing: -0.02em; }
.nd-hcard__short { font-size: 15px; line-height: 22px; color: var(--nd-ink-muted); }
.nd-hcard__points { display: flex; flex-wrap: wrap; gap: 6px; }
.nd-hcard__points span { padding: 4px 10px; border-radius: 999px; background: var(--nd-surface); border: 1px solid var(--nd-line); font-size: 12.5px; font-weight: 500; }
.nd-hcard__go { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--nd-ember); }
.nd-hcard__go svg { width: 18px; height: 18px; transition: transform .2s; }
.nd-hcard:hover .nd-hcard__go svg { transform: translateX(4px); }

@media (max-width: 960px) {
    .nd-host__art { padding: 0 0 40px; }
    .nd-host__art .nd-art { max-width: 300px; }
}
.nd-store--hub .nd-hgrid-sec { padding-top: 0; padding-bottom: 0; }

/* /irc-hosting: BNC side packages */
.nd-irc__bnc { background: var(--nd-night); color: var(--nd-night-ink); }
.nd-irc__bnc .nd-eyebrow { color: var(--nd-night-fire); }
.nd-irc__bnc .nd-h2 { color: #ffffff; }
.nd-irc__bnc .nd-h2 em { font-style: normal; color: #ffc21a; }
.nd-irc__bnc .nd-lead, .nd-irc__bnc .nd-irc__note { color: var(--nd-night-muted); }
.nd-irc__bnc-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.nd-irc__bnc-text { max-width: none; gap: 16px; }
.nd-irc__bnc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.nd-irc__bnc-list li { padding: 14px 16px; border-radius: var(--nd-radius-md); background: var(--nd-night-raised); border: 1px solid var(--nd-night-line); font-size: 15px; line-height: 23px; color: #cfe7f8; }
.nd-irc__bnc-list b { color: #ffcc3d; }
.nd-irc__bnc-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 960px) {
    .nd-irc__bnc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .nd-irc__bnc-plans { grid-template-columns: 1fr; }
}
html:not([data-theme="dark"]) .nd-irc__bnc .nd-plan2:not(.is-featured), html:not([data-theme="dark"]) .nd-irc__bnc .nd-plan2:not(.is-featured) .nd-plan2__name, html:not([data-theme="dark"]) .nd-irc__bnc .nd-plan2:not(.is-featured) .nd-plan2__amount { color: #0e2233; }
html:not([data-theme="dark"]) .nd-irc__bnc .nd-plan2:not(.is-featured) .nd-plan2__list li { color: #0e2233; }
html:not([data-theme="dark"]) .nd-irc__bnc .nd-plan2:not(.is-featured) .nd-plan2__tag, html:not([data-theme="dark"]) .nd-irc__bnc .nd-plan2:not(.is-featured) .nd-plan2__note, html:not([data-theme="dark"]) .nd-irc__bnc .nd-plan2:not(.is-featured) .nd-plan2__per { color: #4a5d6e; }

/* hosting pages: "Custom / Enterprise — contact us" banner under the plans */
.nd-ent {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
    padding: 28px 32px; border-radius: 24px; background: var(--nd-night); color: var(--nd-night-ink);
    background-image: radial-gradient(60% 120% at 100% 0%, rgba(10,106,168,.35), transparent 70%), radial-gradient(50% 100% at 0% 100%, rgba(217,96,12,.22), transparent 70%);
}
.nd-ent__text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 8px; }
.nd-ent__name { font: 500 12.5px var(--nd-font-mono); letter-spacing: .06em; text-transform: uppercase; color: #ffcc3d; }
.nd-ent__title { margin: 0; font: 700 26px/1.15 var(--nd-font-display); color: #ffffff; }
.nd-ent p { margin: 0; max-width: 640px; font-size: 15.5px; line-height: 24px; color: var(--nd-night-muted); }
.nd-ent__points { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.nd-ent__points li { padding: 5px 12px; border-radius: 999px; background: var(--nd-night-raised); border: 1px solid var(--nd-night-line); font-size: 13px; color: #cfe7f8; }
.nd-irc__plans:has(> :nth-child(4)) { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* hosting pages: "we configure it for you" band */
.nd-help { background: var(--nd-surface-raised); border-top: 1px solid var(--nd-line); }
.nd-help__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; }
.nd-help .nd-h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.12; }
.nd-help__points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.nd-help__points li { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: var(--nd-radius-md); background: var(--nd-surface); border: 1px solid var(--nd-line); font-weight: 600; font-size: 15px; }
.nd-help__points svg { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: rgba(255,194,26,.22); color: var(--nd-ember); }
/* six plans: two rows of three */
.nd-irc__plans:has(> :nth-child(6)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) {
    .nd-help__grid { grid-template-columns: 1fr; }
    .nd-irc__plans:has(> :nth-child(6)) { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
@media (max-width: 480px) { .nd-help__points { grid-template-columns: 1fr; } }

/* =====================================================================
   /sherbime — alternating service sections
   ===================================================================== */
.nd-svx__jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.nd-page .nd-svx__jump a {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); color: #e8f1f8;
    font-size: 14px; font-weight: 500; text-decoration: none; transition: background-color .15s, border-color .15s, color .15s;
}
.nd-page .nd-svx__jump a:hover { background: #ffc21a; border-color: #ffc21a; color: #1a1405; }
.nd-svx__jump svg { color: #ffcc3d; }
.nd-svx__jump a:hover svg { color: #1a1405; }

.nd-svx__sec { scroll-margin-top: 80px; }
.nd-svx__sec:nth-child(even) { background: var(--nd-surface-raised); border-top: 1px solid var(--nd-line); border-bottom: 1px solid var(--nd-line); }
.nd-svx__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px); }
.nd-svx__sec.is-flip .nd-svx__visual { order: 2; }

.nd-svx__visual {
    position: relative; aspect-ratio: 5 / 4; border-radius: 28px; overflow: hidden;
    background:
        radial-gradient(70% 80% at 50% 110%, rgba(255,194,26,.18), transparent 70%),
        radial-gradient(60% 60% at 100% 0%, rgba(10,106,168,.35), transparent 70%),
        #0b1622;
    border: 1px solid #1d3346; box-shadow: 0 40px 80px -48px rgba(4,18,31,.7);
}
.nd-svx__num { position: absolute; left: 22px; bottom: 14px; font: 700 64px/1 var(--nd-font-display); letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1px rgba(124,200,248,.28); pointer-events: none; }

.nd-svx__text { display: flex; flex-direction: column; gap: 16px; }
.nd-svx__icon { width: 52px; height: 52px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; background: #ffc21a; color: #1a1405; transform: rotate(-6deg); box-shadow: 0 10px 24px -10px rgba(217,96,12,.8); }
.nd-svx__title { margin: 4px 0 0; font: 700 clamp(30px, 3.4vw, 44px)/1.08 var(--nd-font-display); letter-spacing: -0.03em; color: var(--nd-ink); }
.nd-page .nd-svx__title a { color: inherit; text-decoration: none; }
.nd-page .nd-svx__title a:hover { color: var(--nd-ember); }
.nd-svx__title em { font-style: normal; color: var(--nd-ember); }
.nd-svx__lead { margin: 0; font-size: 18px; line-height: 28px; color: var(--nd-ink-muted); }
.nd-svx__points { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.nd-svx__points li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; font-size: 15px; line-height: 23px; color: var(--nd-ink-muted); }
.nd-svx__points b { color: var(--nd-ink); font-weight: 600; }
.nd-svx__points svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: rgba(76,195,138,.16); color: var(--nd-success); }
.nd-svx__tech { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.nd-svx__tech li { padding: 4px 11px; border-radius: 999px; background: var(--nd-surface); border: 1px solid var(--nd-line); font: 500 12.5px var(--nd-font-mono); color: var(--nd-ink); }
.nd-svx__sec:nth-child(even) .nd-svx__tech li { background: var(--nd-surface-raised); }
.nd-svx__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.nd-page .nd-svx__btn {
    display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: 999px;
    border: 1.5px solid var(--nd-line-strong); color: var(--nd-ink); background: transparent; text-decoration: none; font-weight: 600;
    transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.nd-page .nd-svx__btn:hover { border-color: var(--nd-ink); transform: translateY(-1px); }
.nd-page .nd-svx__btn--main { background: #0b1622; border-color: #0b1622; color: #ffffff; }
.nd-page .nd-svx__btn--main:hover { background: #ffc21a; border-color: #ffc21a; color: #1a1405; }
.nd-svx__btn svg { width: 18px; height: 18px; transition: transform .2s; }
.nd-svx__btn:hover svg { transform: translateX(4px); }
[data-theme="dark"] .nd-page .nd-svx__btn--main { background: #ffc21a; border-color: #ffc21a; color: #1a1405; }

@media (max-width: 900px) {
    .nd-svx__grid { grid-template-columns: 1fr; }
    .nd-svx__sec.is-flip .nd-svx__visual { order: 0; }
    .nd-svx__visual { aspect-ratio: 4 / 3; }
    .nd-svx__lead { font-size: 17px; line-height: 26px; }
}
@media (max-width: 480px) {
    .nd-svx__visual { aspect-ratio: 1 / 1; }
    .nd-svx__visual .nd-scene > * { transform: scale(.86); }
}

/* =====================================================================
   blog (/blog, /blog/{slug})
   ===================================================================== */
.nd-svx__jump a[aria-current="page"] { background: #ffc21a; border-color: #ffc21a; color: #1a1405; }
.nd-svx__jump a[aria-current="page"] svg { color: #1a1405; }

.nd-blog { gap: 28px; }
.nd-blog__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }

/* covers: an uploaded image, or a generated one per category */
.nd-bcover { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; aspect-ratio: 16 / 9; background: #0b1622; color: #ffcc3d; }
.nd-bcover img { width: 100%; height: 100%; object-fit: cover; }
.nd-bcover::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(124,200,248,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(124,200,248,.08) 1px, transparent 1px); background-size: 32px 32px; }
.nd-bcover:has(img)::before { display: none; }
.nd-bcover__icon { position: relative; display: inline-flex; padding: 22px; border-radius: 26px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(6px); }
.nd-bcover--hosting { background: radial-gradient(70% 90% at 100% 0%, #0a6aa8, transparent 70%), radial-gradient(60% 80% at 0% 100%, #d9600c 0%, transparent 60%), #0b1622; }
.nd-bcover--domene { background: radial-gradient(80% 90% at 0% 0%, #38a8f0, transparent 70%), #0b1622; color: #ffffff; }
.nd-bcover--email { background: radial-gradient(70% 90% at 100% 100%, #11734a, transparent 70%), radial-gradient(60% 70% at 0% 0%, #0a6aa8, transparent 70%), #0b1622; }
.nd-bcover--seo-geo { background: radial-gradient(70% 90% at 50% 120%, #ffc21a, transparent 65%), #0b1622; color: #ffffff; }
.nd-bcover--biznes-online { background: radial-gradient(70% 90% at 0% 100%, #d9600c, transparent 70%), radial-gradient(60% 70% at 100% 0%, #6d28d9, transparent 70%), #0b1622; }
.nd-bcover--radio-irc { background: radial-gradient(70% 90% at 100% 0%, #b42318, transparent 70%), radial-gradient(60% 80% at 0% 100%, #0a6aa8, transparent 70%), #0b1622; }

.nd-bcard { display: flex; flex-direction: column; border-radius: var(--nd-radius-lg); overflow: hidden; background: var(--nd-surface-raised); border: 1px solid var(--nd-line); transition: border-color .15s, transform .15s, box-shadow .15s; }
.nd-bcard:hover { border-color: var(--nd-fire); transform: translateY(-3px); box-shadow: 0 24px 40px -28px rgba(14,34,51,.45); }
.nd-bcard__body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; }
.nd-bcard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font: 500 12.5px var(--nd-font-mono); color: var(--nd-ink-muted); }
.nd-page .nd-bcard__cat { padding: 3px 10px; border-radius: 999px; background: var(--nd-cloud-soft); color: var(--nd-cloud-strong); text-decoration: none; }
.nd-bcard__title { margin: 0; font: 700 21px/1.25 var(--nd-font-display); letter-spacing: -0.01em; }
.nd-page .nd-bcard__title a { color: var(--nd-ink); text-decoration: none; }
.nd-page .nd-bcard__title a:hover { color: var(--nd-ember); }
.nd-bcard__excerpt { margin: 0; font-size: 15px; line-height: 23px; color: var(--nd-ink-muted); }
.nd-page .nd-bcard__more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--nd-ember); text-decoration: none; }
.nd-bcard__more svg { width: 18px; height: 18px; transition: transform .2s; }
.nd-bcard:hover .nd-bcard__more svg { transform: translateX(4px); }
.nd-bcard--big { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.nd-bcard--big .nd-bcard__cover { aspect-ratio: auto; min-height: 320px; }
.nd-bcard--big .nd-bcard__body { padding: 32px; justify-content: center; }
.nd-bcard--big .nd-bcard__title { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; }
.nd-bcard--big .nd-bcard__excerpt { font-size: 17px; line-height: 27px; }
.nd-blog__pages { display: flex; justify-content: center; align-items: center; gap: 20px; font-size: 15px; color: var(--nd-ink-muted); }
.nd-page .nd-blog__pages a { font-weight: 600; color: var(--nd-ember); text-decoration: none; }

/* post */
.nd-article__head .nd-phero__title { max-width: 980px; }
.nd-article__head .nd-phero__lead { max-width: 760px; }
.nd-article__title { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.08; }
.nd-article__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font: 500 13px var(--nd-font-mono); color: #9fb3c4; }
.nd-article__draft { align-self: flex-start; padding: 4px 10px; border-radius: 6px; background: #b42318; color: #ffffff; font: 700 12px var(--nd-font-mono); letter-spacing: .06em; }
.nd-article__layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; padding-top: 56px; padding-bottom: 72px; }
.nd-article__side { position: sticky; top: 96px; align-self: start; display: flex; flex-direction: column; gap: 18px; }
.nd-toc { padding: 18px; border-radius: var(--nd-radius-lg); background: var(--nd-surface-raised); border: 1px solid var(--nd-line); }
.nd-toc__title { display: block; margin-bottom: 10px; font: 500 12px var(--nd-font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--nd-cloud-strong); }
.nd-toc ol { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 20px; }
.nd-page .nd-toc a { color: var(--nd-ink); text-decoration: none; }
.nd-page .nd-toc a:hover { color: var(--nd-ember); }
.nd-article__cover { margin: 0 0 28px; border-radius: 22px; overflow: hidden; }
.nd-article__cover img { width: 100%; display: block; }

.nd-prose { font-size: 18px; line-height: 1.75; color: var(--nd-ink); }
.nd-page .nd-prose > * + * { margin-top: 1.1em; }
.nd-page .nd-prose h2 { margin-top: 2em; font: 700 clamp(24px, 2.4vw, 30px)/1.2 var(--nd-font-display); letter-spacing: -0.015em; scroll-margin-top: 90px; }
.nd-page .nd-prose h3 { margin-top: 1.6em; font: 700 21px/1.3 var(--nd-font-display); scroll-margin-top: 90px; }
.nd-prose p, .nd-prose li { color: #2a3d4f; }
.nd-page .nd-prose ul, .nd-page .nd-prose ol { padding-left: 1.3em; }
.nd-prose li + li { margin-top: .4em; }
.nd-prose li::marker { color: var(--nd-ember); }
.nd-page .nd-prose a { color: var(--nd-cloud-strong); text-decoration: underline; text-underline-offset: 3px; }
.nd-prose strong { color: var(--nd-ink); }
.nd-prose blockquote { margin-left: 0; padding: 14px 20px; border-left: 4px solid var(--nd-fire); border-radius: 0 12px 12px 0; background: var(--nd-surface-raised); }
.nd-prose code { padding: .12em .4em; border-radius: 6px; background: var(--nd-cloud-soft); font: 500 .88em var(--nd-font-mono); }
.nd-prose pre { padding: 16px 18px; border-radius: 14px; background: #0b1622; color: #e8f1f8; overflow-x: auto; font-size: 14px; line-height: 1.6; }
.nd-prose pre code { padding: 0; background: none; color: inherit; }
.nd-prose img { border-radius: 14px; }
.nd-prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.nd-prose th, .nd-prose td { padding: 10px 12px; border-bottom: 1px solid var(--nd-line); text-align: left; }
.nd-prose th { background: var(--nd-surface-raised); }
[data-theme="dark"] .nd-prose p, [data-theme="dark"] .nd-prose li { color: #cfdce7; }
[data-theme="dark"] .nd-prose pre { background: #050c14; }

.nd-article__faq { margin-top: 48px; max-width: none; }
.nd-article__faq h2 { font: 700 26px var(--nd-font-display); margin: 0 0 16px; }

.nd-articta { border-radius: var(--nd-radius-lg); background: var(--nd-night); color: var(--nd-night-ink); }
.nd-articta b { color: #ffffff; font: 700 18px var(--nd-font-display); }
.nd-articta p { margin: 0; font-size: 14.5px; line-height: 22px; color: var(--nd-night-muted); }
.nd-articta__icon { align-self: flex-start; display: inline-flex; padding: 10px; border-radius: 12px; background: #ffc21a; color: #1a1405; flex: none; }
.nd-articta--side { display: flex; flex-direction: column; gap: 10px; padding: 18px; }
.nd-page .nd-articta__btn { color: #ffcc3d; font-weight: 600; text-decoration: none; }
.nd-articta--wide { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding: 24px 26px; }
.nd-articta--wide > div { flex: 1 1 280px; display: flex; flex-direction: column; gap: 6px; }

@media (max-width: 1000px) {
    .nd-article__layout { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 32px; }
    .nd-article__side { position: static; }
    .nd-articta--side { display: none; }
    .nd-bcard--big { grid-template-columns: 1fr; }
    .nd-bcard--big .nd-bcard__cover { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
    .nd-prose { font-size: 17px; }
    .nd-bcard--big .nd-bcard__body { padding: 22px; }
}

.nd-article__main { max-width: 800px; }

/* /faqe-interneti — configurator extras */
.nd-calc__row.is-included { opacity: .72; }
.nd-calc__row.is-included .nd-calc__switch { background: var(--nd-success); }
.nd-calc__incl { color: var(--nd-success) !important; font-weight: 600; }
.nd-web__contact { display: flex; flex-direction: column; gap: 12px; }
.nd-web__contact-t { font: 600 16px var(--nd-font-display); }
.nd-web__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.nd-web__fields .nd-calc__field { padding: 0; border: 0; background: none; gap: 6px; }
.nd-web__wide { grid-column: 1 / -1; }
.nd-web__fields textarea { padding: 10px 14px; border-radius: var(--nd-radius-md); border: 1px solid var(--nd-line-strong); background: var(--nd-surface); color: var(--nd-ink); font: 500 16px var(--nd-font-sans); resize: vertical; }
.nd-calc__lines li b small { color: var(--nd-night-muted); margin-left: 4px; }
@media (max-width: 560px) { .nd-web__fields { grid-template-columns: 1fr; } }

/* =====================================================================
   references (/referenca, /referenca/{slug})
   ===================================================================== */
.nd-refs { display: flex; flex-direction: column; gap: 22px; }
.nd-ref-card__shot { aspect-ratio: 16 / 10; }
.nd-ref-card__shot img { object-position: top; }
.nd-ref__stats { margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
.nd-ref__stats div { min-width: 130px; padding: 14px 18px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.nd-ref__stats dt { font: 700 30px/1 var(--nd-font-display); color: #ffc21a; }
.nd-ref__stats dd { margin: 6px 0 0; font-size: 13.5px; color: #b8cad8; }
.nd-ref__showcase { position: relative; margin-top: -56px; display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 24px; align-items: end; }
.nd-ref__browser { margin: 0; border-radius: 18px; overflow: hidden; background: #ffffff; border: 1px solid var(--nd-line); box-shadow: 0 40px 80px -40px rgba(4,18,31,.55); }
.nd-ref__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #eef3f8; border-bottom: 1px solid var(--nd-line); }
.nd-ref__bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; } .nd-ref__bar i:nth-child(2) { background: #ffbd2e; } .nd-ref__bar i:nth-child(3) { background: #28c840; }
.nd-ref__bar span { margin-left: 10px; padding: 3px 12px; border-radius: 999px; background: #ffffff; font: 500 12.5px var(--nd-font-mono); color: #4a5d6e; }
.nd-ref__browser img { display: block; width: 100%; }
.nd-ref__phone { margin: 0; border-radius: 34px; overflow: hidden; border: 8px solid #0b1622; box-shadow: 0 40px 80px -40px rgba(4,18,31,.7); aspect-ratio: 9 / 19.5; background: #0b1622; }
.nd-ref__phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.nd-ref__note { display: block; margin-top: 8px; font-size: 13px; color: var(--nd-ink-muted); }
.nd-ref__story { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.nd-ref__story > div { display: flex; flex-direction: column; gap: 14px; }
.nd-ref__gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 22px; }
.nd-ref__gallery figure { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--nd-line); background: var(--nd-surface-raised); }
.nd-ref__gallery img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.nd-ref__gallery figcaption { padding: 12px 16px; font-size: 14px; color: var(--nd-ink-muted); }
.nd-ref__tech .nd-sv__techgroup { background: var(--nd-night-raised); border-color: var(--nd-night-line); }
.nd-ref__tech .nd-sv__techgroup h3 { color: #ffcc3d; }
.nd-ref__tech .nd-sv__techgroup li { background: var(--nd-night); border-color: var(--nd-night-line); color: #e8f1f8; }
@media (max-width: 900px) {
    .nd-ref__showcase { grid-template-columns: 1fr; margin-top: 24px; }
    .nd-ref__phone { display: none; }
    .nd-ref__story { grid-template-columns: 1fr; gap: 32px; }
}

/* references: app store buttons */
.nd-ref__apps { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.nd-page .nd-appbadge { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 18px 8px 14px; border-radius: 14px; background: #000000; color: #ffffff; border: 1px solid rgba(255,255,255,.28); text-decoration: none; transition: transform .15s, border-color .15s; }
.nd-page .nd-appbadge:hover { transform: translateY(-2px); border-color: #ffc21a; }
.nd-appbadge svg { width: 24px; height: 24px; flex: none; }
.nd-appbadge span { display: flex; flex-direction: column; line-height: 1.1; font: 600 17px var(--nd-font-display); }
.nd-appbadge small { font: 500 11px var(--nd-font-sans); opacity: .8; }
.nd-ref__appsec { gap: 20px; }
.nd-ref-card__apps { margin: 0; font: 600 13.5px var(--nd-font-sans); color: var(--nd-success); }

/* ---------- /faqe-me-abonim (website subscription, NDIZ-5) ---------- */
.nd-sub__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 20px; align-items: start; }
.nd-sub__grid .nd-plan2__amount small { font: 600 18px var(--nd-font-sans); letter-spacing: 0; opacity: .8; }
.nd-sub__extras { padding: 24px; border: 1px solid var(--nd-line); border-radius: var(--nd-radius-lg); background: var(--nd-surface-raised); }
.nd-sub__extras h3 { margin: 0 0 6px; font: 700 21px var(--nd-font-display); }
.nd-sub__rule { margin: 0 0 14px; color: var(--nd-ink-muted); }
.nd-sub__extras ul { list-style: none; margin: 0; padding: 0; }
.nd-sub__extras li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--nd-line); }
.nd-sub__extras li b { white-space: nowrap; font-weight: 600; color: var(--nd-cloud-strong); }
.nd-sub__own { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.nd-sub__more { margin: 24px 0 0; color: var(--nd-ink-muted); }
.nd-sub__base { border-color: var(--nd-cloud); background: var(--nd-cloud-soft); }
.nd-sub__kind { margin: 10px 0 -4px; font: 600 13px var(--nd-font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--nd-ink-muted); }
.nd-sub__terms { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--nd-ink-muted); cursor: pointer; }
.nd-sub__terms input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--nd-cloud-strong); }
@media (max-width: 860px) { .nd-sub__grid { grid-template-columns: 1fr; } }
.nd-ent + .nd-ent { margin-top: 16px; }

/* ---------- /aplikacione (one-click apps) ---------- */
.nd-apps__heroart { display: grid; grid-template-columns: repeat(3, 72px); gap: 14px; justify-content: center; align-content: center; }
.nd-apps__heroart span { width: 72px; height: 72px; border-radius: 18px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); animation: nd-apps-float 6s ease-in-out infinite; animation-delay: calc(var(--d) * -0.7s); }
.nd-apps__heroart img { width: 40px; height: 40px; object-fit: contain; }
@keyframes nd-apps-float { 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .nd-apps__heroart span { animation: none; } }
@media (max-width: 900px) { .nd-apps__heroart { display: none; } }

.nd-apps__toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 20px; }
.nd-apps__search { flex: 1 1 260px; max-width: 360px; display: flex; align-items: center; gap: 8px; padding: 0 14px; min-height: 46px; border: 1px solid var(--nd-line-strong); border-radius: var(--nd-radius-md); background: var(--nd-surface-raised); color: var(--nd-ink-muted); }
.nd-apps__search svg { width: 18px; height: 18px; flex: none; }
.nd-apps__search input { flex: 1; min-width: 0; border: 0; background: none; color: var(--nd-ink); font: 500 16px var(--nd-font-sans); outline: none; }
.nd-apps__chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.nd-apps__chips::-webkit-scrollbar { display: none; }
.nd-page .nd-apps__chip { flex: none; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--nd-line); background: var(--nd-surface-raised); color: var(--nd-ink); font: 600 14px var(--nd-font-sans); cursor: pointer; }
.nd-page .nd-apps__chip:hover { border-color: var(--nd-fire); }
.nd-page .nd-apps__chip.is-on { background: var(--nd-ink); color: var(--nd-surface); border-color: var(--nd-ink); }

.nd-apps__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.nd-appcard { display: flex; flex-direction: column; gap: 10px; padding: 18px; border: 1px solid var(--nd-line); border-radius: var(--nd-radius-lg); background: var(--nd-surface-raised); transition: border-color .2s, transform .2s; }
.nd-appcard:hover { border-color: var(--nd-cloud); transform: translateY(-2px); }
.nd-appcard[hidden] { display: none; }
.nd-appcard__head { display: flex; gap: 12px; align-items: center; }
.nd-appcard__logo { width: 44px; height: 44px; border-radius: 12px; object-fit: contain; background: #fff; padding: 5px; flex: none; border: 1px solid var(--nd-line); }
.nd-appcard__logo--letter { display: flex; align-items: center; justify-content: center; padding: 0; background: hsl(var(--h) 60% 45%); color: #fff; font: 700 20px var(--nd-font-display); border: 0; }
.nd-appcard h3 { margin: 0; font: 700 17px/1.2 var(--nd-font-display); }
.nd-appcard__cat { font-size: 12.5px; color: var(--nd-ink-muted); }
.nd-appcard p { margin: 0; flex: 1; font-size: 14.5px; line-height: 22px; color: var(--nd-ink-muted); }
.nd-appcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px solid var(--nd-line); }
.nd-appcard__tier { font-size: 13.5px; color: var(--nd-ink); line-height: 1.3; }
.nd-appcard__tier small { display: block; color: var(--nd-ink-muted); font-size: 12px; }
.nd-page .nd-appcard__go { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--nd-radius-md); background: var(--nd-fire); color: var(--nd-on-fire); font-weight: 600; font-size: 14px; text-decoration: none; }
.nd-page .nd-appcard__go:hover { filter: brightness(1.05); color: var(--nd-on-fire); }
.nd-apps__empty { margin: 16px 0 0; color: var(--nd-ink-muted); }
.nd-apps .nd-plan2__amount { font-size: 38px; white-space: nowrap; }
.nd-apps .nd-plan2__amount small { font: 600 16px var(--nd-font-sans); letter-spacing: 0; opacity: .8; }
