/* Sukesh Das: main layer. Components, sections and pages below the first screen. */

/* ---------- Shared pieces ---------- */
.sd-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 20px 48px; margin-bottom: clamp(36px, 4.5vw, 60px); }
.sd-head__text .sd-label { margin-bottom: 18px; }
.sd-head__text .sd-h2 { max-width: 12.29em; }
.sd-head__side { display: grid; gap: 14px; justify-items: start; max-width: 25.19em; color: var(--muted); padding-bottom: 6px; }
.sd-head--center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.sd-head--center .sd-h2 { margin-inline: auto; }
.sd-head--center .sd-head__side { justify-items: center; }

.sd-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent-ink); font-family: var(--f-mono); font-size: 10.5px; font-weight: 500; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.sd-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 0; border-radius: var(--r-pill); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--fg); font-size: 14px; line-height: 1.2; white-space: nowrap; }
.sd-chip .sd-icon { --s: 16px; color: var(--accent); }
.sd-dark .sd-chip { background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), var(--glass-dark-shine); }

.sd-itile { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 13px; background: linear-gradient(145deg, var(--cobalt-500), var(--cobalt-700)); color: #fff; --sd-icon-accent: #BFD0FF; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 10px 22px -12px rgba(47, 91, 255, .9); }
.sd-itile .sd-icon { --s: 20px; }


/* Background photos with a tint on top */
.sd-bgimg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--ink-950); }
.sd-bgimg img { width: 100%; height: 100%; object-fit: cover; transform: translate3d(0, var(--sd-shift, 0), 0) scale(1.08); }
.sd-bgimg::after { content: ""; position: absolute; inset: 0; }
.sd-bgimg--process img { opacity: .5; }
.sd-bgimg--process::after { background: radial-gradient(55% 60% at 85% 0%, rgba(47, 91, 255, .32), transparent 70%), linear-gradient(180deg, rgba(10, 11, 15, .72), rgba(10, 11, 15, .9) 60%, var(--ink-950)); }
.sd-bgimg--reviews img { opacity: .45; }
.sd-bgimg--reviews::after { background: radial-gradient(60% 55% at 85% 10%, rgba(47, 91, 255, .22), transparent 70%), linear-gradient(180deg, var(--ink-950) 0%, rgba(10, 11, 15, .78) 28%, rgba(10, 11, 15, .84) 72%, var(--ink-950) 100%); }
.sd-bgimg--hero img { opacity: .6; }
.sd-bgimg--hero::after { background: radial-gradient(60% 70% at 80% 0%, rgba(47, 91, 255, .35), transparent 70%), linear-gradient(180deg, rgba(10, 11, 15, .7), rgba(10, 11, 15, .88) 70%, var(--ink-950)); }

/* Split layout: sticky heading on the left, content on the right */
.sd-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.sd-split__side { position: sticky; top: calc(var(--header-h) + 40px); }
.sd-split__side .sd-label { margin-bottom: 18px; }
.sd-split__note { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; margin-top: 24px; color: var(--muted); }

/* FAQ */
.sd-faq { display: grid; gap: 10px; }
.sd-faq__item { border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .35s var(--ease-out); }
.sd-faq__item:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.sd-faq__item[open] { box-shadow: inset 0 0 0 1px var(--line-2), var(--card-shadow); }
.sd-faq__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 20px 19px 22px; cursor: pointer; list-style: none; font-size: 16.5px; font-weight: 600; line-height: 1.35; letter-spacing: -.015em; }
.sd-faq__q::-webkit-details-marker { display: none; }
.sd-faq__icon { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); transition: transform .45s var(--ease-out), background-color .3s, color .3s; }
.sd-faq__icon .sd-icon { --s: 16px; }
.sd-faq__item[open] .sd-faq__icon { transform: rotate(45deg); background: var(--cobalt-600); color: #fff; }
.sd-faq__a { padding: 0 22px 22px; max-width: 42.43em; color: var(--muted); font-size: 16px; line-height: 1.6; }
.sd-faq__item[open] .sd-faq__a { animation: sd-drop .45s var(--ease-out); }
@keyframes sd-drop { from { opacity: 0; transform: translateY(-6px); } }

/* Marquees */
@keyframes sd-marquee { to { transform: translate3d(-50%, 0, 0); } }

/* Floating chips */
[data-float] { animation: sd-float 7s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes sd-float { 50% { transform: translateY(-8px); } }
.sd-chip-float--a { animation: sd-float 7s ease-in-out infinite; }
.sd-chip-float--b { animation: sd-float 8s ease-in-out -3s infinite; }

/* ---------- Home: platforms ---------- */
.sd-platforms { padding: clamp(26px, 3vw, 38px) 0; border-bottom: 1px solid var(--line); }
.sd-platforms__inner { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); }
.sd-platforms__label { flex: none; font-size: 11px; color: var(--muted); }
.sd-logos { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.sd-logos__track { display: flex; width: max-content; animation: sd-marquee 42s linear infinite; }
.sd-logos:hover .sd-logos__track { animation-play-state: paused; }
.sd-logos__set { display: flex; align-items: center; gap: clamp(32px, 4vw, 52px); padding-right: clamp(32px, 4vw, 52px); }
.sd-logos__item { display: inline-flex; align-items: center; gap: 10px; font-size: 16.5px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; color: var(--fg-2); }
.sd-logos__item .sd-icon { --s: 22px; color: var(--brand, var(--fg)); }
:root[data-theme="dark"] .sd-logos__item.is-mono-dark .sd-icon { color: var(--fg); }

/* ---------- Home: statement and numbers ---------- */
.sd-statement .sd-label { margin-bottom: 28px; }
.sd-statement__grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .9fr); gap: 28px clamp(32px, 6vw, 96px); align-items: center; }
.sd-lit { max-width: 12.4em; margin: 0; font-size: clamp(32px, 4.4vw, 60px); font-weight: 600; line-height: 1.06; letter-spacing: -.045em; text-wrap: balance; }
.sd-statement__side { display: grid; justify-items: start; gap: 20px; }
.sd-lit__em { white-space: nowrap; }
@media (max-width: 340px) { .sd-lit__em { white-space: normal; } }
.sd-statement__side p { margin: 0; max-width: 27em; color: var(--muted); font-size: clamp(16.5px, 1.2vw, 18px); line-height: 1.65; }
/* Words start in a readable grey (passes contrast for large text) and fill in to full ink as you scroll */
.sd-lit__w { transition: color .5s var(--ease-out); }
html.js .sd-lit__w { color: var(--faint); }
html.js .sd-lit__w.is-lit { color: var(--fg); }
/* The accent words fill with the brand gradient as they light up */
.sd-lit__w--em { background-image: var(--cobalt-text); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; }
html.js .sd-lit__w--em { color: var(--faint); }
html.js .sd-lit__w--em.is-lit { color: transparent; }
.sd-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: clamp(48px, 6vw, 80px) 0 0; border-top: 1px solid var(--line); }
.sd-stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 10px; padding: 28px 24px 0 0; }
.sd-stat + .sd-stat { padding-left: 24px; border-left: 1px solid var(--line); }
.sd-stat__value { margin: 0; font-size: clamp(40px, 4.6vw, 64px); font-weight: 600; line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.sd-stat__value i { font-style: normal; color: var(--accent); }
.sd-stat__label { color: var(--muted); font-size: 11px; }
/* Home numbers sit on one card */
.sd-statement .sd-stats { margin-top: clamp(44px, 5.5vw, 76px); border-top: 0; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--card-shadow); }
.sd-statement .sd-stat, .sd-statement .sd-stat + .sd-stat { padding: clamp(24px, 2.6vw, 36px) clamp(18px, 2.2vw, 32px); }

/* ---------- Home: stacked service cards ---------- */
.sd-stack { display: grid; gap: 24px; }
.sd-stack__card {
	position: sticky;
	top: calc(var(--header-h) + 28px + var(--i, 0) * 14px);
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(24px, 3.5vw, 56px);
	min-height: min(540px, calc(100vh - var(--header-h) - 80px));
	padding: clamp(22px, 3vw, 40px);
	border-radius: var(--r-lg);
	overflow: hidden;
	background: radial-gradient(70% 90% at 0% 0%, rgba(47, 91, 255, .26), transparent 60%), linear-gradient(160deg, #151925, #0A0B0F 70%);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), inset 0 1px 0 rgba(255, 255, 255, .09), 0 -18px 50px -30px rgba(11, 20, 40, .45), 0 40px 70px -40px rgba(11, 20, 40, .6);
	transform-origin: 50% 0;
	transform: scale(var(--sc, 1));
	will-change: transform;
}
.sd-stack__card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #05060A; opacity: var(--dim, 0); pointer-events: none; }
.sd-stack__card.is-unstack { position: relative; top: auto; }
.sd-stack__text { display: flex; flex-direction: column; justify-content: center; gap: 18px; min-width: 0; padding: 4px 0; }
.sd-stack__num { color: var(--slate-400); font-size: 12px; }
.sd-stack__num b { color: var(--sky-300); font-weight: 500; }
.sd-stack__title { display: flex; align-items: center; gap: 16px; font-size: clamp(26px, 2.7vw, 38px); font-weight: 600; line-height: 1.08; letter-spacing: -.04em; color: #fff; text-wrap: balance; }
.sd-stack__intro { max-width: 26.52em; color: var(--slate-400); font-size: 17px; line-height: 1.5; }
.sd-stack__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 6px; }
.sd-stack__list a { display: flex; align-items: center; gap: 10px; height: 100%; padding: 11px 14px; border-radius: 12px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); color: var(--chrome); font-size: 14.5px; line-height: 1.3; transition: background-color .3s, box-shadow .3s; }
.sd-stack__list a:hover { background: rgba(255, 255, 255, .09); box-shadow: inset 0 0 0 1px rgba(138, 168, 255, .45); }
.sd-stack__list .sd-icon { --s: 18px; color: var(--cobalt-300); --sd-icon-accent: var(--sky-300); }
.sd-stack__btn { align-self: flex-start; }
.sd-stack__media { position: relative; min-height: 280px; border-radius: 20px; overflow: hidden; background: var(--ink-800); }
.sd-stack__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.sd-stack__card:hover .sd-stack__media img { transform: scale(1.04); }
.sd-stack__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 11, 15, .6), transparent 45%), linear-gradient(135deg, rgba(47, 91, 255, .22), transparent 50%); pointer-events: none; }
.sd-stack__count { position: absolute; left: 16px; bottom: 16px; z-index: 1; padding: 8px 14px; border-radius: var(--r-pill); background: rgba(10, 11, 15, .45); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), var(--glass-dark-shine); color: #fff; font-size: 11px; -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }

/* ---------- Home: bento ---------- */

/* ---------- Portfolio cards (staging layout) ---------- */
.sd-pf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.sd-pf-card { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--card-shadow); color: var(--fg); transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out); }
.sd-pf-card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line), var(--card-shadow-lg); }
.sd-pf-card__thumb { position: relative; isolation: isolate; aspect-ratio: 16 / 11; overflow: hidden; background: var(--surface-2); }
.sd-pf-card__thumb::before, .sd-post-card__media::before { content: ""; position: absolute; inset: -24px; z-index: -1; background: var(--thumb, none) center / cover no-repeat; filter: blur(22px) saturate(1.2); opacity: .7; transform: scale(1.1); }
.sd-pf-card__thumb img { width: 100%; height: 100%; object-fit: contain; transition: transform .8s var(--ease-out); }
.sd-pf-card:hover .sd-pf-card__thumb img { transform: scale(1.05); }
.sd-pf-card__ph, .sd-post-card__ph { display: grid; place-items: center; height: 100%; padding: 24px; text-align: center; color: var(--muted); background: radial-gradient(60% 80% at 100% 0%, rgba(47, 91, 255, .14), transparent 70%), var(--surface-2); }
.sd-pf-card__hover { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(10, 11, 15, .5); opacity: 0; transition: opacity .4s var(--ease-out); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.sd-pf-card:hover .sd-pf-card__hover, .sd-pf-card:focus-visible .sd-pf-card__hover { opacity: 1; }
.sd-pf-card__hover-btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35), inset 0 1px 0 rgba(255, 255, 255, .2); color: #fff; font-size: 14.5px; font-weight: 500; transform: translateY(8px); transition: transform .5s var(--ease-out); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
.sd-pf-card:hover .sd-pf-card__hover-btn { transform: none; }
.sd-pf-card__info { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 22px 24px 24px; }
.sd-pf-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.sd-pf-card__title { font-size: 20px; font-weight: 600; line-height: 1.25; letter-spacing: -.025em; }
.sd-pf-card__excerpt { color: var(--muted); font-size: 15px; line-height: 1.55; }
.sd-pf-card__result { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--fg-2); }
.sd-pf-card__result .sd-icon { --s: 14px; flex: none; color: var(--success); }
.sd-pf-card__result b { color: var(--success); font-weight: 600; }

/* ---------- Home: process, pinned while the steps slide sideways ---------- */
.sd-pcard { position: relative; flex: none; display: flex; flex-direction: column; gap: 14px; width: clamp(270px, 29vw, 360px); min-height: 300px; padding: 28px; border-radius: var(--r); background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), inset 0 1px 0 rgba(255, 255, 255, .1); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); transition: box-shadow .4s, transform .6s var(--ease-out); }
.sd-pcard:hover { box-shadow: inset 0 0 0 1px rgba(138, 168, 255, .45), inset 0 1px 0 rgba(255, 255, 255, .12); transform: translateY(-4px); }
.sd-pcard__num { font-size: 68px; font-weight: 600; line-height: .9; letter-spacing: -.06em; background: linear-gradient(180deg, #fff 10%, rgba(255, 255, 255, .12)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sd-pcard__title { margin-top: 18px; font-size: 24px; font-weight: 600; letter-spacing: -.03em; color: #fff; }
.sd-pcard__text { color: var(--slate-400); font-size: 16px; line-height: 1.5; }
.sd-pcard__out { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .08); color: var(--sky-300); font-size: 11px; }

/* ---------- Why choose me: comparison ---------- */
.sd-why__head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: end; gap: 20px 56px; margin-bottom: clamp(32px, 4vw, 52px); }
.sd-why__head .sd-label { margin-bottom: 18px; }
.sd-why__lead { max-width: 30em; color: var(--muted); font-size: clamp(16.5px, 1.3vw, 18.5px); line-height: 1.6; }
.sd-compare { --me: rgba(47, 91, 255, .055); position: relative; display: grid; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--card-shadow); overflow: hidden; }
:root[data-theme="dark"] .sd-compare { --me: rgba(138, 168, 255, .08); }
.sd-compare__row { display: grid; grid-template-columns: minmax(150px, .78fr) repeat(3, minmax(0, 1fr)); }
.sd-compare__row + .sd-compare__row { border-top: 1px solid var(--line); }
.sd-compare__label, .sd-compare__cell, .sd-compare__col { padding: 20px 24px; }
.sd-compare__label { color: var(--fg); font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; }
.sd-compare__cell { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.sd-compare__cell > .sd-icon { --s: 16px; flex: none; margin-top: 3px; color: var(--faint); }
.sd-compare__cell.is-me { background: var(--me); color: var(--fg); font-weight: 500; }
.sd-compare__cell.is-me > .sd-icon { --s: 18px; margin-top: 2px; padding: 3px; border-radius: 50%; background: var(--cobalt-600); color: #fff; stroke-width: 2.4; }
.sd-compare__who { display: none; }
.sd-compare__row--head { background: var(--surface-2); }
.sd-compare__col { display: flex; align-items: center; gap: 10px; color: var(--muted); font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; }
.sd-compare__col.is-me { position: relative; background: var(--me); color: var(--fg); font-family: var(--f-text); font-size: 16px; font-weight: 600; letter-spacing: -.01em; text-transform: none; }
.sd-compare__col.is-me::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--cobalt-600), var(--sky-300)); }
.sd-compare__face { flex: none; width: 34px; height: 34px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--surface), 0 0 0 3.5px var(--cobalt-600); }

/* ---------- Process: vertical timeline that fills as you scroll ---------- */
.sd-process__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px clamp(40px, 6vw, 96px); align-items: start; }
.sd-process__side { position: sticky; top: calc(var(--header-h) + 48px); }
.sd-process__side .sd-label { margin-bottom: 18px; }
.sd-process__lead { max-width: 26em; margin-top: 20px; color: var(--muted); font-size: clamp(16.5px, 1.3vw, 18.5px); line-height: 1.6; }
.sd-process__cta { margin-top: 28px; }
.sd-steps { --p: 0; position: relative; display: grid; gap: clamp(28px, 3.4vw, 44px); margin: 0; padding: 0; list-style: none; }
.sd-steps::before, .sd-steps::after { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; border-radius: 2px; background: var(--line-2); }
.sd-steps::after { background: linear-gradient(180deg, var(--cobalt-600), var(--sky-300)); transform-origin: 50% 0; transform: scaleY(var(--p)); }
html:not(.js) .sd-steps { --p: 1; }
.sd-step { position: relative; z-index: 1; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 24px; align-items: start; }
.sd-step__num { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px var(--line-2); color: var(--muted); font-family: var(--f-mono); font-size: 14px; font-weight: 500; transition: background-color .5s var(--ease-out), box-shadow .5s var(--ease-out), color .5s var(--ease-out), transform .6s var(--ease-out); }
.sd-step.is-on .sd-step__num { background: var(--cobalt-600); box-shadow: 0 0 0 6px var(--accent-soft), 0 10px 24px -10px rgba(47, 91, 255, .7); color: #fff; transform: scale(1.04); }
.sd-step__body { padding: 20px 24px 22px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--card-shadow); transition: box-shadow .5s var(--ease-out); }
.sd-step.is-on .sd-step__body { box-shadow: inset 0 0 0 1px rgba(47, 91, 255, .28), var(--card-shadow); }
.sd-step__title { font-size: clamp(20px, 1.8vw, 24px); font-weight: 600; line-height: 1.2; letter-spacing: -.03em; }
.sd-step__text { margin-top: 8px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.sd-step__out { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 6px 12px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent-ink); font-size: 13.5px; font-weight: 500; }
.sd-step__out .sd-icon { --s: 14px; }

/* ---------- Reviews: score, two gliding rows (a slider with arrows on phones), a Google review link ---------- */
.sd-reviews { position: relative; isolation: isolate; overflow: hidden; }
.sd-reviews__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 28px 48px; margin-bottom: clamp(32px, 4vw, 52px); }
.sd-reviews__intro .sd-label { margin-bottom: 18px; }
.sd-reviews__sub { display: grid; justify-items: start; gap: 12px; max-width: 30em; margin-top: 18px; color: var(--slate-400); font-size: 16px; line-height: 1.55; }
.sd-reviews__verified { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: var(--r-pill); background: rgba(52, 211, 153, .12); box-shadow: inset 0 0 0 1px rgba(52, 211, 153, .3); color: #6EE7B7; font-size: 13px; font-weight: 500; }
.sd-reviews__score { display: flex; align-items: center; gap: 18px; padding: 20px 26px; border-radius: var(--r); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), inset 0 1px 0 rgba(255, 255, 255, .08); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
.sd-reviews__big { padding-bottom: .04em; font-size: clamp(56px, 5.6vw, 76px); font-weight: 600; line-height: .9; letter-spacing: -.05em; background: var(--chrome-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sd-reviews__meta { display: grid; gap: 6px; }
.sd-reviews__meta .sd-stars { --star: 17px; }
.sd-reviews__meta p { color: var(--slate-400); font-size: 14px; line-height: 1.4; }
.sd-reviews__rows { display: grid; gap: 16px; }
.sd-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.sd-marquee__track { display: flex; width: max-content; }
.sd-marquee__track.is-looping { animation: sd-marquee var(--dur, 120s) linear infinite; will-change: transform; backface-visibility: hidden; }
.sd-marquee__track > .sd-review { margin-right: 16px; }
.sd-marquee--reverse .sd-marquee__track { animation-direction: reverse; }
.sd-marquee:hover .sd-marquee__track, .sd-marquee:focus-within .sd-marquee__track { animation-play-state: paused; }
.sd-reviews__foot { display: grid; justify-items: center; gap: 24px; margin-top: clamp(32px, 4vw, 48px); }
.sd-reviews__nav { display: none; }
.sd-reviews__ask { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; color: var(--slate-400); font-size: 15px; line-height: 1.5; text-align: center; }
.sd-reviews__ask b { color: var(--chrome); font-weight: 600; }
/* Phones, and anyone who prefers less motion: the first row becomes a slider, the second steps aside */
@media (max-width: 600px), (prefers-reduced-motion: reduce) {
	.sd-marquee { -webkit-mask-image: none; mask-image: none; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
	.sd-marquee::-webkit-scrollbar { display: none; }
	.sd-marquee--reverse, .sd-marquee__track > [aria-hidden="true"] { display: none; }
	.sd-marquee__track, .sd-marquee__track.is-looping { gap: 12px; padding-inline: var(--gutter); animation: none; }
	.sd-marquee__track > .sd-review { width: min(360px, calc(100vw - var(--gutter) * 2 - 28px)); margin-right: 0; scroll-snap-align: start; }
	html.js .sd-reviews__nav { display: flex; align-items: center; gap: 14px; width: 100%; max-width: 560px; }
	.sd-reviews__foot { justify-items: stretch; gap: 28px; margin-top: 20px; }
}
.sd-reviews__count { display: flex; align-items: baseline; gap: 6px; color: var(--slate-400); font-size: 12.5px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.sd-reviews__count b { color: #fff; font-weight: 500; }
.sd-reviews__bar { position: relative; flex: 1; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.sd-reviews__bar span { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--cobalt-500), var(--sky-300)); transform-origin: 0 50%; transform: scaleX(var(--p, .1)); transition: transform .5s var(--ease-out); }
.sd-reviews__arrow { display: grid; place-items: center; flex: none; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), inset 0 1px 0 rgba(255, 255, 255, .1); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); transition: background-color .25s, box-shadow .25s, opacity .25s; }
@media (hover: hover) {
	.sd-reviews__arrow:not([disabled]):hover { background: var(--cobalt-600); box-shadow: inset 0 0 0 1px var(--cobalt-600); }
}
.sd-reviews__arrow:active .sd-icon { transform: scale(.9); }
.sd-reviews__arrow[disabled] { opacity: .35; cursor: default; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.sd-reviews__arrow + .sd-reviews__arrow { margin-left: -4px; }
@media (max-width: 1080px) {
	.sd-compare__row { grid-template-columns: minmax(120px, .7fr) repeat(3, minmax(0, 1fr)); }
	.sd-compare__label, .sd-compare__cell, .sd-compare__col { padding: 18px; }
}
@media (max-width: 820px) {
	.sd-why__head, .sd-reviews__head { grid-template-columns: 1fr; align-items: start; }
	.sd-reviews__score { justify-self: start; }
	.sd-compare { gap: 12px; border-radius: 0; background: none; box-shadow: none; overflow: visible; }
	.sd-compare__row--head { display: none; }
	.sd-compare__row { grid-template-columns: 1fr; padding-bottom: 8px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
	.sd-compare__row + .sd-compare__row { border-top: 0; }
	.sd-compare__label { order: -2; padding: 16px 18px 10px; }
	.sd-compare__cell { padding: 8px 18px; font-size: 15px; }
	.sd-compare__cell.is-me { order: -1; margin: 0 10px 4px; padding: 12px; border-radius: 12px; }
	.sd-compare__who { display: block; margin-bottom: 2px; color: var(--faint); font-family: var(--f-mono); font-size: 10.5px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; }
	.sd-compare__cell.is-me .sd-compare__who { color: var(--accent-ink); }
	.sd-process__grid { grid-template-columns: 1fr; }
	.sd-process__side { position: static; }
}
@media (max-width: 600px) {
	.sd-reviews__ask { flex-direction: column; gap: 14px; }
	.sd-steps::before, .sd-steps::after { left: 21px; top: 22px; bottom: 22px; }
	.sd-step { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
	.sd-step__num { width: 44px; height: 44px; font-size: 13px; }
	.sd-step__body { padding: 16px 18px 18px; }
}

/* ---------- Reviews ---------- */
.sd-review { display: flex; flex-direction: column; gap: 14px; width: 360px; flex: none; padding: 22px 22px 20px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--card-shadow); }
.sd-dark .sd-review { background: linear-gradient(160deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), inset 0 1px 0 rgba(255, 255, 255, .07); }
.sd-review__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sd-review__platform { color: var(--muted); font-size: 10.5px; }
.sd-review__text p { color: var(--fg-2); font-size: 15px; line-height: 1.55; }
.sd-review__who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.sd-review__avatar { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(145deg, var(--cobalt-500), var(--cobalt-700)); color: #fff; font-size: 14px; font-weight: 600; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.sd-review__who > span:last-child { display: grid; gap: 2px; min-width: 0; }
.sd-review__name { font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; }
.sd-review__meta { color: var(--muted); font-size: 10.5px; }

/* ---------- Blog cards ---------- */
.sd-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.sd-post-card { position: relative; display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--card-shadow); transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out); }
.sd-post-card:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1px var(--line), var(--card-shadow-lg); }
.sd-post-card__media { position: relative; isolation: isolate; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.sd-post-card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .8s var(--ease-out); }
.sd-post-card:hover .sd-post-card__media img { transform: scale(1.03); }
.sd-post-card__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 20px 22px 20px; }
.sd-post-card__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: 10.5px; }
.sd-post-card__cat { color: var(--accent-ink); }
.sd-post-card__title { font-size: 19px; font-weight: 600; line-height: 1.3; letter-spacing: -.022em; text-wrap: pretty; }
.sd-post-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.sd-post-card__excerpt { color: var(--muted); font-size: 15px; line-height: 1.55; }
.sd-post-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10.5px; }
.sd-post-card__foot .sd-icon { --s: 16px; transition: transform .4s var(--ease-out), color .3s; }
.sd-post-card:hover .sd-post-card__foot .sd-icon { color: var(--accent); transform: translate(2px, -2px); }

/* ---------- Closing call to action and footer ---------- */
.sd-cta-band { padding: clamp(40px, 5vw, 72px) 0; background: var(--bg); }
.sd-cta-card { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 380px; padding: clamp(40px, 6vw, 88px) clamp(24px, 5.5vw, 80px); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 40px 80px -44px rgba(11, 20, 40, .7); }
.sd-cta-card::before { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--sd-ring, 200deg), rgba(47, 91, 255, .9), rgba(125, 211, 252, .8), rgba(255, 255, 255, .06) 30%, rgba(255, 255, 255, .06) 70%, rgba(47, 91, 255, .9)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: sd-ring 10s linear infinite; animation-play-state: paused; pointer-events: none; }
.sd-cta-card.is-live::before { animation-play-state: running; }
.sd-cta-card { background: var(--ink-950); }
.sd-cta-card__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; border-radius: inherit; background: radial-gradient(55% 90% at 100% 0%, rgba(47, 91, 255, .42), transparent 62%), radial-gradient(40% 70% at 88% 100%, rgba(125, 211, 252, .14), transparent 70%), linear-gradient(135deg, #0D1120 0%, #0A0B0F 55%); }
.sd-cta-card__bg::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.2px); background-size: 24px 24px; -webkit-mask-image: radial-gradient(60% 80% at 90% 40%, #000, transparent 72%); mask-image: radial-gradient(60% 80% at 90% 40%, #000, transparent 72%); }
.sd-cta-card__bg::after { content: ""; position: absolute; top: 50%; right: -140px; width: 540px; height: 540px; margin-top: -270px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 0 0 64px rgba(255, 255, 255, .018), 0 0 0 128px rgba(255, 255, 255, .012), inset 0 0 140px rgba(47, 91, 255, .22); }
.sd-cta-card__inner { position: relative; display: grid; justify-items: start; gap: 20px; max-width: 580px; }
.sd-cta-card__title { font-size: clamp(38px, 4.8vw, 68px); }
.sd-cta-card__text { color: var(--slate-300); font-size: 18px; }
.sd-cta-card__row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
/* The right side: a portrait pointing back at the buttons, standing on the card's bottom edge, with the reply time beside it */
.sd-cta-card__person { position: absolute; top: 8%; right: clamp(24px, 7vw, 120px); bottom: 0; aspect-ratio: 456 / 717; pointer-events: none; }
.sd-cta-card__person::before { content: ""; position: absolute; left: 50%; bottom: 8%; z-index: -1; width: 130%; aspect-ratio: 1; border-radius: 50%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(47, 91, 255, .55), rgba(47, 91, 255, .16) 60%, transparent); filter: blur(6px); }
.sd-cta-card__photo { display: block; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; transform: scaleX(-1); -webkit-mask-image: linear-gradient(to top, transparent 0, #000 22%); mask-image: linear-gradient(to top, transparent 0, #000 22%); }
.sd-cta-card__chip { position: absolute; left: -58%; bottom: 20%; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 14px; border-radius: 16px; background: rgba(15, 17, 22, .72); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), inset 0 1px 0 rgba(255, 255, 255, .08), 0 20px 40px -18px rgba(0, 0, 0, .8); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); white-space: nowrap; }
.sd-cta-card__chip > span:last-child { display: grid; gap: 3px; }
.sd-cta-card__chip b { color: #fff; font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; }
.sd-cta-card__chip small { color: var(--slate-400); font-size: 10.5px; }
.sd-cta-card__chip .sd-dot { flex: none; }
@media (max-width: 1180px) {
	.sd-cta-card__chip { left: -40%; bottom: 12%; }
}
@media (max-width: 960px) {
	.sd-cta-card__person { display: none; }
}

.sd-footer__main { position: relative; overflow: hidden; padding: clamp(56px, 6vw, 88px) 0 28px; background: radial-gradient(50% 70% at 100% 0%, rgba(47, 91, 255, .16), transparent 70%), var(--ink-950); }
.sd-footer__cols { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.sd-footer__brand .sd-logo { padding-block: 12px; margin-block: -12px; }
.sd-footer__brand p { max-width: 22.54em; margin: 18px 0 22px; color: var(--slate-400); font-size: 15.5px; line-height: 1.55; }
.sd-social { display: flex; flex-wrap: wrap; gap: 8px; }
.sd-footer .sd-footer__social { display: flex; margin-top: 22px; }
.sd-footer__col .sd-footer__social a { display: grid; gap: 0; padding: 0; color: var(--chrome); }
.sd-footer__col .sd-footer__social a:hover { color: #fff; }
.sd-footer__col .sd-footer__social .sd-icon { --s: 18px; color: inherit; }
.sd-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), var(--glass-dark-shine); color: var(--chrome); transition: background-color .3s, transform .4s var(--ease-out); }
.sd-social a:hover { background: var(--cobalt-600); transform: translateY(-2px); }
.sd-footer .sd-footer__creds { display: grid; gap: 8px; margin: 0 0 24px; }
.sd-footer__creds li { display: flex; align-items: center; gap: 8px; color: rgba(242, 244, 247, .86); font-size: 14px; }
.sd-footer__creds .sd-icon { --s: 14px; color: var(--cobalt-300); }
.sd-footer__status { display: flex; align-items: center; gap: 10px; margin: 22px 0 0; color: var(--slate-400); font-size: 14px; }
.sd-footer__base p a { color: rgba(242, 244, 247, .86); transition: color .25s; }
.sd-footer__base p a:hover, .sd-footer__legal a:hover { color: #fff; }
.sd-footer__legal a[data-totop-link] { display: inline-flex; align-items: center; gap: 6px; }
.sd-footer__legal .sd-icon { --s: 14px; }
.sd-footer__head { margin-bottom: 18px; color: var(--slate-400); font-size: 11px; font-weight: 500; }
.sd-footer ul { margin: 0; padding: 0; list-style: none; }
/* Footer reveal: on large screens the page slides up and uncovers the footer, which stays fixed underneath. */
@media (min-width: 1024px) and (min-height: 720px) {
	.sd-main, .sd-cta-band { position: relative; z-index: 1; background: var(--bg); }
	.sd-cta-band, .sd-main:has(+ .sd-footer) { box-shadow: 0 24px 48px -24px rgba(11, 20, 40, .35); }
	.sd-footer { position: sticky; bottom: 0; z-index: 0; }
}
.sd-footer__col ul { display: grid; gap: 4px; }
.sd-footer__col a, .sd-footer__muted { display: inline-flex; align-items: center; gap: 10px; padding-block: 4px; color: rgba(242, 244, 247, .86); font-size: 15px; line-height: 1.4; transition: color .25s; }
.sd-footer__col a:hover { color: var(--cobalt-300); }
.sd-footer__col .sd-icon { --s: 16px; color: var(--slate-500); }
.sd-footer__muted { color: var(--slate-400); }
.sd-footer__base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 24px; color: var(--slate-400); font-size: 14px; }
.sd-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.sd-footer__legal a { display: inline-block; padding-block: 4px; transition: color .25s; }
.sd-footer__legal a:hover { color: #fff; }

/* ---------- Header dropdowns: solid, calm panels that follow the colour theme ---------- */
.sd-dd { color: var(--fg); text-align: left; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px rgba(11, 13, 18, .07), 0 28px 64px -28px rgba(11, 20, 40, .32), 0 6px 16px -8px rgba(11, 13, 18, .1); transform: translate3d(var(--dd-x, 0), 8px, 0); transform-origin: 50% 0; transition: opacity .22s var(--ease-out), transform .4s var(--ease-out), visibility 0s linear .4s; }
.sd-dd::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: var(--dd-gap); }
.sd-nav__item.is-open > .sd-dd, html:not(.js) .sd-nav__item:hover > .sd-dd, html:not(.js) .sd-nav__item:focus-within > .sd-dd { visibility: visible; opacity: 1; pointer-events: auto; transform: translate3d(var(--dd-x, 0), 0, 0); transition: opacity .28s var(--ease-out), transform .5s var(--ease-out), visibility 0s; }
.sd-dd--list { left: 50%; --dd-x: -50%; width: 280px; padding: 8px; border-radius: 20px; }
.sd-dd__label { padding: 10px 12px 6px; font-size: 10.5px; color: var(--muted); }
.sd-dd__list { display: grid; gap: 1px; margin: 0; padding: 0; list-style: none; }
.sd-dd__list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 12px; font-size: 15px; line-height: 1.3; color: var(--fg); transition: background-color .25s, color .25s; }
.sd-dd__list a:hover { background: rgba(11, 13, 18, .05); color: var(--accent-ink); }
.sd-dd--custom { width: 300px; }
.sd-dd__item { display: grid; gap: 2px; min-width: 0; }
.sd-dd__sub { font-size: 13px; line-height: 1.35; color: var(--muted); }
.sd-dd__list a > .sd-icon { --s: 14px; flex: none; opacity: 0; transform: translateX(-4px); transition: opacity .25s, transform .35s var(--ease-out); }
.sd-dd__list a:hover > .sd-icon { opacity: 1; transform: none; }
.sd-dd__count { display: inline-grid; place-items: center; min-width: 26px; height: 22px; padding: 0 7px; border-radius: 999px; font-size: 10.5px; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.sd-dd__all { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; padding: 12px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--fg); transition: color .25s; }
.sd-dd__all .sd-icon { --s: 16px; transition: transform .35s var(--ease-out); }
.sd-dd__all:hover { color: var(--accent-ink); }
.sd-dd__all:hover .sd-icon { transform: translateX(3px); }
/* Services mega menu: four columns of services with an icon and one short line each, and a quiet help bar */
.sd-dd--mega { left: 50%; --dd-x: -50%; width: min(1040px, calc(100vw - var(--gutter) * 2)); overflow: hidden; }
.sd-dd__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 22px 18px 16px; }
.sd-dd__col { display: grid; align-content: start; gap: 4px; min-width: 0; }
.sd-dd__col + .sd-dd__col { position: relative; }
.sd-dd__col + .sd-dd__col::before { content: ""; position: absolute; left: -4px; top: 2px; bottom: 6px; width: 1px; background: rgba(11, 13, 18, .06); }
.sd-dd__cat { justify-self: start; margin: 0 12px 6px; font-size: 10.5px; font-weight: 500; letter-spacing: .09em; color: var(--faint); transition: color .2s; }
.sd-dd__cat:hover { color: var(--accent-ink); }
.sd-dd__svcs { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.sd-dd__svc { display: flex; align-items: center; gap: 12px; padding: 9px 12px 9px 10px; border-radius: 12px; transition: background-color .2s; }
.sd-dd__svc:hover, .sd-dd__svc:focus-visible { background: #F3F5F9; }
.sd-dd__ico { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: #F1F4FA; color: var(--cobalt-600); --sd-icon-accent: var(--cobalt-600); box-shadow: inset 0 0 0 1px rgba(47, 91, 255, .1); transition: background-color .2s, color .2s, box-shadow .2s; }
.sd-dd__svc:hover .sd-dd__ico, .sd-dd__svc:focus-visible .sd-dd__ico { background: var(--cobalt-600); color: #fff; --sd-icon-accent: #fff; box-shadow: 0 6px 14px -6px rgba(47, 91, 255, .6); }
.sd-dd__svc-text { display: grid; gap: 1px; min-width: 0; }
.sd-dd__svc-name { font-size: 14.5px; font-weight: 550; line-height: 1.3; letter-spacing: -.012em; color: var(--fg); }
.sd-dd__svc-tag { overflow: hidden; font-size: 12.5px; line-height: 1.35; color: var(--muted); white-space: nowrap; text-overflow: ellipsis; }
.sd-dd__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding: 14px 30px; border-top: 1px solid rgba(11, 13, 18, .06); background: #F7F9FC; }
.sd-dd__help { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 14px; line-height: 1.4; color: var(--muted); }
.sd-dd__help > .sd-icon { --s: 16px; flex: none; color: var(--accent); }
.sd-dd__help a { color: var(--fg); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(11, 13, 18, .2); text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
.sd-dd__help a:hover { color: var(--accent-ink); text-decoration-color: currentColor; }
.sd-dd__bar-links { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.sd-dd__local { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 14px; transition: color .2s; }
.sd-dd__local:hover { color: var(--accent-ink); }
.sd-dd__local .sd-icon { --s: 15px; }
.sd-dd__every { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--fg); transition: color .2s; }
.sd-dd__every .sd-icon { --s: 16px; transition: transform .3s var(--ease-out); }
.sd-dd__every:hover { color: var(--accent-ink); }
.sd-dd__every:hover .sd-icon { transform: translateX(3px); }
html.js .sd-dd__col, html.js .sd-dd__list li { opacity: 0; transform: translate3d(0, 4px, 0); transition: opacity .3s var(--ease-out), transform .4s var(--ease-out); }
html.js .sd-nav__item.is-open .sd-dd__col, html.js .sd-nav__item.is-open .sd-dd__list li { opacity: 1; transform: none; transition-delay: calc(40ms + var(--i, 0) * 30ms); }
:root[data-theme="dark"] .sd-dd { background: #15181F; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 30px 70px -24px rgba(0, 0, 0, .85); }
:root[data-theme="dark"] .sd-dd__svc:hover, :root[data-theme="dark"] .sd-dd__svc:focus-visible, :root[data-theme="dark"] .sd-dd__list a:hover { background: rgba(255, 255, 255, .05); }
:root[data-theme="dark"] .sd-dd__ico { background: rgba(138, 168, 255, .08); color: var(--cobalt-300); --sd-icon-accent: var(--cobalt-300); box-shadow: inset 0 0 0 1px rgba(138, 168, 255, .14); }
:root[data-theme="dark"] .sd-dd__svc:hover .sd-dd__ico, :root[data-theme="dark"] .sd-dd__svc:focus-visible .sd-dd__ico { background: var(--cobalt-600); color: #fff; --sd-icon-accent: #fff; }
:root[data-theme="dark"] .sd-dd__col + .sd-dd__col::before { background: rgba(255, 255, 255, .06); }
:root[data-theme="dark"] .sd-dd__bar { border-top-color: rgba(255, 255, 255, .07); background: rgba(255, 255, 255, .025); }
:root[data-theme="dark"] .sd-dd__help a { text-decoration-color: rgba(255, 255, 255, .25); }

/* ---------- Forms ---------- */
.sd-form { display: grid; gap: 20px; }
.sd-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.sd-field { display: grid; gap: 8px; }
.sd-field label { font-size: 14px; font-weight: 600; letter-spacing: -.005em; }
.sd-field__opt { margin-left: 6px; font-family: var(--f-mono); font-size: 10.5px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.sd-field input, .sd-field select, .sd-field textarea { width: 100%; min-height: 50px; padding: 13px 16px; border: 0; border-radius: 12px; background-color: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--fg); font: 400 16px/1.4 var(--f-text); transition: box-shadow .25s, background-color .25s; -webkit-appearance: none; appearance: none; }
.sd-field textarea { min-height: 150px; resize: vertical; }
.sd-field select { padding-right: 44px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23555E6B' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.sd-field input::placeholder, .sd-field textarea::placeholder { color: var(--faint); }
.sd-field input:hover, .sd-field select:hover, .sd-field textarea:hover { box-shadow: inset 0 0 0 1px var(--faint); }
.sd-field input:focus, .sd-field select:focus, .sd-field textarea:focus { outline: 0; background-color: var(--surface); box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 4px var(--accent-soft); }
.sd-field .is-invalid, .sd-field .is-invalid:hover, .sd-field .is-invalid:focus { box-shadow: inset 0 0 0 1.5px #DC3545, 0 0 0 4px rgba(220, 53, 69, .12); }
.sd-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sd-form__captcha:empty { display: none; }
.sd-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.sd-form__note { color: var(--muted); font-size: 14px; }
.sd-form.is-checking button[type="submit"], .sd-form.is-sending button[type="submit"] { opacity: .7; pointer-events: none; }
.sd-form.is-sending button[type="submit"] .sd-btn__icon { animation: sd-pulse-op 1s ease-in-out infinite; }
@keyframes sd-pulse-op { 50% { opacity: .3; } }
.sd-form__error[hidden] { display: none; }
.sd-form-done:focus { outline: 0; }
.sd-form__error { padding: 14px 16px; border-radius: 12px; background: #FDECEC; color: #9B1C1C; font-size: 15px; }
.sd-form-done { display: grid; gap: 12px; justify-items: start; padding: clamp(24px, 3vw, 36px); border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.sd-form-done .sd-icon { color: var(--success); }
.sd-form-done p { color: var(--muted); }
.sd-field input:-webkit-autofill { -webkit-text-fill-color: var(--fg); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 0 0 100px var(--surface-2); caret-color: var(--fg); }
.sd-field input:-webkit-autofill:focus { box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 4px var(--accent-soft), inset 0 0 0 100px var(--surface-2); }
:root[data-theme="dark"] .sd-form__error { background: rgba(220, 53, 69, .16); color: #F8B4B4; }
:root[data-theme="dark"] .sd-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%239BA3AF' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }
:root[data-theme="dark"] .sd-field select option, :root[data-theme="dark"] .sd-field select optgroup { background: var(--ink-850); color: var(--chrome); }

/* ---------- Live site viewer ---------- */
.sd-lv { --lv-top: calc(var(--header-h) + 12px); position: fixed; inset: 0; z-index: 90; display: flex; align-items: stretch; justify-content: center; padding: var(--lv-top) 24px 0; }
.admin-bar .sd-lv { --lv-top: calc(var(--header-h) + 44px); }
body.sd-lv-open .sd-header { z-index: 95; }
body.sd-lv-open .sd-drawer { z-index: 96; }
.sd-lv[hidden] { display: none; }
.sd-lv__backdrop { position: absolute; inset: 0; background: rgba(10, 11, 15, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s var(--ease); }
.sd-lv.is-open .sd-lv__backdrop { opacity: 1; }
.sd-lv__panel { position: relative; display: flex; flex-direction: column; width: 100%; height: 100%; border-radius: 18px 18px 0 0; overflow: hidden; background: var(--ink-950); box-shadow: 0 30px 80px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 255, 255, .08); transform: translateY(calc(100% + 60px)); transition: transform .7s var(--ease-out), width .5s var(--ease-out); }
.sd-lv.is-open .sd-lv__panel { transform: none; }
.sd-lv__bar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 14px; height: 62px; padding: 0 14px; color: var(--chrome); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.sd-lv__close, .sd-lv__device, .sd-lv__visit { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--glass-dark-fill); color: var(--chrome); font-size: 14px; font-weight: 500; cursor: pointer; box-shadow: inset 0 0 0 1px var(--glass-dark-edge), var(--glass-dark-shine); transition: background-color .3s, color .3s, box-shadow .3s; }
.sd-lv__close:hover { background: rgba(255, 255, 255, .12); }
.sd-lv__visit { background: var(--cobalt-600); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2); }
.sd-lv__visit:hover { background: var(--cobalt-500); }
.sd-lv__address { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; max-width: 520px; height: 38px; justify-self: center; padding: 0 16px; border-radius: 999px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), var(--glass-dark-shine); color: var(--slate-300); font-family: var(--f-mono); font-size: 12px; overflow: hidden; }
.sd-lv__url { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sd-lv__lock { display: inline-flex; color: var(--live); }
.sd-lv__devices { display: inline-flex; gap: 4px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), var(--glass-dark-shine); }
.sd-lv__device { justify-content: center; width: 40px; height: 32px; padding: 0; background: transparent; box-shadow: none; color: var(--slate-300); }
.sd-lv__device[aria-pressed="true"] { background: #fff; color: var(--ink-950); }
.sd-lv__stage { flex: 1; display: flex; justify-content: center; background: #fff; overflow: hidden; }
.sd-lv__frame { position: relative; width: 100%; height: 100%; overflow: hidden; background: #fff; }
.sd-lv__frame iframe { display: block; width: 100%; height: 100%; border: 0; background: #fff; }
/* Real device widths (iPad Air 820, iPhone 390) plus the scrollbar, so the site inside sees exactly that width */
.sd-lv__panel[data-size="tablet"] { width: min(calc(820px + var(--lv-sb, 0px)), 100%); }
.sd-lv__panel[data-size="mobile"] { width: min(calc(390px + var(--lv-sb, 0px)), 100%); }
/* Only the sizes that fit the screen: phones get the phone view, tablets and unfolded foldables get tablet and phone */
@media (max-width: 1099px) { .sd-lv__device[data-lv-size="desktop"] { display: none; } }
@media (max-width: 639px) { .sd-lv__device[data-lv-size="tablet"] { display: none; } }
.sd-lv__panel[data-size="mobile"] .sd-lv__bar { grid-template-columns: auto minmax(0, 1fr) auto; }
.sd-lv__panel[data-size="mobile"] .sd-lv__visit { width: 38px; padding: 0; justify-content: center; }
.sd-lv__panel[data-size="mobile"] .sd-lv__visit span { display: none; }
.sd-lv__panel[data-size="mobile"] .sd-lv__address { display: none; }
.sd-lv__panel[data-size="mobile"] .sd-lv__devices { justify-self: center; }
.sd-lv__loading { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: var(--sage-50); color: var(--muted); font-size: 15px; transition: opacity .4s; }
.sd-lv__loading.is-done { opacity: 0; pointer-events: none; }
.sd-lv__spinner { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--cobalt-600); animation: sd-spin 1s linear infinite; }
@keyframes sd-spin { to { transform: rotate(360deg); } }

/* ---------- Back to top, reading progress, load more ---------- */
.sd-totop { position: fixed; right: calc(clamp(16px, 2.5vw, 32px) + 5px); bottom: calc(clamp(16px, 2.5vw, 32px) + 76px + env(safe-area-inset-bottom, 0px)); z-index: 45; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: rgba(15, 17, 22, .78); color: #fff; cursor: pointer; opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none; transition: opacity .4s var(--ease), transform .5s var(--ease-out), background-color .3s; box-shadow: 0 14px 30px -12px rgba(10, 11, 15, .55), inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 0 0 1px rgba(255, 255, 255, .08); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
.sd-totop.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.sd-totop:hover { background: var(--cobalt-600); }
.sd-totop .sd-icon { position: relative; z-index: 1; transition: transform .35s var(--ease-out); }
.sd-totop:hover .sd-icon { transform: translateY(-2px); }
.sd-totop__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.sd-totop__track, .sd-totop__fill { fill: none; stroke-width: 2; }
.sd-totop__track { stroke: rgba(255, 255, 255, .14); }
.sd-totop__fill { stroke: var(--sky-300); stroke-dasharray: 150.8; stroke-dashoffset: 150.8; stroke-linecap: round; }
body.sd-lock .sd-totop, body.sd-chat-open .sd-totop.is-visible { opacity: 0; pointer-events: none; transform: translateY(12px) scale(.9); }
/* Reading progress on articles: a slim bar along the bottom of the screen, split into chapters at each
   section heading. It rises in once reading starts, turns green at the end and leaves with the article. */
.sd-readbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 44; height: 4px; background: var(--line-2); background: color-mix(in srgb, var(--fg) 9%, var(--bg)); pointer-events: none; opacity: 0; transform: translate3d(0, 100%, 0); transition: opacity .45s var(--ease-out), transform .6s var(--ease-out); -webkit-clip-path: inset(-24px 0 0 0); clip-path: inset(-24px 0 0 0); }
.sd-readbar.is-on { opacity: 1; transform: none; }
.sd-readbar__fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--cobalt-700), var(--cobalt-500) 55%, var(--sky-300)); transform: translate3d(-100%, 0, 0); will-change: transform; }
.sd-readbar__fill::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 56px; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .9)); box-shadow: 0 0 18px 3px rgba(125, 211, 252, .55); }
.sd-readbar__fill::before { content: ""; position: absolute; top: 50%; right: -1px; width: 3px; height: 14px; margin-top: -9px; border-radius: 3px; background: #fff; box-shadow: 0 0 10px 2px rgba(125, 211, 252, .9), 0 0 2px rgba(255, 255, 255, 1); }
.sd-readbar.is-done .sd-readbar__fill { background: linear-gradient(90deg, #0E9F6E, #34D399 60%, #6EE7B7); }
.sd-readbar.is-done .sd-readbar__fill::after { box-shadow: 0 0 18px 3px rgba(52, 211, 153, .5); }
.sd-readbar.is-done .sd-readbar__fill::before { opacity: 0; }
.sd-readbar__ticks span { position: absolute; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: var(--bg); }
body.sd-lock .sd-readbar { opacity: 0; }
@media print { .sd-readbar { display: none; } }
.sd-loadmore { display: flex; justify-content: center; margin-top: clamp(40px, 5vw, 64px); }
.sd-loadmore__spin { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--accent); animation: sd-spin 1s linear infinite; }
.sd-loadmore__btn.is-loading .sd-loadmore__spin { display: inline-block; }
.sd-loadmore__btn.is-loading .sd-icon { display: none; }
.is-unstick { position: static !important; }
[data-parallax] img { transform: translate3d(0, var(--sd-shift, 0), 0) scale(1.08); }

/* Floating chat window */
.sd-chat { --msg: #fff; position: fixed; right: clamp(16px, 2.5vw, 32px); bottom: calc(clamp(16px, 2.5vw, 32px) + env(safe-area-inset-bottom, 0px)); z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; pointer-events: none; transition: opacity .3s, visibility .3s, transform .45s var(--ease-out); }
.sd-chat > * { pointer-events: auto; }
body.sd-lock .sd-chat { opacity: 0; visibility: hidden; }
:root[data-theme="dark"] .sd-chat { --msg: var(--ink-850); }
@keyframes sd-chat-in { from { opacity: 0; transform: translateY(18px) scale(.8); } to { opacity: 1; transform: none; } }
@keyframes sd-chat-ring { 0% { transform: scale(.92); opacity: .9; } 70%, 100% { transform: scale(1.38); opacity: 0; } }
@keyframes sd-chat-msg { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes sd-typing { 0%, 60%, 100% { transform: translateY(0); opacity: .35; } 30% { transform: translateY(-4px); opacity: 1; } }

.sd-chat__launch { position: relative; display: grid; place-items: center; width: 62px; height: 62px; padding: 0; border: 0; border-radius: 50%; background: var(--ink-900); color: var(--chrome); cursor: pointer; box-shadow: 0 18px 36px -14px rgba(11, 13, 18, .65), 0 0 0 3px rgba(248, 250, 245, .92); animation: sd-chat-in .8s var(--ease-out) 1.2s both; transition: transform .45s var(--ease-out), box-shadow .4s; }
.sd-chat__launch:hover { transform: translateY(-2px) scale(1.04); }
.sd-chat__launch::before { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid rgba(76, 114, 255, .6); animation: sd-chat-ring 3.4s var(--ease-out) 2.4s infinite; pointer-events: none; }
.sd-chat__launch-face { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: var(--ink-800); transition: transform .5s var(--ease-out), opacity .35s var(--ease-out); }
.sd-chat__launch-face { display: grid; place-items: center; background: #25D366; color: #fff; }
.sd-chat__launch-face .sd-icon { --s: 30px; width: 30px; height: 30px; }
.sd-chat__launch::before { border-color: rgba(37, 211, 102, .6); }
.sd-chat__launch-badge { position: absolute; right: -3px; bottom: -3px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #25D366; color: #fff; box-shadow: 0 0 0 2.5px rgba(248, 250, 245, .95); transition: transform .45s var(--ease-out), opacity .3s; }
.sd-chat__launch-x { position: absolute; display: grid; place-items: center; opacity: 0; transform: rotate(-90deg) scale(.5); transition: transform .5s var(--ease-out), opacity .35s var(--ease-out); }
.sd-chat.is-open .sd-chat__launch::before { animation: none; opacity: 0; }
.sd-chat.is-open .sd-chat__launch-face { transform: scale(.3); opacity: 0; }
.sd-chat.is-open .sd-chat__launch-badge { transform: scale(0); opacity: 0; }
.sd-chat.is-open .sd-chat__launch-x { opacity: 1; transform: none; }

.sd-chat__panel { display: flex; flex-direction: column; width: min(372px, calc(100vw - 32px)); max-height: min(640px, calc(100dvh - 204px)); border-radius: 24px; overflow: hidden; background: var(--bg); box-shadow: 0 40px 90px -30px rgba(11, 13, 18, .6), 0 0 0 1px rgba(11, 13, 18, .08); transform-origin: 100% 100%; opacity: 0; transform: translateY(16px) scale(.92); filter: blur(6px); transition: opacity .35s var(--ease-out), transform .55s var(--ease-out), filter .45s var(--ease-out); }
.sd-chat__panel[hidden] { display: none; }
.sd-chat.is-open .sd-chat__panel { opacity: 1; transform: none; filter: none; }
:root[data-theme="dark"] .sd-chat__panel { box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08); }

.sd-chat__head { display: flex; align-items: center; gap: 14px; padding: 18px 14px 18px 18px; color: var(--chrome); background: radial-gradient(120% 160% at 100% 0%, rgba(47, 91, 255, .45), transparent 55%), linear-gradient(135deg, var(--ink-800), var(--ink-950)); box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .06); }
.sd-chat__avatar { position: relative; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--ink-700); box-shadow: 0 0 0 2px rgba(248, 250, 245, .85); }
.sd-chat__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.sd-chat__status { position: absolute; right: -1px; bottom: -1px; width: 13px; height: 13px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 2.5px var(--ink-900); }
.sd-chat.is-away .sd-chat__status { background: var(--slate-400); }
.sd-chat__who { display: grid; gap: 3px; flex: 1; min-width: 0; }
.sd-chat__name { font-size: 18px; font-weight: 600; line-height: 1.15; letter-spacing: -.02em; }
.sd-chat__presence { font-size: 13px; line-height: 1.3; color: var(--slate-300); }
.sd-chat__close { flex: none; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--chrome); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); cursor: pointer; transition: background-color .3s, transform .5s var(--ease-out); }
.sd-chat__close:hover { background: rgba(255, 255, 255, .18); transform: rotate(90deg); }

.sd-chat__body { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px 16px 18px; overflow-y: auto; overscroll-behavior: contain; background-color: var(--bg-alt); background-image: radial-gradient(rgba(11, 13, 18, .08) 1px, transparent 1.3px); background-size: 16px 16px; }
:root[data-theme="dark"] .sd-chat__body { background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1.3px); }
.sd-chat__day { align-self: center; margin-bottom: 4px; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 10px; }
.sd-chat__msg { position: relative; max-width: 86%; padding: 10px 14px; border-radius: 16px; border-top-left-radius: 4px; background: var(--msg); color: var(--fg); box-shadow: 0 1px 1px rgba(11, 13, 18, .06), 0 8px 18px -12px rgba(11, 13, 18, .35); font-size: 15px; line-height: 1.5; animation: sd-chat-msg .45s var(--ease-out) both; transform-origin: 0 0; }
.sd-chat__msg[hidden] { display: none; }
.sd-chat__day + .sd-chat__msg::before { content: ""; position: absolute; top: 0; left: -7px; border-right: 8px solid var(--msg); border-bottom: 10px solid transparent; }
.sd-chat__msg p + p { margin-top: 6px; }
.sd-chat__meta { display: flex; align-items: center; justify-content: flex-end; gap: 4px; margin-top: 2px; font-size: 11px; color: var(--muted); }
.sd-chat__meta .sd-icon { color: #4FB6EC; }
.sd-chat__msg--out { align-self: flex-end; border-top-left-radius: 16px; border-top-right-radius: 4px; background: #DCE6FF; color: var(--fg); transform-origin: 100% 0; }
:root[data-theme="dark"] .sd-chat__msg--out { background: #1E3A8A; color: var(--chrome); }
.sd-chat__typing { display: none; align-items: center; gap: 4px; padding: 13px 14px; border-radius: 16px; border-top-left-radius: 4px; background: var(--msg); box-shadow: 0 1px 1px rgba(11, 13, 18, .06); }
.sd-chat__typing.is-on { display: inline-flex; animation: sd-chat-msg .3s var(--ease-out) both; }
.sd-chat__typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: sd-typing 1.1s ease-in-out infinite; }
.sd-chat__typing i:nth-child(2) { animation-delay: .15s; }
.sd-chat__typing i:nth-child(3) { animation-delay: .3s; }
.sd-chat__quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.sd-chat__quick[hidden] { display: none; }
.sd-chat__chip { padding: 8px 13px; border-radius: 999px; background: var(--surface-2); color: var(--accent); font-size: 13.5px; line-height: 1.25; box-shadow: inset 0 0 0 1px rgba(47, 91, 255, .28); animation: sd-chat-msg .45s var(--ease-out) both; transition: background-color .3s, color .3s, box-shadow .3s; }
.sd-chat__chip:nth-child(2) { animation-delay: .08s; }
.sd-chat__chip:nth-child(3) { animation-delay: .16s; }
.sd-chat__chip:hover { background: var(--cobalt-600); color: var(--chrome); box-shadow: none; }
:root[data-theme="dark"] .sd-chat__chip { box-shadow: inset 0 0 0 1px rgba(138, 168, 255, .35); }
:root[data-theme="dark"] .sd-chat__chip:hover { background: var(--cobalt-500); color: var(--ink-950); }

.sd-chat__compose { display: flex; align-items: center; gap: 8px; padding: 12px 12px 10px; background: var(--bg); box-shadow: inset 0 1px 0 var(--line); }
.sd-chat__compose input { flex: 1; min-width: 0; height: 46px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--bg-alt); color: var(--fg); font: 400 16px/1 var(--f-text); box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .3s; }
.sd-chat__compose input::placeholder { color: var(--muted); }
.sd-chat__compose input:focus { outline: 0; box-shadow: inset 0 0 0 1.5px var(--accent); }
.sd-chat__compose.is-empty input { animation: sd-shake .4s ease; }
@keyframes sd-shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.sd-chat__send { flex: none; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: var(--cobalt-600); color: var(--chrome); cursor: pointer; box-shadow: 0 10px 20px -10px rgba(47, 91, 255, .8); transition: transform .35s var(--ease-out), background-color .3s; }
.sd-chat__send:hover { transform: scale(1.07); }
.sd-chat__send .sd-icon { transform: translate(-1px, 1px); }
:root[data-theme="dark"] .sd-chat__send { background: var(--cobalt-500); color: var(--ink-950); }
.sd-chat__alt { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 2px 12px 14px; background: var(--bg); }
.sd-chat__alt .sd-mono { margin-right: 4px; font-size: 10px; color: var(--muted); }
.sd-chat__alt { flex-wrap: wrap; row-gap: 6px; }
.sd-chat__chan { position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); transition: color .3s, box-shadow .3s, transform .4s var(--ease-out); }
.sd-chat__tip { position: absolute; left: 50%; bottom: calc(100% + 8px); padding: 5px 9px; border-radius: 8px; background: var(--ink-950); color: #fff; font-size: 11.5px; line-height: 1.2; white-space: nowrap; opacity: 0; transform: translate(-50%, 4px); pointer-events: none; transition: opacity .25s, transform .3s var(--ease-out); }
.sd-chat__chan:hover .sd-chat__tip, .sd-chat__chan:focus-visible .sd-chat__tip { opacity: 1; transform: translate(-50%, 0); }
.sd-chat__chan:hover { color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); transform: translateY(-2px); }

.sd-chat__nudge { position: relative; max-width: 270px; margin: 0; padding: 12px 36px 12px 16px; border-radius: 16px; border-bottom-right-radius: 4px; background: rgba(248, 250, 245, .94); color: var(--fg); font-size: 14px; line-height: 1.4; box-shadow: 0 20px 40px -20px rgba(11, 13, 18, .55), inset 0 0 0 1px rgba(255, 255, 255, .6); -webkit-backdrop-filter: var(--glass-blur-lg); backdrop-filter: var(--glass-blur-lg); animation: sd-chat-in .6s var(--ease-out) both; }
.sd-chat__nudge[hidden] { display: none; }
:root[data-theme="dark"] .sd-chat__nudge { background: rgba(18, 20, 26, .9); color: var(--chrome); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .1); }
.sd-chat__nudge-open { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.sd-chat__nudge-open strong { font-weight: 600; color: var(--accent); }
.sd-chat__nudge-x { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.sd-chat__nudge-x:hover { color: var(--fg); background: var(--surface-2); }
@media (max-width: 600px) {
	/* Phones: the launcher sits in from the edge where a thumb reaches it; back to top sits centred above it.
	   On the first screen the script lifts the launcher above the hero badges so it never covers them. */
	.sd-chat { right: 18px; bottom: calc(28px + env(safe-area-inset-bottom, 0px)); gap: 12px; }
	.sd-chat__launch { width: 58px; height: 58px; }
	.sd-chat__launch-badge { right: -3px; bottom: -3px; width: 22px; height: 22px; }
	.sd-chat__launch-badge .sd-icon { --s: 13px; width: 13px; height: 13px; }
	.sd-chat__panel { width: calc(100vw - 36px); max-height: calc(100dvh - 190px - var(--chat-lift, 0px)); border-radius: 20px; }
	.sd-chat__nudge { display: none; }
	.sd-chat__alt { gap: 6px; }
	.sd-chat__chan { width: 34px; height: 34px; }
	.sd-totop { right: 28px; bottom: calc(98px + env(safe-area-inset-bottom, 0px)); width: 38px; height: 38px; }
	.sd-totop .sd-icon { --s: 16px; width: 16px; height: 16px; }
}
/* Lifted clear of content it would cover, see main.js */
.sd-chat.is-lifted { transform: translate3d(0, calc(var(--chat-lift, 0px) * -1), 0); transition: opacity .3s, visibility .3s, transform .12s linear; }
.sd-chat.is-hop { opacity: 0; transition: opacity .16s; }
/* Touch screens: back to top steps aside while reading down the page and comes back on the way up. */
@media (max-width: 820px) {
	body.sd-scroll-down .sd-totop.is-visible { opacity: 0; pointer-events: none; transform: translateY(24px) scale(.9); }
}
@media (prefers-reduced-motion: reduce) {
	.sd-chat__launch, .sd-chat__launch::before, .sd-chat__msg, .sd-chat__chip, .sd-chat__typing.is-on, .sd-chat__nudge { animation: none; }
	.sd-chat__panel { transition: opacity .2s; transform: none; filter: none; }
}

/* Share buttons */
.sd-share { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding: 16px 16px 16px 22px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, .6); }
.sd-share__label { margin-right: auto; color: var(--muted); }
.sd-share__list { display: flex; flex-wrap: wrap; gap: 8px; }
.sd-share__btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--surface); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, .6); cursor: pointer; transition: color .3s, background-color .3s, box-shadow .3s, transform .4s var(--ease-out); }
.sd-share__btn[hidden] { display: none; }
.sd-share__btn:hover, .sd-share__btn:focus-visible { transform: translateY(-2px); color: #fff; background: var(--ink-950); box-shadow: 0 10px 20px -12px rgba(11, 13, 18, .6); }
:root[data-theme="dark"] .sd-share__btn:hover { color: var(--ink-950); }
.sd-share__btn[data-share-net="x"]:hover { background: #111; color: #fff; }
.sd-share__btn[data-share-net="linkedin"]:hover { background: #0A66C2; color: #fff; }
.sd-share__btn[data-share-net="facebook"]:hover { background: #1877F2; color: #fff; }
.sd-share__btn[data-share-net="whatsapp"]:hover { background: #25D366; color: #fff; }
.sd-share__btn[data-share-copy]:hover, .sd-share__btn[data-share-native]:hover, .sd-share__btn.is-copied { background: var(--accent); color: #fff; }
:root:not([data-theme="dark"]) .sd-share__btn[data-share-copy]:hover, :root:not([data-theme="dark"]) .sd-share__btn[data-share-native]:hover, :root:not([data-theme="dark"]) .sd-share__btn.is-copied { color: #fff; }
.sd-share__tip { position: absolute; left: 50%; bottom: calc(100% + 10px); padding: 6px 10px; border-radius: 8px; background: var(--ink-950); color: #fff; font-size: 12px; line-height: 1.2; white-space: nowrap; opacity: 0; transform: translate(-50%, 4px); pointer-events: none; transition: opacity .25s, transform .3s var(--ease-out); }
.sd-share__btn:hover .sd-share__tip, .sd-share__btn:focus-visible .sd-share__tip, .sd-share__btn.is-copied .sd-share__tip { opacity: 1; transform: translate(-50%, 0); }
.sd-pf-share { max-width: calc(780px + var(--gutter) * 2); margin-top: clamp(40px, 5vw, 64px); }
@media (max-width: 400px) {
	.sd-share { padding: 16px; }
	.sd-share__btn { width: 40px; height: 40px; }
	.sd-share__list { gap: 6px; }
}
:root[data-theme="dark"] .sd-totop { background: rgba(26, 29, 36, .78); }
@media (max-width: 400px) {
	.sd-chat__alt .sd-mono { flex-basis: 100%; margin: 0; text-align: center; }
}


/* ---------- Home and shared: responsive ---------- */
@media (max-width: 1280px) {
	.sd-dd__cols { padding-inline: 12px; }
	.sd-dd__svc { gap: 10px; padding-inline: 8px; }
}
@media (max-width: 1080px) {
	.sd-stack__card { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
	.sd-stack__list { grid-template-columns: 1fr; }
	.sd-pf-grid, .sd-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sd-footer__cols { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr) minmax(250px, 1.2fr); }
	.sd-footer__brand { grid-column: 1 / -1; }
	.sd-split { grid-template-columns: 1fr; }
	.sd-split__side { position: static; }
}
@media (max-width: 820px) {
	.sd-head { grid-template-columns: 1fr; }
	.sd-platforms__inner { flex-direction: column; align-items: stretch; gap: 16px; }
	.sd-platforms__label { text-align: center; }
	.sd-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sd-stat:nth-child(3) { padding-left: 0; border-left: 0; }
	.sd-stat:nth-child(n + 3) { border-top: 1px solid var(--line); margin-top: 24px; }
	.sd-statement__grid { grid-template-columns: 1fr; }
	.sd-statement .sd-stat:nth-child(3) { padding-left: clamp(18px, 2.2vw, 32px); }
	.sd-statement .sd-stat:nth-child(n + 3) { margin-top: 0; }
	.sd-stack__card { grid-template-columns: 1fr; min-height: 0; top: calc(var(--header-h) + 16px + var(--i, 0) * 10px); }
	.sd-stack__media { width: 100%; min-width: 0; min-height: 0; aspect-ratio: 16 / 9; order: -1; }
	.sd-stack__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sd-pcard { width: auto; min-height: 0; }
	.sd-pcard__num { font-size: 52px; }
	.sd-review { width: 300px; }
	.sd-cta-card { min-height: 0; }
	.sd-cta-card__bg::after { top: auto; bottom: -300px; right: -220px; margin-top: 0; opacity: .7; }
	.sd-lv { padding: var(--lv-top) 10px 0; }
	.sd-lv__panel { border-radius: 16px 16px 0 0; }
	.sd-lv__bar { grid-template-columns: auto 1fr auto; gap: 8px; height: auto; padding: 10px; }
	.sd-lv__address { display: none; }
	.sd-lv__devices { justify-self: center; }
	.sd-lv__visit span { display: none; }
	.sd-lv__panel[data-size] { width: 100%; }
}
@media (max-width: 782px) {
	.admin-bar .sd-lv { --lv-top: calc(var(--header-h) + 58px); }
}
@media (max-width: 600px) {
	/* Phones: a compact card that still fits the screen, so the cards keep stacking */
	.sd-stack { gap: 16px; }
	.sd-stack__card { gap: 16px; padding: 14px 14px 20px; border-radius: 22px; top: calc(var(--header-h) + 12px + var(--i, 0) * 10px); }
	.sd-stack__media { aspect-ratio: 2 / 1; border-radius: 14px; }
	.sd-stack__text { gap: 12px; padding: 0 6px; }
	.sd-stack__list { grid-template-columns: 1fr; gap: 6px; margin-top: 2px; }
	.sd-stack__list a { padding: 10px 12px; font-size: 15px; }
	.sd-stack__title { gap: 12px; font-size: 24px; }
	.sd-stack__title .sd-itile { width: 38px; height: 38px; }
	.sd-stack__intro { color: var(--slate-300); font-size: 15.5px; }
	.sd-stack__btn { margin-top: 4px; }
	.sd-pf-grid, .sd-post-grid { grid-template-columns: 1fr; }
	.sd-footer__cols { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
	.sd-footer__col:last-child { grid-column: 1 / -1; }
	.sd-footer__base { flex-direction: column; align-items: flex-start; }
	.sd-form__row { grid-template-columns: 1fr; }
	.sd-cta-card__row .sd-btn { width: 100%; justify-content: space-between; }
	.sd-faq__q { padding: 17px 16px 17px 18px; font-size: 16px; }
	.sd-faq__a { padding: 0 18px 18px; }
}
@media (max-width: 400px) {
	.sd-stat { padding-right: 12px; }
	.sd-stat + .sd-stat { padding-left: 16px; }
	.sd-stat:nth-child(3) { padding-left: 0; }
	.sd-statement .sd-stat, .sd-statement .sd-stat + .sd-stat, .sd-statement .sd-stat:nth-child(3), .sd-stats--card .sd-stat, .sd-stats--card .sd-stat + .sd-stat, .sd-stats--card .sd-stat:nth-child(3) { padding: 22px 16px; }
	.sd-stats--card .sd-stat__value { font-size: 36px; }
	.sd-statement .sd-stat__value { font-size: 36px; }
	.sd-footer__cols { grid-template-columns: max-content 1fr; gap: 40px; }
	.sd-footer__col a { white-space: nowrap; }
	.sd-footer__brand, .sd-footer__col:last-child { grid-column: 1 / -1; }
	.sd-review { width: 270px; }
	.sd-pf-card__info, .sd-post-card__body { padding-inline: 18px; }
}
@media (prefers-reduced-motion: reduce) {
	.sd-logos__track, .sd-marquee__track, .sd-marquee__track.is-looping, .sd-cta-card::before, [data-float], .sd-chip-float--a, .sd-chip-float--b { animation: none; }
	.sd-stack__card { transform: none; }
	.sd-stack__card::after { opacity: 0; }
	html.js .sd-lit__w { color: var(--fg); }
	html.js .sd-lit__w--em { color: transparent; }
	.sd-dd, .sd-nav__item.is-open > .sd-dd { transform: translate3d(var(--dd-x, 0), 0, 0); transition: opacity .15s, visibility 0s; }
	html.js .sd-dd__col, html.js .sd-dd__list li { opacity: 1; transform: none; transition: none; }
}

/* ---------- Page heroes ---------- */
.sd-page-hero .sd-crumbs { margin-bottom: 4px; }
.sd-strip--page { margin-top: clamp(32px, 4vw, 48px); }
.sd-strip--page .sd-strip__go .sd-icon { transform: rotate(90deg); }

/* ---------- Services page ---------- */
.sd-svc-tabs { position: sticky; top: calc(var(--header-h) + 26px); z-index: 40; margin-top: -26px; pointer-events: none; }
.sd-svc-tabs__list { display: flex; gap: 4px; width: fit-content; max-width: 100%; margin: 0 auto; padding: 5px; border-radius: var(--r-pill); background: rgba(248, 250, 245, .82); box-shadow: inset 0 0 0 1px rgba(11, 13, 18, .07), inset 0 1px 0 rgba(255, 255, 255, .8), 0 14px 34px -18px rgba(11, 20, 40, .35); overflow-x: auto; scrollbar-width: none; pointer-events: auto; -webkit-backdrop-filter: var(--glass-blur-lg); backdrop-filter: var(--glass-blur-lg); }
.sd-svc-tabs__list::-webkit-scrollbar { display: none; }
.sd-svc-tabs__list a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: var(--r-pill); color: var(--muted); font-size: 14.5px; font-weight: 500; white-space: nowrap; transition: background-color .3s, color .3s; }
.sd-svc-tabs__list a .sd-mono { font-size: 10.5px; color: var(--accent); }
.sd-svc-tabs__list a:hover { color: var(--fg); }
.sd-svc-tabs__list a.is-active { background: var(--ink-950); color: #fff; }
.sd-svc-tabs__list a.is-active .sd-mono { color: var(--sky-300); }
:root[data-theme="dark"] .sd-svc-tabs__list { background: rgba(18, 20, 26, .82); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 14px 34px -18px rgba(0, 0, 0, .8); }
:root[data-theme="dark"] .sd-svc-tabs__list a.is-active { background: #fff; color: var(--ink-950); }
:root[data-theme="dark"] .sd-svc-tabs__list a.is-active .sd-mono { color: var(--cobalt-600); }
.sd-cat { scroll-margin-top: 90px; }
.sd-cat:first-of-type { padding-top: calc(var(--section) - 10px); }
.sd-cat__intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; margin-bottom: clamp(36px, 4.5vw, 56px); }
.sd-cat__text .sd-label { margin-bottom: 18px; }
.sd-cat__title { max-width: 10.25em; margin-bottom: 16px; }
.sd-cat__for { display: grid; gap: 4px; max-width: 30.5em; margin-top: 24px; padding-left: 16px; border-left: 2px solid var(--accent); color: var(--fg-2); font-size: 15.5px; line-height: 1.5; }
.sd-cat__for .sd-mono { color: var(--accent-ink); font-size: 10.5px; }
.sd-cat__media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--ink-800); box-shadow: var(--card-shadow-lg); }
.sd-cat__media img { width: 100%; height: 100%; object-fit: cover; }
.sd-cat__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 11, 15, .45), transparent 45%), linear-gradient(135deg, rgba(47, 91, 255, .18), transparent 55%); pointer-events: none; }
.sd-cat__badge { position: absolute; left: 16px; bottom: 16px; z-index: 1; display: flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border-radius: 16px; background: rgba(255, 255, 255, .72); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), 0 16px 30px -18px rgba(11, 13, 18, .5); color: var(--ink-950); font-size: 14.5px; -webkit-backdrop-filter: var(--glass-blur-lg); backdrop-filter: var(--glass-blur-lg); }
.sd-cat__badge .sd-itile { width: 38px; height: 38px; border-radius: 11px; }
.sd-cat__badge b { font-weight: 650; }
.sd-svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sd-svc-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sd-svc-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--card-shadow); scroll-margin-top: 150px; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.sd-svc-card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(47, 91, 255, .35), var(--card-shadow-lg); }
.sd-svc-card:target { box-shadow: inset 0 0 0 1.5px var(--accent), var(--card-shadow-lg); }
.sd-svc-card__title { margin-top: 6px; font-size: 19px; font-weight: 600; line-height: 1.25; letter-spacing: -.022em; }
.sd-svc-card__desc { color: var(--muted); font-size: 15px; line-height: 1.55; }
.sd-checks { display: grid; gap: 8px; margin: 2px 0 6px; padding: 14px 0 0; border-top: 1px solid var(--line); }
.sd-checks li { display: flex; align-items: flex-start; gap: 10px; color: var(--fg-2); font-size: 14.5px; line-height: 1.4; }
.sd-checks .sd-icon { flex: none; --s: 14px; margin-top: 3px; color: var(--success); }
.sd-svc-card__cta { margin-top: auto; align-self: flex-start; }
.sd-review-trio .sd-review { width: auto; height: 100%; }
/* Services hub: start from the problem, land on the service page that fixes it */
.sd-choose__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.sd-choose__grid > li { display: flex; }
.sd-choose__card { position: relative; display: flex; align-items: center; gap: 16px; width: 100%; padding: 18px 48px 18px 18px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--card-shadow); color: var(--fg); transition: transform .5s var(--ease-out), box-shadow .3s; }
.sd-choose__card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(47, 91, 255, .35), var(--card-shadow-lg); }
.sd-choose__text { display: grid; gap: 6px; min-width: 0; }
.sd-choose__q { font-size: 16.5px; font-weight: 600; line-height: 1.3; letter-spacing: -.018em; }
.sd-choose__svc { color: var(--accent-ink); font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.sd-choose__go { position: absolute; top: 50%; right: 18px; display: flex; transform: translateY(-50%); color: var(--muted); transition: color .25s, transform .35s var(--ease-out); }
.sd-choose__card:hover .sd-choose__go { color: var(--accent-ink); transform: translate(3px, -50%); }
.sd-hub-faq__group + .sd-hub-faq__group { margin-top: 36px; }
.sd-hub-faq__title { margin: 0 0 14px; color: var(--accent-ink); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- About ---------- */
.sd-about-hero { padding-bottom: clamp(40px, 5vw, 72px); }
.sd-about-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); align-items: end; }
.sd-about-hero__copy { padding-bottom: clamp(48px, 6vw, 88px); }
.sd-about-hero__visual { height: clamp(380px, 40vw, 540px); }
.sd-story__intro { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 24px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(36px, 4.5vw, 64px); }
.sd-story__head .sd-label { margin-bottom: 18px; }
.sd-story__head .sd-h2 { max-width: 9.56em; margin: 0; }
.sd-story__text .sd-lead { margin: 0; }
.sd-story__more { max-width: 34.48em; margin: 16px 0 0; color: var(--muted); }
/* A wide photo across the content column, with the numbers on a card resting over its lower edge */
.sd-story__photo { position: relative; margin: 0; aspect-ratio: 1098 / 470; border-radius: var(--r-lg); overflow: hidden; background: var(--ink-800); box-shadow: var(--card-shadow-lg); }
.sd-story__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 11, 15, .38), transparent 42%); pointer-events: none; }
.sd-story__photo .sd-story__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.sd-story__chip { position: absolute; left: 20px; top: 20px; z-index: 1; display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: var(--r-pill); background: rgba(10, 11, 15, .5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), var(--glass-dark-shine); color: #fff; font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
.sd-stats--card { border-top: 0; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--card-shadow-lg); }
.sd-stats--card .sd-stat, .sd-stats--card .sd-stat + .sd-stat { padding: clamp(22px, 2.6vw, 34px) clamp(18px, 2.2vw, 32px); }
.sd-story__stats { position: relative; z-index: 1; margin: calc(clamp(44px, 5vw, 72px) * -1) clamp(16px, 4vw, 56px) 0; }
/* Experience: a short timeline, newest first, each role with the results it produced */
.sd-exp__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 36px clamp(32px, 6vw, 96px); align-items: start; }
.sd-exp__head { position: sticky; top: calc(var(--header-h) + 40px); }
.sd-exp__head .sd-label { margin-bottom: 18px; }
.sd-exp__head .sd-h2 { max-width: 9em; margin: 0 0 18px; }
.sd-exp__sub { max-width: 26em; margin: 0; color: var(--muted); font-size: clamp(16px, 1.2vw, 17.5px); line-height: 1.6; }
.sd-exp__list { position: relative; display: grid; gap: 22px; margin: 0; padding: 0 0 0 32px; list-style: none; }
.sd-exp__list::before { content: ""; position: absolute; left: 7px; top: 12px; bottom: 12px; width: 2px; border-radius: 2px; background: linear-gradient(var(--accent), var(--line) 75%); }
.sd-exp__item { position: relative; }
.sd-exp__item::before { content: ""; position: absolute; left: -32px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg-alt); box-shadow: inset 0 0 0 4px var(--accent); }
.sd-exp__item:first-child::before { background: var(--accent); box-shadow: 0 0 0 5px rgba(47, 91, 255, .16); }
.sd-exp__when { margin: 0 0 10px; font-size: 11.5px; line-height: 24px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.sd-exp__card { padding: clamp(20px, 2.4vw, 28px); border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--card-shadow); }
.sd-exp__role { margin: 0 0 6px; font-size: clamp(19px, 1.6vw, 22px); font-weight: 600; line-height: 1.25; letter-spacing: -.02em; }
.sd-exp__org { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; margin: 0 0 18px; color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.sd-exp__org b { color: var(--fg); font-weight: 600; }
.sd-exp__wins { display: grid; gap: 12px; margin: 0; padding: 16px 0 0; list-style: none; border-top: 1px solid var(--line); }
.sd-exp__wins li { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: baseline; color: var(--fg-2); font-size: 15px; line-height: 1.5; }
.sd-exp__wins b { color: var(--accent); font-size: 19px; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 820px) {
	.sd-exp__grid { grid-template-columns: 1fr; }
	.sd-exp__head { position: static; }
}
@media (max-width: 480px) {
	.sd-exp__list { padding-left: 26px; }
	.sd-exp__list::before { left: 6px; }
	.sd-exp__item::before { left: -26px; width: 14px; height: 14px; }
	.sd-exp__wins li { grid-template-columns: 1fr; gap: 2px; }
}
.sd-habits { position: relative; isolation: isolate; overflow: hidden; }
.sd-habits__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.sd-habits__list .sd-pcard { width: auto; min-height: 250px; }
.sd-toolkit { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: clamp(40px, 5vw, 64px); padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1); }
.sd-toolkit__label { color: var(--slate-400); font-size: 11px; }
.sd-toolkit__list { display: flex; flex-wrap: wrap; gap: 8px; }
.sd-review-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

/* ---------- Contact ---------- */
.sd-contact__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.sd-contact__form { padding: clamp(24px, 3.5vw, 44px); border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--card-shadow-lg); }
.sd-contact__formhead { display: grid; gap: 10px; margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.sd-contact__who { display: flex; align-items: center; gap: 12px; margin-top: 4px; color: var(--muted); font-size: 15px; line-height: 1.4; }
.sd-contact__avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: linear-gradient(160deg, var(--cobalt-300), var(--cobalt-600)); box-shadow: 0 0 0 3px var(--surface), 0 0 0 4px var(--line); }
.sd-contact__avatar img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transform: scale(2.3); transform-origin: 50% 5%; }
.sd-contact__aside { position: sticky; top: calc(var(--header-h) + 36px); display: grid; gap: 16px; }
.sd-contact__card { border-radius: var(--r-lg); overflow: hidden; background: radial-gradient(80% 60% at 100% 0%, rgba(47, 91, 255, .3), transparent 70%), var(--ink-950); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), var(--card-shadow-lg); }
/* Card head: who you will talk to. The portrait stands on the divider, the text sits beside it. */
.sd-contact__head { position: relative; isolation: isolate; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; min-height: 212px; padding: 24px 20px 0 24px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.sd-contact__head::before { content: ""; position: absolute; right: -40px; bottom: -120px; z-index: -1; width: 300px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(47, 91, 255, .5), rgba(47, 91, 255, .12) 62%, transparent); }
.sd-contact__head-text { display: grid; align-content: space-between; gap: 14px; align-self: stretch; padding-bottom: 22px; }
.sd-contact__portrait { flex: none; align-self: flex-end; width: auto; height: 200px; margin-right: 4px; -webkit-mask-image: linear-gradient(to top, transparent 0, #000 18%); mask-image: linear-gradient(to top, transparent 0, #000 18%); }
.sd-contact__me { display: grid; gap: 2px; margin-top: auto; }
.sd-contact__me b { color: #fff; font-size: 15px; font-weight: 600; }
.sd-contact__me span { color: var(--slate-400); font-size: 13.5px; }
.sd-contact__card-body { display: grid; gap: 16px; padding: 20px 24px 24px; }
.sd-contact__status { display: inline-flex; align-items: center; gap: 10px; color: var(--slate-300); font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .04em; white-space: nowrap; }
.sd-contact__title { font-size: 24px; font-weight: 600; letter-spacing: -.03em; color: #fff; }
.sd-contact__channels { display: grid; gap: 8px; }
.sd-contact__channels a { display: flex; align-items: center; gap: 14px; padding: 10px 12px 10px 10px; border-radius: 14px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); color: var(--chrome); font-size: 15px; transition: background-color .3s, box-shadow .3s; }
.sd-contact__channels a:hover { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(138, 168, 255, .45); }
.sd-contact__channels .sd-itile { width: 40px; height: 40px; border-radius: 11px; }
.sd-contact__channels a > span:last-child { display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.sd-contact__channels small { color: var(--slate-400); font-size: 11px; }
.sd-contact__hours { color: var(--slate-400); font-size: 11px; }
.sd-contact__next { padding: 22px 24px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.sd-contact__kicker { margin-bottom: 14px; color: var(--muted); font-size: 11px; }
.sd-contact__next ol { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.sd-contact__next li { display: flex; gap: 14px; color: var(--fg-2); font-size: 15px; line-height: 1.45; }
.sd-contact__next li span { flex: none; color: var(--accent); font-family: var(--f-mono); font-size: 12px; line-height: 1.9; }

@media (max-width: 1080px) {
	.sd-svc-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sd-choose__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sd-habits__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sd-contact__grid { grid-template-columns: 1fr; }
	.sd-contact__aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
	.sd-review-trio { grid-template-columns: 1fr 1fr; }
	.sd-review-trio > :last-child { display: none; }
}
@media (max-width: 820px) {
	.sd-cat__intro, .sd-story__intro, .sd-about-hero__grid { grid-template-columns: 1fr; }
	.sd-story__photo { aspect-ratio: 4 / 3; }
	.sd-story__photo .sd-story__img { object-position: 78% 50%; }
	.sd-story__stats { margin: -40px 12px 0; }
	.sd-stats--card .sd-stat:nth-child(3) { padding-left: clamp(18px, 2.2vw, 32px); }
	.sd-stats--card .sd-stat:nth-child(n + 3) { margin-top: 0; }
	.sd-svc-grid { grid-template-columns: 1fr 1fr; }
	.sd-about-hero__copy { padding-bottom: 0; }
	.sd-about-hero__visual { width: 100%; max-width: 440px; margin: 28px auto 0; }
	.sd-contact__aside { grid-template-columns: 1fr; }
	.sd-svc-tabs { top: calc(var(--header-h) + 6px); }
}
@media (max-width: 600px) {
	.sd-svc-grid, .sd-svc-grid--4, .sd-habits__list, .sd-review-trio, .sd-choose__grid { grid-template-columns: 1fr; }
	.sd-choose__grid { gap: 10px; }
	.sd-choose__card { gap: 14px; padding: 14px 44px 14px 14px; }
	.sd-choose__card .sd-itile { width: 40px; height: 40px; border-radius: 12px; }
	.sd-choose__q { font-size: 15.5px; }
	/* On phones the hub cards stay short: each service page carries the full list */
	.sd-cat .sd-checks { display: none; }
	.sd-review-trio > :last-child { display: block; }
	.sd-svc-tabs__list { margin-inline: 0; }
	.sd-svc-tabs__list a { padding: 8px 12px; font-size: 14px; }
	.sd-contact__form { padding: 20px; border-radius: var(--r); }
}
/* Small phones: the local time runs across the top of the card, then the title and name sit beside the portrait */
@media (max-width: 480px) {
	.sd-contact__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "status status" "title photo" "me photo"; grid-template-rows: auto 1fr auto; column-gap: 6px; min-height: 0; padding: 20px 14px 0 20px; }
	.sd-contact__head-text { display: contents; }
	.sd-contact__status { grid-area: status; margin-bottom: 6px; }
	.sd-contact__title { grid-area: title; align-self: end; font-size: 22px; line-height: 1.2; }
	.sd-contact__me { grid-area: me; margin-top: 12px; padding-bottom: 20px; }
	.sd-contact__portrait { grid-area: photo; height: 176px; margin-right: 0; }
	.sd-contact__card-body { padding: 18px 20px 22px; }
}

/* ---------- Blog listing ---------- */
.sd-topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(24px, 3vw, 36px); }
.sd-topic { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), var(--glass-dark-shine); color: var(--slate-300); font-size: 14.5px; transition: background-color .3s, color .3s, box-shadow .3s; -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
.sd-topic .sd-mono { font-size: 10.5px; color: var(--slate-500); }
.sd-topic:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.sd-topic.is-active { background: #fff; color: var(--ink-950); box-shadow: none; }
.sd-topic.is-active .sd-mono { color: var(--cobalt-600); }
.sd-search { display: flex; align-items: center; gap: 10px; max-width: 520px; margin-top: 24px; padding: 6px 6px 6px 18px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), var(--glass-dark-shine); color: var(--slate-300); }
.sd-search input { flex: 1; min-width: 0; height: 44px; border: 0; background: none; color: #fff; font: 400 16px/1 var(--f-text); }
.sd-search input:focus { outline: 0; }
.sd-search input::placeholder { color: var(--slate-400); }
.sd-search button { height: 44px; padding: 0 20px; border: 0; border-radius: var(--r-pill); background: #fff; color: var(--ink-950); font-weight: 500; cursor: pointer; transition: background-color .3s, color .3s; }
.sd-search button:hover { background: var(--cobalt-600); color: #fff; }
.sd-empty .sd-search { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--muted); }
.sd-empty .sd-search input { color: var(--fg); }
.sd-empty { display: grid; justify-items: center; gap: 14px; max-width: 520px; margin: 0 auto; padding: clamp(32px, 5vw, 56px); border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-align: center; }
.sd-empty p { color: var(--muted); }

/* ---------- Single article ---------- */
.sd-article__hero { padding: calc(var(--header-h) + clamp(44px, 5vw, 72px)) 0 clamp(44px, 5vw, 64px); }
/* Title, meta and the reading layout share one width: a 760px column and a 320px sidebar, centered. */
.sd-article__head { max-width: calc(1144px + var(--gutter) * 2); }
.sd-article__title { max-width: 21em; margin-top: 22px; font-size: clamp(34px, 4.4vw, 58px); line-height: 1.06; text-wrap: pretty; }
.sd-page-hero__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 24px; color: var(--slate-400); font-size: 11.5px; }
.sd-page-hero__meta > * + *::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 14px 2px -12px; border-radius: 50%; background: var(--slate-500); vertical-align: middle; }
.sd-article__wrap { padding-block: clamp(40px, 5vw, 72px) var(--section); }
.sd-article__layout { display: grid; grid-template-columns: minmax(0, 760px) 320px; justify-content: center; gap: 64px; }
.sd-article__main { min-width: 0; }
.sd-article__aside { display: flex; flex-direction: column; gap: 16px; }
.sd-article__figure { margin-bottom: clamp(28px, 3vw, 40px); border-radius: var(--r); overflow: hidden; background: var(--surface-2); box-shadow: var(--card-shadow); }
.sd-article__figure img { width: 100%; height: auto; }
.sd-article__sticky { position: sticky; top: calc(var(--header-h) + 28px); display: grid; gap: 16px; }

/* On this page: a reading timeline. Sections already read fill in, the current one is ringed. */
.sd-toc--side { padding: 18px 16px 12px 18px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--card-shadow); }
.sd-toc__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 2px 10px 0; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.sd-toc__title { display: inline-flex; align-items: center; gap: 8px; color: var(--fg); font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.sd-toc__title .sd-icon { --s: 16px; color: var(--accent-ink); }
.sd-toc__left { padding: 4px 9px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent-ink); font-size: 12px; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sd-toc__list { display: grid; margin: 0; padding: 0; list-style: none; }
.sd-toc--side .sd-toc__list { max-height: max(160px, calc(100svh - var(--header-h) - 560px)); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding-right: 2px; }
.sd-toc__list li { position: relative; }
.sd-toc__list li::before { content: ""; position: absolute; left: 7px; top: 0; bottom: 0; width: 2px; background: var(--line-2); }
.sd-toc__list li:first-child::before { top: 17px; }
.sd-toc__list li:last-child::before { bottom: auto; height: 17px; }
.sd-toc__list li:only-child::before { display: none; }
.sd-toc__list li.is-done::before { background: var(--cobalt-600); }
.sd-toc__list li.is-active::before { background: linear-gradient(var(--cobalt-600) 17px, var(--line-2) 17px); }
.sd-toc__list li.is-active:first-child::before { background: var(--line-2); }
.sd-toc__list a { position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 8px 6px 8px 0; color: var(--muted); font-size: 14px; font-weight: 450; line-height: 1.45; transition: color .25s; }
.sd-toc__dot { position: relative; z-index: 1; flex: none; width: 16px; height: 16px; margin-top: 1px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 2px var(--line-2); transition: background-color .3s, box-shadow .3s; }
.sd-toc__dot::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #fff; transform: scale(0); transition: transform .3s var(--ease-out); }
.sd-toc__text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sd-toc__list a:hover { color: var(--fg); }
.sd-toc__list a:hover .sd-toc__dot { box-shadow: inset 0 0 0 2px var(--cobalt-500); }
.sd-toc__list .is-done > a .sd-toc__dot { background: var(--cobalt-600); box-shadow: none; }
.sd-toc__list .is-done > a .sd-toc__dot::after { transform: scale(1); }
.sd-toc__list a.is-active { color: var(--fg); font-weight: 600; }
.sd-toc__list a.is-active .sd-toc__dot { background: var(--surface); box-shadow: inset 0 0 0 2px var(--cobalt-600), 0 0 0 4px var(--accent-soft); }
.sd-toc__list a.is-active .sd-toc__dot::after { background: var(--cobalt-600); transform: scale(1); }
.sd-toc--inline { display: none; margin-bottom: 28px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--card-shadow); }
.sd-toc--inline summary { display: flex; align-items: center; gap: 10px; padding: 16px 18px; font-weight: 600; cursor: pointer; list-style: none; }
.sd-toc--inline summary .sd-icon:first-child { color: var(--accent-ink); }
.sd-toc--inline summary::-webkit-details-marker { display: none; }
.sd-toc--inline summary .sd-icon:last-child { margin-left: auto; transition: transform .35s var(--ease-out); }
.sd-toc--inline[open] summary .sd-icon:last-child { transform: rotate(180deg); }
.sd-toc--inline nav { padding: 0 18px 14px; }
/* Topics as compact chips, so they fit in the sticky sidebar with the contents and the call to action */
.sd-cats { padding: 16px 18px 18px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--card-shadow); }
.sd-cats__title { margin-bottom: 12px; color: var(--fg); font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.sd-cats ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sd-cats a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 7px 6px 12px; border-radius: var(--r-pill); background: var(--surface-2); color: var(--fg-2); font-size: 13.5px; font-weight: 500; transition: background-color .25s, color .25s; }
.sd-cats li:last-child a { padding-right: 10px; }
.sd-cats a .sd-icon { --s: 14px; }
.sd-cats a:hover { background: var(--accent-soft); color: var(--accent-ink); }
.sd-cats .is-current a { background: var(--cobalt-600); color: #fff; }
.sd-cats__count { display: inline-grid; place-items: center; min-width: 22px; height: 20px; padding: 0 6px; border-radius: var(--r-pill); background: var(--surface); color: var(--muted); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.sd-cats .is-current .sd-cats__count { background: rgba(255, 255, 255, .22); color: #fff; }
.sd-aside-cta { display: grid; gap: 10px; justify-items: start; padding: 20px 22px 22px; border-radius: 20px; background: radial-gradient(90% 70% at 100% 0%, rgba(47, 91, 255, .45), transparent 70%), var(--ink-950); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), var(--card-shadow-lg); }
.sd-aside-cta__title { font-size: 19px; font-weight: 600; line-height: 1.25; letter-spacing: -.025em; color: #fff; }
.sd-aside-cta p:not(.sd-aside-cta__title) { color: var(--slate-400); font-size: 15px; }

.sd-article__foot { display: grid; gap: 20px; margin-top: clamp(40px, 5vw, 56px); }
.sd-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sd-tags a { display: inline-block; padding: 6px 12px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent-ink); font-size: 11px; }
.sd-author { display: flex; gap: 18px; padding: 22px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.sd-author__img { flex: none; width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.sd-author > div { display: grid; gap: 8px; justify-items: start; }
.sd-author__name { font-weight: 600; }
.sd-author p:not(.sd-author__name) { color: var(--muted); font-size: 15px; }
.sd-pager { display: flex; gap: 12px; margin-top: 32px; }
.sd-wrap--narrow .sd-prose, .sd-cs-body { max-width: 47.74em; }
.sd-article__comments { margin-top: clamp(48px, 6vw, 72px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); }
.sd-comments { display: grid; gap: 32px; }
.sd-comment-form .comment-notes { color: var(--muted); font-size: 11px; }
.sd-comment-form .form-submit { margin: 0; }
.sd-comment-form p { margin: 0; }
.comment-form .comment-subscription-form, .comment-form .comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.comment-form .comment-subscription-form label, .comment-form .comment-form-cookies-consent label { display: inline; margin: 0; font-weight: 400; }
.comment-form input[type="checkbox"] { flex: none; width: 18px !important; height: 18px; margin: 1px 0 0; accent-color: var(--cobalt-600); }
.sd-comment-list, .sd-comment-list .children { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.sd-comment-list .children { margin-top: 16px; padding-left: 24px; border-left: 1px solid var(--line); }
.sd-comment-list .comment-body { padding: 20px; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.sd-comment-list .comment-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 10px; color: var(--muted); font-size: 14px; }
.sd-comment-list .avatar { float: left; margin-right: 12px; border-radius: 50%; }
.sd-comment-list .reply a { color: var(--accent-ink); font-size: 14px; }
.comment-form { display: grid; gap: 16px; }
.comment-form label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 13px 16px; border: 0; border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--fg); font: 400 16px/1.4 var(--f-text); }
.comment-form input:focus, .comment-form textarea:focus { outline: 0; box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 4px var(--accent-soft); }
.comment-form .comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: 14px; }
.comment-form .comment-form-cookies-consent label { margin: 0; font-weight: 400; }
.comment-form .submit { min-height: 48px; padding: 0 22px; border: 0; border-radius: var(--r-pill); background: var(--cobalt-600); color: #fff; font: 500 15px/1 var(--f-text); cursor: pointer; }
.sd-share { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding: 14px 14px 14px 20px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- Portfolio archive and single project ---------- */
.sd-pf-hero__inner { display: grid; justify-items: center; text-align: center; }
.sd-pf-hero .sd-page-hero__title { max-width: 16em; margin-inline: auto; }
.sd-pf-hero .sd-page-hero__lead { margin-inline: auto; }
.sd-pf-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -8px 0 clamp(32px, 4vw, 48px); }
.sd-pf-bar { display: flex; justify-content: center; margin: -8px 0 clamp(24px, 3vw, 32px); }
.sd-pf-bar__title { margin: 0; color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.sd-pf-bar + .sd-pf-filters { margin-top: 0; margin-bottom: clamp(28px, 4vw, 44px); }
.sd-filter { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 0; border-radius: var(--r-pill); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--fg-2); font: 500 14.5px/1 var(--f-text); cursor: pointer; transition: background-color .3s, color .3s, box-shadow .3s; }
.sd-filter .sd-mono { font-size: 10.5px; color: var(--muted); }
.sd-filter:hover { box-shadow: inset 0 0 0 1px var(--accent); color: var(--fg); }
.sd-filter.is-active { background: var(--ink-950); color: #fff; box-shadow: none; }
.sd-filter.is-active .sd-mono { color: var(--sky-300); }
:root[data-theme="dark"] .sd-filter.is-active { background: #fff; color: var(--ink-950); }
.sd-pf-card[hidden] { display: none; }

/* Project page, laid out like the Kadence case study: hero, results strip, sticky details sidebar */
.sd-cs-hero { padding-bottom: clamp(44px, 5vw, 64px); }
.sd-cs-back { display: inline-flex; align-items: center; gap: 8px; padding-block: 4px; color: var(--slate-400); font-size: 14.5px; font-weight: 500; transition: color .25s; }
.sd-cs-back:hover { color: #fff; }
.sd-cs-back .sd-icon { transition: transform .35s var(--ease-out); }
.sd-cs-back:hover .sd-icon { transform: translateX(-3px); }
.sd-cs-title { max-width: 17em; margin-top: 20px; font-size: clamp(38px, 5vw, 68px); text-wrap: pretty; }
.sd-cs-subtitle { max-width: 46em; margin-top: 18px; color: var(--slate-400); font-size: clamp(16.5px, 1.3vw, 19px); line-height: 1.65; }
/* Results: one panel under the screenshot, the numbers side by side with a hairline between them */
.sd-cs-results { border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--card-shadow); overflow: hidden; }
.sd-cs-results__label { padding: 18px 26px 0; color: var(--muted); font-size: 11px; }
.sd-cs-results__list { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); margin: 0; }
.sd-cs-result { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; padding: 12px 26px 24px; }
.sd-cs-result + .sd-cs-result { box-shadow: inset 1px 0 0 var(--line); }
.sd-cs-result__num { margin: 0; padding-bottom: .06em; font-size: clamp(34px, 3.4vw, 46px); font-weight: 600; line-height: 1; letter-spacing: -.045em; background: var(--cobalt-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sd-cs-result__label { color: var(--muted); font-size: 15px; font-weight: 500; line-height: 1.45; }
.sd-cs-main { padding-top: clamp(36px, 4.5vw, 56px); }
.sd-cs-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 4vw, 56px); align-items: start; }
.sd-cs-content { display: grid; gap: clamp(28px, 3vw, 40px); min-width: 0; }
.sd-cs-featured { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line), var(--card-shadow-lg); }
.sd-cs-featured img { width: 100%; height: auto; }
/* Client quote with an accent rule on the left, straight after the screenshot */
.sd-cs-quote { position: relative; isolation: isolate; margin: 0; padding: clamp(24px, 3.2vw, 38px); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--card-shadow); }
.sd-cs-quote::before { content: ""; position: absolute; top: -40%; right: -20%; z-index: -1; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(47, 91, 255, .09), transparent); pointer-events: none; }
.sd-cs-quote__mark { display: block; width: 30px; height: auto; margin-bottom: 18px; color: var(--accent); }
.sd-cs-quote__text { margin: 0; padding: 0; border: 0; }
.sd-cs-quote__text p { margin: 0; color: var(--fg); font-size: clamp(18px, 1.55vw, 21px); font-weight: 500; line-height: 1.55; letter-spacing: -.012em; text-wrap: pretty; }
.sd-cs-quote__by { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.sd-cs-quote__avatar { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(150deg, var(--cobalt-500), var(--cobalt-700, #1D3FD1)); color: #fff; font-size: 14.5px; font-weight: 600; letter-spacing: .02em; }
.sd-cs-quote__who { display: grid; gap: 2px; min-width: 0; }
.sd-cs-quote__who b { color: var(--fg); font-size: 15.5px; font-weight: 600; line-height: 1.3; }
.sd-cs-quote__who small { color: var(--muted); font-size: 13.5px; line-height: 1.35; }
.sd-cs-quote__tag { margin-left: auto; padding: 5px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 10.5px; white-space: nowrap; }
/* Sidebar: stays in view while reading (tall sidebars stick by their bottom edge instead) */
.sd-cs-sidebar { position: sticky; top: calc(var(--header-h) + 36px); display: grid; gap: 20px; }
.sd-cs-card { padding: 26px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--card-shadow); }
.sd-cs-card__head { margin: 0 0 4px; padding-bottom: 14px; border-bottom: 2px solid var(--line); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.sd-cs-meta { margin: 0; }
.sd-cs-meta__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.sd-cs-meta__row:last-child { padding-bottom: 2px; border-bottom: 0; }
.sd-cs-meta dt { color: var(--fg); font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.sd-cs-meta dt::after { content: ":"; }
.sd-cs-meta dd { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.sd-cs-preview { margin-top: 18px; }
.sd-cs-visit { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 8px; padding-block: 6px; color: var(--muted); font-size: 11px; transition: color .25s; }
.sd-cs-visit:hover { color: var(--accent-ink); }
.sd-cs-cta { display: grid; justify-items: center; gap: 10px; padding: 28px 24px; border-radius: var(--r); background: radial-gradient(90% 70% at 100% 0%, rgba(47, 91, 255, .45), transparent 70%), var(--ink-950); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), var(--card-shadow-lg); color: var(--chrome); text-align: center; }
.sd-cs-cta__title { font-size: 20px; font-weight: 600; letter-spacing: -.025em; color: #fff; }
.sd-cs-cta p { margin-bottom: 8px; color: var(--slate-400); font-size: 15px; line-height: 1.55; }
/* Previous and next: one ruled row */
.sd-cs-nav { display: flex; justify-content: space-between; gap: 24px; margin-top: clamp(48px, 5vw, 64px); padding-block: 28px; border-top: 1px solid var(--line); }
.sd-cs-nav__item { flex: 1; min-width: 0; }
.sd-cs-nav a { display: inline-grid; gap: 6px; }
.sd-cs-nav__dir { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; }
.sd-cs-nav__dir .sd-icon { transition: transform .35s var(--ease-out); }
.sd-cs-nav__title { font-size: 18px; font-weight: 600; letter-spacing: -.02em; transition: color .25s; }
.sd-cs-nav a:hover .sd-cs-nav__title { color: var(--accent-ink); }
.sd-cs-nav__item:first-child a:hover .sd-icon { transform: translateX(-3px); }
.sd-cs-nav__item--next { text-align: right; }
.sd-cs-nav__item--next a { justify-items: end; }
.sd-cs-nav__item--next a:hover .sd-icon { transform: translateX(3px); }
.sd-cs-related { padding: clamp(40px, 4.5vw, 56px) 0 0; }
.sd-cs-related .sd-pf-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 380px)); justify-content: center; }

@media (max-width: 1080px) {
	.sd-article__layout, .sd-cs-layout { grid-template-columns: 1fr; }
	.sd-article__aside .sd-toc--side { display: none; }
	.sd-toc--inline { display: block; }
	.sd-article__sticky { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
	.sd-cs-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
	/* One column: the share bar moves below the project details, at the end of the project */
	.sd-cs-content { display: contents; }
	.sd-cs-content > .sd-share { order: 1; }
}
@media (max-width: 600px) {
	.sd-article__sticky, .sd-cs-sidebar { grid-template-columns: 1fr; }
	.sd-cs-nav { flex-direction: column; gap: 18px; }
	.sd-cs-nav__item--next { text-align: left; }
	.sd-cs-nav__item--next a { justify-items: start; }
	.sd-cs-quote { padding: 22px 20px; border-radius: var(--r); }
	.sd-cs-quote__mark { width: 26px; margin-bottom: 14px; }
	.sd-cs-quote__tag { display: none; }
	.sd-cs-results__label { padding-inline: 20px; }
	.sd-cs-results__list { grid-template-columns: 1fr; }
	.sd-cs-result { flex-direction: row-reverse; align-items: center; gap: 16px; padding: 14px 20px; }
	.sd-cs-result + .sd-cs-result { box-shadow: inset 0 1px 0 var(--line); }
	.sd-cs-result__num { flex: none; min-width: 84px; font-size: 32px; }
	.sd-cs-card { padding: 22px; }
	.sd-author { flex-direction: column; }
	.sd-page-hero__meta > * + *::before { display: none; }
	.sd-share { padding: 14px; }
}

/* ---------- Single service pages ---------- */
.sd-svc-hero__title { max-width: 16em; }
.sd-svc-answer { padding-top: clamp(40px, 5vw, 64px); }
.sd-svc-work .sd-pf-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 380px)); }
.sd-svc-answer__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 16px; align-items: stretch; }
.sd-svc-answer__media { position: relative; min-height: 240px; margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line), var(--card-shadow); }
.sd-svc-answer__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sd-svc-answer__media--fit { background: #F1F4EF; }
.sd-svc-answer__media--fit img { object-fit: contain; object-position: center bottom; }
.sd-svc-answer__card { position: relative; margin: 0; padding: clamp(26px, 3.2vw, 40px) clamp(24px, 3.4vw, 44px); border-radius: var(--r-lg); background: radial-gradient(70% 90% at 100% 0%, var(--accent-soft), transparent 70%), var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--card-shadow); }
.sd-svc-answer__card .sd-label { margin-bottom: 14px; }
.sd-svc-answer__q { margin: 0 0 12px; font-size: clamp(22px, 2.3vw, 30px); font-weight: 600; line-height: 1.2; letter-spacing: -.03em; }
.sd-svc-answer__a { color: var(--fg-2); font-size: clamp(17px, 1.35vw, 19.5px); line-height: 1.65; }
.sd-svc-pains__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sd-svc-pain { padding: 26px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.sd-svc-pain__num { color: var(--accent-ink); font-size: 11px; }
.sd-svc-pain__title { margin: 14px 0 8px; font-size: 20px; font-weight: 600; line-height: 1.25; letter-spacing: -.02em; }
.sd-svc-pain p { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.sd-svc-incl__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.sd-svc-incl__item { display: flex; align-items: flex-start; gap: 12px; padding: 20px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.sd-svc-incl__item b { display: block; margin-bottom: 4px; color: var(--fg); font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.sd-svc-incl__icon { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); }
.sd-svc-incl__icon .sd-icon { --s: 15px; }
.sd-svc-steps__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.sd-svc-step { position: relative; padding: 26px 4px 0 0; border-top: 1px solid var(--line-2); }
.sd-svc-step::before { content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 2px; background: var(--accent); }
.sd-svc-step__num { display: block; font-size: 40px; font-weight: 600; line-height: 1; letter-spacing: -.05em; background: var(--cobalt-text); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.sd-svc-step__title { margin: 16px 0 8px; font-size: 19px; font-weight: 600; line-height: 1.25; letter-spacing: -.02em; }
.sd-svc-step p { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.sd-svc-why .sd-h2 { max-width: 12em; }
.sd-svc-more__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.sd-svc-more__card { position: relative; display: grid; align-content: start; gap: 10px; padding: 24px 24px 26px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--card-shadow); transition: transform .5s var(--ease-out), box-shadow .3s; }
.sd-svc-more__card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(47, 91, 255, .35), var(--card-shadow-lg); }
.sd-svc-more__card .sd-itile { margin-bottom: 6px; }
.sd-svc-more__title { color: var(--fg); font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.sd-svc-more__desc { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.sd-svc-more__go { position: absolute; top: 24px; right: 22px; color: var(--muted); transition: color .25s, transform .35s var(--ease-out); }
.sd-svc-more__card:hover .sd-svc-more__go { color: var(--accent-ink); transform: translate(2px, -2px); }
.sd-svc-card__title a { color: inherit; }
.sd-svc-card__title a:hover { color: var(--accent-ink); }
.sd-svc-card__links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: auto; }
.sd-svc-card__links .sd-svc-card__cta { margin-top: 0; }
@media (max-width: 1080px) {
	.sd-svc-incl__grid, .sd-svc-steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sd-svc-steps__list { row-gap: 32px; }
}
@media (max-width: 820px) {
	.sd-svc-pains__grid, .sd-svc-answer__grid { grid-template-columns: 1fr; }
	.sd-svc-answer__media { width: 100%; max-width: 560px; min-height: 0; margin-inline: auto; }
	.sd-svc-answer__media img { position: static; display: block; height: auto; }
}
@media (max-width: 600px) {
	.sd-svc-incl__grid, .sd-svc-steps__list { grid-template-columns: 1fr; }
	.sd-svc-pain, .sd-svc-incl__item { padding: 20px; }
}

/* About hero on tablets held upright: centred copy over a larger portrait. */
@media (min-width: 601px) and (max-width: 1080px) and (orientation: portrait) {
	.sd-about-hero__grid { grid-template-columns: 1fr; }
	.sd-about-hero__copy { padding-bottom: 0; text-align: center; }
	.sd-about-hero .sd-crumbs, .sd-about-hero .sd-hero__ctas { justify-content: center; }
	.sd-about-hero .sd-page-hero__title { max-width: 12em; margin-inline: auto; font-size: clamp(52px, 8vw, 76px); text-wrap: balance; }
	.sd-about-hero .sd-page-hero__lead { max-width: 32em; margin-inline: auto; text-wrap: balance; }
	.sd-about-hero__visual { width: 100%; max-width: 560px; height: clamp(420px, 40svh, 560px); margin: 40px auto 0; }
}
