/* ==========================================================================
   Client guides: Getting Started and Moving Forward
   ========================================================================== */

/* ---------- Hero + contents ---------- */
.nsd-guidehero { padding: 56px 0 64px; }
.nsd-guidehero__pill { margin-bottom: 28px; }
.nsd-guidehero__h1 { margin: 0 0 26px; max-width: 14ch; }
.nsd-guidehero__lead { margin: 0 0 48px; max-width: 56ch; }

.nsd-guidetoc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.nsd-guidetoc a {
	display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
	padding: 10px 18px 10px 12px; border-radius: 999px; border: 1px solid var(--hl);
	font-size: 14.5px; font-weight: 600; color: var(--ht); transition: background .2s, color .2s, border-color .2s;
}
.nsd-guidetoc a:hover,
.nsd-guidetoc a:focus-visible { background: var(--ht); color: var(--hb); border-color: var(--ht); }
.nsd-guidetoc__n { font-family: 'Roboto', sans-serif; font-weight: 900; font-size: 12px; opacity: .6; }

/* ---------- Numbered sections ---------- */
.nsd-guidesec { scroll-margin-top: 96px; }
.nsd-guidesec + .nsd-guidesec { padding-top: 0; }
.nsd-guidesec + .nsd-guidesec .nsd-wrap > .nsd-split { border-top: 1px solid var(--line); padding-top: var(--nsd-section); }
.nsd-guidesec__grid { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 64px; align-items: start; }
.nsd-guidesec__head { position: sticky; top: 120px; }
.nsd-guidesec__n {
	display: block; font-family: 'Roboto', sans-serif; font-weight: 900; letter-spacing: -0.04em; line-height: 1;
	font-size: 48px; color: #9400AA; margin-bottom: 14px;
}
@media (min-width: 900px) { .nsd-guidesec__n { font-size: 64px; } }
:root[data-theme="dark"] .nsd-guidesec__n { color: #C46BD6; }
.nsd-guidesec__h { margin: 0; max-width: 16ch; }

.nsd-guidesec__body > * { margin: 0; }
.nsd-guidesec__body > * + * { margin-top: 20px; }
.nsd-guidesec__intro { font-size: 18px; line-height: 1.7; max-width: 62ch; }
.nsd-guidesec__p { font-size: 17px; line-height: 1.75; max-width: 62ch; }
.nsd-guidesec__items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
/* An odd last card takes the full row rather than sitting alone in half of it. */
.nsd-guidesec__items > .nsd-inc:last-child:nth-child(odd) { grid-column: 1 / -1; }
.nsd-guidesec__body > .nsd-guidesec__items + * { margin-top: 28px; }
.nsd-guidesec .nsd-inc { min-height: 0; }
.nsd-guidesec .nsd-inc p { margin: 0; }
.nsd-guidesec__more { font-size: 14.5px; font-weight: 600; align-self: flex-start; border-bottom: 1px solid currentColor; padding: 6px 0 2px; margin-top: auto; }
.nsd-guidesec__note {
	display: flex; align-items: baseline; gap: 12px;
	padding: 18px 22px; border-radius: 16px; max-width: 62ch;
	border: 1px solid var(--line); background: var(--surface);
	font-size: 16px; line-height: 1.6; font-weight: 600;
}
.nsd-guidesec__note::before {
	content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%;
	background: #9400AA; transform: translateY(-1px);
}
:root[data-theme="dark"] .nsd-guidesec__note::before { background: #C46BD6; }
.nsd-guidesec__links { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Next / previous guide ---------- */
.nsd-guidenext { padding-top: 0; }
.nsd-guidenext__card {
	display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "l go" "t go" "d go";
	gap: 6px 24px; align-items: center; padding: 32px 36px; border-radius: var(--nsd-radius-panel);
	border: 1px solid var(--line); transition: background .2s, border-color .2s;
}
.nsd-guidenext__card:hover,
.nsd-guidenext__card:focus-visible { background: var(--surface); border-color: var(--text); }
.nsd-guidenext__card .nsd-label { grid-area: l; }
.nsd-guidenext__t { grid-area: t; font-family: 'Roboto', sans-serif; font-weight: 900; letter-spacing: -0.03em; line-height: 1.1; font-size: 28px; }
@media (min-width: 900px) { .nsd-guidenext__t { font-size: 34px; } }
.nsd-guidenext__d { grid-area: d; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.nsd-guidenext__go { grid-area: go; font-size: 28px; }

/* ---------- Closing band ---------- */
.nsd-guideclose__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.nsd-guideclose .nsd-h2 { margin: 0; color: #F2F1F5; max-width: 14ch; }
.nsd-guideclose__p { font-size: 17px; line-height: 1.7; color: #9A9AA6; margin: 0 0 28px; max-width: 44ch; }
.nsd-guideclose__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.nsd-guideclose__tel { color: #F2F1F5; font-weight: 600; font-size: 16px; padding: 12px 0; border-bottom: 1px solid #55555E; }

@media (max-width: 960px) {
	.nsd-guidesec__grid,
	.nsd-guideclose__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.nsd-guidesec__head { position: static; }
	.nsd-guidenext__card { padding: 26px 24px; }
}
@media (max-width: 640px) {
	.nsd-guidehero { padding: 40px 0 48px; }
	.nsd-guidetoc a { font-size: 14px; }
	.nsd-guidesec__items { grid-template-columns: minmax(0, 1fr); }
}
