:root {
  --sd-shell-ink: #12102a;
  --sd-shell-ink-2: #4c4661;
  --sd-shell-muted: #8e88a3;
  --sd-shell-line: #e7e3f5;
  --sd-shell-cloud: #f3f2fc;
  --sd-shell-indigo: #4f46e5;
  --sd-shell-violet: #6d5ae6;
  --sd-shell-gradient: linear-gradient(115deg, #2563eb, #6d5ae6 48%, #a855f7);
  --sd-shell-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sd-landing-page {
  margin: 0;
  color: var(--sd-shell-ink);
  background: #fff;
  font-family:
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.sd-landing-page *,
.sd-landing-page *::before,
.sd-landing-page *::after {
  box-sizing: border-box;
}

.sd-landing-page img {
  max-width: 100%;
}

.sd-landing-page :focus-visible {
  outline: 3px solid rgba(79, 70, 229, 0.38);
  outline-offset: 3px;
}

.sd-landing-skip-link {
  position: fixed;
  inset-block-start: 10px;
  inset-inline-start: 12px;
  z-index: 1001;
  padding: 11px 16px;
  color: #fff;
  background: var(--sd-shell-ink);
  border-radius: 10px;
  text-decoration: none;
  transform: translateY(-170%);
  transition: transform 0.2s var(--sd-shell-ease);
}

.sd-landing-skip-link:focus {
  transform: translateY(0);
}

/* Shared public-page header */
.sd-landing-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  height: 66px;
  color: var(--sd-shell-ink);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(18, 16, 42, 0.06);
  -webkit-backdrop-filter: blur(20px) saturate(175%);
  backdrop-filter: blur(20px) saturate(175%);
  transition:
    background-color 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.sd-landing-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(18, 16, 42, 0.1);
  box-shadow: 0 12px 30px -24px rgba(33, 27, 76, 0.32);
}

.sd-landing-header--dark {
  color: #f8f7ff;
  background: rgba(20, 20, 20, 0.76);
  border-color: rgba(255, 255, 255, 0.09);
}

.sd-landing-header--dark.is-scrolled {
  background: rgba(20, 20, 20, 0.93);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 30px -24px rgba(0, 0, 0, 0.68);
}

.sd-landing-header__inner {
  display: flex;
  width: min(1200px, calc(100% - 48px));
  height: 100%;
  margin-inline: auto;
  align-items: center;
  gap: 20px;
}

.sd-landing-brand-lockup {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  gap: 8px;
}

.sd-landing-brand {
  display: inline-flex;
  min-width: max-content;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.sd-landing-brand > img {
  width: 19px;
  height: 24px;
  object-fit: contain;
}

.sd-landing-header--dark .sd-landing-brand > img {
  filter: brightness(0) invert(1);
}

.sd-landing-brand__wordmark {
  color: currentColor;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.04em;
}

.sd-landing-brand__wordmark > span {
  color: var(--sd-shell-indigo);
}

.sd-landing-brand__product {
  display: flex;
  min-height: 30px;
  padding-inline-start: 12px;
  justify-content: center;
  flex-direction: column;
  border-inline-start: 1px solid rgba(18, 16, 42, 0.12);
  line-height: 1.1;
}

.sd-landing-header--dark .sd-landing-brand__product {
  border-color: rgba(255, 255, 255, 0.16);
}

.sd-landing-brand__product strong {
  color: var(--sd-shell-indigo);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.sd-landing-header--dark .sd-landing-brand__product strong {
  color: #cfc6ff;
}

.sd-landing-brand__product small {
  margin-block-start: 3px;
  color: var(--sd-shell-muted);
  font-size: 8.5px;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.sd-landing-header__menu {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.sd-landing-header__nav,
.sd-landing-header__actions {
  display: flex;
  align-items: center;
  gap: 2px;
}

.sd-landing-header__actions {
  gap: 4px;
}

.sd-landing-header__nav a,
.sd-landing-header__account,
.sd-landing-header__primary {
  display: inline-flex;
  min-height: 40px;
  padding-inline: 11px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 540;
  text-decoration: none;
  white-space: nowrap;
  transition:
    color 0.18s ease,
    background-color 0.18s ease,
    transform 0.18s var(--sd-shell-ease),
    box-shadow 0.18s ease;
}

.sd-landing-header__nav a,
.sd-landing-header__account {
  position: relative;
  color: var(--sd-shell-ink-2);
}

.sd-landing-header--dark .sd-landing-header__nav a,
.sd-landing-header--dark .sd-landing-header__account {
  color: rgba(255, 255, 255, 0.78);
}

.sd-landing-header__nav a:hover,
.sd-landing-header__account:hover {
  color: var(--sd-shell-ink);
  background: rgba(18, 16, 42, 0.045);
}

.sd-landing-header--dark .sd-landing-header__nav a:hover,
.sd-landing-header--dark .sd-landing-header__account:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.sd-landing-header__nav a.is-active {
  color: var(--sd-shell-ink);
  background: transparent;
}

.sd-landing-header--dark .sd-landing-header__nav a.is-active {
  color: #fff;
  background: transparent;
}

.sd-landing-header__nav a::after {
  position: absolute;
  inset-block-end: 5px;
  inset-inline: 11px;
  height: 1.5px;
  content: "";
  background: var(--sd-shell-indigo);
  border-radius: 999px;
  opacity: 0;
  transform: scaleX(0.55);
  transition:
    opacity 0.18s ease,
    transform 0.18s var(--sd-shell-ease);
}

.sd-landing-header__nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.sd-landing-header--dark .sd-landing-header__nav a::after {
  background: #cfc6ff;
}

.sd-landing-header__primary {
  gap: 6px;
  padding-inline: 15px;
  color: #fff;
  background: #12102a;
  border: 1px solid rgba(18, 16, 42, 0.14);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(18, 16, 42, 0.12);
  font-size: 12.5px;
  font-weight: 600;
}

.sd-landing-header__primary:hover {
  background: #302d44;
  box-shadow: 0 5px 14px -9px rgba(18, 16, 42, 0.68);
  transform: translateY(-1px);
}

.sd-landing-header--dark .sd-landing-header__primary {
  color: var(--sd-shell-ink);
  background: #fff;
  border-color: transparent;
}

.sd-landing-header--dark .sd-landing-header__primary:hover {
  background: #f1effa;
  box-shadow: 0 5px 14px -9px rgba(0, 0, 0, 0.72);
}

.sd-landing-header__toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-inline-start: auto;
  padding: 0;
  place-items: center;
  color: currentColor;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 50%;
  cursor: pointer;
}

.sd-landing-header__toggle:hover {
  background: rgba(18, 16, 42, 0.045);
  border-color: rgba(18, 16, 42, 0.08);
}

.sd-landing-header--dark .sd-landing-header__toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.sd-landing-header__toggle span {
  grid-area: 1 / 1;
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s var(--sd-shell-ease);
}

.sd-landing-header__toggle span:first-child {
  transform: translateY(-4px);
}

.sd-landing-header__toggle span:last-child {
  transform: translateY(4px);
}

.sd-landing-header__toggle[aria-expanded="true"] span:first-child {
  transform: rotate(45deg);
}

.sd-landing-header__toggle[aria-expanded="true"] span:last-child {
  transform: rotate(-45deg);
}

/* Shared public-page footer */
.sd-landing-footer {
  position: relative;
  padding: 70px 24px 28px;
  overflow: clip;
  color: rgba(255, 255, 255, 0.74);
  background:
    radial-gradient(circle at 12% 0, rgba(109, 90, 230, 0.22), transparent 30%),
    radial-gradient(circle at 92% 6%, rgba(37, 99, 235, 0.16), transparent 28%),
    #141414;
  text-align: start;
}

.sd-landing-footer::before {
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 1px;
  content: "";
  background: linear-gradient(
    90deg,
    transparent,
    rgba(207, 198, 255, 0.65),
    transparent
  );
}

.sd-landing-footer__inner,
.sd-landing-footer__bottom {
  width: min(1200px, 100%);
  margin-inline: auto;
}

.sd-landing-footer__inner {
  display: grid;
  grid-template-columns: minmax(230px, 0.8fr) minmax(0, 1.55fr);
  gap: clamp(46px, 8vw, 112px);
}

.sd-landing-footer__brand {
  min-width: 0;
}

.sd-landing-footer__identity {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.sd-landing-footer__identity img {
  width: 23px;
  height: 29px;
  filter: brightness(0) invert(1);
}

.sd-landing-footer__identity > span {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.sd-landing-footer__identity > span > span {
  color: #cfc6ff;
}

.sd-landing-footer__brand > p {
  max-width: 350px;
  margin: 17px 0 22px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  line-height: 1.65;
}

.sd-landing-footer__contact {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 2px;
}

.sd-landing-footer__contact a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  text-decoration: none;
}

.sd-landing-footer__contact a:hover {
  color: #fff;
}

.sd-landing-footer__socials {
  display: flex;
  margin-block-start: 22px;
  flex-wrap: wrap;
  gap: 8px;
}

.sd-landing-footer__socials a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition:
    color 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s var(--sd-shell-ease);
}

.sd-landing-footer__socials a:hover {
  color: #fff;
  background: rgba(109, 90, 230, 0.2);
  border-color: rgba(207, 198, 255, 0.32);
  transform: translateY(-1px);
}

.sd-landing-footer__groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(126px, 1fr));
  gap: 32px;
}

.sd-landing-footer__groups section,
.sd-landing-footer__group {
  min-width: 0;
}

.sd-landing-footer__groups h2 {
  margin: 0 0 15px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.sd-landing-footer__groups ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sd-landing-footer__groups li + li {
  margin-block-start: 3px;
}

.sd-landing-footer__groups a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none;
}

.sd-landing-footer__groups a:hover {
  color: #fff;
}

.sd-landing-footer__bottom {
  display: grid;
  margin-block-start: 52px;
  padding-block-start: 22px;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.sd-landing-footer__bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
}

.sd-landing-footer__bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.sd-landing-footer__bottom a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  text-decoration: none;
}

.sd-landing-footer__bottom a:hover {
  color: #fff;
}

.sd-landing-footer__top {
  gap: 6px;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .sd-landing-header__inner {
    width: min(100% - 36px, 1200px);
  }

  .sd-landing-header__menu {
    gap: 12px;
  }

  .sd-landing-header__nav a,
  .sd-landing-header__account,
  .sd-landing-header__primary {
    padding-inline: 10px;
  }
}

@media (max-width: 980px) {
  .sd-shell-js .sd-landing-header__toggle {
    display: grid;
  }

  .sd-landing-header__menu {
    position: absolute;
    inset-block-start: calc(100% + 7px);
    inset-inline: 12px;
    display: grid;
    max-height: calc(100vh - 92px);
    padding: 8px;
    overflow-y: auto;
    align-items: stretch;
    gap: 4px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(18, 16, 42, 0.09);
    border-radius: 20px;
    -webkit-backdrop-filter: blur(22px) saturate(175%);
    backdrop-filter: blur(22px) saturate(175%);
    box-shadow: 0 24px 52px -28px rgba(24, 20, 61, 0.5);
  }

  .sd-shell-js .sd-landing-header__menu {
    display: none;
  }

  .sd-shell-js .sd-landing-header__menu.is-open {
    display: grid;
  }

  .sd-landing-header--dark .sd-landing-header__menu {
    color: #fff;
    background: rgba(20, 20, 20, 0.88);
    border-color: rgba(255, 255, 255, 0.12);
  }

  .sd-landing-header__nav,
  .sd-landing-header__actions {
    display: grid;
    align-items: stretch;
    gap: 2px;
  }

  .sd-landing-header__actions {
    padding-block-start: 6px;
    border-top: 1px solid rgba(18, 16, 42, 0.09);
  }

  .sd-landing-header--dark .sd-landing-header__actions {
    border-color: rgba(255, 255, 255, 0.12);
  }

  .sd-landing-header__nav a,
  .sd-landing-header__account,
  .sd-landing-header__primary {
    min-height: 44px;
    padding-inline: 14px;
    border-radius: 12px;
    justify-content: flex-start;
    white-space: normal;
  }

  .sd-landing-header__nav a::after {
    display: none;
  }

  .sd-landing-header__nav a.is-active {
    background: var(--sd-shell-cloud);
    box-shadow: inset 2px 0 var(--sd-shell-indigo);
  }

  [dir="rtl"] .sd-landing-header__nav a.is-active {
    box-shadow: inset -2px 0 var(--sd-shell-indigo);
  }

  .sd-landing-header--dark .sd-landing-header__nav a.is-active {
    background: rgba(255, 255, 255, 0.09);
  }

  .sd-landing-header__primary {
    justify-content: center;
  }

  .sd-landing-footer__inner {
    grid-template-columns: minmax(210px, 0.7fr) minmax(0, 1.3fr);
    gap: 44px;
  }

  .sd-landing-footer__groups {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }
}

@media (max-width: 700px) {
  .sd-landing-header__inner {
    width: calc(100% - 36px);
  }

  .sd-landing-brand__product small {
    display: none;
  }

  .sd-landing-footer {
    padding: 52px 18px 24px;
  }

  .sd-landing-footer__inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .sd-landing-footer__brand > p {
    max-width: 460px;
  }

  .sd-landing-footer__bottom {
    grid-template-columns: 1fr auto;
    gap: 10px 18px;
  }

  .sd-landing-footer__bottom nav {
    grid-column: 1 / -1;
    grid-row: 2;
    gap: 14px;
  }
}

@media (max-width: 400px) {
  .sd-landing-brand__wordmark {
    font-size: 17px;
  }

  .sd-landing-brand__product {
    padding-inline-start: 9px;
  }

  .sd-landing-brand__product strong {
    font-size: 14px;
  }

  .sd-landing-footer__groups {
    gap: 28px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sd-landing-page *,
  .sd-landing-page *::before,
  .sd-landing-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
