/*
 * StellaDesign theme - sd-home
 * Home page (templates/index.tpl, layout-landing). Every rule is scoped to
 * .sd-home (or #index) so nothing leaks to other pages.
 */

/* ------------------------------------------------------------------ frame */

#index .sd-landing__wrapper { padding: 0; background: var(--sd-bg); }
/* notifications float over the hero, under the transparent header */
#index #notifications { position: absolute; top: 84px; left: 0; right: 0; z-index: 15; }
#index #notifications .container { padding-top: 0; }
#index #notifications .alert {
  max-width: 44rem;
  margin: 1rem auto 0;
  box-shadow: var(--sd-shadow-lg);
}
#index #notifications .alert-danger { background: #fdecef; }
#index #notifications .alert-warning { background: #fff7e6; }
#index #notifications .alert-success { background: #e8f7f0; }
#index #notifications .alert-info { background: var(--sd-surface-2); }
@media (max-width: 991px) { #index #notifications { top: 72px; } }

.sd-home { overflow-x: clip; }
.sd-home section[id] { scroll-margin-top: 1.5rem; }
.sd-home img { max-width: 100%; height: auto; }
/* Generic resets; :where() keeps their specificity and skips the package cards (module output). */
.sd-home ul:where(:not(.sd-pkg *)), .sd-home ol:where(:not(.sd-pkg *)) { list-style: none; margin: 0; padding: 0; }
.sd-home h2:where(:not(.sd-pkg *)), .sd-home h3:where(:not(.sd-pkg *)), .sd-home h4:where(:not(.sd-pkg *)) { margin: 0; }
.sd-home p:where(:not(.sd-pkg *)) { margin: 0; }
.sd-home a:focus-visible,
.sd-home summary:focus-visible {
  outline: 2px solid var(--sd-accent);
  outline-offset: 3px;
  border-radius: .5rem;
}

.sd-section { padding: 4.5rem 0; }
.sd-section__head { margin-bottom: 2.25rem; max-width: 46rem; }
.sd-section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sd-section__head .sd-eyebrow { margin-bottom: .6rem; }
.sd-section__title {
  font-size: clamp(1.65rem, 1.2rem + 1.6vw, 2.35rem);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -.035em;
  color: var(--sd-ink);
}
.sd-section__subtitle {
  margin-top: .85rem !important;
  color: var(--sd-muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

/* ------------------------------------------------------------------ 1. hero */

.sd-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  padding: calc(84px + 2.75rem) 0 3.25rem;
  background:
    radial-gradient(42rem 26rem at 78% 42%, rgba(124, 58, 237, .45), transparent 70%),
    radial-gradient(30rem 22rem at 8% 0%, rgba(103, 56, 223, .35), transparent 70%),
    radial-gradient(24rem 18rem at 100% 100%, rgba(167, 139, 250, .18), transparent 70%),
    linear-gradient(180deg, var(--sd-hero) 0%, #241058 100%);
}
.sd-hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 70%;
  z-index: -1;
  background: url("../img/home/hero-mesh.svg") center bottom / 100% auto no-repeat;
  opacity: .9;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 35%, #000 100%);
  pointer-events: none;
}
.sd-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
  gap: 2rem;
}
.sd-hero__eyebrow {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sd-violet-300);
  margin-bottom: 1rem !important;
}
.sd-hero__title {
  color: #fff;
  font-size: clamp(2.1rem, 1.2rem + 2.4vw, 3.05rem);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -.035em;
  margin: 0 0 1.25rem;
  text-wrap: balance;
}
.sd-hero__title .sd-nowrap { white-space: nowrap; }
.sd-hero__hl {
  color: var(--sd-violet-300);
  background: linear-gradient(90deg, #d8ccff 0%, #b9a4fb 55%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sd-hero__lead {
  max-width: 34rem;
  color: rgba(237, 233, 254, .9);
  font-size: 1.05rem;
  line-height: 1.65;
}
.sd-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.75rem;
}
.sd-hero__ctas .sd-btn--accent { box-shadow: 0 10px 30px rgba(113, 65, 232, .45); }
.sd-hero__reassurance {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 0;
  margin-top: 2.25rem !important;
}
.sd-hero__reassurance li {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding-right: 1.5rem;
  margin-right: 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, .14);
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}
.sd-hero__reassurance li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.sd-hero__ricon { width: 2rem; height: 2rem; flex: none; color: var(--sd-violet-300); }
.sd-hero__visual { position: relative; margin-right: -2.5rem; }
.sd-hero__visual > img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(17, 6, 46, .55));
}

/* hero visuals (index.tpl draws one of the 3 at random) */
.sd-hero__visual--v1, .sd-hero__visual--v2, .sd-hero__visual--v3 { width: 100%; }
.sd-hv { position: relative; width: 100%; aspect-ratio: 1.25 / 1; color: var(--sd-fg); }
.sd-hv img { display: block; }
.sd-hv-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .65rem .9rem;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 14px;
  background: rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(10, 4, 30, .35);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.sd-hv-chip b { font-weight: 800; }
.sd-hv-chip small { display: block; font-size: 11.5px; font-weight: 500; color: rgba(237, 233, 254, .8); }
.sd-hv-chip i { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, #8b5cf6, #6738df); font-style: normal; }
.sd-hv-chip svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* v1: lab platform window */
.sd-hv-win { position: absolute; left: 4%; top: 6%; width: 88%; overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 30px 80px rgba(8, 2, 30, .55), 0 0 0 1px rgba(255, 255, 255, .4); }
.sd-hv-win__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--sd-surface); border-bottom: 1px solid var(--sd-border-2); }
.sd-hv-win__bar > span { width: 9px; height: 9px; border-radius: 50%; background: var(--sd-border); }
.sd-hv-win__url { flex: 1; margin-left: 10px; padding: 4px 10px; border: 1px solid var(--sd-border-2); border-radius: 7px; background: #fff; color: var(--sd-muted); font-size: 11px; }
.sd-hv-win__body { display: grid; grid-template-columns: 1.25fr 1fr; }
.sd-hv-win__view { position: relative; min-height: 250px; background: radial-gradient(circle at 50% 45%, #f5f1ff, #e4ddfb); }
.sd-hv-win__view img { position: absolute; inset: 6% 4%; width: 92%; height: 88%; object-fit: contain; mix-blend-mode: multiply; }
.sd-hv-win__view em { position: absolute; left: 12px; top: 12px; z-index: 1; padding: 3px 9px; border-radius: 999px; background: #fff; color: var(--sd-accent-2); font-size: 10.5px; font-style: normal; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.sd-hv-win__tools { position: absolute; right: 10px; top: 50%; display: flex; flex-direction: column; gap: 6px; transform: translateY(-50%); }
.sd-hv-win__tools span { width: 26px; height: 26px; border-radius: 8px; background: #fff; box-shadow: 0 2px 6px rgba(46, 23, 102, .12); }
.sd-hv-win__side { padding: 16px 16px 14px; }
.sd-hv-win__title { margin: 0 !important; color: var(--sd-fg); font-size: 14px; font-weight: 800; letter-spacing: -.01em; }
.sd-hv-win__sub { margin: 2px 0 12px !important; color: var(--sd-muted); font-size: 11.5px; }
.sd-hv-steps { display: flex; flex-direction: column; gap: 9px; margin: 0 !important; padding: 0; list-style: none; }
.sd-hv-steps li { display: flex; align-items: center; gap: 8px; color: var(--sd-fg); font-size: 12px; font-weight: 600; }
.sd-hv-steps li span { display: grid; place-items: center; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--sd-success); color: #fff; font-size: 10px; }
.sd-hv-steps li.is-on span { background: var(--sd-accent); box-shadow: 0 0 0 4px rgba(113, 65, 232, .18); }
.sd-hv-steps li.is-off { color: var(--sd-muted-2); }
.sd-hv-steps li.is-off span { background: var(--sd-border-2); }
.sd-hv-win__btn { margin-top: 14px; padding: 8px; border-radius: 9px; background: var(--sd-accent); color: #fff; font-size: 12px; font-weight: 700; text-align: center; }
.sd-hv-chip--stl { left: -4%; bottom: 8%; }
.sd-hv-chip--scan { right: -2%; bottom: -2%; }

/* v2: product cards */
.sd-hv-card { position: absolute; z-index: 1; width: 43%; aspect-ratio: 1 / 1; margin: 0; overflow: hidden; border-radius: 22px; background: #eaf2fd; box-shadow: 0 28px 60px rgba(8, 2, 30, .5), 0 0 0 1px rgba(255, 255, 255, .35); }
.sd-hv-card img { width: 100%; height: 100%; object-fit: cover; }
.sd-hv-card figcaption { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 8px 11px; border-radius: 12px; background: rgba(29, 13, 72, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font-size: 12.5px; font-weight: 700; }
.sd-hv-card figcaption small { display: block; color: var(--sd-violet-200); font-size: 11px; font-weight: 500; }
.sd-hv-card--left { left: -4%; top: 20%; transform: rotate(-8deg); }
.sd-hv-card--right { right: -4%; top: 16%; transform: rotate(7deg); }
.sd-hv-card--left figcaption { right: auto; max-width: 62%; }
.sd-hv-card--right figcaption { left: auto; max-width: 62%; }
.sd-hv-card--center { left: 28%; top: 2%; z-index: 2; width: 44%; }
.sd-hv-chip--delay { left: 50%; bottom: 0; transform: translateX(-50%); }

/* v3: scan to print flow */
.sd-hv-flow__path { position: absolute; inset: 0; width: 100%; height: 100%; }
.sd-hv-node { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 10px; color: #fff; text-align: center; }
.sd-hv-node--scan { left: 3%; top: 56%; width: 28%; }
.sd-hv-node--design { left: 27%; top: 2%; width: 46%; }
.sd-hv-node--print { right: 3%; top: 56%; width: 28%; }
.sd-hv-disc { position: relative; aspect-ratio: 1 / 1; border-radius: 50%; box-shadow: 0 0 0 6px rgba(196, 181, 253, .22), 0 24px 50px rgba(8, 2, 30, .5); }
.sd-hv-disc--icon { display: grid; place-items: center; width: 70%; background: linear-gradient(145deg, #8b5cf6, #4c1d95); }
.sd-hv-disc--icon svg { width: 44%; height: 44%; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sd-hv-disc--photo { width: 89%; background: #eef3fd; }
.sd-hv-disc--photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.sd-hv-num { position: absolute; top: -6px; right: -6px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: 0 6px 14px rgba(8, 2, 30, .35); color: var(--sd-accent-2); font-size: 13px; font-weight: 900; }
.sd-hv-disc--photo .sd-hv-num { top: 6px; right: 6px; }
.sd-hv-label { margin: 0 !important; color: #fff; font-size: 13px; font-weight: 800; }
.sd-hv-label small { display: block; margin-top: 2px; color: var(--sd-violet-300); font-size: 11.5px; font-weight: 500; }

@media (max-width: 575px) {
  .sd-hv--platform { aspect-ratio: auto; padding-bottom: 2.75rem; }
  .sd-hv-win { position: relative; left: 0; top: 0; width: 100%; }
  .sd-hv-win__body { grid-template-columns: 1fr; }
  .sd-hv-win__side, .sd-hv-chip--scan { display: none; }
  .sd-hv-win__view { min-height: 210px; }
  .sd-hv-chip--stl { left: 50%; bottom: 0; transform: translateX(-50%); }
  .sd-hv-card figcaption { font-size: 11px; padding: 6px 8px; }
  .sd-hv-card figcaption small, .sd-hv-label small { display: none; }
  .sd-hv-chip { font-size: 12px; padding: .55rem .75rem; }
  .sd-hv-label { font-size: 12px; }
  .sd-hv-num { width: 24px; height: 24px; font-size: 12px; }
  .sd-hv-node--scan, .sd-hv-node--print { top: 64%; }
}

/* ------------------------------------------------------------------ 2. offers */

.sd-offers { padding-top: 3.5rem; padding-bottom: 2.5rem; }
.sd-offers .sd-section__head { margin-bottom: 2.5rem; }
.sd-offers__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  padding: 2.5rem 1.5rem;
  border: 1px dashed #cbbff0;
  border-radius: var(--sd-radius-lg);
  background: var(--sd-surface-3);
  color: var(--sd-muted);
  text-align: center;
  font-weight: 600;
}
.sd-offers__placeholder svg { width: 2.25rem; height: 2.25rem; color: var(--sd-accent); }

/* ------------------------------------------------------------------ 3. services */

.sd-services { padding-top: 2.5rem; }
.sd-services .sd-section__head { margin-bottom: 1.5rem; }
.sd-services__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}
.sd-service__media {
  aspect-ratio: 16 / 7.5;
  overflow: hidden;
  border-radius: var(--sd-radius);
  background: var(--sd-surface-2);
  margin-bottom: 1rem;
}
.sd-service__media img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: center 55%;
  transition: transform .35s ease;
}
.sd-service:hover .sd-service__media img { transform: scale(1.04); }
.sd-service__title {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--sd-ink);
}
.sd-service__icon { width: 1.15rem; height: 1.15rem; flex: none; color: var(--sd-accent); }
.sd-service__text {
  margin-top: .35rem !important;
  padding-left: 1.6rem;
  color: var(--sd-muted);
  font-size: .9rem;
  line-height: 1.5;
}

.sd-types {
  margin-top: 3rem;
  padding: 2rem;
  border: 1px solid var(--sd-border-2);
  border-radius: var(--sd-radius-xl);
  background: #fff;
  box-shadow: var(--sd-shadow);
}
.sd-types__title {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--sd-ink);
  margin-bottom: 1.25rem !important;
}
.sd-types__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}
.sd-types__name {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sd-accent-2);
  margin-bottom: .75rem !important;
}
.sd-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.sd-chips li {
  padding: .35rem .7rem;
  border-radius: 999px;
  background: var(--sd-surface);
  border: 1px solid var(--sd-border-2);
  color: var(--sd-fg);
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.3;
}

/* ------------------------------------------------------------------ 4. facts */

.sd-facts { padding: 0 0 1rem; }
.sd-facts__list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-radius: var(--sd-radius-xl);
  background: linear-gradient(135deg, var(--sd-primary) 0%, var(--sd-hero) 100%);
  color: #fff;
  overflow: hidden;
  box-shadow: var(--sd-shadow-lg);
}
.sd-fact {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  padding: 1.5rem 1.25rem;
  border-right: 1px solid rgba(255, 255, 255, .1);
  font-size: .88rem;
  line-height: 1.4;
  color: rgba(237, 233, 254, .88);
}
.sd-fact:last-child { border-right: 0; }
.sd-fact svg { width: 1.6rem; height: 1.6rem; color: var(--sd-violet-300); }
.sd-fact strong { color: #fff; font-weight: 800; }
.sd-fact sup { font-size: .65em; }

/* ------------------------------------------------------------------ 5. steps */

.sd-steps__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  counter-reset: none;
}
.sd-step {
  position: relative;
  padding: 1.6rem 1.4rem;
  border-radius: var(--sd-radius-lg);
  background: #fff;
  border: 1px solid var(--sd-border-2);
  box-shadow: var(--sd-shadow);
}
.sd-step::after {
  content: "";
  position: absolute;
  top: 2.6rem;
  right: -1.25rem;
  width: 1.25rem;
  border-top: 2px dashed #cbbff0;
}
.sd-step:last-child::after { display: none; }
.sd-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: .8rem;
  background: var(--sd-surface-2);
  color: var(--sd-accent-2);
  font-weight: 900;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}
.sd-step__title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--sd-ink);
  margin-bottom: .75rem !important;
}
.sd-step__items li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: .45rem;
  color: var(--sd-muted);
  font-size: .88rem;
  line-height: 1.5;
}
.sd-step__items li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: .4rem;
  height: .4rem;
  border-radius: 50%;
  background: var(--sd-accent);
}

/* ------------------------------------------------------------------ 6. why */

.sd-why { background: #fff; border-top: 1px solid var(--sd-border-2); border-bottom: 1px solid var(--sd-border-2); }
.sd-why__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.sd-why__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.sd-why__card {
  padding: 1.35rem;
  border-radius: var(--sd-radius-lg);
  background: var(--sd-surface-3);
  border: 1px solid var(--sd-border-2);
  transition: box-shadow .2s, transform .2s;
}
.sd-why__card:hover { box-shadow: var(--sd-shadow-hover); transform: translateY(-2px); }
.sd-why__card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.sd-why__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: .8rem;
  background: var(--sd-surface-2);
  color: var(--sd-accent-2);
  margin-bottom: .85rem;
}
.sd-why__icon svg { width: 1.25rem; height: 1.25rem; }
.sd-why__card h3 {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--sd-ink);
  margin-bottom: .4rem;
}
.sd-why__card p { color: var(--sd-muted); font-size: .88rem; line-height: 1.55; }

.sd-why__panel {
  position: sticky;
  top: 1.5rem;
  padding: 1.75rem;
  border-radius: var(--sd-radius-xl);
  color: #fff;
  background:
    radial-gradient(18rem 14rem at 100% 0%, rgba(124, 58, 237, .5), transparent 70%),
    var(--sd-hero);
  box-shadow: var(--sd-shadow-lg);
}
.sd-why__panel h3 {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 1.1rem;
}
.sd-checklist { margin-bottom: 1.5rem !important; }
.sd-checklist li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: .7rem;
  font-size: .9rem;
  line-height: 1.5;
  color: rgba(237, 233, 254, .9);
}
.sd-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .15em;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: rgba(196, 181, 253, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4b5fd' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / .7rem no-repeat;
}

/* ------------------------------------------------------------------ 7. testimonials */

.sd-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.25rem;
}
.sd-quote {
  grid-column: span 2;
  display: flex;
  padding: 1.6rem 1.6rem 1.4rem;
  border-radius: var(--sd-radius-xl);
  background: linear-gradient(135deg, #f3effc 0%, var(--sd-surface-2) 100%);
  border: 1px solid #e4dcf8;
}
.sd-quote:nth-child(4), .sd-quote:nth-child(5) { grid-column: span 3; }
.sd-quote figure { margin: 0; min-width: 0; display: flex; flex-direction: column; width: 100%; }
.sd-quote blockquote {
  flex: 1;
  margin: 0 0 1.25rem;
  padding: 0;
  border: 0;
  font-style: italic;
  font-size: .97rem;
  line-height: 1.6;
  color: var(--sd-fg);
}
.sd-quote blockquote::before {
  content: "\201C";
  display: block;
  font-family: Georgia, serif;
  font-style: normal;
  font-size: 3rem;
  line-height: .8;
  color: var(--sd-accent);
  margin-bottom: .15rem;
}
.sd-quote figcaption {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(113, 65, 232, .14);
}
.sd-quote__avatar {
  flex: none;
  width: 3.25rem;
  height: 3.25rem !important;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 6px 18px rgba(46, 23, 102, .15);
}
.sd-quote__avatar--initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--sd-accent) 0%, var(--sd-primary) 100%);
  color: #fff;
  font-weight: 900;
  font-size: .95rem;
  letter-spacing: .02em;
  font-style: normal;
}
.sd-quote__who { display: flex; flex-direction: column; font-size: .85rem; color: var(--sd-muted); line-height: 1.35; }
.sd-quote__who strong { color: var(--sd-ink); font-size: .98rem; font-weight: 800; }

/* ------------------------------------------------------------------ 8. faq */

.sd-faq { padding-top: 2rem; }
.sd-faq__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr);
  gap: 2.5rem;
  align-items: start;
}
.sd-faq__inner .sd-section__head { margin-bottom: 0; }
.sd-faq__list { display: flex; flex-direction: column; gap: .75rem; }
.sd-faq__item {
  border: 1px solid var(--sd-border-2);
  border-radius: var(--sd-radius);
  background: #fff;
  box-shadow: var(--sd-shadow);
  transition: border-color .15s, box-shadow .15s;
}
.sd-faq__item[open] { border-color: #cbbff0; box-shadow: var(--sd-shadow-hover); }
.sd-faq__item summary {
  position: relative;
  display: block;
  padding: 1.05rem 3.25rem 1.05rem 1.25rem;
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  font-size: .98rem;
  color: var(--sd-ink);
}
.sd-faq__item summary::-webkit-details-marker { display: none; }
.sd-faq__item summary::after {
  content: "";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  width: 1.6rem;
  height: 1.6rem;
  margin-top: -.8rem;
  border-radius: .5rem;
  background: var(--sd-surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236738df' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / .85rem no-repeat;
  transition: transform .2s;
}
.sd-faq__item[open] summary::after { transform: rotate(45deg); }
.sd-faq__answer { padding: 0 1.25rem 1.15rem; color: var(--sd-muted); font-size: .92rem; line-height: 1.6; }

/* ------------------------------------------------------------------ 9. final cta */

.sd-final-cta { padding: 1rem 0 4.5rem; }
.sd-final-cta__box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2.25rem 2.5rem;
  border-radius: var(--sd-radius-xl);
  color: #fff;
  background:
    radial-gradient(26rem 14rem at 95% 0%, rgba(124, 58, 237, .5), transparent 70%),
    linear-gradient(135deg, var(--sd-hero) 0%, var(--sd-hero-2) 100%);
  box-shadow: var(--sd-shadow-lg);
}
.sd-final-cta__title {
  color: #fff;
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.85rem);
  font-weight: 900;
  letter-spacing: -.03em;
}
.sd-final-cta__text { margin-top: .4rem !important; color: rgba(237, 233, 254, .88); font-size: 1rem; }
.sd-final-cta .sd-btn { flex: none; min-width: 12rem; }

/* ------------------------------------------------------------------ signup CTAs and reassurance */

.sd-hero__micro { margin-top: .9rem !important; color: var(--sd-violet-300); font-size: .85rem; }

.sd-assurance--inline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .25rem 2rem;
  max-width: 64rem;
  margin: 1.75rem auto 0 !important;
}
.sd-assurance--inline li { align-items: center; color: var(--sd-fg); }
.sd-assurance--inline .sd-icon { color: var(--sd-success); margin-top: 0; }
.sd-offers__note { margin-top: 1rem !important; text-align: center; color: var(--sd-muted); font-size: .92rem; }
.sd-offers__note strong { color: var(--sd-primary); }

.sd-mid-cta { display: flex; flex-direction: column; align-items: center; gap: .6rem; margin-top: 2.5rem; text-align: center; }
.sd-mid-cta p { margin: 0; color: var(--sd-muted); font-size: .88rem; }

.sd-final-cta__contact { display: flex; flex-wrap: wrap; gap: .35rem 1.5rem; margin-top: .75rem !important; font-size: .92rem; }
.sd-final-cta__contact:empty { display: none; }
.sd-final-cta__contact a, .sd-final-cta__contact span { color: var(--sd-violet-200); }
.sd-final-cta__contact a:hover { color: #fff; }

/* mobile signup bar, shown by custom.js between the hero CTAs and the final CTA */
.sd-sticky-cta { display: none; }
@media (max-width: 991px) {
  .sd-sticky-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 -8px 24px rgba(29, 13, 72, .15);
    transform: translateY(110%);
    transition: transform .25s ease;
  }
  .sd-sticky-cta.is-visible { transform: none; }
  .sd-sticky-cta p { margin: .35rem 0 0; text-align: center; color: var(--sd-muted); font-size: .75rem; }
  body.sd-has-sticky-cta #footer { padding-bottom: 6rem; }
}

/* ------------------------------------------------------------------ responsive */

@media (min-width: 992px) {
  .sd-hero .sd-hero__visual > img { width: 114%; max-width: none; margin-left: -8%; }
}

@media (max-width: 1199px) {
  .sd-facts__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sd-fact:nth-child(3n) { border-right: 0; }
  .sd-fact:nth-child(-n+3) { border-bottom: 1px solid rgba(255, 255, 255, .1); }
}

@media (max-width: 991px) {
  .sd-section { padding: 3.5rem 0; }
  .sd-hero { padding-top: calc(72px + 2rem); padding-bottom: 2.5rem; }
  .sd-hero__inner { grid-template-columns: 1fr; gap: 1rem; }
  .sd-hero__visual { margin: 0 auto; max-width: 34rem; }
  .sd-services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sd-types__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sd-steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sd-step::after { display: none; }
  .sd-why__layout { grid-template-columns: 1fr; }
  .sd-why__panel { position: static; }
  .sd-testimonials__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sd-quote, .sd-quote:nth-child(4), .sd-quote:nth-child(5) { grid-column: span 1; }
  .sd-quote:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .sd-faq__inner { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 767px) {
  .sd-final-cta__box { flex-direction: column; align-items: flex-start; padding: 1.75rem 1.5rem; }
  .sd-final-cta .sd-btn { width: 100%; }
  .sd-testimonials__grid { grid-template-columns: 1fr; }
  .sd-quote:last-child:nth-child(odd) { grid-column: auto; }
  .sd-why__grid { grid-template-columns: 1fr; }
}

@media (max-width: 575px) {
  .sd-hero__title { font-size: 2rem; }
  .sd-hero__lead { font-size: .98rem; }
  .sd-hero__ctas .sd-btn { flex: 1 1 100%; }
  .sd-hero__reassurance { flex-direction: column; gap: .9rem; }
  .sd-hero__reassurance li { border-right: 0; margin-right: 0; padding-right: 0; }
  .sd-hero__reassurance br { display: none; }
  .sd-services__grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .sd-types { padding: 1.35rem; }
  .sd-types__grid { grid-template-columns: 1fr; }
  .sd-facts__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sd-fact { padding: 1.15rem 1rem; }
  .sd-fact:nth-child(3n) { border-right: 1px solid rgba(255, 255, 255, .1); }
  .sd-fact:nth-child(2n) { border-right: 0; }
  .sd-fact:nth-child(-n+4) { border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .sd-steps__list { grid-template-columns: 1fr; }
  .sd-quote { padding: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  .sd-service__media img, .sd-why__card, .sd-faq__item summary::after, .sd-sticky-cta { transition: none; }
}
