html, body {
  min-height: 100%;
}

body {
  margin: 0;
  background: radial-gradient(1200px 600px at 20% -10%, rgba(123, 92, 255, 0.35), transparent 60%),
    radial-gradient(1000px 500px at 80% 0%, rgba(108, 240, 255, 0.30), transparent 55%),
    var(--ds-bg);
  color: var(--ds-text);
  font-family: var(--ds-font);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

* {
  box-sizing: border-box;
}

.ds-container {
  max-width: var(--ds-container);
  margin: 0 auto;
  padding: 0 var(--ds-gutter);
}

.ds-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 10, 18, 0.70);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ds-border);
}

.ds-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ds-gap);
  min-height: 62px;
}

.ds-topbar__title {
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 42vw;
}

.ds-topbar__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.ds-subnav {
  border-top: 1px solid var(--ds-border);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  position: relative;
}

.ds-subnav::before,
.ds-subnav::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 22px;
  pointer-events: none;
  z-index: 2;
}

.ds-subnav::before {
  left: 0;
  background: linear-gradient(90deg, rgba(248, 249, 255, 0.95), rgba(248, 249, 255, 0));
}

.ds-subnav::after {
  right: 0;
  background: linear-gradient(270deg, rgba(248, 249, 255, 0.95), rgba(248, 249, 255, 0));
}

.ds-tabs {
  display: flex;
  gap: 8px;
  padding: 10px 0;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.ds-tabs::-webkit-scrollbar {
  display: none;
}

.ds-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(2, 6, 23, 0.12);
  background: rgba(255, 255, 255, 0.80);
  color: rgba(2, 6, 23, 0.86);
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  transition: background 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.ds-tab:hover {
  background: rgba(255, 255, 255, 1);
  border-color: rgba(2, 6, 23, 0.18);
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.06);
}

.ds-tab.is-active,
.ds-tab[aria-current="page"] {
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.98));
  border-color: rgba(2, 6, 23, 0.92);
  color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.14);
}

.ds-tab:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.ds-user {
  position: relative;
}

.ds-user__summary {
  list-style: none;
  cursor: pointer;
}

.ds-user__summary::-webkit-details-marker {
  display: none;
}

.ds-user__chev {
  opacity: 0.7;
  margin-left: 6px;
  font-size: 12px;
}

.ds-user[open] .ds-user__chev {
  transform: rotate(180deg);
}

.ds-user__menu {
  position: absolute;
  right: 0;
  margin-top: 8px;
  min-width: 160px;
  padding: 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(2, 6, 23, 0.12);
  box-shadow: 0 22px 60px rgba(2, 6, 23, 0.12);
  z-index: 30;
}

.ds-user__item {
  display: block;
  padding: 10px 10px;
  border-radius: 10px;
  font-weight: 700;
  color: rgba(2, 6, 23, 0.86);
}

.ds-user__item:hover {
  background: rgba(2, 6, 23, 0.06);
}

.ds-user__item:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.ds-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.ds-brand__dot {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: linear-gradient(135deg, var(--ds-accent), var(--ds-accent-2));
  box-shadow: 0 0 0 6px rgba(108, 240, 255, 0.12);
}

.ds-main {
  padding: 42px 0 60px;
}

.ds-section {
  padding: 26px 0;
}

.ds-h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.6px;
}

.ds-h2 {
  margin: 0;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.3px;
}

.ds-lead {
  margin: 12px 0 0;
  color: var(--ds-text-muted);
  font-size: 16px;
  max-width: 62ch;
}

.ds-small {
  color: var(--ds-text-dim);
  font-size: 13px;
}

@media (max-width: 640px) {
  .ds-main {
    padding-top: 26px;
  }

  .ds-topbar__title {
    display: none;
  }

  /* Show subtle "scroll hint" fades only on small screens */
  .ds-subnav::before,
  .ds-subnav::after {
    opacity: 1;
  }
}

@media (min-width: 641px) {
  .ds-subnav::before,
  .ds-subnav::after {
    opacity: 0;
  }
}
