/* ==========================================================================
   Services hub and the four service pages
   ========================================================================== */

/* ---------- Hub hero ---------- */
.nsd-hubhero { padding: 56px 0 64px; }
.nsd-hubhero__pill { margin-bottom: 28px; }
.nsd-hubhero__h1 { margin: 0 0 26px; }
.nsd-hubhero__lead { margin: 0 0 36px; max-width: 56ch; }
.nsd-hubhero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 72px; }

.nsd-pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.nsd-pillar {
	border-radius: var(--nsd-radius-card); padding: 26px; min-height: 340px;
	display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
	background: var(--hc); border: 1px solid var(--hl); color: var(--ht);
	transition: transform .45s cubic-bezier(.2, .8, .2, 1), background .3s, color .3s, border-color .3s;
}
.nsd-pillar:hover,
.nsd-pillar:focus-visible { background: var(--ht); color: var(--hb); border-color: var(--ht); transform: rotate(-2deg) translateY(-8px); }
.nsd-pillar__title { font-family: 'Roboto', sans-serif; font-weight: 900; font-size: 22px; line-height: 1.15; letter-spacing: -0.025em; }
.nsd-pillar__lead { display: block; font-size: 14.5px; line-height: 1.6; margin-bottom: 16px; opacity: .8; }
.nsd-pillar__points { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.nsd-pillar__points span { font-size: 12px; font-weight: 600; border: 1px solid currentColor; opacity: .7; padding: 4px 10px; border-radius: 999px; }
.nsd-pillar__more { display: block; font-size: 13.5px; font-weight: 600; }

/* ---------- "Not sure where to start?" ---------- */
.nsd-hubpick__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.nsd-hubpick__h { margin: 0 0 16px; max-width: 12ch; }
.nsd-hubpick__lead { font-size: 17px; line-height: 1.65; color: var(--muted); margin: 0 0 32px; max-width: 40ch; }
.nsd-hubpick__list { display: flex; flex-direction: column; gap: 8px; }
.nsd-hubpick__btn {
	text-align: left; font-size: 15.5px; font-weight: 600; padding: 16px 20px; border-radius: 16px; cursor: pointer;
	border: 1px solid var(--line); background: transparent; color: var(--text);
	transition: background .2s, color .2s, border-color .2s;
}
.nsd-hubpick__btn:hover { border-color: var(--text); }
.nsd-hubpick__btn.is-on { background: var(--text); color: var(--bg); border-color: var(--text); }

.nsd-answer {
	background-color: var(--surface); background-image: var(--grain);
	border-radius: var(--nsd-radius-panel); padding: 44px;
	position: sticky; top: 120px;
}
.nsd-answer__panel { display: flex; flex-direction: column; gap: 18px; }
.nsd-answer__panel + .nsd-answer__panel { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--line); }
.js .nsd-answer__panel + .nsd-answer__panel { margin-top: 0; padding-top: 0; border-top: 0; }
.nsd-answer__h {
	font-family: 'Roboto', sans-serif; font-weight: 900; letter-spacing: -0.04em; line-height: 1.02;
	font-size: 26px;
}
@media (min-width: 900px) { .nsd-answer__h { font-size: 32px; } }
.nsd-answer__h { font-size: clamp(26px, 3vw, 38px); }
.nsd-answer__body { font-size: 17px; line-height: 1.7; }
.nsd-answer__case { font-size: 15px; line-height: 1.65; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; }
.nsd-answer__case strong { color: var(--text); font-weight: 700; }
.nsd-answer__links { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.nsd-answer__case-link { font-size: 15px; font-weight: 600; padding: 14px 4px; border-bottom: 1px solid var(--text); }

/* ---------- DarkWatch protections band + Security page ---------- */
.nsd-shield__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.nsd-shield .nsd-h2 { margin: 0 0 20px; color: #F2F1F5; }
.nsd-shield__p { font-size: 17px; line-height: 1.7; color: #9A9AA6; margin: 0 0 28px; max-width: 44ch; }
.nsd-shield .nsd-shield__p:last-child { margin-bottom: 0; }

.nsd-shield-panel { background: #141419; border: 1px solid #26262E; border-radius: 24px; padding: 28px; color: #F2F1F5; }
.nsd-shield-panel__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.nsd-shield-panel__name { font-family: 'Roboto', sans-serif; font-weight: 900; font-size: 20px; }
.nsd-shield-panel__name span { font-weight: 400; color: #9A9AA6; }
.nsd-shield-panel__live { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: #C46BD6; }
.nsd-pulse { width: 8px; height: 8px; border-radius: 50%; background: #C46BD6; animation: nsd-dot 1.6s infinite; }
.nsd-shield-panel__row {
	display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px;
	padding: 14px 0; border-top: 1px solid #26262E;
}
.nsd-shield-panel__t { font-weight: 600; font-size: 15px; }
.nsd-shield-panel__d { font-size: 13px; line-height: 1.5; color: #9A9AA6; margin-top: 3px; }
.nsd-shield-panel__s { font-size: 12px; font-weight: 700; color: #C46BD6; align-self: center; }

/* ---------- Service page hero ---------- */
.nsd-svchero { padding: 40px 0 64px; }
.nsd-svchero__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 64px; align-items: end; }
.nsd-svchero__h1 { margin: 0 0 26px; }
.nsd-svchero__lead { margin: 0 0 36px; max-width: 56ch; }
.nsd-svchero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.nsd-statcard { background: #FFFFFF; color: #101012; border-radius: 24px; padding: 32px; transform: rotate(2deg); }
.nsd-statcard__n {
	font-family: 'Roboto', sans-serif; font-weight: 900; letter-spacing: -0.045em; line-height: 1;
	font-size: 44px;
}
@media (min-width: 900px) { .nsd-statcard__n { font-size: 56px; } }
.nsd-statcard__n { font-size: clamp(44px, 5vw, 68px); }
.nsd-statcard__l { font-size: 14.5px; line-height: 1.55; color: #6B6B73; margin-top: 14px; max-width: 30ch; }

/* ---------- What's included ---------- */
.nsd-included__h { margin: 0 0 48px; max-width: 18ch; }
.nsd-included__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
/* ---------- Migrations: from anywhere ---------- */
.nsd-moves { padding-top: 0; }
.nsd-moves__h { margin: 0 0 40px; max-width: none; }
.nsd-moves__list { border-top: 1px solid var(--line); }
.nsd-move {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr) 40px; gap: 24px;
	padding: 26px 20px; margin: 0 -20px; border-bottom: 1px solid var(--line); align-items: baseline;
	border-radius: 14px; transition: background .2s;
}
.nsd-move:hover { background: var(--surface); }
.nsd-move__from { font-family: 'Roboto', sans-serif; font-weight: 900; font-size: 22px; line-height: 1.15; letter-spacing: -0.025em; }
.nsd-move__client { font-size: 15px; font-weight: 600; }
.nsd-move__note { font-size: 15px; line-height: 1.6; color: var(--muted); }
.nsd-move__go { font-size: 18px; text-align: right; }

/* ---------- Related work ---------- */
.nsd-related__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.nsd-related__head .nsd-h2 { margin: 0; max-width: none; scroll-margin-top: 120px; }
.nsd-related__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.nsd-rel { display: flex; flex-direction: column; gap: 14px; }
.nsd-rel__shot { border-radius: var(--nsd-radius-card); overflow: hidden; position: relative; height: 260px; background: var(--surface); }
.nsd-rel .nsd-tag { align-self: flex-start; }
.nsd-rel p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.nsd-rel:hover .nsd-rel__shot { filter: grayscale(0); }
.nsd-related__others {
	display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
	margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--line);
}
.nsd-related__others .nsd-label { margin-right: 8px; }
.nsd-related__others a { font-size: 14px; font-weight: 600; border: 1px solid var(--line); padding: 10px 16px; border-radius: 999px; transition: border-color .2s; }
.nsd-related__others a:hover { border-color: var(--text); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
	.nsd-pillars { grid-template-columns: 1fr 1fr; }
	.nsd-hubpick__grid, .nsd-shield__grid, .nsd-svchero__grid { grid-template-columns: 1fr; gap: 32px; }
	.nsd-answer { position: static; padding: 28px; }
	.nsd-related__grid { grid-template-columns: 1fr; }
	.nsd-move { grid-template-columns: 1fr; gap: 6px; margin: 0; padding: 22px 0; }
	.nsd-move__go { text-align: left; }
	.nsd-statcard { transform: rotate(1deg); }
}
@media (max-width: 560px) {
	.nsd-pillars { grid-template-columns: 1fr; }
	.nsd-pillar { min-height: 260px; }
}

/* Shield panel: it is an example, not live data. */
.nsd-shield-panel__note { margin: 14px 0 0; font-size: 12.5px; color: #9A9AA6; }
