.tracking-tight-apple { letter-spacing: 0; }
.tracking-tighter-apple { letter-spacing: 0; }

:root {
  --stirae-font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --stirae-background: #F7F8FF;
  --stirae-ink: #070A1F;
  --stirae-ink-muted: rgba(7, 10, 31, 0.72);
  --stirae-primary-start: #4F63F7;
  --stirae-primary: #6B46F6;
  --stirae-primary-end: #A78BFA;
}

.glass-nav { backdrop-filter: blur(20px); background: rgba(247, 248, 255, 0.85); }
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  vertical-align: middle;
}
body {
  color: var(--stirae-ink);
  scroll-behavior: smooth;
}

.site-nav__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 2.5rem;
}

.site-nav__brand,
.site-nav__links a,
.site-nav [data-website-download-cta] {
  display: flex;
  align-items: center;
  min-height: 44px;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.profiles-section {
  scroll-margin-top: 6rem;
}

@media (max-width: 767px) {
  .site-nav .site-nav__inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
    column-gap: 1rem;
    padding: 0.5rem 1.5rem 0;
  }

  .site-nav__links {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
  }

  .site-nav__links a {
    padding-inline: 0.5rem;
  }

  .profiles-section {
    scroll-margin-top: 7rem;
  }
}

.landing-section-title,
.landing-section-lead,
.landing-item-title,
.landing-support-title,
.landing-item-copy {
  font-family: var(--stirae-font-sans);
}

.landing-section-title {
  color: var(--stirae-ink);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.landing-section-lead {
  color: var(--stirae-ink-muted);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.55;
}

.landing-item-title {
  color: var(--stirae-ink);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 28px;
}

.landing-support-title {
  color: var(--stirae-ink);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.5;
}

.landing-item-copy {
  color: var(--stirae-ink-muted);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.55;
}

.mac-shadow { box-shadow: 0 30px 60px -12px rgba(0,0,0,0.12), 0 18px 36px -18px rgba(0,0,0,0.08); }
.hud-shadow { box-shadow: 0 20px 40px -10px rgba(0,0,0,0.3); }
.typing-cursor::after { content: '|'; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hud-bg { background: rgba(28, 28, 30, 0.95); backdrop-filter: blur(12px); }
.gradient-text { background: linear-gradient(135deg, var(--stirae-primary-start) 0%, var(--stirae-primary) 55%, var(--stirae-primary-end) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.gradient-bg { background: linear-gradient(135deg, var(--stirae-primary-start) 0%, var(--stirae-primary) 55%, var(--stirae-primary-end) 100%); }

/* Hero — shared entrance rhythm */
.hero-enter {
  animation: hero-enter 760ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-enter--title { animation-delay: 80ms; }
.hero-enter--copy { animation-delay: 170ms; }
.hero-enter--actions {
  animation-name: hero-actions-enter;
  animation-delay: 340ms;
}

@keyframes hero-enter {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Keep action surfaces opaque while the ribbon moves behind them. */
@keyframes hero-actions-enter {
  from { transform: translateY(18px); }
  to { transform: translateY(0); }
}

@keyframes hero-destination-sweep {
  0%, 62% { background-position: 100% 0; }
  82%, 100% { background-position: -100% 0; }
}

/* Hero — one living sentence, shaped for its destination */
.hero-living {
  min-height: 90svh;
  padding-top: clamp(7.75rem, 15vh, 9rem);
  padding-bottom: clamp(1.75rem, 4vh, 3rem);
  background:
    radial-gradient(ellipse 42rem 20rem at 50% 44%, rgba(255, 255, 255, 0.98), rgba(247, 248, 255, 0.72) 68%, transparent),
    linear-gradient(180deg, rgba(238, 240, 255, 0.72), var(--stirae-background) 35%, var(--stirae-background));
}

.hero-living__ambient {
  position: absolute;
  inset: 4rem 0 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.hero-living__ambient::after {
  position: absolute;
  left: 50%;
  top: 52%;
  width: min(54rem, 72vw);
  height: 14rem;
  border-radius: 50%;
  background: rgba(107, 70, 246, 0.08);
  content: "";
  filter: blur(56px);
  transform: translate(-50%, -50%);
}

.hero-living__content {
  position: relative;
  z-index: 1;
  transform: translateY(clamp(2rem, 6vh, 3rem));
}

.hero-enter--story { animation-delay: 250ms; }

.hero-living__destination-copy {
  background: linear-gradient(105deg, rgba(7, 10, 31, 0.4) 18%, var(--stirae-primary-start) 43%, var(--stirae-primary) 55%, rgba(7, 10, 31, 0.4) 80%);
  background-position: 100% 0;
  background-size: 230% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: hero-destination-sweep 7s 1.1s ease-in-out infinite;
}

.hero-living .hero-actions {
  position: relative;
  z-index: 2;
  margin-top: clamp(2.6rem, 6vh, 3.8rem);
}

.hero-living .hero-actions__secondary {
  /* Keep the ribbon behind an opaque surface, including during hover. */
  background-color: var(--stirae-background);
  background-image: linear-gradient(rgba(7, 10, 31, 0.04), rgba(7, 10, 31, 0.04));
}

.hero-living .hero-actions__secondary:hover {
  background-image: linear-gradient(rgba(7, 10, 31, 0.06), rgba(7, 10, 31, 0.06));
}

/* Hero — one continuous signal path */
.hero-ribbon {
  position: absolute;
  inset: 4rem 0 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.72;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 9%, black 92%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 9%, black 92%, transparent 100%);
}

.hero-ribbon svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.hero-ribbon__strand,
.hero-ribbon__pulse {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.hero-ribbon__strand {
  stroke: var(--ribbon-color, var(--stirae-primary));
  stroke-width: 1.05;
  opacity: var(--ribbon-opacity, 0.4);
}

.hero-ribbon__pulse {
  stroke: var(--pulse-color, var(--stirae-primary-end));
  stroke-width: 2.2;
  stroke-dasharray: 0.045 0.955;
  stroke-dashoffset: 1;
  opacity: 0.92;
  filter: drop-shadow(0 0 4px rgba(107, 70, 246, 0.55));
  animation: hero-ribbon-pulse 5.4s linear infinite;
  animation-delay: var(--pulse-delay, 0s);
}

@keyframes hero-ribbon-pulse {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}

@media (max-width: 980px) {
  .hero-ribbon {
    opacity: 0.58;
  }
}

@media (max-width: 1199px) {
  /* Keep the header in flow so hero spacing follows its rendered height. */
  nav.site-nav {
    position: sticky;
  }

  .hero-living {
    min-height: auto;
    padding-block: 3rem;
  }

  .hero-living__content {
    transform: none;
  }
}

@media (max-width: 767px) {
  .landing-section-title {
    font-size: clamp(2rem, 8.5vw, 2.5rem);
  }

  .landing-section-lead {
    font-size: 1rem;
  }

  .hero-living h1 {
    margin-bottom: 0.82rem;
    font-size: clamp(2.12rem, 9vw, 3rem);
  }

  .hero-living__copy {
    max-width: 22rem;
  }

  .hero-ribbon {
    opacity: 0.4;
  }

  .hero-ribbon__strand {
    stroke-width: 0.9;
  }

  .hero-living .hero-actions {
    flex-direction: column;
    width: min(100%, 22rem);
    gap: 0.7rem;
    margin-top: 2rem;
  }

  .hero-living .hero-actions a {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    padding: 0.8rem 1.25rem;
    font-size: 0.9375rem;
  }
}

@media (max-width: 390px) {
  .hero-living {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .hero-living .hero-actions .material-symbols-outlined {
    font-size: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-enter {
    opacity: 1;
    transform: none;
  }

  .hero-living__destination-copy {
    background-position: 42% 0;
  }

  .hero-ribbon__pulse {
    display: none;
  }
}

/* Profiles — open destination-to-output relationships */
.profiles-section {
  padding: 3rem 0;
}

.profiles-flow {
  width: 100%;
  max-width: 52rem;
  margin-inline: auto;
  text-align: left;
}

.profiles-routes {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(7, 10, 31, 0.11);
  list-style: none;
}

.profile-route {
  display: grid;
  grid-template-columns: minmax(10.5rem, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  min-height: 4.5rem;
  padding: 1rem 0.25rem;
  border-bottom: 1px solid rgba(7, 10, 31, 0.11);
  font-family: var(--stirae-font-sans);
}

.profile-route__destination {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--stirae-ink-muted);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.45;
}

.profile-route__destination img {
  width: 1.75rem;
  height: 1.75rem;
  flex: 0 0 auto;
  border-radius: 0.5rem;
}

.profile-route__destination strong {
  margin-left: -0.35rem;
  color: var(--stirae-ink);
  font-weight: 650;
}

.profile-route__rule {
  color: var(--stirae-ink-muted);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.55;
}

.profiles-flow__cta {
  margin-top: 2rem;
  text-align: center;
}

@media (max-width: 640px) {
  .profile-route {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.35rem;
    padding-block: 1.1rem;
  }

  .profile-route__rule {
    padding-left: 2.4rem;
  }
}

/* Accent glow — foggy shimmer, JS-controlled sequential */
.accent-glow-first,
.accent-glow-second,
.accent-glow {
  position: relative;
  display: inline-block;
}
.accent-glow-first.is-active,
.accent-glow-second.is-active,
.accent-glow.is-active {
  background:
    radial-gradient(ellipse 18% 80% at 38% 30%, rgba(79, 99, 247, 0.9) 0%, transparent 100%),
    radial-gradient(ellipse 14% 60% at 50% 70%, rgba(107, 70, 246, 0.7) 0%, transparent 100%),
    radial-gradient(ellipse 16% 90% at 62% 40%, rgba(167, 139, 250, 0.8) 0%, transparent 100%),
    linear-gradient(90deg, var(--stirae-ink) 0%, var(--stirae-ink) 100%);
  background-size: 400% 100%, 400% 100%, 400% 100%, 100% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer-once 2.46s linear forwards;
}

@keyframes shimmer-once {
  0%   { background-position: 130% center, 130% center, 130% center, 0% center; }
  100% { background-position: -30% center, -30% center, -30% center, 0% center; }
}


/* Voice waveform background */
.waveform-bg {
  position: absolute;
  top: 50%;
  left: -20%;
  right: -20%;
  transform: translateY(-50%);
  height: 300px;
  pointer-events: none;
}
.waveform-bg svg {
  width: 100%;
  height: 100%;
}
.waveform-line {
  stroke: rgba(79, 99, 247, 0.3);
  stroke-width: 1.5;
  animation: wave-move-right 25s linear infinite;
}
.waveform-line-2 {
  stroke: rgba(107, 70, 246, 0.2);
  stroke-width: 1.2;
  animation: wave-move-left 30s linear infinite;
}
@keyframes wave-move-right {
  0% { transform: translateX(-10%); }
  100% { transform: translateX(10%); }
}
@keyframes wave-move-left {
  0% { transform: translateX(10%); }
  100% { transform: translateX(-10%); }
}

/* Writing Styles section — same foggy shimmer, sequential */
.accent-glow-ws-first,
.accent-glow-ws-second {
  position: relative;
  display: inline-block;
}
.accent-glow-ws-first.is-active,
.accent-glow-ws-second.is-active {
  background:
    radial-gradient(ellipse 18% 80% at 38% 30%, rgba(79, 99, 247, 0.9) 0%, transparent 100%),
    radial-gradient(ellipse 14% 60% at 50% 70%, rgba(107, 70, 246, 0.7) 0%, transparent 100%),
    radial-gradient(ellipse 16% 90% at 62% 40%, rgba(167, 139, 250, 0.8) 0%, transparent 100%),
    linear-gradient(90deg, var(--stirae-ink) 0%, var(--stirae-ink) 100%);
  background-size: 400% 100%, 400% 100%, 400% 100%, 100% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer-once 2.46s linear forwards;
}

/* Quick Actions — one thought, deliberately reshaped for the current task */
.quick-styles-section {
  padding: 4rem 0;
}

.quick-styles-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(18rem, 0.92fr);
  gap: clamp(3rem, 7vw, 5.5rem);
  align-items: center;
}

.quick-styles-copy {
  max-width: 31rem;
}

.quick-styles-copy .landing-section-lead {
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.quick-styles-demo {
  position: relative;
  order: -1;
  min-height: 0;
  padding: 0.75rem 0;
}

.quick-styles-context {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--stirae-ink-muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.quick-styles-context__icon {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.45rem;
}

.quick-styles-context__app {
  color: var(--stirae-ink);
}

.quick-styles-context__divider {
  width: 1px;
  height: 0.85rem;
  background: rgba(7, 10, 31, 0.14);
}

.quick-styles-thought,
.quick-styles-output {
  position: relative;
  z-index: 1;
  padding: 1rem 0 1rem 1.15rem;
  border: 0;
  background: transparent;
}

.quick-styles-thought {
  max-width: 94%;
  margin-top: 1.5rem;
  border-left: 1px solid rgba(79, 99, 247, 0.28);
}

.quick-styles-eyebrow {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--stirae-primary);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quick-styles-thought p,
.quick-styles-output p {
  color: var(--stirae-ink);
  font-family: var(--stirae-font-sans);
  letter-spacing: -0.012em;
}

.quick-styles-thought p {
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.55;
}

.quick-styles-route {
  position: relative;
  z-index: 1;
  height: 2rem;
}

.quick-styles-route__line {
  position: absolute;
  top: 0.25rem;
  bottom: 0.25rem;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, rgba(79, 99, 247, 0.18), rgba(107, 70, 246, 0.72));
}

.quick-styles-route__pulse {
  position: absolute;
  top: 0.2rem;
  left: 50%;
  width: 0.36rem;
  height: 0.36rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--stirae-primary);
  box-shadow: 0 0 0.7rem rgba(107, 70, 246, 0.55);
  animation: quick-styles-route-pulse 2.8s ease-in-out infinite;
}

@keyframes quick-styles-route-pulse {
  0% { top: 0.2rem; opacity: 0; }
  18% { opacity: 1; }
  82% { opacity: 1; }
  100% { top: 1.8rem; opacity: 0; }
}

.quick-styles-tabs {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.3rem;
  padding: 0.3rem;
  border: 1px solid rgba(7, 10, 31, 0.07);
  border-radius: 0.9rem;
  background: rgba(79, 99, 247, 0.045);
}

.quick-styles-tab {
  min-height: 2.75rem;
  padding: 0.45rem 0.55rem;
  border-radius: 0.65rem;
  color: var(--stirae-ink-muted);
  font-family: var(--stirae-font-sans);
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.2;
  transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.quick-styles-tab:hover,
.quick-styles-tab:focus-visible {
  color: var(--stirae-primary);
}

.quick-styles-tab:focus-visible {
  outline: 2px solid rgba(79, 99, 247, 0.42);
  outline-offset: 2px;
}

.quick-styles-tab.is-active {
  color: var(--stirae-ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 5px 18px rgba(7, 10, 31, 0.07);
}

.quick-styles-output {
  min-height: 7.25rem;
  margin-top: 0.9rem;
  border-left: 2px solid rgba(107, 70, 246, 0.62);
  transition: opacity 150ms ease, transform 150ms ease;
}

.quick-styles-output.is-changing {
  opacity: 0;
  transform: translateY(0.35rem);
}

.quick-styles-output p {
  white-space: pre-line;
  font-size: 0.88rem;
  font-weight: 520;
  line-height: 1.55;
}

@media (max-width: 767px) {
  .quick-styles-section {
    padding: 4rem 0;
  }

  .quick-styles-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
  }

  .quick-styles-copy {
    max-width: 38rem;
  }

  .quick-styles-demo {
    order: 0;
    min-height: 0;
  }
}

@media (max-width: 430px) {
  .quick-styles-tab {
    padding-inline: 0.3rem;
    font-size: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quick-styles-route__pulse {
    display: none;
  }

  .quick-styles-output {
    transition: none;
  }
}

/* Ripple that changes shape */
/* Ripple origin — wraps the period at end of headline */
.ripple-origin {
  position: relative;
  display: inline-block;
}
.ripple-dot {
  color: var(--stirae-primary);
  position: relative;
  z-index: 2;
}
.ripple-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 450px;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
}
.ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 100%;
  height: 100%;
  border: 2px solid rgba(79, 99, 247, 0.6);
  opacity: 0;
  animation: ripple-expand 5s ease-out infinite;
}
.ripple-1 {
  border-radius: 50%;
  animation-delay: 0s;
}
.ripple-2 {
  border-radius: 40% 60% 55% 45% / 55% 40% 60% 45%;
  animation-delay: 1.2s;
  border-color: rgba(107, 70, 246, 0.5);
}
.ripple-3 {
  border-radius: 60% 40% 45% 55% / 45% 55% 40% 60%;
  animation-delay: 2.4s;
  border-color: rgba(79, 99, 247, 0.5);
}

@keyframes ripple-expand {
  0% { transform: translate(-50%, -50%) scale(0); opacity: 0.8; }
  80% { transform: translate(-50%, -50%) scale(1); opacity: 0.2; }
  100% { transform: translate(-50%, -50%) scale(1.1); opacity: 0; }
}


.docs-shell {
  color: #070A1F;
}

.docs-header {
  margin-bottom: 2.5rem;
}

.docs-workspace {
  display: grid;
  grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.docs-sidebar {
  position: sticky;
  top: 5.25rem;
  max-height: calc(100svh - 6.5rem);
  overflow: auto;
  border: 1px solid rgba(210, 210, 215, 0.75);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  padding: 1rem;
}

.docs-search-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(7, 10, 31, 0.58);
}

.docs-search-wrap {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(210, 210, 215, 0.9);
  border-radius: 8px;
  background: #fff;
  padding: 0.65rem 0.75rem;
}

.docs-search {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 0.95rem;
  font-weight: 700;
  color: #070A1F;
}

.docs-search::placeholder {
  color: rgba(7, 10, 31, 0.38);
}

.docs-results-count {
  min-height: 1.25rem;
  margin: 0.75rem 0 0.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(7, 10, 31, 0.52);
}

.docs-nav {
  display: grid;
  gap: 1.15rem;
}

.docs-nav-group {
  display: grid;
  gap: 0.4rem;
}

.docs-nav-heading {
  margin-top: 0.35rem;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(7, 10, 31, 0.48);
}

.docs-nav-button {
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: transparent;
  padding: 0.62rem 0.7rem;
  text-align: left;
  font-size: 0.92rem;
  font-weight: 800;
  color: rgba(7, 10, 31, 0.78);
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.docs-nav-button:hover,
.docs-nav-button:focus-visible {
  background: rgba(107, 70, 246, 0.08);
  color: #070A1F;
  outline: none;
}

.docs-nav-button.is-active {
  background: #070A1F;
  color: #fff;
}

.docs-nav-empty {
  border: 1px dashed rgba(210, 210, 215, 0.95);
  border-radius: 8px;
  padding: 1rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: rgba(7, 10, 31, 0.62);
}

.docs-article {
  min-width: 0;
  border: 1px solid rgba(210, 210, 215, 0.65);
  border-radius: 8px;
  background: #fff;
  padding: clamp(1.4rem, 3vw, 3rem);
}

.docs-article-kicker {
  margin-bottom: 0.7rem;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6B46F6;
}

.docs-article h2 {
  max-width: 48rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0;
}

.docs-article-summary {
  max-width: 44rem;
  margin-top: 1rem;
  color: rgba(7, 10, 31, 0.68);
  font-size: 1.08rem;
  line-height: 1.65;
  font-weight: 650;
}

.docs-section-list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.docs-section {
  border-top: 1px solid rgba(210, 210, 215, 0.7);
  padding-top: 1rem;
}

.docs-section h3 {
  margin-bottom: 0.35rem;
  font-size: 1rem;
  font-weight: 900;
}

.docs-section p {
  color: rgba(7, 10, 31, 0.68);
  font-size: 0.98rem;
  line-height: 1.65;
  font-weight: 650;
}

@media (max-width: 860px) {
  .docs-workspace {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }

  .docs-sidebar {
    position: static;
    max-height: none;
  }

  .docs-nav {
    max-height: 22rem;
    overflow: auto;
  }

  .docs-article {
    padding: 1.35rem;
  }
}
